710 references to Size
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
108
_dialogWindow.MinimumSize = new System.Drawing.
Size
(575, 400); // Magic min-size numbers from Dan
System.Drawing (21)
commonui\System\Drawing\BufferedGraphicsContext.cs (2)
396
bufferSize = new
Size
(optWidth, optHeight);
406
virtualSize = new
Size
(width, height);
commonui\System\Drawing\Design\ToolboxItem.cs (1)
759
itemBitmap = new Bitmap(itemBitmap, new
Size
(iconWidth, iconHeight));
commonui\System\Drawing\Icon.cs (2)
333
iconSize = new
Size
(bmp.bmWidth, bmp.bmHeight);
337
iconSize = new
Size
(bmp.bmWidth, bmp.bmHeight / 2);
commonui\System\Drawing\Image.cs (1)
821
return new
Size
(Width, Height);
commonui\System\Drawing\Point.cs (1)
137
return new
Size
(p.X, p.Y);
commonui\System\Drawing\Printing\PrinterUnitConvert.cs (1)
69
return new
Size
(
commonui\System\Drawing\Rectangle.cs (1)
115
return new
Size
(Width, Height);
commonui\System\Drawing\Size.cs (5)
184
return new
Size
(sz1.Width + sz2.Width, sz1.Height + sz2.Height);
193
return new
Size
((int)Math.Ceiling(value.Width), (int)Math.Ceiling(value.Height));
202
return new
Size
(sz1.Width - sz2.Width, sz1.Height - sz2.Height);
211
return new
Size
((int)value.Width, (int)value.Height);
220
return new
Size
((int)Math.Round(value.Width), (int)Math.Round(value.Height));
commonui\System\Drawing\SizeConverter.cs (2)
88
return new
Size
(values[0], values[1]);
166
return new
Size
((int)width,
commonui\System\Drawing\ToolboxBitmapAttribute.cs (2)
72
private static readonly Size largeSize = new
Size
(32, 32);
78
private static readonly Size smallSize = new
Size
(16, 16);
misc\DpiHelper.cs (1)
558
return new
Size
(LogicalToDeviceUnits(logicalSize.Width, deviceDpi),
misc\GDI\NativeMethods.cs (2)
198
return new
Size
(this.right - this.left, this.bottom - this.top);
440
return new System.Drawing.
Size
(this.cx, this.cy);
System.Web.DataVisualization (14)
Common\General\ChartGraphics.cs (2)
2681
return new
Size
( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height));
2697
return new
Size
( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height));
Common\General\Legend.cs (8)
888
Size maxSize = new
Size
((int)maxSizeAbs.Width, (int)maxSizeAbs.Height);
4382
size = new
Size
(1, 1);
4386
size = new
Size
(1, 1);
4390
size = new
Size
(1, 1);
4394
size = new
Size
(2, 2);
4398
size = new
Size
(3, 3);
4402
size = new
Size
(1, 1);
4406
size = new
Size
(2, 2);
Common\General\LegendColumns.cs (2)
146
private Size _seriesSymbolSize = new
Size
(200, 70);
847
private Size _seriesSymbolSize = new
Size
(200, 70);
Common\Utilities\ImageLoader.cs (1)
412
Bitmap scaledImage = new Bitmap(image, new
Size
((int)(image.Width * graphics.DpiX / image.HorizontalResolution),
Common\Utilities\XmlSerializer.cs (1)
3136
objValue = new
Size
(reader.ReadInt32(), reader.ReadInt32());
System.Web.Entity.Design (46)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (9)
46
_databaseConnectionGroupLabel.Size = new
Size
(500, 13);
50
_databaseConnectionGroupBox.Size = new
Size
(503, 124);
52
_radioButtonsGroupContainer.Size = new
Size
(503, 124);
57
_namedConnectionRadioButton.Size = new
Size
(116, 17);
61
_namedConnectionComboBox.Size = new
Size
(454, 21);
65
_connectionStringRadioButton.Size = new
Size
(109, 17);
69
_connectionStringTextBox.Size = new
Size
(454, 20);
73
_containerNameLabel.Size = new
Size
(117, 13);
77
_containerNameComboBox.Size = new
Size
(502, 21);
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.designer.cs (1)
134
this.Size = new System.Drawing.
Size
(528, 319);
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (10)
43
_entitySetLabel.Size = new
Size
(80, 13);
47
_entitySetComboBox.Size = new
Size
(502, 21);
51
_entityTypeFilterLabel.Size = new
Size
(118, 13);
55
_entityTypeFilterComboBox.Size = new System.Drawing.
Size
(502, 21);
59
_selectLabel.Size = new
Size
(40, 13);
64
_selectAdvancedTextBox.Size = new
Size
(502, 137);
73
_insertUpdateDeletePanel.Size = new
Size
(502, 69);
77
_enableInsertCheckBox.Size = new
Size
(141, 17);
81
_enableUpdateCheckBox.Size = new
Size
(149, 17);
85
_enableDeleteCheckBox.Size = new
Size
(145, 17);
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.designer.cs (1)
157
this.Size = new System.Drawing.
Size
(528, 319);
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (10)
251
_checkBoxPanel.Size = new
Size
(456, 32);
253
_autoGenerateCheckBox.Size = new
Size
(456, 30);
257
_statementPanel.Size = new
Size
(456, 124);
261
_statementLabel.Size = new
Size
(200, 16);
265
_statementTextBox.Size = new
Size
(456, 78);
269
_parameterEditorUserControl.Size = new
Size
(460, 216);
273
_okButton.Size = new
Size
(75, 23);
275
_cancelButton.Size = new
Size
(75, 23);
278
ClientSize = new
Size
(480, top + 12);
279
MinimumSize = new
Size
(480 + 8, top + 12 + 27);
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
88
AutoScaleBaseSize = new System.Drawing.
Size
(5, 14);
System\Data\WebControls\Design\Util\TaskFormBase.cs (6)
93
this._taskPanel.Size = new System.Drawing.
Size
(528, 319);
103
this._bottomDividerLabel.Size = new System.Drawing.
Size
(572, 1);
115
this._headerPanel.Size = new System.Drawing.
Size
(572, 63);
122
this._glyphPictureBox.Size = new System.Drawing.
Size
(65, 63);
132
this._captionLabel.Size = new System.Drawing.
Size
(487, 47);
137
this.ClientSize = new System.Drawing.
Size
(530, 423);
System\Data\WebControls\Design\Util\WizardForm.cs (8)
127
this._wizardButtonsTableLayoutPanel.Size = new System.Drawing.
Size
(317, 20);
137
this._previousButton.MinimumSize = new System.Drawing.
Size
(75, 23);
147
this._dummyLabel1.Size = new System.Drawing.
Size
(3, 0);
156
this._nextButton.MinimumSize = new System.Drawing.
Size
(75, 23);
166
this._dummyLabel2.Size = new System.Drawing.
Size
(7, 0);
176
this._finishButton.MinimumSize = new System.Drawing.
Size
(75, 23);
186
this._dummyLabel3.Size = new System.Drawing.
Size
(7, 0);
196
this._cancelButton.MinimumSize = new System.Drawing.
Size
(75, 23);
System.Web.Mobile (72)
UI\MobileControls\Design\Adapters\MSHTMLHostUtil.cs (1)
38
_tridentControl.Size = new
Size
(CONTROL_WIDTH, CONTROL_HEIGHT);
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (10)
161
this._appliedFiltersList.Size = new System.Drawing.
Size
(275, 208);
166
this._btnEditFilters.Size = new System.Drawing.
Size
(75, 23);
189
this._pnlMain.Size = new System.Drawing.
Size
(276, 357);
195
this._tbArgument.Size = new System.Drawing.
Size
(275, 20);
202
this._lblArgument.Size = new System.Drawing.
Size
(275, 16);
213
this._lblAvailableFilters.Size = new System.Drawing.
Size
(198, 16);
220
this._cbAvailableFilters.Size = new System.Drawing.
Size
(195, 21);
227
this._btnApplyFilter.Size = new System.Drawing.
Size
(195, 23);
232
this.AutoScaleBaseSize = new System.Drawing.
Size
(5, 13);
234
this.ClientSize = new System.Drawing.
Size
(285, 373);
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (21)
236
this._txtType.Size = new System.Drawing.
Size
(211, 20);
239
this._lblHeader.Size = new System.Drawing.
Size
(434, 16);
246
this._pnlHeader.Size = new System.Drawing.
Size
(434, 16);
253
this._pnlMain.Size = new System.Drawing.
Size
(434, 253);
256
this._filterList.Size = new System.Drawing.
Size
(198, 224);
259
this._rbCompare.Size = new System.Drawing.
Size
(211, 17);
261
this._lblCompare.Size = new System.Drawing.
Size
(211, 16);
263
this._dialogButtons.Size = new System.Drawing.
Size
(237, 23);
265
this._lblType.Size = new System.Drawing.
Size
(211, 16);
267
this._txtMethod.Size = new System.Drawing.
Size
(211, 20);
269
this._txtArgument.Size = new System.Drawing.
Size
(211, 20);
277
this._pnlRight.Size = new System.Drawing.
Size
(219, 226);
279
this._lblMethod.Size = new System.Drawing.
Size
(211, 16);
281
this._glAttributes.Size = new System.Drawing.
Size
(216, 16);
283
this._rbDelegate.Size = new System.Drawing.
Size
(211, 17);
284
this._glType.Size = new System.Drawing.
Size
(216, 16);
290
this._pnlCompare.Size = new System.Drawing.
Size
(211, 136);
293
this._cbCompare.Size = new System.Drawing.
Size
(211, 21);
296
this._lblArgument.Size = new System.Drawing.
Size
(211, 16);
302
this._pnlDelegate.Size = new System.Drawing.
Size
(211, 136);
304
this.ClientSize = new System.Drawing.
Size
(448, 289);
UI\MobileControls\Design\ListGeneralPage.cs (1)
192
this.Size = new
Size
(382, 270);
UI\MobileControls\Design\ListItemsPage.cs (1)
93
this.Size = new
Size
(382, 220);
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
59
_defaultSize = new
Size
(300, 100);
UI\MobileControls\Design\ObjectListCommandsPage.cs (1)
73
this.Size = new
Size
(402, 300);
UI\MobileControls\Design\ObjectListFieldsPage.cs (1)
75
this.Size = new
Size
(402, 300);
UI\MobileControls\Design\ObjectListGeneralPage.cs (1)
132
this.Size = new
Size
(402, 300);
UI\MobileControls\Design\PanelDesigner.cs (1)
40
_defaultSize = new
Size
(300, 45);
UI\MobileControls\Design\PropertyOverridesDialog.cs (7)
147
this._cbChoices.Size = new System.Drawing.
Size
(195, 21);
151
this._btnEditFilters.Size = new System.Drawing.
Size
(75, 23);
163
this._pnlMain.Size = new System.Drawing.
Size
(276, 313);
170
this._pgProperties.Size = new System.Drawing.
Size
(275, 220);
177
this._lblProperties.Size = new System.Drawing.
Size
(275, 16);
178
this._lblAppliedFilters.Size = new System.Drawing.
Size
(275, 16);
181
this.ClientSize = new System.Drawing.
Size
(285, 325);
UI\MobileControls\Design\StylesEditorDialog.cs (3)
303
_btnOK.Size = new System.Drawing.
Size
(75, 23);
310
_btnCancel.Size = new System.Drawing.
Size
(75, 23);
322
this.ClientSize = new
Size
(444, 401);
UI\MobileControls\Design\StyleSheetDesigner.cs (5)
1294
this.LblStyles.Size = new System.Drawing.
Size
(160, 16);
1299
this.CbStyles.Size = new System.Drawing.
Size
(160, 21);
1302
this.BtnEdit.Size = new System.Drawing.
Size
(75, 23);
1304
this.LblHeader.Size = new System.Drawing.
Size
(240, 16);
1309
this.Size = new System.Drawing.
Size
(240, 70);
UI\MobileControls\Design\TemplatingOptionsDialog.cs (8)
123
_lblChoices.Size = new System.Drawing.
Size
(276, 16);
127
_cmbChoices.Size = new System.Drawing.
Size
(195, 21);
135
_btnEditChoices.Size = new System.Drawing.
Size
(75, 23);
140
_lblSchemas.Size = new System.Drawing.
Size
(276, 16);
144
_cmbSchemas.Size = new System.Drawing.
Size
(276, 21);
151
_btnClose.Size = new System.Drawing.
Size
(75, 23);
164
this._pnlMain.Size = new System.Drawing.
Size
(276, 128);
168
this.ClientSize = new
Size
(285, 139);
UI\MobileControls\Design\Util\DefaultDialogButtons.cs (2)
63
CmdOK.Size = new System.Drawing.
Size
(75, 23);
66
CmdCancel.Size = new System.Drawing.
Size
(75, 23);
UI\MobileControls\Design\Util\EditableTreeList.cs (7)
64
LblTitle.Size = new System.Drawing.
Size
(210, 16);
68
TvList.Size = new System.Drawing.
Size
(178, 148);
86
BtnUp.Size = new System.Drawing.
Size
(28, 27);
93
BtnDown.Size = new System.Drawing.
Size
(28, 27);
100
BtnRemove.Size = new System.Drawing.
Size
(28, 27);
107
BtnAdd.Size = new System.Drawing.
Size
(178, 25);
114
this.Size = new System.Drawing.
Size
(210, 196);
UI\MobileControls\Design\Util\GenericUI.cs (1)
54
dialog.AutoScaleBaseSize = new
Size
(5, 14);
System.Windows.Forms (363)
misc\DpiHelper.cs (1)
558
return new
Size
(LogicalToDeviceUnits(logicalSize.Width, deviceDpi),
misc\GDI\DeviceContext2.cs (1)
146
return new
Size
(GetDeviceCapabilities(DeviceCapabilities.LogicalPixelsX), GetDeviceCapabilities(DeviceCapabilities.LogicalPixelsY));
misc\GDI\NativeMethods.cs (2)
198
return new
Size
(this.right - this.left, this.bottom - this.top);
440
return new System.Drawing.
Size
(this.cx, this.cy);
misc\GDI\WindowsGraphics2.cs (2)
40
public static readonly Size MaxSize = new
Size
(Int32.MaxValue, Int32.MaxValue);
400
return new
Size
(size.cx, size.cy);
winforms\Managed\System\WinForms\AxHost.cs (2)
479
return new
Size
(75, 23);
1533
return new
Size
(sz.cx, sz.cy);
winforms\Managed\System\WinForms\Button.cs (4)
53
private Size systemSize = new
Size
(InvalidDimensionValue, InvalidDimensionValue);
284
systemSize = new
Size
(InvalidDimensionValue, InvalidDimensionValue);
318
systemSize = new
Size
(InvalidDimensionValue, InvalidDimensionValue);
335
systemSize = new
Size
(InvalidDimensionValue, InvalidDimensionValue);
winforms\Managed\System\WinForms\ButtonBase.cs (1)
191
return new
Size
(75, 23);
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (6)
974
return new
Size
(
1001
return new
Size
(
1039
Size bordersAndPadding = new
Size
(linearBorderAndPadding, linearBorderAndPadding);
1045
Size checkSize = checkSizeLinear > 0 ? new
Size
(checkSizeLinear + 1, checkSizeLinear) : Size.Empty;
1049
Size textImageInsetSize = new
Size
(textImageInset * 2, textImageInset * 2);
1322
size = new
Size
(size.Width + 1, size.Height + 1);
winforms\Managed\System\WinForms\CheckBox.cs (1)
346
return new
Size
(104, 24);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (1)
241
return new
Size
(13, 13);
winforms\Managed\System\WinForms\ComboBox.cs (6)
460
return new
Size
(121, PreferredHeight);
823
base.MaximumSize = new
Size
(value.Width, 0);
830
base.MinimumSize = new
Size
(value.Width, 0);
936
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, this.Font, new
Size
(Int16.MaxValue, (int)(FontHeight * 1.25)), TextFormatFlags.SingleLine);
946
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, this.Font, new
Size
(Int16.MaxValue, (int)(FontHeight * 1.25)), TextFormatFlags.SingleLine);
5934
outerBorder = new Rectangle(clientRect.Location, new
Size
(clientRect.Width - 1, clientRect.Height - 1));
winforms\Managed\System\WinForms\Control.cs (5)
588
this.Size = new
Size
( width, height );
1613
return new
Size
(clientWidth, clientHeight);
3893
return new
Size
(width, height);
6461
newBounds.Size = LayoutUtils.IntersectSizes(new
Size
(proposedWidth,proposedHeight), maximumSize);
18263
Size adjusted = new
Size
(size.Width, size.Height);
winforms\Managed\System\WinForms\Cursor.cs (3)
331
cursorSize = new
Size
(
599
iconSize = new
Size
(bmp.bmWidth, bmp.bmHeight);
603
iconSize = new
Size
(bmp.bmWidth, bmp.bmHeight / 2);
winforms\Managed\System\WinForms\DataGrid.cs (2)
375
Size = new
Size
(130, 80);
601
return new
Size
(130, 80);
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
218
return new
Size
(idealCheckSize+2, idealCheckSize+2);
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
467
Size textSize = new
Size
((int) g.MeasureString(text, this.Font).Width + 2, this.Font.Height + 2);
winforms\Managed\System\WinForms\DataGridView.cs (1)
2673
return new
Size
(240, 150);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (5)
330
return new
Size
(-1, -1);
371
preferredSize = new
Size
(DataGridViewCell.MeasureTextWidth(graphics,
380
preferredSize = new
Size
(DataGridViewCell.MeasureTextSize(graphics, formattedString, cellStyle.Font, flags).Width,
390
preferredSize = new
Size
(0,
399
preferredSize = new
Size
(0,
winforms\Managed\System\WinForms\DataGridViewCell.cs (14)
1545
Bitmap scaledBitmap = DpiHelper.CreateResizedBitmap(b, new
Size
(iconsWidth, iconsHeight));
2576
return GetPreferredSize(g, dataGridViewCellStyle, rowIndex, new
Size
(width, 0)).Height;
2584
return new
Size
(-1, -1);
2596
return new
Size
(-1, -1);
2633
return GetPreferredSize(g, dataGridViewCellStyle, rowIndex, new
Size
(0, height)).Width;
2642
return new
Size
(-1, -1);
2650
return new
Size
(this.owningColumn.Thickness, this.owningRow.GetHeight(rowIndex));
2867
Size requiredSize = TextRenderer.MeasureText(text, font, new
Size
(maxWidth, System.Int32.MaxValue), flags);
2900
return new
Size
(0, 0);
2915
textSize = TextRenderer.MeasureText(text, font, new
Size
((int)maxWidth, System.Int32.MaxValue), flags);
2950
return TextRenderer.MeasureText(text, font, new
Size
(System.Int32.MaxValue, System.Int32.MaxValue), flags);
2978
textSize = TextRenderer.MeasureText(text, font, new
Size
((int)maxWidth, maxHeight), flags);
4512
this.DataGridView.EditingControl.Size = new
Size
(editingControlBounds.Width, editingControlBounds.Height);
4599
this.DataGridView.EditingPanel.Size = new
Size
(wEditingPanel, hEditingPanel);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (8)
752
return new
Size
(-1, -1);
787
preferredSize = new
Size
(checkBoxSize.Width + borderAndPaddingWidths + 2 * DATAGRIDVIEWCHECKBOXCELL_margin, 0);
792
preferredSize = new
Size
(0, checkBoxSize.Height + borderAndPaddingHeights + 2 * DATAGRIDVIEWCHECKBOXCELL_margin);
797
preferredSize = new
Size
(checkBoxSize.Width + borderAndPaddingWidths + 2 * DATAGRIDVIEWCHECKBOXCELL_margin,
822
preferredSize = new
Size
(checkBoxSize + borderAndPaddingWidths, 0);
827
preferredSize = new
Size
(0, checkBoxSize + borderAndPaddingHeights);
832
preferredSize = new
Size
(checkBoxSize + borderAndPaddingWidths, checkBoxSize + borderAndPaddingHeights);
1294
checkBoxSize = new
Size
(SystemInformation.Border3DSize.Width * 2 + 9, SystemInformation.Border3DSize.Width * 2 + 9);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (10)
523
return new
Size
(-1, -1);
551
preferredSize = new
Size
(0, 0);
556
preferredSize = new
Size
(DataGridViewCell.MeasureTextWidth(graphics,
565
preferredSize = new
Size
(DataGridViewCell.MeasureTextSize(graphics,
590
preferredSize = new
Size
(0, 0);
596
glyphSize = new
Size
(sortGlyphWidth + 2 * sortGlyphHorizontalMargin,
616
preferredSize = new
Size
(0,
629
preferredSize = new
Size
(0,
641
preferredSize = new
Size
(0,
667
preferredSize = new
Size
(0, 0);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
755
Size adjustedSize = new
Size
(size.Width - borderAndPaddingWidths.X - borderAndPaddingWidths.Width,
1361
return new
Size
(-1, -1);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (4)
445
return new
Size
(-1, -1);
454
return new
Size
(this.OwningColumn.Thickness, this.DataGridView.ColumnHeadersHeight);
467
return new
Size
(this.DataGridView.RowHeadersWidth, this.OwningRow.GetHeight(rowIndex));
476
return new
Size
(this.DataGridView.RowHeadersWidth, this.DataGridView.ColumnHeadersHeight);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (10)
466
return new
Size
(-1, -1);
501
preferredSize = new
Size
(0, Math.Min(img.Height, Decimal.ToInt32((decimal)img.Height * imgWidthAllowed / img.Width)));
513
preferredSize = new
Size
(0, Math.Min(ico.Height, Decimal.ToInt32((decimal)ico.Height * icoWidthAllowed / ico.Width)));
519
preferredSize = new
Size
(0, 1);
536
preferredSize = new
Size
(Math.Min(img.Width, Decimal.ToInt32((decimal)img.Width * imgHeightAllowed / img.Height)), 0);
548
preferredSize = new
Size
(Math.Min(ico.Width, Decimal.ToInt32((decimal)ico.Width * icoHeightAllowed / ico.Height)), 0);
554
preferredSize = new
Size
(1, 0);
561
preferredSize = new
Size
(img.Width, img.Height);
565
preferredSize = new
Size
(ico.Width, ico.Height);
569
preferredSize = new
Size
(1, 1);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (5)
653
return new
Size
(-1, -1);
684
preferredSize = new
Size
(DataGridViewCell.MeasureTextWidth(graphics,
694
preferredSize = new
Size
(0,
719
preferredSize = new
Size
(DataGridViewCell.MeasureTextSize(graphics, formattedString, cellStyle.Font, flags).Width,
725
preferredSize = new
Size
(0,
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
9101
return new
Size
(preferredWidth, preferredHeight);
19354
new
Size
(-step, ClientSize.Height)));
19365
new
Size
(step, ClientSize.Height)));
19372
new
Size
(-step, ClientSize.Width)));
19379
new
Size
(ClientSize.Width, ClientSize.Height - (pt.Y - rect.Bottom) - step)));
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
195
Size desiredSize = new
Size
(iconsWidth, iconsHeight);
649
return new
Size
(-1, -1);
978
Size maxBounds = new
Size
(valBounds.Width - iconsWidth - 2 * DATAGRIDVIEWROWHEADERCELL_iconMarginWidth, valBounds.Height);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (6)
428
return new
Size
(-1, -1);
454
preferredSize = new
Size
(DataGridViewCell.MeasureTextWidth(graphics,
464
preferredSize = new
Size
(0,
489
preferredSize = new
Size
(DataGridViewCell.MeasureTextSize(graphics, formattedString, cellStyle.Font, flags).Width,
495
preferredSize = new
Size
(0,
825
this.DataGridView.EditingControl.Size = new
Size
(editingControlBounds.Width, editingControlBounds.Height);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
175
return new
Size
(-1, -1);
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (5)
216
return new
Size
(preferredWidth, 0);
264
return new
Size
(0, Math.Max(minHeightIcon, minHeightContent) + borderAndPaddingHeights);
285
preferredSize = new
Size
(0, 1);
323
Size sizeRequired = TextRenderer.MeasureText(text, font, new
Size
(System.Int32.MaxValue, System.Int32.MaxValue), flags);
330
Size sizeCell = new
Size
(cellBounds.Width, cellBounds.Height);
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
531
return new
Size
(200, PreferredHeight);
1194
return new
Size
(width, height);
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (4)
228
selectorImageList.ImageSize = new
Size
(16, 16);
284
Size size = new
Size
(bounds.Width + 3 * (BUTTON_PAD + xFrame) + selectorWidth,
338
AutoScaleBaseSize = new
Size
(5, 14);
383
maxSize = new
Size
(3 * (BUTTON_WIDTH + BUTTON_PAD), 24 * pageTypes.Length);
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
610
return new
Size
(width, height) + Padding.Size;
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1038
mirrordc.ViewportExtent = new
Size
(-(mirrordcExtent.Width), mirrordcExtent.Height);
winforms\Managed\System\WinForms\Form.cs (8)
613
return new
Size
((int)Math.Round(real.Width), (int)Math.Round(real.Height));
1150
return new
Size
(300, 300);
1577
return new
Size
(Properties.GetInteger(PropMaxTrackSizeWidth), Properties.GetInteger(PropMaxTrackSizeHeight));
1608
Size = new
Size
(Math.Min(size.Width, value.Width), Math.Min(size.Height, value.Height));
1735
return new
Size
(Properties.GetInteger(PropMinTrackSizeWidth), Properties.GetInteger(PropMinTrackSizeHeight));
1772
Size = new
Size
(Math.Max(size.Width, value.Width), Math.Max(size.Height, value.Height));
3372
Size newVar = new
Size
((int)Math.Round(newVarF.Width), (int)Math.Round(newVarF.Height));
3595
return new
Size
(result.right - result.left, result.bottom - result.top);
winforms\Managed\System\WinForms\GroupBox.cs (3)
187
return new
Size
(200, 100);
602
textSize = wg.MeasureText(Text, wfont, new
Size
(textRectangle.Width , int.MaxValue), flags );
694
Size totalPadding = borderSize + new
Size
(0,fontHeight) + Padding.Size;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (2)
171
Size measuredBounds = TextRenderer.MeasureText(g, groupBoxText, font, new
Size
(textBounds.Width, textBounds.Height), flags);
264
Size measuredBounds = TextRenderer.MeasureText(g, groupBoxText, font, new
Size
(textBounds.Width, textBounds.Height), flags);
winforms\Managed\System\WinForms\HScrollBar.cs (1)
57
return new
Size
(80, SystemInformation.HorizontalScrollBarHeight);
winforms\Managed\System\WinForms\HtmlWindow.cs (1)
206
return new
Size
(bodyElement.GetOffsetWidth(), bodyElement.GetOffsetHeight());
winforms\Managed\System\WinForms\ImageList.cs (3)
48
private static Size DefaultImageSize = new
Size
(16, 16);
276
imageSize = new
Size
(value.Width, value.Height);
315
imageSize = new
Size
(x,y);
winforms\Managed\System\WinForms\Label.cs (4)
399
return new
Size
(100, AutoSize ? PreferredHeight : 23);
1046
Size preferredSize = (AutoSize) ? PreferredSize : new
Size
(saveWidth, saveHeight);
1258
bordersAndPadding += new
Size
(2, 2);
1538
Size preferredSize = GetPreferredSize(new
Size
(clientRect.Width, clientRect.Height));
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (6)
47
internal static readonly Size DefaultMinimumSize = new
Size
(0, 0);
48
internal static readonly Size DefaultMaximumSize = new
Size
(0, 0);
206
Debug.Assert(value != GetMaximumSize(element, new
Size
(-7109, -7107)),
221
Debug.Assert(GetMaximumSize(element, new
Size
(-7109, -7107)) == value, "Error detected setting MaximumSize.");
227
Debug.Assert(value != GetMinimumSize(element, new
Size
(-7109, -7107)),
241
Debug.Assert(GetMinimumSize(element, new
Size
(-7109, -7107)) == value, "Error detected setting MinimumSize.");
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (4)
349
Size neededSize = new
Size
(
390
Size newSize = xGetDockedSize(element, remainingSize, /* constraints = */ new
Size
(remainingSize.Width, 1), measureOnly);
405
Size newSize = xGetDockedSize(element, remainingSize, /* constraints = */ new
Size
(1, remainingSize.Height), measureOnly);
467
preferredSize = new
Size
(-7103, -7105); // PreferredSize is garbage unless measureOnly is specified
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (3)
186
Size elementConstraints = new
Size
(Int32.MaxValue, rowBounds.Height - elementProxy.Margin.Size.Height);
195
elementConstraints = LayoutUtils.UnionSizes(new
Size
(1, 1), elementConstraints);
220
Rectangle cellBounds = new Rectangle(location, new
Size
(requiredSize.Width, rowBounds.Height));
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (6)
23
public static readonly Size MaxSize = new
Size
(Int32.MaxValue, Int32.MaxValue);
24
public static readonly Size InvalidSize = new
Size
(Int32.MinValue, Int32.MinValue);
57
Size textSize = TextRenderer.MeasureText(obj.ToString(), font, new
Size
(Int16.MaxValue, Int16.MaxValue), TextFormatFlags.SingleLine);
197
return new
Size
(
203
return new
Size
(
310
Size stretchedSize = new
Size
(
winforms\Managed\System\WinForms\Layout\TableLayout.cs (7)
193
Size containerSize = container.DisplayRectangle.Size - new
Size
(cellBorderWidth, cellBorderWidth);
208
CommonProperties.SetLayoutBounds(containerInfo.Container, new
Size
(SumStrips(containerInfo.Columns, 0, containerInfo.Columns.Length),
252
Size containerSize = container.DisplayRectangle.Size - new
Size
(cellBorderWidth * 2, cellBorderWidth * 2);
266
Size cellBorderSize = new
Size
(cellBorderWidth, cellBorderWidth);
731
minWidth = GetElementSize(element, new
Size
(0, constrainingHeight)).Width;
735
minWidth = GetElementSize(element, new
Size
(1, 0)).Width;
846
int minHeight = GetElementSize(element, new
Size
(currentWidth-margin.Horizontal, 0)).Height + margin.Vertical;
winforms\Managed\System\WinForms\LinkLabel.cs (2)
678
Size clientSize = new
Size
(clientRectWithPadding.Width, clientRectWithPadding.Height);
1145
Size preferredSize = GetPreferredSize(new
Size
(clientRect.Width, clientRect.Height));
winforms\Managed\System\WinForms\ListBox.cs (4)
415
return new
Size
(120, 96);
640
Size = new
Size
(oldSize.Width + 1, oldSize.Height);
778
width = SizeFromClientSize(new
Size
(MaxItemWidth, height)).Width;
785
return new
Size
(width, height) + Padding.Size;
winforms\Managed\System\WinForms\ListView.cs (2)
786
return new
Size
(121, 97);
1643
return new
Size
(tileViewInfo.sizeTile.cx, tileViewInfo.sizeTile.cy);
winforms\Managed\System\WinForms\MenuStrip.cs (2)
90
DpiHelper.LogicalToDeviceUnits(new
Size
(200, 24), DeviceDpi) :
91
new
Size
(200, 24);
winforms\Managed\System\WinForms\MonthCalendar.cs (5)
107
private static readonly Size DefaultSingleMonthSize = new
Size
(176, 153);
128
private Size dimensions = new
Size
(1, 1);
991
return new
Size
(rect.right, rect.bottom);
1851
CalendarDimensions = new
Size
(1,1);
2180
return !dimensions.Equals(new
Size
(1, 1));
winforms\Managed\System\WinForms\NativeMethods.cs (1)
3103
return new System.Drawing.
Size
(this.right - this.left, this.bottom - this.top);
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
873
return new
Size
(width, height) + Padding.Size;
winforms\Managed\System\WinForms\Padding.cs (1)
152
return new
Size
(Horizontal, Vertical);
winforms\Managed\System\WinForms\Panel.cs (1)
187
return new
Size
(200, 100);
winforms\Managed\System\WinForms\PictureBox.cs (1)
273
return new
Size
(100, 50);
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (4)
271
label1.Size = new
Size
(240, 64);
276
button1.Size = new
Size
(75, 23);
295
this.AutoScaleDimensions = new
Size
(6, 13);
300
Size clientSize = new
Size
(256, 122);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (6)
37
Size virtualSize = new
Size
(1,1);
72
Size = new
Size
(100, 100);
441
imageSize = new
Size
((int) (zoom*pageSize.Width), (int) (zoom*pageSize.Height));
610
imageSize = new
Size
((int) (zoom*pageSize.Width), (int) (zoom*pageSize.Height));
679
return new
Size
(PhysicalToPixels(physicalSize.Width, dpi.X),
693
return new
Size
(PixelsToPhysical(pixels.Width, dpi.X),
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (4)
73
base.AutoScaleBaseSize = new
Size
(5, 13);
676
get { return new
Size
(375, 250); }
1504
previewControl.Size = new
Size
(792, 610);
1569
this.ClientSize = new
Size
(400, 300);
winforms\Managed\System\WinForms\ProgressBar.cs (1)
254
return new
Size
(100, 23);
winforms\Managed\System\WinForms\PropertyGrid.cs (5)
125
private static readonly Size DEFAULT_LARGE_BUTTON_SIZE = new
Size
(32, 32);
126
private static readonly Size DEFAULT_NORMAL_BUTTON_SIZE = new
Size
(16, 16);
702
return new
Size
(130, 130);
2067
bitmap = new Bitmap(bitmap, new
Size
(16,16));
3128
gridView.Size = new
Size
(Size.Width, endSize - gridView.Location.Y);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (2)
60
Size = new
Size
(CXDEF, cydef);
74
Size = new
Size
(Width, 1 + value * lineHeight);
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (11)
175
this.lblMessage.Size = new System.Drawing.
Size
(208, 43);
182
this.pictureBox.Size = new System.Drawing.
Size
(64, 64);
194
this.detailsBtn.Size = new System.Drawing.
Size
(100, 23);
207
this.overarchingTableLayoutPanel.MinimumSize = new System.Drawing.
Size
(279, 50);
213
this.overarchingTableLayoutPanel.Size = new System.Drawing.
Size
(290, 108);
233
this.buttonTableLayoutPanel.Size = new System.Drawing.
Size
(290, 29);
242
this.okBtn.Size = new System.Drawing.
Size
(75, 23);
253
this.cancelBtn.Size = new System.Drawing.
Size
(75, 23);
271
this.pictureLabelTableLayoutPanel.Size = new System.Drawing.
Size
(284, 73);
281
this.details.Size = new System.Drawing.
Size
(273, 100);
293
this.ClientSize = new System.Drawing.
Size
(299, 113);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (15)
291
btnDropDown.Size = DpiHelper.EnableDpiChangedHighDpiImprovements ? new
Size
(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight) : new
Size
(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
315
btnDialog.Size = DpiHelper.EnableDpiChangedHighDpiImprovements ? new
Size
(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight) : new
Size
(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
325
Size desiredSize = new
Size
(iconsWidth, iconsHeight);
2223
Size sizeWindow = new
Size
(rect.Width,rect.Height);
4426
Size sizeBtn = DpiHelper.EnableDpiChangedHighDpiImprovements? new
Size
(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight):
4427
new
Size
(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
5187
btnDropDown.Size = new
Size
(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight);
5190
btnDropDown.Size = new
Size
(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
5476
MinDropDownSize = new
Size
(SystemInformation.VerticalScrollBarWidth * 4, SystemInformation.HorizontalScrollBarHeight * 4);
5702
Size newSize = new
Size
(2 * DropDownHolderBorder + currentControl.Width, 2 * DropDownHolderBorder + currentControl.Height);
5998
Size sz = new
Size
(2 * DropDownHolderBorder + ctl.Width, 2 * DropDownHolderBorder + ctl.Height);
6049
this.Size = new
Size
(this.Size.Width, this.PreferredSize.Height);
6125
MinDropDownSize = new
Size
(SystemInformation.GetVerticalScrollBarWidthForDpi(newDpi) * 4, scrollbarHeight * 4);
winforms\Managed\System\WinForms\RadioButton.cs (1)
294
return new
Size
(104, 24);
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (1)
228
return new
Size
(13, 13);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
463
return new
Size
(100, 96);
winforms\Managed\System\WinForms\ScrollableControl.cs (3)
1057
requestedScrollMargin = new
Size
(x, y);
1204
return !AutoScrollMargin.Equals(new
Size
(0,0));
1214
return !AutoScrollMinSize.Equals(new
Size
(0,0));
winforms\Managed\System\WinForms\SplitContainer.cs (15)
458
return new
Size
(150, 100);
1756
panel1.Size = new
Size
(0, panel1.Height);
1757
panel2.Size = new
Size
(0, panel2.Height);
1760
panel1.Size = new
Size
(panel1.Width, 0);
1761
panel2.Size = new
Size
(panel2.Width, 0);
1771
panel1.Size = new
Size
(panelSize, Height);
1772
panel2.Size = new
Size
(Math.Max(Width - panelSize - SplitterWidthInternal, Panel2MinSize), Height);
1775
panel2.Size = new
Size
(panelSize, Height);
1786
panel2.Size = new
Size
(Math.Max(Width - splitterDistance - SplitterWidthInternal, Panel2MinSize), Height);
1817
panel1.Size = new
Size
(Width, panelSize);
1819
panel2.Size = new
Size
(Width, Math.Max(Height - panel2Start, Panel2MinSize));
1824
panel2.Size = new
Size
(Width, panelSize);
1840
panel2.Size = new
Size
(Width,Math.Max(Height - panel2Start, Panel2MinSize));
2266
panel2.Size = new
Size
(Width - splitterDistance - SplitterWidthInternal, Height);
2309
panel2.Size = new
Size
(Width, Height - panel2Start);
winforms\Managed\System\WinForms\Splitter.cs (1)
113
return new
Size
(defaultWidth, defaultWidth);
winforms\Managed\System\WinForms\StatusBar.cs (1)
250
return new
Size
(100, 22);
winforms\Managed\System\WinForms\StatusStrip.cs (1)
82
return new
Size
(200, 22);
winforms\Managed\System\WinForms\SystemInformation.cs (25)
163
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSCREEN),
241
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXBORDER),
255
return new
Size
(UnsafeNativeMethods.TryGetSystemMetricsForDpi(NativeMethods.SM_CXBORDER, (uint)dpi),
271
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXFIXEDFRAME),
335
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXICON),
348
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXCURSOR),
564
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMIN),
578
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSIZE),
591
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXFRAME),
605
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMINTRACK),
620
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXDOUBLECLK),
648
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXICONSPACING),
727
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXEDGE),
740
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMINSPACING),
754
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSMICON),
781
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXSMSIZE),
795
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMENUSIZE),
834
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMINIMIZED),
848
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMAXTRACK),
862
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMAXIMIZED),
917
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXDRAG),
945
return new
Size
(UnsafeNativeMethods.GetSystemMetrics(NativeMethods.SM_CXMENUCHECK),
1386
return new
Size
(width, height);
1918
return new
Size
(data.iSmCaptionWidth, data.iSmCaptionHeight);
1942
return new
Size
(data.iMenuWidth, data.iMenuHeight);
winforms\Managed\System\WinForms\TabControl.cs (2)
287
return new
Size
(200, 100);
1636
Size = new
Size
(size.Width + 1, size.Height);
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
572
return new
Size
(100, PreferredHeight);
967
bordersAndPadding += new
Size
(0, 3);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (3)
235
Size textSize = new
Size
(scaledMaxWidth - scaledPaddingWidth, int.MaxValue);
278
ClientSize = new
Size
(width, buttonTop + scaledButtonTopPadding);
282
pictureBox.Size = new
Size
(scaledPictureWidth*3/4, scaledPictureHeight*3/4);
winforms\Managed\System\WinForms\ToolBar.cs (6)
382
return new
Size
(NativeMethods.Util.LOWORD(result), NativeMethods.Util.HIWORD(result));
386
return new
Size
(39, 36); // Default button size
389
return new
Size
(23, 22); // Default button size
480
return new
Size
(100, 22);
664
return new
Size
(0, 0);
1310
Size = new
Size
(size.Width + 1, size.Height);
winforms\Managed\System\WinForms\ToolStrip.cs (7)
51
private static Size onePixel = new
Size
(1,1);
199
imageScalingSize = new
Size
(iconWidth, iconHeight);
654
DpiHelper.LogicalToDeviceUnits(new
Size
(100, 25), DeviceDpi) :
655
new
Size
(100, 25);
3927
imageScalingSize = new
Size
(iconWidth, iconHeight);
4138
CommonProperties.SetMinimumSize(this, new
Size
(-1,-1));
4568
Size invalidDefaultSize = new
Size
(-1,-1);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
208
return new
Size
(100,22);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
276
return new
Size
(150, 175);
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
233
private static readonly Size dropDownArrowSizeUnscaled = new
Size
(5, 3);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
59
private static readonly Size DefaultImageSize = new
Size
(16, 16);
393
maxArrowSize = new
Size
(scaledArrowSize, maxItemSize.Height);
winforms\Managed\System\WinForms\ToolStripGrip.cs (2)
108
preferredSize = new
Size
(this.ParentInternal.Width, gripThickness);
111
preferredSize = new
Size
(gripThickness, this.ParentInternal.Height);
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
733
DpiHelper.LogicalToDeviceUnits(new
Size
(23, 23), DeviceDpi) :
734
new
Size
(23, 23);
4603
private readonly static Size INVALID_SIZE = new
Size
(Int32.MinValue,Int32.MinValue);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
63
private static readonly Size checkMarkBitmapSize = new
Size
(16, 16);
198
DpiHelper.LogicalToDeviceUnits(new
Size
(32, 19), DeviceDpi) :
199
new
Size
(32, 19);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
344
return new
Size
(minAllowedWidth,minAllowedWidth);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
27
private static readonly Size onePix = new
Size
(1, 1);
749
Rectangle bottomLeftParentHorizontalPixels = new Rectangle(bottomLeft, new
Size
(2, 1));
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (2)
93
return new
Size
(100,15);
274
progressBar.Size = new
Size
(100,15);
winforms\Managed\System\WinForms\ToolStripSeparator.cs (5)
93
return new
Size
(WINBAR_SEPARATORTHICKNESS, WINBAR_SEPARATORTHICKNESS);
415
return new
Size
(WINBAR_SEPARATORTHICKNESS, WINBAR_SEPARATORTHICKNESS);
420
return new
Size
(parent.Width - (parent.Padding.Horizontal - dropDownMenu.ImageMargin.Width), WINBAR_SEPARATORTHICKNESS);
429
return new
Size
(WINBAR_SEPARATORTHICKNESS, constrainingSize.Height);
432
return new
Size
(constrainingSize.Width, WINBAR_SEPARATORTHICKNESS);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
372
dropDownButtonBounds = new Rectangle(Point.Empty, new
Size
(Math.Min(this.Width, DropDownButtonWidth), this.Height));
378
splitButtonButtonBounds = new Rectangle(Point.Empty, new
Size
(splitButtonButtonWidth, splitButtonButtonHeight));
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (1)
219
return base.GetPreferredSize(constrainingSize) + new
Size
(4, 4);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
106
return new
Size
(100,22);
168
return new
Size
(bounds.Width, TextBox.PreferredHeight);
winforms\Managed\System\WinForms\ToolTip.cs (1)
1787
bubbleSize = new
Size
(width, height);
winforms\Managed\System\WinForms\TrackBar.cs (1)
248
return new
Size
(104, PreferredDimension);
winforms\Managed\System\WinForms\TreeView.cs (3)
107
scaledStateImageSize = DpiHelper.LogicalToDeviceUnits(new
Size
(16, 16));
428
return new
Size
(121, 97);
2828
bounds = new Rectangle(textLoc, new
Size
(textSize.Width, bounds.Height));
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
326
this.btnClose.MinimumSize = new System.Drawing.
Size
(75, 23);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
268
this.btnInstall.MinimumSize = new System.Drawing.
Size
(75, 23);
278
this.btnCancel.MinimumSize = new System.Drawing.
Size
(75, 23);
850
this.linkLblName.MaximumSize = new
Size
(0, this.Font.Height + 2);
winforms\Managed\System\WinForms\UpDownBase.cs (5)
102
upDownButtons.Size = new
Size
(defaultButtonsWidth, PreferredHeight);
380
return new
Size
(DefaultControlWidth, PreferredHeight);
456
base.MaximumSize = new
Size
(value.Width, 0);
464
base.MinimumSize = new
Size
(value.Width, 0);
1107
upDownEditBounds.Size = new
Size
(clientArea.Width - defaultButtonsWidth, clientArea.Height);
winforms\Managed\System\WinForms\UserControl.cs (1)
223
return new
Size
(150, 150);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (2)
765
return new
Size
(size.cx, size.cy);
792
return new
Size
(size.cx, size.cy);
winforms\Managed\System\WinForms\VScrollBar.cs (2)
60
return new
Size
(SystemInformation.GetVerticalScrollBarWidthForDpi(this.deviceDpi), LogicalToDeviceUnits(VERTICAL_SCROLLBAR_HEIGHT));
63
return new
Size
(SystemInformation.VerticalScrollBarWidth, VERTICAL_SCROLLBAR_HEIGHT);
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1234
return new
Size
(250, 250);
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
1178
return new
Size
(sz.cx, sz.cy);
1333
return new
Size
(75, 23);
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
38
public static readonly Size UninitializedSize = new
Size
(-7199369, -5999471);
104
bounds.Size = new
Size
(Math.Min(constrainingBounds.Width -2, bounds.Width),
System.Windows.Forms.DataVisualization (15)
Common\General\ChartGraphics.cs (2)
2681
return new
Size
( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height));
2697
return new
Size
( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height));
Common\General\Legend.cs (8)
888
Size maxSize = new
Size
((int)maxSizeAbs.Width, (int)maxSizeAbs.Height);
4382
size = new
Size
(1, 1);
4386
size = new
Size
(1, 1);
4390
size = new
Size
(1, 1);
4394
size = new
Size
(2, 2);
4398
size = new
Size
(3, 3);
4402
size = new
Size
(1, 1);
4406
size = new
Size
(2, 2);
Common\General\LegendColumns.cs (2)
146
private Size _seriesSymbolSize = new
Size
(200, 70);
847
private Size _seriesSymbolSize = new
Size
(200, 70);
Common\Utilities\ImageLoader.cs (1)
412
Bitmap scaledImage = new Bitmap(image, new
Size
((int)(image.Width * graphics.DpiX / image.HorizontalResolution),
Common\Utilities\XmlSerializer.cs (1)
3136
objValue = new
Size
(reader.ReadInt32(), reader.ReadInt32());
WinForm\ChartWinControl.cs (1)
713
return new
Size
(300, 300);
System.Workflow.Activities (25)
Designers\SetStateDesigner.cs (1)
96
Size size = new
Size
(
Designers\StateDesigner.cs (4)
43
internal static Size Separator = new
Size
(30, 30);
101
this.AutoSizeMargin = new
Size
(16, 24);
1463
Size newSize = new
Size
(this.Size.Width, this.Size.Height + ((maximumY + DefaultStateDesignerAutoLayoutDistance) - this.Bounds.Bottom));
2574
private Size _connectorSize = new
Size
(20, 20);
Designers\StateDesigner.Layouts.cs (12)
453
Size size = new
Size
(width, height);
653
layout.ResizeLayout(new
Size
(maxEventDrivenWidth, size.Height));
1053
_textLayout.Size = new
Size
(maxStringWidth, _textLayout.Size.Height);
1067
private static readonly Size RealMinimumSize = new
Size
(160, 80);
1134
this.MinimumSize = new
Size
(minWidth, minHeight);
1169
size = new
Size
(maximumX, maximumY);
1172
_titleBarLayout.ResizeLayout(new
Size
(size.Width, _titleBarLayout.Size.Height));
1204
Size size = new
Size
(this.Size.Width, this.Size.Height - _titleBarLayout.Bounds.Height);
1244
_eventHandlersLayout.ResizeLayout(new
Size
(newSize.Width, _eventHandlersLayout.Size.Height));
1245
_titleBarLayout.ResizeLayout(new
Size
(newSize.Width, _titleBarLayout.Size.Height));
1342
_titleBarLayout.ResizeLayout(new
Size
(size.Width, _titleBarLayout.Size.Height));
1406
_titleBarLayout.ResizeLayout(new
Size
(newSize.Width, _titleBarLayout.Size.Height));
Designers\StateDesignerConnector.cs (2)
174
Size arrowCapSize = new
Size
(theme.ConnectorSize.Width / 5, theme.ConnectorSize.Height / 5);
211
Size arrowCapSize = new
Size
(theme.ConnectorSize.Width / 5, theme.ConnectorSize.Height / 5);
Designers\StateMachineDesignerPaint.cs (2)
47
return new
Size
(Convert.ToInt32(Math.Ceiling(textSize.Width)), Convert.ToInt32(Math.Ceiling(textSize.Height)));
379
Size capSize = new
Size
(capsize, capsize);
Designers\StateMachineWorkflowDesigner.cs (1)
26
private static readonly Size MinSize = new
Size
(240, 240);
Rules\Design\Dialogs\IntellisenseTextBox.cs (3)
410
this.listBoxAutoComplete.Size = new
Size
(this.listBoxAutoComplete.Items[0].Bounds.Width + 30, 72);
445
this.listBoxAutoComplete.Size = new
Size
(topLevelControlSize.Width, this.listBoxAutoComplete.Height);
450
this.listBoxAutoComplete.Size = new
Size
(this.listBoxAutoComplete.Width, topLevelControlSize.Height - listboxRectangle.Top);
System.Workflow.ComponentModel (148)
AuthoringOM\Design\ActivityDesigner.cs (2)
1072
Rectangle viewPort = new Rectangle(bounds.Location, new
Size
(bounds.Width + 1, bounds.Height + 1));
2971
using (GraphicsPath graphicsPath = ActivityDesignerPaint.GetDesignerPath(this, Point.Empty, new
Size
(DesignerTheme.BorderWidth, DesignerTheme.BorderWidth), DesignerEdges.All, false))
AuthoringOM\Design\ActivityPreviewDesigner.cs (4)
156
Size moveDelta = new
Size
(value.X - base.Location.X, value.Y - base.Location.Y);
650
Size margins = new
Size
(2 * e.AmbientTheme.Margin.Width + 2 * e.AmbientTheme.SelectionSize.Width, 2 * e.AmbientTheme.Margin.Height + 2 * e.AmbientTheme.SelectionSize.Height);
651
PreviewedDesigner.Size = new
Size
(containerSize.Width - margins.Width, containerSize.Height - (TitleHeight + this.previewStrip.Size.Height + margins.Height));
935
Size selectionSize = new
Size
(Math.Max(itemBounds.Width / 6, 1), Math.Max(itemBounds.Height / 6, 1));
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
214
Size moveDelta = new
Size
(value.X - base.Location.X, value.Y - base.Location.Y);
AuthoringOM\Design\Connector.cs (6)
189
defaultSize = new
Size
(Math.Max(defaultSize.Width, (int)this.associatedDesigner.DesignerTheme.ForegroundPen.Width * 4), Math.Max(defaultSize.Height, (int)this.associatedDesigner.DesignerTheme.ForegroundPen.Width * 4));
443
Size arrowCapSize = new
Size
(theme.ConnectorSize.Width / 5, theme.ConnectorSize.Height / 5);
457
Size arrowCapSize = new
Size
(theme.ConnectorSize.Width / 5, theme.ConnectorSize.Height / 5);
485
Size arrowCapSize = new
Size
(theme.ConnectorSize.Width / 5, theme.ConnectorSize.Height / 5);
1530
Point[] routedPoints = ConnectorRouter.Route(sourcePoint, targetPoint, new
Size
(2 * ambientTheme.Margin.Width, 2 * ambientTheme.Margin.Height), rootDesigner.Bounds, rectanglesToExclude.ToArray(), linesToExclude.ToArray(), pointsToExclude.ToArray());
1812
private static readonly Size DefaultSize = new
Size
(4, 4);
AuthoringOM\Design\DesignerHelpers.cs (7)
79
return new
Size
(Convert.ToInt32(Math.Ceiling(textSize.Width)), Convert.ToInt32(Math.Ceiling(textSize.Height)));
339
graphics.FillRectangle(ambientTheme.MajorGridBrush, new Rectangle(new Point(gridCoOrdX, gridCoOrdY), new
Size
(1, 1)));
343
graphics.FillRectangle(ambientTheme.MinorGridBrush, new Rectangle(new Point(gridCoOrdX + ambientTheme.GridSize.Width / 2, gridCoOrdY + ambientTheme.GridSize.Height / 2), new
Size
(1, 1)));
697
Size capSize = new
Size
(capsize, capsize);
780
Size arrowSize = new
Size
(arrowHeight / 2, arrowHeight);
799
Size arrowSize = new
Size
(arrowWidth, arrowWidth / 2);
1894
Rectangle enclosingRect = new Rectangle(leftTop, new
Size
(rightBottom.X - leftTop.X, rightBottom.Y - leftTop.Y));
AuthoringOM\Design\DesignerWidgets.cs (19)
168
Size inflateSize = (Orientation == Orientation.Horizontal) ? new
Size
(0, 2) : new
Size
(2, 0);
276
this.buttonSize = new
Size
(itemSize.Width * 2 / 3, itemSize.Height);
278
this.buttonSize = new
Size
(itemSize.Width, itemSize.Height * 2 / 3);
370
this.itemStrip.Size = new
Size
(Math.Min(availableSize, reqdSize.Width), Math.Min(this.bounds.Height, reqdSize.Height));
378
this.itemStrip.Size = new
Size
(Math.Min(this.bounds.Width, reqdSize.Width), Math.Min(availableSize, reqdSize.Height));
574
private Size itemSize = new
Size
(16, 16);
1038
private Size imageRectangle = new
Size
(20, 20);
1039
private Size imageSize = new
Size
(16, 16);
1040
private Size selectionItemMargin = new
Size
(1, 1);
1506
this.splitter.Size = new
Size
(SplitterSize, SplitterSize);
1978
this.drawItems[i].TextSize = new
Size
(Convert.ToInt32(Math.Ceiling(sizef.Width)), Convert.ToInt32(Math.Ceiling(sizef.Height)));
2089
imageRectangle.Size = new
Size
(this.reqTabItemSize - 2 * TabMargin, this.reqTabItemSize - 2 * TabMargin);
2539
rectangles[j].Size = new
Size
(itemMargin.Width, itemSize.Height + itemMargin.Height);
2742
imageRectangle.Size = new
Size
(itemRectangle.Width - 4, itemRectangle.Height - 4);
2893
return new
Size
(itemSize.Width / 2, itemSize.Height / 4);
3376
this.canvasBounds.Size = new
Size
(Math.Max(this.canvasBounds.Width, designerTheme.PreviewWindowSize.Width), Math.Max(this.canvasBounds.Height, designerTheme.PreviewWindowSize.Height));
3386
this.previewDescTextSize = new
Size
(Convert.ToInt32(Math.Ceiling(stringSize.Width)), Convert.ToInt32(Math.Ceiling(stringSize.Height)));
3459
Size maxBitmapSize = new
Size
(this.canvasBounds.Width - 2 * margin.Width, this.canvasBounds.Height - 2 * margin.Height);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
167
this.workflowOutline.Size = new
Size
(199, 351);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
554
Size margin = new
Size
(8, 8);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
809
this.helpTextWindow.Size = new
Size
(this.helpTextHolder.Size.Width - 6, this.helpTextHolder.Size.Height - 6);
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (1)
1071
physicalPageSize = new
Size
(paperSize.Width, paperSize.Height);
AuthoringOM\Design\FreeFormDesigner.cs (6)
86
internal static Size DefaultAutoSizeMargin = new
Size
(40, 40);
294
Size moveDelta = new
Size
(value.X - base.Location.X, value.Y - base.Location.Y);
973
direction = new
Size
(-step, 0);
975
direction = new
Size
(step, 0);
977
direction = new
Size
(0, -step);
979
direction = new
Size
(0, step);
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (1)
43
Size grabHandleSize = new
Size
(selectionSize.Width, selectionSize.Height);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
674
Rectangle descriptionRectangle = (description.Length > 0) ? new Rectangle(Point.Empty, new
Size
(AmbientTheme.DragImageTextSize.Width, parentView.Font.Height + 2)) : Rectangle.Empty;
678
Size draggedImageSize = parentView.LogicalSizeToClient(new
Size
(imageRectangle.Width + descriptionRectangle.Width, Math.Max(imageRectangle.Height, descriptionRectangle.Height)));
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (11)
409
private static Size[] Sizes = new Size[] { new
Size
(20, 20), new
Size
(24, 24), new
Size
(28, 28), new
Size
(32, 32), new
Size
(36, 36) };
410
private static Size[] Margins = new Size[] { new
Size
(1, 1), new
Size
(1, 1), new
Size
(2, 2), new
Size
(2, 2), new
Size
(3, 3) };
421
private Size borderSize = new
Size
(2, 2);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
255
Size delta = new
Size
(endPoint.X - startPoint.X, endPoint.Y - startPoint.Y);
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (1)
74
Size panSize = new
Size
(eventArgs.X - this.panPoint.X, eventArgs.Y - this.panPoint.Y);
AuthoringOM\Design\ParallelActivityDesigner.cs (5)
262
activityDesigner.Size = new
Size
(activityDesigner.Size.Width, containerSize.Height);
290
dropTargets[0].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), firstDesigner.Size.Height);
301
dropTargets[i + 1].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), designerBounds1.Height);
307
dropTargets[containedDesigners.Count].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), lastDesigner.Size.Height);
312
dropTargets[0].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), Location.Y + Size.Height - dropTargets[0].Location.Y);
AuthoringOM\Design\SequentialActivityDesigner.cs (5)
39
private static readonly Size DefaultHelpTextSize = new
Size
(100, 85);
214
connectorBounds[0].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), startDesignerConnections[0].Y - containerStartConnection.Y);
227
connectorBounds[i + 1].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), designerToConnections[0].Y - designerFromConnections[designerFromPointCount - 1].Y);
244
connectorBounds[connectorCount - 1].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), containerEndConnection.Y - endDesignerConnections[endDesignerConnections.Count - 1].Y);
250
connectorBounds[0].Size = new
Size
(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), containerEndConnection.Y - containerStartConnection.Y);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
42
private static readonly Size PageStripItemSize = new
Size
(24, 20);
43
private static readonly Size MinSize = new
Size
(240, 240);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
478
arrowCapSize = new
Size
(compositeDesignerTheme.ConnectorSize.Width / 3, compositeDesignerTheme.ConnectorSize.Height / 3);
AuthoringOM\Design\Themes.cs (46)
981
private static readonly Size[] DesignerSizes = new Size[] { new
Size
(90, 40), new
Size
(130, 41), new
Size
(110, 50) };
982
private static readonly Size[] ImageSizes = new Size[] { new
Size
(16, 16), new
Size
(16, 16), new
Size
(24, 24) };
1431
private static readonly Size[] ExpandButtonSizes = new Size[] { new
Size
(8, 8), new
Size
(8, 8), new
Size
(12, 12) };
1432
private static readonly Size[] ConnectorSizes = new Size[] { new
Size
(15, 30), new
Size
(15, 19), new
Size
(25, 50) };
1610
return new
Size
(connectorSize, connectorSize);
1684
private static readonly Size[] ItemSizes = new Size[] { new
Size
(20, 20), new
Size
(20, 20), new
Size
(30, 30) };
1685
private static readonly Size[] PreviewButtonSizes = new Size[] { new
Size
(16, 16), new
Size
(16, 16), new
Size
(20, 20) };
1686
private static readonly Size[] PreviewWindowSizes = new Size[] { new
Size
(172, 120), new
Size
(172, 120), new
Size
(212, 160) };
1945
internal static readonly Size DragImageMargins = new
Size
(4, 4);
1946
internal static readonly Size DragImageTextSize = new
Size
(100, 60);
1947
internal static readonly Size DragImageIconSize = new
Size
(16, 16);
1956
private static readonly Size[] GridSizes = new Size[] { new
Size
(30, 30), new
Size
(40, 40), new
Size
(60, 60) };
1957
private static readonly Size[] MarginSizes = new Size[] { new
Size
(2, 2), new
Size
(4, 4), new
Size
(6, 6) };
1958
private static readonly Size[] SelectionSizes = new Size[] { new
Size
(2, 2), new
Size
(4, 4), new
Size
(6, 6) };
1959
private static readonly Size[] GlyphSizes = new Size[] { new
Size
(10, 10), new
Size
(14, 14), new
Size
(18, 18) };
1960
private static readonly Size[] ScrollIndicatorSizes = new Size[] { new
Size
(24, 24), new
Size
(32, 32), new
Size
(40, 40) };
1961
private static readonly Size[] DropIndicatorSizes = new Size[] { new
Size
(8, 8), new
Size
(12, 12), new
Size
(16, 16) };
1962
private static readonly Size[] MagnifierSizes = new Size[] { new
Size
(50, 50), new
Size
(100, 100), new
Size
(150, 150) };
AuthoringOM\Design\WorkflowLayouts.cs (15)
64
public static Size Separator = new
Size
(30, 30);
86
Size totalSize = new
Size
(rootDesignerSize.Width + DefaultWorkflowLayout.Separator.Width * 2, rootDesignerSize.Height + DefaultWorkflowLayout.Separator.Height * 2);
88
return new
Size
(Math.Max(totalSize.Width, clientSize.Width), Math.Max(totalSize.Height, clientSize.Height));
217
Size totalSize = new
Size
(rootDesignerSize.Width + DefaultWorkflowLayout.Separator.Width * 2, rootDesignerSize.Height + DefaultWorkflowLayout.Separator.Height * 2);
223
return new
Size
(Math.Max(totalSize.Width, clientSize.Width), Math.Max(totalSize.Height, clientSize.Height));
323
return new
Size
(Math.Max(0, (totalSize.Width - layoutExtent.Width) / 2), Math.Max(0, (totalSize.Height - layoutExtent.Height) / 2));
334
private static Size DefaultPageSeparator = new
Size
(30, 30);
345
private Size rowColumns = new
Size
(1, 1); //Width = Columns, Height = Rows
383
Size printableAreaPerPage = new
Size
(this.pageSize.Width - (PageMargins.Left + PageMargins.Right), this.pageSize.Height - (PageMargins.Top + PageMargins.Bottom));
384
Size totalPrintableArea = new
Size
(this.rowColumns.Width * printableAreaPerPage.Width, this.rowColumns.Height * printableAreaPerPage.Height);
424
Size deltaSize = new
Size
(pageLayoutData.ViewablePageBounds.Width - intersectedPhysicalViewPort.Width, pageLayoutData.ViewablePageBounds.Height - intersectedPhysicalViewPort.Height);
459
Size deltaSize = new
Size
(pageLayoutData.LogicalPageBounds.Width - intersectedLogicalViewPort.Width, pageLayoutData.LogicalPageBounds.Height - intersectedLogicalViewPort.Height);
740
Size printableArea = new
Size
(paperSize.Width - (margins.Left + margins.Right), paperSize.Height - (margins.Top + margins.Bottom));
766
PageSeparator = new
Size
(Convert.ToInt32(Math.Ceiling(((float)PageSeparator.Width) / this.scaling)), Convert.ToInt32(Math.Ceiling(((float)PageSeparator.Height) / this.scaling)));
781
Size viewablePageSize = new
Size
(this.pageSize.Width - (PageMargins.Left + PageMargins.Right), this.pageSize.Height - (PageMargins.Top + PageMargins.Bottom));
AuthoringOM\Design\WorkflowPrinting.cs (3)
126
Size printableArea = new
Size
(printPageArg.PageBounds.Size.Width - (margins.Left + margins.Right), printPageArg.PageBounds.Size.Height - (margins.Top + margins.Bottom));
266
layoutRectangle.Size = new
Size
(Convert.ToInt32(Math.Ceiling((stringSize.Width))), Convert.ToInt32(Math.Ceiling((stringSize.Height))));
326
Size printableArea = new
Size
(paperSize.Width - (margins.Left + margins.Right), paperSize.Height - (margins.Top + margins.Bottom));
AuthoringOM\Design\WorkflowView.cs (6)
1043
viewPortData.ShadowDepth = new
Size
(this.shadowDepth, this.shadowDepth);
1535
viewPortData.LogicalViewPort = new Rectangle(Point.Empty, new
Size
(rootDesigner.Bounds.Width + 2 * DefaultWorkflowLayout.Separator.Width, rootDesigner.Bounds.Height + 2 * DefaultWorkflowLayout.Separator.Height));
1539
viewPortData.ShadowDepth = new
Size
(0, 0);
1660
viewPortGraphics.FillRectangle(shadowDepthBrush, new Rectangle(Point.Empty, new
Size
(memoryBitmap.Size.Width - viewPortData.ShadowDepth.Width - 1, memoryBitmap.Size.Height - viewPortData.ShadowDepth.Height - 1)));
1798
Size largeChangeSize = new
Size
(Math.Min(maximumScrollSize.Width, currentSize.Width), Math.Min(maximumScrollSize.Height, currentSize.Height));
1848
fitAllAction.DockMargin = new
Size
(5, 5);
System.WorkflowServices (2)
System\Workflow\Activities\ReceiveActivityDesigner.cs (1)
30
return new
Size
(170, 80);
System\Workflow\Activities\SendActivityDesigner.cs (1)
31
return new
Size
(150, 80);
WsatUI (3)
MMCUI\TraceOptionsForm.designer.cs (2)
109
this.labelTraceInfo.MaximumSize = new System.Drawing.
Size
(300, 50);
176
this.label3.MaximumSize = new System.Drawing.
Size
(300, 34);
MMCUI\WSATPropertySheet.cs (1)
272
wsatControl.Size = new System.Drawing.
Size
(425, wsatControl.Size.Height);