1030 writes to Size
DesignSurface (13)
MainForm.cs (1)
445Size = new Size(226, 502),
MainForm.Designer.cs (9)
78this.splitContainer.Size = new System.Drawing.Size(824, 502); 95this.tabControl1.Size = new System.Drawing.Size(593, 502); 103this.tabPage1.Size = new System.Drawing.Size(585, 473); 113this.tabPage2.Size = new System.Drawing.Size(585, 473); 123this.tabPage3.Size = new System.Drawing.Size(585, 473); 133this.tabPage4.Size = new System.Drawing.Size(585, 473); 143this.tabPage5.Size = new System.Drawing.Size(585, 473); 153this.tabPage6.Size = new System.Drawing.Size(585, 473); 168this.menuStrip1.Size = new System.Drawing.Size(824, 28);
MainForm.MyUserControl.cs (3)
26Size = new(30, 30) 33Size = new(30, 30) 40Size = new(30, 30)
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
40this.button1.Size = new System.Drawing.Size(75, 23);
PresentationUI (135)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (50)
133this.tableLayoutPanel3.Size = new System.Drawing.Size(362, 437); 143this._tabControl.Size = new System.Drawing.Size(436, 535); 155this._summaryTab.Size = new System.Drawing.Size(324, 355); 205this.tableLayoutPanel1.Size = new System.Drawing.Size(324, 297); 213this._language.Size = new System.Drawing.Size(335, 13); 223this._title.Size = new System.Drawing.Size(335, 13); 232this._titleLabel.Size = new System.Drawing.Size(27, 13); 240this._identifier.Size = new System.Drawing.Size(335, 13); 249this._versionLabel.Size = new System.Drawing.Size(42, 13); 257this._authorLabel.Size = new System.Drawing.Size(38, 13); 265this._statusLabel.Size = new System.Drawing.Size(37, 13); 273this._contentLabel.Size = new System.Drawing.Size(44, 13); 281this._languageLabel.Size = new System.Drawing.Size(55, 13); 289this._subjectLabel.Size = new System.Drawing.Size(43, 13); 297this._version.Size = new System.Drawing.Size(335, 13); 306this._categoryLabel.Size = new System.Drawing.Size(49, 13); 314this._category.Size = new System.Drawing.Size(335, 13); 323this._status.Size = new System.Drawing.Size(335, 13); 332this._content.Size = new System.Drawing.Size(335, 13); 341this._keywordsLabel.Size = new System.Drawing.Size(53, 13); 350this._author.Size = new System.Drawing.Size(335, 13); 359this._subject.Size = new System.Drawing.Size(335, 13); 369this._description.Size = new System.Drawing.Size(335, 101); 380this._keywords.Size = new System.Drawing.Size(335, 28); 391this._identifierLabel.Size = new System.Drawing.Size(47, 13); 400this._descriptionLabel.Size = new System.Drawing.Size(60, 13); 426this._infoTab.Size = new System.Drawing.Size(348, 379); 445this.tableLayoutPanel2.Size = new System.Drawing.Size(314, 355); 477this._size.Size = new System.Drawing.Size(270, 28); 485this._iconPictureBox.Size = new System.Drawing.Size(40, 40); 495this._filename.Size = new System.Drawing.Size(340, 13); 505this._documentType.Size = new System.Drawing.Size(340, 13); 515this._sizeLabel.Size = new System.Drawing.Size(40, 13); 526this._documentDetailBox.Size = new System.Drawing.Size(305, 127); 563this._documentPrintedDate.Size = new System.Drawing.Size(282, 13); 572this._documentModifiedDate.Size = new System.Drawing.Size(282, 13); 581this._documentCreatedDate.Size = new System.Drawing.Size(282, 13); 590this._revision.Size = new System.Drawing.Size(282, 13); 599this._documentPrintedLabel.Size = new System.Drawing.Size(43, 13); 607this._documentModifiedLabel.Size = new System.Drawing.Size(50, 13); 615this._documentCreatedLabel.Size = new System.Drawing.Size(47, 13); 623this._revisionLabel.Size = new System.Drawing.Size(51, 13); 631this._lastSavedLabel.Size = new System.Drawing.Size(79, 13); 639this._lastSaved.Size = new System.Drawing.Size(282, 13); 679this._fileModifiedDate.Size = new System.Drawing.Size(282, 13); 688this._fileAccessedDate.Size = new System.Drawing.Size(282, 13); 697this._fileCreatedLabel.Size = new System.Drawing.Size(47, 13); 705this._fileModifiedLabel.Size = new System.Drawing.Size(50, 13); 713this._fileCreatedDate.Size = new System.Drawing.Size(282, 13); 722this._fileAccessedLabel.Size = new System.Drawing.Size(57, 13);
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (3)
69this._mainDialogTableLayoutPanel.Size = new System.Drawing.Size(398, 157); 144this._credListBox.Size = new System.Drawing.Size(299, 82); 154this._instructionLabel.Size = new System.Drawing.Size(0, 0);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (13)
65_buttomControlLayoutpanel.Size = new System.Drawing.Size(56, 24); 73_addButton.Size = new System.Drawing.Size(65, 6); 83_cancelButton.Size = new System.Drawing.Size(65, 6); 118_userInputTableLayoutPanel.Size = new System.Drawing.Size(407, 197); 125_dateTimePicker.Size = new System.Drawing.Size(245, 20); 137_requestedLocationTextBox.Size = new System.Drawing.Size(401, 20); 147_signatureAppliedByDateLabel.Size = new System.Drawing.Size(17, 13); 156_requestSignerNameLabel.Size = new System.Drawing.Size(17, 13); 165_requestLocationLabel.Size = new System.Drawing.Size(17, 13); 173_requestedSignerNameTextBox.Size = new System.Drawing.Size(401, 20); 183_intentLabel.Size = new System.Drawing.Size(17, 13); 192_intentComboBox.Size = new System.Drawing.Size(401, 21); 211_mainDialogTableLayoutPanel.Size = new System.Drawing.Size(433, 273);
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (11)
69_panel1.Size = new System.Drawing.Size(398, 196); 80_flowLayoutPanel2.Size = new System.Drawing.Size(398, 153); 90_flowLayoutPanel3.Size = new System.Drawing.Size(353, 111); 104_flowLayoutPanel4.Size = new System.Drawing.Size(198, 89); 114_label1.Size = new System.Drawing.Size(392, 13); 124_label2.Size = new System.Drawing.Size(0, 0); 134_label3.Size = new System.Drawing.Size(165, 13); 144_privacyLabel.Size = new System.Drawing.Size(89, 13); 154_instructionlabel.Size = new System.Drawing.Size(140, 13); 162_panel2.Size = new System.Drawing.Size(13, 105); 170_pictureBox.Size = new System.Drawing.Size(78, 75);
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (11)
69this._flowLayoutPanel1.Size = new System.Drawing.Size(548, 43); 101this._flowLayoutPanel2.Size = new System.Drawing.Size(548, 326); 110this._label1.Size = new System.Drawing.Size(322, 13); 122this._flowLayoutPanel3.Size = new System.Drawing.Size(528, 38); 131this._pictureBox1.Size = new System.Drawing.Size(16, 16); 142this._label2.Size = new System.Drawing.Size(490, 26); 164this._tableLayoutPanel1.Size = new System.Drawing.Size(488, 234); 173this._networkRadioButton.Size = new System.Drawing.Size(126, 17); 184this._pictureBox2.Size = new System.Drawing.Size(100, 50); 193this._passportRadioButton.Size = new System.Drawing.Size(132, 17); 203this._pictureBox4.Size = new System.Drawing.Size(100, 50);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (6)
60this.tableLayoutPanel1.Size = new System.Drawing.Size(419, 218); 70this.flowLayoutPanel2.Size = new System.Drawing.Size(413, 27); 79this.label2.Size = new System.Drawing.Size(245, 13); 95this.tableLayoutPanel2.Size = new System.Drawing.Size(413, 135); 105this.label3.Size = new System.Drawing.Size(115, 13); 114this.progressBar1.Size = new System.Drawing.Size(100, 14);
MS\Internal\Documents\RMPublishingDialog.cs (3)
927buttonPeoplePicker.Size = imageButtonSize; 928buttonEveryone.Size = imageButtonSize; 929buttonRemoveUser.Size = imageButtonSize;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (12)
93this.radioButtonUnrestricted.Size = new System.Drawing.Size(85, 17); 102this.radioButtonPermissions.Size = new System.Drawing.Size(85, 17); 111this.radioButtonTemplate.Size = new System.Drawing.Size(85, 17); 124this.groupBoxMainContent.Size = new System.Drawing.Size(650, 270); 165this.textBoxUnrestrictedText.Size = new System.Drawing.Size(625, 230); 181this.comboBoxTemplates.Size = new System.Drawing.Size(350, 21); 242this.rightsTable.Size = new System.Drawing.Size(635, 150); 268this.textBoxPermissionsContact.Size = new System.Drawing.Size(612, 20); 307this.flowLayoutPanelActions.Size = new System.Drawing.Size(541, 29); 316this.buttonCancel.Size = new System.Drawing.Size(75, 23); 323this.buttonSave.Size = new System.Drawing.Size(75, 23); 330this.buttonSaveAs.Size = new System.Drawing.Size(75, 23);
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (11)
59_buttonDone.Size = new System.Drawing.Size(75, 23); 82_flowpanelMiddleControls.Size = new System.Drawing.Size(335, 49); 95_flowpanelBottomControls.Size = new System.Drawing.Size(335, 49); 102_buttonSign.Size = new System.Drawing.Size(75, 23); 112_buttonViewCert.Size = new System.Drawing.Size(75, 23); 122_buttonRequestDelete.Size = new System.Drawing.Size(75, 23); 130_buttonRequestAdd.Size = new System.Drawing.Size(75, 23); 143_columnHeaderPanel.Size = new System.Drawing.Size(600, 25); 154_listBoxSummary.Size = new System.Drawing.Size(600, 217); 170_listboxMainPanel.Size = new System.Drawing.Size(602, 272); 179_listboxItemPanel.Size = new System.Drawing.Size(600, 217);
MS\Internal\Documents\SigningDialog.Designer.cs (15)
66_userInputFlowPanel.Size = new System.Drawing.Size(475, 195); 95_signatureControlInputLayoutTable.Size = new System.Drawing.Size(466, 173); 103_addDigSigCheckBox.Size = new System.Drawing.Size(15, 14); 113_signerlabel.Size = new System.Drawing.Size(0, 0); 123_addDocPropCheckBox.Size = new System.Drawing.Size(15, 14); 132_reasonLabel.Size = new System.Drawing.Size(0, 0); 141_reasonComboBox.Size = new System.Drawing.Size(460, 21); 151_actionlabel.Size = new System.Drawing.Size(0, 0); 160_locationLabel.Size = new System.Drawing.Size(0, 0); 168_locationTextBox.Size = new System.Drawing.Size(460, 20); 190_buttonflowLayoutPanel.Size = new System.Drawing.Size(475, 17); 203_cancelButton.Size = new System.Drawing.Size(36, 6); 217_signButton.Size = new System.Drawing.Size(36, 6); 231_signSaveAsButton.Size = new System.Drawing.Size(36, 6); 249_mainLayoutTable.Size = new System.Drawing.Size(481, 292);
System.Windows.Forms (44)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1713_control.Size = size;
System\Windows\Forms\Control.cs (3)
411Size = new Size(width, height); 9120Size = DefaultSize; 10137Size = SizeFromClientSizeInternal(new(x, y));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
3776editingControl.Size = new Size(editingControlBounds.Width, editingControlBounds.Height); 3862DataGridView.EditingPanel.Size = new Size(wEditingPanel, hEditingPanel);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
804DataGridView.EditingControl.Size = new Size(editingControlBounds.Width, editingControlBounds.Height);
System\Windows\Forms\Controls\Labels\Label.cs (1)
840Size = preferredSize;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
604Size = new Size(oldSize.Width + 1, oldSize.Height); 605Size = oldSize;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
825set => base.Size = value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
963Size = PreferredSize; 967Size = _savedSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (9)
130Size = new(208, 43), 138Size = new(64, 64), 151Size = new(100, 23), 163Size = new(75, 23), 176Size = new(75, 23), 190Size = new(290, 29), 213Size = new(284, 73), 230Size = new(290, 108), 255Size = new(273, 100),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
54Size = new(LogicalToDeviceUnits(LogicalDefaultWidth), LogicalToDeviceUnits(LogicalDefaultHeight)); 70Size = new(Width, 1 + value * _lineHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
216_dropDownButton.Size = ScaleHelper.IsScalingRequirementMet 254_dialogButton.Size = ScaleHelper.IsScalingRequirementMet 5138_dropDownButton.Size = new(SystemInformation.VerticalScrollBarArrowHeightForDpi(_deviceDpi), RowHeight); 5142_dropDownButton.Size = new(SystemInformation.VerticalScrollBarArrowHeight, RowHeight); 5147DialogButton.Size = DropDownButton.Size;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1521Size = new Size(size.Width + 1, size.Height); 1522Size = size;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
883Size = size;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
640controlArray[i].Size = controlArray[i].PreferredSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
240Size = new Size(100, 15)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
182toolStrip.Size = settings.Size;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
62_upDownButtons.Size = new Size(_defaultButtonsWidth, PreferredHeight);
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
366_pageSites[n].GetPageControl().Size = _maxSize;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
257_pictureBox.Size = new Size(_scaledPictureWidth * 3 / 4, _scaledPictureHeight * 3 / 4);
System\Windows\Forms\Form.cs (1)
1831set => base.Size = value;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
224set => base.Size = value;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (2)
40Size = new Size(240, 64), 47Size = ScaleHelper.ScaleToDpi(new Size(75, 23), ScaleHelper.InitialSystemDpi),
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
60Size = new Size(100, 100);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
910_previewControl.Size = new Size(792, 610);
System.Windows.Forms.Design (55)
System\ComponentModel\Design\ByteViewer.cs (2)
442Size = new Size( 562Size = new Size(
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (3)
22Size = _monthCalendar.SingleMonthSize; 59Size = _monthCalendar.SingleMonthSize; 71Size = _monthCalendar.Size;
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
40_checkBox.Size = checkBoxPreferredSize;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
178_button.Size = new Size(buttonHeight, buttonHeight);
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
49_linkLabel.Size = linkLabelSize;
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (2)
66_titleLabel.Size = titleSize; 69_subtitleLabel.Size = subtitleSize;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
111_label.Size = new Size(labelPreferredWidth, height);
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (1)
44_label.Size = labelSize;
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (3)
46CurrentPanel.Size = panelSize; 157Size = panel.Size; 172Size = ctrl.Size;
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
72Size = new Size(
System\Drawing\Design\ColorEditor.ColorUI.cs (2)
89Size = new Size(size.Width + 2 * CMARGIN, size.Height + 2 * CMARGIN + rectItemSize.Height); 90_tabControl.Size = Size;
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (10)
221Size = new Size(pixel_125, pixel_89); 223_topLeft.Size = new Size(pixel_24, pixel_25); 226_topCenter.Size = new Size(pixel_59, pixel_25); 229_topRight.Size = new Size(pixel_24, pixel_25); 232_middleLeft.Size = new Size(pixel_24, pixel_25); 235_middleCenter.Size = new Size(pixel_59, pixel_25); 238_middleRight.Size = new Size(pixel_24, pixel_25); 241_bottomLeft.Size = new Size(pixel_24, pixel_25); 244_bottomCenter.Size = new Size(pixel_59, pixel_25); 247_bottomRight.Size = new Size(pixel_24, pixel_25);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (6)
80_container.Size = new Size(90, 90); 84_control.Size = new Size(30, 30); 88_right.Size = new Size(30 - XBORDER, 10); 95_left.Size = new Size(30 - XBORDER, 10); 102_top.Size = new Size(10, 30 - YBORDER); 109_bottom.Size = new Size(10, 30 - YBORDER);
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
35Size = PreferredSize;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
47_sampleDataGridViewSelected.Size = new Drawing.Size(100, Font.Height + 9); 48_sampleDataGridView.Size = new Drawing.Size(100, Font.Height + 9);
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
28Size = _typesListBox.Size;
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
343Size = _initialSize; 455Size = new Size(
System\Windows\Forms\Design\DockEditor.DockUI.cs (7)
191_none.Size = ScaleHelper.ScaleToDpi(new Size(LogicalNoneWidth, LogicalNoneHeight), dpi); 195_container.Size = ScaleHelper.ScaleToDpi(new Size(LogicalContainerSize, LogicalContainerSize), dpi); 199_right.Size = scaledButtonSize; 200_left.Size = scaledButtonSize; 201_top.Size = scaledButtonSize; 202_bottom.Size = scaledButtonSize; 203_fill.Size = scaledButtonSize;
System\Windows\Forms\Design\FormatControl.cs (1)
409explanationLabel.Size = new Drawing.Size(formatGroupBox.Width - 10, 30);
System\Windows\Forms\Design\FormatStringDialog.cs (3)
177_formatControl1.Size = new Drawing.Size(376, 268); 184_cancelButton.Size = new Drawing.Size(87, 23); 194_okButton.Size = new Drawing.Size(87, 23);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
239Control.Size = value;
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
54Size = new Drawing.Size(100, 52);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
232Size = new Size(Size.Width + _resetButton.Size.Width - resetButtonSize.Width, Size.Height);
System\Windows\Forms\Design\ToolStripEditorManager.cs (1)
142private void UpdateSize() => Size = new Size(_wrappedEditor.Size.Width, _wrappedEditor.Size.Height);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
22control.Size = new Size(0, 120);
System.Windows.Forms.Tests (258)
System\Windows\Forms\AccessibleObjects\CheckedListBoxAccessibleObjectTests.cs (1)
18checkedListBox.Size = new Size(120, 100);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (7)
255comboBox.Size = new Size(100, 132); 307comboBox.Size = new Size(100, 132); 394comboBox.Size = new Size(100, 132); 398comboBox.Size = new Size(100, comboBox.Size.Height); 456comboBox.Size = new Size(100, 400); 460comboBox.Size = new Size(100, comboBox.Size.Height); 689comboBox.Size = new Size(100, 50);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (3)
1513using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1547using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1585using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (3)
149dataGridView.Size = new Size(500, 300); 172dataGridView.Size = new Size(500, 300); 326dataGridView.Size = new Size(200, 100);
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
281Size = new Size(200, 50)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
345Size = new Size(500, 50)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
381Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
353Size = new Size(500, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
368Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
273Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
1191listView.Size = new Size(200, 200); 1217listView.Size = new Size(200, 200); 1751Size = new Size(expectedWidth, 150)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (8)
140Size = new Size(200, 200) 210Size = new Size(200, 200) 373Size = new Size(200, 200) 468Size = new Size(200, 200) 504Size = new Size(200, 200) 586Size = new Size(200, 200) 1261Size = new Size(200, 200) 1428Size = new Size(200, 200)
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
158Size = new Size(300, 200),
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
928menuStrip.Size = size.Value;
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (2)
268panel1.Size = new(200, 140); 271button1.Size = new(237, 153);
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (2)
129propertyGrid.Size = new Size(300, 500); 237propertyGrid.Size = new Size(300, 500);
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
909statusStrip.Size = size.Value;
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
535tabControl.Size = new(151, 104); 538button.Size = new(198, 86); 543tabPage.Size = new(143, 76);
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
107using TextBoxBase textBoxBase = new SubTextBoxBase { Size = new Size(width, height) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
969toolStrip.Size = size.Value;
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (3)
244using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 285using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 312using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
203Size = new(20, 30),
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (2)
84using ToolStrip toolStrip = new() { AutoSize = false, Size = new(30, 30) }; 109using ToolStrip toolStrip = new() { AutoSize = false, Size = new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (1)
121using ToolStrip toolStrip = new() { Size = new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (3)
231using TreeView control = new() { Size = new Size(300, 100) }; 245using TreeView control = new() { Size = new Size(300, 100) }; 260using TreeView control = new() { Size = new Size(300, 100) };
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (1)
157Size = new Size(300, 200),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
329Size = new Size(500, 50)
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
363Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
337Size = new Size(500, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
352Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
273Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
271Size = new Size(500, 50)
System\Windows\Forms\ButtonTests.cs (2)
1304Size = new Size(14, 9), 1600Size = new Size(6, 6),
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (2)
109comboBox.Size = new Size(expectedWidth, 150); 113comboBox.Size = new Size(expectedWidth, comboBox.Size.Height);
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (22)
285using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 309using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 347using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 370using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 436using ComboBox comboBox = new() { Size = size, DropDownStyle = dropdownStyle }; 465using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 502using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 542using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 576using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 594using ComboBox comboBox = new ComboBox() { DropDownStyle = dropDownStyle, Size = new Size(250, 100) }; 781using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 823using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 849using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 869using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 1043using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1064using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1081using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1100using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1113using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1127using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1151using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 1172using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
System\Windows\Forms\ComboBoxTests.cs (1)
2157using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(100, 50) };
System\Windows\Forms\ControlTests.cs (4)
1047checkedListBox1.Size = new Size(103, 64); 1050button1.Size = new Size(213, 20); 1054listBox1.Size = new Size(101, 69); 1058listView1.Size = new Size(121, 64);
System\Windows\Forms\ControlTests.Methods.cs (22)
2994Size = new Size(10, 20) 3030Size = new Size(10, 20) 3034Size = new Size(10, 20) 3109Size = new Size(10, 20) 3148Size = new Size(10, 20) 3152Size = new Size(10, 20) 3247Size = new Size(10, 20) 3283Size = new Size(10, 20) 3287Size = new Size(10, 20) 3388Size = new Size(10, 20) 3424Size = new Size(10, 20) 3428Size = new Size(10, 20) 3525Size = new Size(10, 20) 3561Size = new Size(10, 20) 3565Size = new Size(10, 20) 3668Size = new Size(10, 20) 3704Size = new Size(10, 20) 3708Size = new Size(10, 20) 12498Size = size 12540Size = size 12562Size = size 12612Size = size
System\Windows\Forms\ControlTests.Properties.cs (26)
8001Size = size 8058Size = size 8275Size = size 8639Size = size 8702Size = size 8997Size = size 9842Size = new Size(16, 20) 9860Size = new Size(16, 20) 11113control.Size = value; 11132control.Size = value; 11224control.Size = value; 11243control.Size = value; 11319control.Size = value; 11338control.Size = value; 11434control.Size = value; 11454control.Size = value; 11551control.Size = value; 11573control.Size = value; 11693control.Size = value; 11720control.Size = value; 11759control.Size = new Size(1, 0); 11763control.Size = new Size(0, 1); 11767control.Size = new Size(1, 2); 11783control.Size = new Size(1, 0); 11787control.Size = new Size(0, 1); 11791control.Size = new Size(1, 2);
System\Windows\Forms\DataGridViewCellTests.cs (1)
4782Size = new Size(600, 200)
System\Windows\Forms\ErrorProviderTests.cs (2)
1156control.Size = new Size(2, 3); 1188control.Size = new Size(4, 5);
System\Windows\Forms\GroupBoxTests.cs (3)
929Size = new Size(16, 20) 1857Size = size, 1895Size = size,
System\Windows\Forms\LabelTests.cs (1)
294Size = new(10, 10),
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
45Size = new Size(10, 20) 50Size = new Size(10, 20) 55Size = new Size(100, 200) 59Size = Size.Empty 64Size = Size.Empty 69Size = new Size(50, 100) 74Size = new Size(10, 20) 106Size = new Size(10, 20) 111Size = new Size(10, 20) 116Size = new Size(100, 200) 120Size = Size.Empty 125Size = Size.Empty 130Size = new Size(50, 100) 135Size = new Size(10, 20) 167Size = new Size(10, 20) 172Size = new Size(10, 20) 177Size = new Size(100, 200) 181Size = Size.Empty 186Size = Size.Empty 191Size = new Size(50, 100) 196Size = new Size(10, 20) 228Size = new Size(10, 20) 233Size = new Size(10, 20) 238Size = new Size(100, 200) 242Size = Size.Empty 247Size = Size.Empty 252Size = new Size(50, 100) 257Size = new Size(10, 20)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
820Size = size ?? new Size(50, 50),
System\Windows\Forms\ListViewTests.cs (7)
5038listView.Size = new Size(200, 200); 5094listView.Size = new Size(200, 200); 5145Size = new Size(300, 200), 5172Size = new Size(300, 200), 5197Size = new Size(300, 200), 5220Size = new Size(300, 200), 5425Size = new Size(300, 200),
System\Windows\Forms\MdiClientTests.cs (16)
538control.Size = value; 557control.Size = value; 640control.Size = value; 662control.Size = value; 774control.Size = value; 801control.Size = value; 926control.Size = value; 953control.Size = value; 1088control.Size = value; 1115control.Size = value; 1154control.Size = new Size(1, 0); 1158control.Size = new Size(0, 1); 1162control.Size = new Size(1, 2); 1178control.Size = new Size(1, 0); 1182control.Size = new Size(0, 1); 1186control.Size = new Size(1, 2);
System\Windows\Forms\PanelTests.cs (2)
616Size = new Size(16, 20) 631Size = new Size(16, 20)
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
188Size = new(100, 100);
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.Rendering.cs (1)
21Size = new(300, 200),
System\Windows\Forms\ScrollBarTests.cs (3)
2594Size = controlSize 3115vScrollBar.Size = new(50, 200); 3134hScrollBar.Size = new(200, 50);
System\Windows\Forms\StatusStripTests.cs (2)
667Size = new Size(210, 32) 694Size = new Size(190, 12)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
22Size = new Size(200, 38)
System\Windows\Forms\TabPageTests.cs (2)
2425Size = Size.Empty 2450Size = Size.Empty
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (22)
166using TextBoxBase textBoxBase = new SubTextBoxBase { Size = new Size(width, height) }; 192textBoxBase.Size = new Size(50, 100); 218textBoxBase.Size = new Size(30, 100); 234textBoxBase.Size = new Size(30, 50); 260textBoxBase.Size = new Size(30, 50); 281using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 297Size = size, 325Size = size, 345Size = size, 402using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 418using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 448using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 462using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 493using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 508using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 628Size = size 676Size = size, 699using SubTextBoxBase textBoxBase = new() { Size = size }; 724Size = size 742Size = size 892Size = new Size(50, 100) 910Size = new Size(50, 100)
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1044Size = Size.Empty 1069Size = Size.Empty
System\Windows\Forms\ToolStripControlHostTests.cs (2)
657c.Size = new Size(10, 20); 4119c.Size = new Size(10, 20);
System\Windows\Forms\ToolStripItemTests.cs (3)
5838Size = new Size(1, 2) 5876Size = new Size(1, 2) 15402menuStrip1.Size = new Size(100, 50);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (2)
17toolStrip.Size = new Drawing.Size(10, 10); 25toolStrip.Size = new Drawing.Size(5, 5);
System\Windows\Forms\ToolStripTests.cs (2)
6697Size = new Size(400, 500) 6742Size = new Size(400, 500)
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
20Size = new Size(200, 38)
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
375using TreeView treeView = new() { Size = new Size(50, 50) };
System\Windows\Forms\UpDownBaseTests.cs (2)
2253Size = size, 2289Size = size,
System\Windows\Forms\WebBrowserTests.cs (4)
4509Size = size 4551Size = size 4573Size = size 4623Size = size
TextBoxBaseTests.cs (6)
6957Size = size, 7005Size = size, 7028Size = size, 7084Size = size, 7806using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 7826using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline };
TextBoxTests.Rendering.cs (1)
21Size = new Size(80, 23),
System.Windows.Forms.UI.IntegrationTests (12)
AnchorLayoutTests.cs (1)
282Size = new Size(20, 30),
DesignBehaviorsTests.cs (1)
77((Control)e.Component!).Size = new Size(50, 50);
Dpi\SplitContainerTests.cs (1)
53Size = new Size(812, 619),
DragDropTests.cs (6)
667ListDragSource.Size = new Size(120, 225); 677ListDragTarget.Size = new Size(120, 225); 685_useCustomCursorsCheck.Size = new Size(137, 24); 690_dropLocationLabel.Size = new Size(137, 24); 971PictureBoxDragSource.Size = new Size(125, 119); 980RichTextBoxDropTarget.Size = new Size(125, 119);
ImageListTests.cs (1)
104Size = new Size(439, 59),
PropertyGridViewTests.cs (1)
23propertyGrid.Size = new Size(223, 244);
RichTextBoxTests.cs (1)
242Size = new Size(439, 103),
TestPassApp (223)
CommonControl1.Designer.cs (48)
109this.groupBox1.Size = new System.Drawing.Size(771, 380); 120this.button12.Size = new System.Drawing.Size(130, 58); 131this.button1.Size = new System.Drawing.Size(130, 58); 143this.button10.Size = new System.Drawing.Size(130, 58); 153this.button9.Size = new System.Drawing.Size(130, 58); 164this.button8.Size = new System.Drawing.Size(130, 58); 175this.button3.Size = new System.Drawing.Size(130, 58); 187this.button4.Size = new System.Drawing.Size(156, 58); 199this.button5.Size = new System.Drawing.Size(175, 63); 210this.button2.Size = new System.Drawing.Size(156, 58); 221this.button6.Size = new System.Drawing.Size(175, 58); 237this.groupBox2.Size = new System.Drawing.Size(771, 269); 252this.checkedListBox1.Size = new System.Drawing.Size(255, 148); 261this.label7.Size = new System.Drawing.Size(180, 32); 271this.checkBox3.Size = new System.Drawing.Size(160, 36); 283this.checkBox2.Size = new System.Drawing.Size(168, 36); 296this.checkBox1.Size = new System.Drawing.Size(138, 36); 311this.groupBox3.Size = new System.Drawing.Size(600, 380); 329this.comboBox2.Size = new System.Drawing.Size(257, 266); 338this.label11.Size = new System.Drawing.Size(138, 32); 354this.comboBox1.Size = new System.Drawing.Size(257, 40); 363this.label10.Size = new System.Drawing.Size(180, 32); 375this.groupBox4.Size = new System.Drawing.Size(598, 269); 390this.listView1.Size = new System.Drawing.Size(257, 151); 400this.label8.Size = new System.Drawing.Size(100, 32); 422this.groupBox5.Size = new System.Drawing.Size(769, 271); 434this.linkLabel6.Size = new System.Drawing.Size(44, 32); 446this.linkLabel5.Size = new System.Drawing.Size(93, 32); 458this.linkLabel4.Size = new System.Drawing.Size(70, 32); 470this.linkLabel3.Size = new System.Drawing.Size(54, 32); 482this.label6.Size = new System.Drawing.Size(93, 32); 493this.label5.Size = new System.Drawing.Size(54, 32); 504this.label4.Size = new System.Drawing.Size(70, 32); 515this.label3.Size = new System.Drawing.Size(44, 32); 524this.linkLabel2.Size = new System.Drawing.Size(217, 58); 535this.linkLabel1.Size = new System.Drawing.Size(154, 32); 545this.label2.Size = new System.Drawing.Size(217, 58); 555this.label1.Size = new System.Drawing.Size(154, 32); 567this.groupBox6.Size = new System.Drawing.Size(598, 271); 584this.listBox1.Size = new System.Drawing.Size(255, 164); 593this.label12.Size = new System.Drawing.Size(83, 32); 605this.groupBox7.Size = new System.Drawing.Size(735, 277); 615this.maskedTextBox1.Size = new System.Drawing.Size(212, 39); 624this.label9.Size = new System.Drawing.Size(171, 32); 637this.groupBox8.Size = new System.Drawing.Size(570, 277); 648this.dateTimePicker3.Size = new System.Drawing.Size(429, 39); 659this.dateTimePicker2.Size = new System.Drawing.Size(429, 39); 674this.dateTimePicker1.Size = new System.Drawing.Size(457, 39);
CommonControl2.Designer.cs (16)
72this.label3.Size = new System.Drawing.Size(64, 15); 82this.pictureBox1.Size = new System.Drawing.Size(231, 141); 93this.label4.Size = new System.Drawing.Size(81, 15); 103this.progressBar1.Size = new System.Drawing.Size(223, 27); 114this.radioButton1.Size = new System.Drawing.Size(94, 19); 126this.label5.Size = new System.Drawing.Size(71, 15); 136this.richTextBox1.Size = new System.Drawing.Size(130, 104); 146this.label6.Size = new System.Drawing.Size(48, 15); 160this.textBox1.Size = new System.Drawing.Size(116, 23); 169this.label7.Size = new System.Drawing.Size(53, 15); 197this.treeView1.Size = new System.Drawing.Size(220, 104); 206this.label8.Size = new System.Drawing.Size(73, 15); 217this.webBrowser1.Size = new System.Drawing.Size(512, 242); 227this.label1.Size = new System.Drawing.Size(90, 15); 244this.label2.Size = new System.Drawing.Size(102, 15); 253this.numericUpDown1.Size = new System.Drawing.Size(140, 23);
ContainerControls.Designer.cs (63)
131this.flowLayoutPanel2.Size = new System.Drawing.Size(186, 106); 139this.button2.Size = new System.Drawing.Size(88, 27); 149this.button5.Size = new System.Drawing.Size(88, 27); 159this.button6.Size = new System.Drawing.Size(88, 27); 170this.label2.Size = new System.Drawing.Size(203, 15); 180this.label3.Size = new System.Drawing.Size(97, 15); 190this.label4.Size = new System.Drawing.Size(60, 15); 201this.groupBox1.Size = new System.Drawing.Size(130, 69); 211this.button7.Size = new System.Drawing.Size(88, 27); 224this.groupBox2.Size = new System.Drawing.Size(130, 69); 234this.button8.Size = new System.Drawing.Size(88, 27); 247this.groupBox3.Size = new System.Drawing.Size(130, 69); 257this.button9.Size = new System.Drawing.Size(88, 27); 270this.groupBox4.Size = new System.Drawing.Size(130, 69); 280this.button10.Size = new System.Drawing.Size(88, 27); 291this.label6.Size = new System.Drawing.Size(186, 15); 301this.label7.Size = new System.Drawing.Size(172, 15); 310this.radioButton6.Size = new System.Drawing.Size(15, 17); 320this.radioButton5.Size = new System.Drawing.Size(14, 17); 330this.radioButton4.Size = new System.Drawing.Size(14, 17); 342this.checkBox2.Size = new System.Drawing.Size(80, 17); 353this.radioButton3.Size = new System.Drawing.Size(15, 17); 364this.radioButton2.Size = new System.Drawing.Size(14, 17); 373this.button18.Size = new System.Drawing.Size(75, 23); 382this.button17.Size = new System.Drawing.Size(75, 23); 392this.radioButton1.Size = new System.Drawing.Size(14, 17); 402this.checkBox1.Size = new System.Drawing.Size(80, 17); 413this.label10.Size = new System.Drawing.Size(70, 15); 425this.tabControl5.Size = new System.Drawing.Size(219, 138); 435this.tabPage9.Size = new System.Drawing.Size(211, 110); 445this.button19.Size = new System.Drawing.Size(88, 27); 457this.tabPage10.Size = new System.Drawing.Size(211, 110); 471this.tabControl6.Size = new System.Drawing.Size(203, 104); 481this.tabPage11.Size = new System.Drawing.Size(195, 76); 491this.button20.Size = new System.Drawing.Size(88, 27); 503this.tabPage12.Size = new System.Drawing.Size(195, 76); 513this.button21.Size = new System.Drawing.Size(88, 27); 529this.flowLayoutPanel1.Size = new System.Drawing.Size(203, 102); 537this.button4.Size = new System.Drawing.Size(88, 27); 547this.button1.Size = new System.Drawing.Size(88, 27); 557this.button3.Size = new System.Drawing.Size(88, 27); 568this.label1.Size = new System.Drawing.Size(217, 15); 579this.panel2.Size = new System.Drawing.Size(204, 144); 590this.tabControl2.Size = new System.Drawing.Size(172, 122); 599this.tabPage1.Size = new System.Drawing.Size(164, 94); 611this.tabPage2.Size = new System.Drawing.Size(164, 94); 621this.button12.Size = new System.Drawing.Size(88, 27); 632this.label5.Size = new System.Drawing.Size(36, 15); 644this.panel1.Size = new System.Drawing.Size(192, 128); 655this.tabControl1.Size = new System.Drawing.Size(156, 102); 665this.tabPage3.Size = new System.Drawing.Size(148, 74); 675this.button11.Size = new System.Drawing.Size(88, 27); 687this.tabPage4.Size = new System.Drawing.Size(148, 74); 697this.button13.Size = new System.Drawing.Size(88, 27); 712this.flowLayoutPanel3.Size = new System.Drawing.Size(180, 98); 720this.button14.Size = new System.Drawing.Size(88, 27); 730this.button22.Size = new System.Drawing.Size(88, 27); 740this.button23.Size = new System.Drawing.Size(88, 27); 751this.panel3.Size = new System.Drawing.Size(211, 136); 762this.tabControl3.Size = new System.Drawing.Size(187, 118); 771this.tabPage5.Size = new System.Drawing.Size(179, 90); 783this.tabPage6.Size = new System.Drawing.Size(179, 90); 793this.button24.Size = new System.Drawing.Size(88, 27);
ContainerControls2.Designer.cs (30)
78this.label8.Size = new System.Drawing.Size(295, 15); 100this.splitContainer1.Size = new System.Drawing.Size(273, 142); 110this.button15.Size = new System.Drawing.Size(74, 27); 120this.button16.Size = new System.Drawing.Size(88, 27); 131this.label9.Size = new System.Drawing.Size(199, 15); 153this.tableLayoutPanel1.Size = new System.Drawing.Size(259, 103); 161this.radioButton6.Size = new System.Drawing.Size(15, 17); 171this.radioButton5.Size = new System.Drawing.Size(14, 17); 181this.radioButton4.Size = new System.Drawing.Size(14, 17); 193this.checkBox2.Size = new System.Drawing.Size(80, 17); 204this.radioButton3.Size = new System.Drawing.Size(15, 17); 215this.radioButton2.Size = new System.Drawing.Size(14, 17); 224this.button18.Size = new System.Drawing.Size(75, 23); 233this.button17.Size = new System.Drawing.Size(75, 23); 243this.radioButton1.Size = new System.Drawing.Size(14, 17); 253this.checkBox1.Size = new System.Drawing.Size(80, 17); 264this.label13.Size = new System.Drawing.Size(218, 15); 274this.flowLayoutPanel4.Size = new System.Drawing.Size(153, 84); 283this.label14.Size = new System.Drawing.Size(210, 15); 295this.groupBox5.Size = new System.Drawing.Size(153, 88); 306this.label15.Size = new System.Drawing.Size(186, 15); 316this.panel4.Size = new System.Drawing.Size(164, 103); 325this.label16.Size = new System.Drawing.Size(337, 15); 342this.splitContainer2.Size = new System.Drawing.Size(262, 90); 353this.label17.Size = new System.Drawing.Size(350, 15); 365this.tabControl4.Size = new System.Drawing.Size(262, 88); 375this.tabPage7.Size = new System.Drawing.Size(254, 60); 386this.tabPage8.Size = new System.Drawing.Size(254, 60); 396this.label18.Size = new System.Drawing.Size(211, 15); 412this.tableLayoutPanel2.Size = new System.Drawing.Size(258, 103);
DataBindingExample.Designer.cs (19)
59this.comboBox1.Size = new System.Drawing.Size(121, 23); 70this.dataGridView1.Size = new System.Drawing.Size(240, 150); 82this.label1.Size = new System.Drawing.Size(109, 15); 92this.textBox1.Size = new System.Drawing.Size(142, 23); 102this.button1.Size = new System.Drawing.Size(75, 23); 124this.panel1.Size = new System.Drawing.Size(479, 198); 134this.radioButton1.Size = new System.Drawing.Size(84, 19); 146this.numericUpDown1.Size = new System.Drawing.Size(120, 23); 155this.domainUpDown1.Size = new System.Drawing.Size(120, 23); 165this.richTextBox1.Size = new System.Drawing.Size(151, 85); 177this.checkBox1.Size = new System.Drawing.Size(80, 19); 188this.maskedTextBox1.Size = new System.Drawing.Size(142, 23); 199this.linkLabel1.Size = new System.Drawing.Size(84, 15); 211this.label2.Size = new System.Drawing.Size(53, 15); 221this.treeView1.Size = new System.Drawing.Size(129, 101); 231this.label3.Size = new System.Drawing.Size(50, 15); 242this.listView1.Size = new System.Drawing.Size(203, 97); 254this.label4.Size = new System.Drawing.Size(45, 15); 266this.listBox1.Size = new System.Drawing.Size(120, 94);
DataControls.Designer.cs (3)
105this.bindingNavigator1.Size = new System.Drawing.Size(868, 28); 279this.dataGridView1.Size = new System.Drawing.Size(844, 115); 343this.dataGridView2.Size = new System.Drawing.Size(408, 258);
DialogControls.Designer.cs (4)
41this.ColorDialog.Size = new System.Drawing.Size(88, 27); 52this.FolderBrowserDialog.Size = new System.Drawing.Size(153, 27); 63this.OpenFileDialog.Size = new System.Drawing.Size(108, 27); 74this.SaveFileDialog.Size = new System.Drawing.Size(114, 27);
Main.Designer.cs (11)
50this.button1.Size = new System.Drawing.Size(531, 27); 61this.button2.Size = new System.Drawing.Size(531, 27); 72this.button3.Size = new System.Drawing.Size(531, 27); 83this.button4.Size = new System.Drawing.Size(531, 27); 94this.button5.Size = new System.Drawing.Size(531, 27); 105this.button6.Size = new System.Drawing.Size(531, 27); 116this.button7.Size = new System.Drawing.Size(531, 27); 127this.button8.Size = new System.Drawing.Size(531, 27); 138this.button9.Size = new System.Drawing.Size(531, 27); 148this.button10.Size = new System.Drawing.Size(530, 27); 158this.button12.Size = new System.Drawing.Size(530, 23);
Menu_Toolbars_controls.Designer.cs (4)
115menuStrip1.Size = new Size(1287, 34); 125contextMenuStrip1.Size = new Size(147, 52); 426statusStrip1.Size = new Size(1287, 29); 507toolStrip1.Size = new Size(1287, 31);
MenuForm.Designer.cs (2)
40this.button1.Size = new System.Drawing.Size(88, 27); 51this.button2.Size = new System.Drawing.Size(122, 27);
PrintingControls.Designer.cs (8)
76this.label1.Size = new System.Drawing.Size(165, 15); 85this.txtPrint.Size = new System.Drawing.Size(213, 23); 94this.btnSetting.Size = new System.Drawing.Size(88, 27); 105this.btnPreView.Size = new System.Drawing.Size(88, 27); 116this.btnPrint.Size = new System.Drawing.Size(88, 27); 127this.button1.Size = new System.Drawing.Size(104, 27); 139this.label2.Size = new System.Drawing.Size(91, 15); 152this.printPreviewControl1.Size = new System.Drawing.Size(387, 408);
RemainingControls.Designer.cs (8)
48this.hScrollBar1.Size = new System.Drawing.Size(593, 17); 57this.vScrollBar1.Size = new System.Drawing.Size(17, 406); 66this.propertyGrid1.Size = new System.Drawing.Size(266, 282); 74this.propertyGrid2.Size = new System.Drawing.Size(260, 282); 83this.label1.Size = new System.Drawing.Size(156, 15); 92this.domainUpDown1.Size = new System.Drawing.Size(140, 23); 102this.label2.Size = new System.Drawing.Size(37, 15); 111this.trackBar1.Size = new System.Drawing.Size(121, 45);
ToolStripContainer.Designer.cs (7)
105this.toolStripContainer2.ContentPanel.Size = new System.Drawing.Size(486, 239); 109this.toolStripContainer2.Size = new System.Drawing.Size(486, 263); 139this.toolStrip1.Size = new System.Drawing.Size(486, 39); 148this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); 283this.statusStrip1.Size = new System.Drawing.Size(486, 38); 341this.menuStrip1.Size = new System.Drawing.Size(486, 24); 584this.button1.Size = new System.Drawing.Size(88, 27);
TrimTest (4)
Form1.Designer.cs (4)
58splitContainer1.Size = new Size(800, 450); 69textBox1.Size = new Size(457, 450); 83comboBox1.Size = new Size(271, 23); 90button1.Size = new Size(187, 46);
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
51listView1.Size = new Size(269, 139);
UnsupportedTypes (3)
CreateFrameworkTypes.cs (3)
71Size = new Size(300, 300), 122Size = new Size(100, 42), 140Size = new Size(100, 22),
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
281Child.Size = targetSize; 798this.Size = SD.Size.Empty;
WinFormsControlsTest (278)
AnchorLayoutTests.Designer.cs (9)
49this.button1.Size = new System.Drawing.Size(112, 34); 59this.button2.Size = new System.Drawing.Size(112, 34); 69this.button3.Size = new System.Drawing.Size(112, 34); 79this.button4.Size = new System.Drawing.Size(112, 34); 89this.button5.Size = new System.Drawing.Size(112, 34); 101this.button6.Size = new System.Drawing.Size(112, 34); 111this.button7.Size = new System.Drawing.Size(112, 34); 121this.button8.Size = new System.Drawing.Size(112, 34); 131this.button9.Size = new System.Drawing.Size(112, 34);
Calendar.Designer.cs (15)
75this.minDateDateTimePicker.Size = new System.Drawing.Size(251, 27); 83this.setMinDateButton.Size = new System.Drawing.Size(123, 29); 95this.label1.Size = new System.Drawing.Size(94, 20); 105this.label2.Size = new System.Drawing.Size(97, 20); 114this.setMaxDateButton.Size = new System.Drawing.Size(123, 29); 125this.maxDateDateTimePicker.Size = new System.Drawing.Size(250, 27); 134this.label3.Size = new System.Drawing.Size(142, 20); 153this.daysOfWeekComboBox.Size = new System.Drawing.Size(151, 28); 162this.label4.Size = new System.Drawing.Size(334, 20); 171this.resetMinDateButton.Size = new System.Drawing.Size(123, 29); 182this.resetMaxDateButton.Size = new System.Drawing.Size(123, 29); 194this.showWeekNumbersCheckBox.Size = new System.Drawing.Size(161, 24); 206this.showTodayCheckBox.Size = new System.Drawing.Size(105, 24); 218this.label5.Size = new System.Drawing.Size(137, 20); 226this.currentDPILabel1.Size = new System.Drawing.Size(227, 23);
CollectionEditors.Designer.cs (7)
48this.comboBox1.Size = new System.Drawing.Size(121, 21); 56this.maskedTextBox1.Size = new System.Drawing.Size(121, 20); 64this.textBox1.Size = new System.Drawing.Size(121, 20); 73this.listView1.Size = new System.Drawing.Size(121, 97); 85this.propertyGrid1.Size = new System.Drawing.Size(357, 254); 93this.label1.Size = new System.Drawing.Size(35, 13); 101this.domainUpDown1.Size = new System.Drawing.Size(120, 20);
ComboBoxes.Designer.cs (16)
61this.comboBox1.Size = new System.Drawing.Size(121, 21); 81this.comboBox2.Size = new System.Drawing.Size(121, 21); 100this.comboBox3.Size = new System.Drawing.Size(121, 21); 115this.comboBox4.Size = new System.Drawing.Size(121, 21); 126this.comboBox5.Size = new System.Drawing.Size(121, 21); 139this.comboBox6.Size = new System.Drawing.Size(121, 21); 151this.comboBox7.Size = new System.Drawing.Size(121, 21); 164this.comboBox8.Size = new System.Drawing.Size(121, 21); 177this.comboBox9.Size = new System.Drawing.Size(121, 150); 190this.comboBox10.Size = new System.Drawing.Size(121, 150); 204this.comboBox11.Size = new System.Drawing.Size(121, 150); 224this.comboBox12.Size = new System.Drawing.Size(121, 150); 233this.dataBoundComboBox.Size = new System.Drawing.Size(121, 150); 242this.currentDPILabel1.Size = new System.Drawing.Size(90, 13); 251this.label1.Size = new System.Drawing.Size(35, 13); 260this.dataBoundLabel.Size = new System.Drawing.Size(65, 13);
ComboBoxesWithScrollBars.cs (1)
54changeCBHeight_UpDown2.ValueChanged += (s, e) => comboBox2.Size = new Size(comboBox2.Size.Width, (int)changeCBHeight_UpDown2.Value);
ComboBoxesWithScrollBars.Designer.cs (22)
77this.comboBox1.Size = new System.Drawing.Size(116, 23); 89this.comboBox2.Size = new System.Drawing.Size(116, 155); 101this.comboBox3.Size = new System.Drawing.Size(116, 23); 117this.changeHeightGroupBox1.Size = new System.Drawing.Size(502, 100); 128this.label1.Size = new System.Drawing.Size(100, 30); 142this.changeDDH_UpDown1.Size = new System.Drawing.Size(117, 23); 153this.label2.Size = new System.Drawing.Size(106, 30); 167this.changeCBHeight_UpDown2.Size = new System.Drawing.Size(117, 23); 176this.label3.Size = new System.Drawing.Size(100, 30); 190this.changeDDH_UpDown3.Size = new System.Drawing.Size(117, 23); 204this.changeMaxDropDownItemsGroupBox2.Size = new System.Drawing.Size(502, 63); 219this.maxDropDownItemsUpDown1.Size = new System.Drawing.Size(117, 23); 232this.maxDropDownItemsUpDown2.Size = new System.Drawing.Size(117, 23); 246this.maxDropDownItemsUpDown3.Size = new System.Drawing.Size(117, 23); 258this.changeIntegralHeightGroupBox3.Size = new System.Drawing.Size(502, 63); 269this.integralHeightCheckBox1.Size = new System.Drawing.Size(102, 19); 280this.integralHeightCheckBox2.Size = new System.Drawing.Size(102, 19); 291this.integralHeightCheckBox3.Size = new System.Drawing.Size(102, 19); 305this.changeHeightsStyleGroupBox4.Size = new System.Drawing.Size(502, 63); 316this.useDifferentHeightsCheckBox1.Size = new System.Drawing.Size(135, 19); 327this.useDifferentHeightsCheckBox2.Size = new System.Drawing.Size(135, 19); 338this.useDifferentHeightsCheckBox3.Size = new System.Drawing.Size(135, 19);
DataGridViewInVirtualModeTest.Designer.cs (1)
55this.dataGridView1.Size = new System.Drawing.Size(492, 150);
DataGridViewTest.Designer.cs (6)
86this.dataGridView1.Size = new System.Drawing.Size(750, 150); 140this.currentDPILabel1.Size = new System.Drawing.Size(116, 13); 151this.changeFontButton.Size = new System.Drawing.Size(154, 29); 172this.numericUpDown1.Size = new System.Drawing.Size(64, 20); 188this.label1.Size = new System.Drawing.Size(51, 13); 199this.resetFontButton.Size = new System.Drawing.Size(154, 29);
DateTimePicker.Designer.cs (5)
48this.dateTimePicker1.Size = new Size(233, 23); 58this.dateTimePicker2.Size = new Size(233, 23); 69this.dateTimePicker3.Size = new Size(233, 23); 79this.dateTimePicker4.Size = new Size(233, 23); 89this.dateTimePicker5.Size = new Size(233, 23);
DesignTimeAligned.Designer.cs (5)
47this.label1.Size = new System.Drawing.Size(36, 25); 58this.label2.Size = new System.Drawing.Size(36, 25); 68this.button1.Size = new System.Drawing.Size(60, 46); 79this.textBox1.Size = new System.Drawing.Size(56, 31); 88this.currentDPILabel1.Size = new System.Drawing.Size(178, 25);
Dialogs.Designer.cs (8)
57this.propertyGrid1.Size = new System.Drawing.Size(332, 430); 65this.btnOpenFileDialog.Size = new System.Drawing.Size(163, 23); 75this.btnColorDialog.Size = new System.Drawing.Size(163, 23); 85this.btnThreadExceptionDialog.Size = new System.Drawing.Size(163, 23); 95this.btnPrintDialog.Size = new System.Drawing.Size(163, 23); 105this.btnFolderBrowserDialog.Size = new System.Drawing.Size(163, 23); 115this.btnSaveFileDialog.Size = new System.Drawing.Size(163, 23); 132this.flowLayoutPanel1.Size = new System.Drawing.Size(171, 430);
DockLayoutTests.Designer.cs (5)
48this.button1.Size = new System.Drawing.Size(112, 450); 58this.button3.Size = new System.Drawing.Size(112, 450); 68this.button2.Size = new System.Drawing.Size(576, 89); 78this.button4.Size = new System.Drawing.Size(576, 66); 88this.button5.Size = new System.Drawing.Size(576, 295);
DragDrop.Designer.cs (11)
80tableLayoutPanel1.Size = new Size(1226, 625); 91textBox.Size = new Size(488, 554); 101richTextBox.Size = new Size(611, 554); 112pictureBox1.Size = new Size(109, 106); 123pictureBox2.Size = new Size(109, 106); 134pictureBox3.Size = new Size(109, 106); 145pictureBox4.Size = new Size(109, 106); 156pictureBox5.Size = new Size(109, 106); 172tableLayoutPanel2.Size = new Size(177, 59); 180buttonOpenCats.Size = new Size(82, 53); 190buttonClear.Size = new Size(82, 53);
ErrorProviderTest.Designer.cs (7)
62this.label1.Size = new System.Drawing.Size(155, 15); 71this.label1_2.Size = new System.Drawing.Size(155, 15); 79this.textBox1.Size = new System.Drawing.Size(120, 23); 92this.label2.Size = new System.Drawing.Size(155, 15); 101this.label2_1.Size = new System.Drawing.Size(155, 23); 109this.textBox2.Size = new System.Drawing.Size(120, 23); 120this.submitButton.Size = new System.Drawing.Size(120, 27);
FormBorderStyles.Designer.cs (2)
39this.btnChangeFormBorderStyle.Size = new System.Drawing.Size(162, 23); 50this.lblFormBorderStyle.Size = new System.Drawing.Size(0, 13);
ListBoxes.Designer.cs (12)
59this.label1.Size = new System.Drawing.Size(200, 20); 67this.listBox1.Size = new System.Drawing.Size(200, 150); 76this.textBox1.Size = new System.Drawing.Size(100, 30); 107this.listBox2.Size = new System.Drawing.Size(200, 150); 114this.textBox2.Size = new System.Drawing.Size(100, 30); 138this.label3.Size = new System.Drawing.Size(250, 20); 145this.listBox3.Size = new System.Drawing.Size(200, 150); 154this.textBox3.Size = new System.Drawing.Size(100, 30); 178this.label4.Size = new System.Drawing.Size(250, 20); 186this.listBox4.Size = new System.Drawing.Size(200, 150); 196this.textBox4.Size = new System.Drawing.Size(100, 30); 220this.propertyGrid.Size = new System.Drawing.Size(this.Width, this.Height);
ListViewTest.Designer.cs (5)
81this.listView1.Size = new System.Drawing.Size(439, 159); 96this.listView1.Size = new System.Drawing.Size(439, 40); 111this.btnClearListView1.Size = new System.Drawing.Size(75, 23); 121this.btnLoadImagesListView1.Size = new System.Drawing.Size(75, 23); 143this.btnReplaceImageListView1.Size = new System.Drawing.Size(87, 23);
MainForm.cs (1)
285button.Size = biggestButton;
MdiChild.Designer.cs (8)
57this.panel1.Size = new System.Drawing.Size(480, 221); 66this.chkChildAlign.Size = new System.Drawing.Size(162, 17); 77this.chkRightToLeft.Size = new System.Drawing.Size(162, 17); 88this.btnOpenChild.Size = new System.Drawing.Size(138, 23); 99this.chkSetParentMenustrip.Size = new System.Drawing.Size(123, 17); 110this.chkSetMenustrip.Size = new System.Drawing.Size(115, 17); 121this.chkAddParentMenustrip.Size = new System.Drawing.Size(179, 17); 132this.chkAddMenustrip.Size = new System.Drawing.Size(146, 17);
MediaPlayer.Designer.cs (1)
48this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(800, 450);
MenuStripAndCheckedListBox.Designer.cs (2)
76this.menuStrip1.Size = new System.Drawing.Size(736, 46); 277this.currentDpiLabel.Size = new System.Drawing.Size(131, 25);
MessageBoxes.Designer.cs (1)
45this.propertyGrid1.Size = new System.Drawing.Size(332, 430);
MultipleControls.Designer.cs (21)
67this.progressBar1.Size = new System.Drawing.Size(331, 27); 81this.button1.Size = new System.Drawing.Size(88, 27); 95this.label1.Size = new System.Drawing.Size(38, 15); 103this.maskedTextBox1.Size = new System.Drawing.Size(116, 23); 112this.richTextBox1.Size = new System.Drawing.Size(116, 110); 121this.textBox1.Size = new System.Drawing.Size(116, 23); 133this.tabControl1.Size = new System.Drawing.Size(233, 115); 142this.tabPage1.Size = new System.Drawing.Size(225, 87); 153this.comboBox1.Size = new System.Drawing.Size(140, 23); 162this.tabPage2.Size = new System.Drawing.Size(225, 87); 173this.checkBox1.Size = new System.Drawing.Size(83, 19); 183this.checkBox2.Size = new System.Drawing.Size(153, 19); 193this.radioButton2.Size = new System.Drawing.Size(99, 20); 203this.radioButton1.Size = new System.Drawing.Size(99, 20); 218this.groupBox1.Size = new System.Drawing.Size(206, 93); 234this.checkedListBox1.Size = new System.Drawing.Size(140, 112); 243this.numericUpDown1.Size = new System.Drawing.Size(140, 23); 254this.domainUpDown1.Size = new System.Drawing.Size(140, 23); 263this.linkLabel1.Size = new System.Drawing.Size(60, 15); 273this.linkLabel2.Size = new System.Drawing.Size(108, 21); 292this.checkedListBox2.Size = new System.Drawing.Size(140, 58);
Password.Designer.cs (20)
62textBox1.Size = new Size(125, 27); 71textBox2.Size = new Size(125, 27); 79label1.Size = new Size(215, 20); 88label2.Size = new Size(130, 20); 97maskedTextBox1.Size = new Size(125, 27); 104maskedTextBox2.Size = new Size(125, 27); 114maskedTextBox3.Size = new Size(125, 27); 122textBox3.Size = new Size(125, 27); 130button1.Size = new Size(94, 29); 142textBox4.Size = new Size(125, 76); 150textBox5.Size = new Size(125, 76); 159label3.Size = new Size(75, 20); 168label4.Size = new Size(126, 20); 177label5.Size = new Size(137, 20); 186label6.Size = new Size(130, 20); 195label7.Size = new Size(215, 20); 204label8.Size = new Size(130, 20); 213label9.Size = new Size(215, 20); 222label10.Size = new Size(148, 20); 231label11.Size = new Size(234, 20);
PictureBoxes.Designer.cs (3)
48this.pictureBox1.Size = new System.Drawing.Size(584, 281); 61this.btnloadImage.Size = new System.Drawing.Size(56, 23); 74this.imageUri.Size = new System.Drawing.Size(521, 20);
PropertyGrid.Designer.cs (1)
44this.propertyGrid1.Size = new System.Drawing.Size(465, 413);
RichTextBoxes.Designer.cs (2)
43this.richTextBox1.Size = new System.Drawing.Size(455, 104); 54this.richTextBox2.Size = new System.Drawing.Size(455, 99);
ScalingBeforeChanges.Designer.cs (1)
42this.checkBox1.Size = new System.Drawing.Size(80, 17);
ScrollableControls.Designer.cs (33)
99flowLayoutPanel1.Size = new Size(97, 93); 106button1.Size = new Size(75, 23); 115button2.Size = new Size(75, 23); 124button3.Size = new Size(75, 23); 133button4.Size = new Size(75, 23); 142button5.Size = new Size(75, 23); 152label1.Size = new Size(97, 15); 166panel1.Size = new Size(120, 89); 173button9.Size = new Size(75, 23); 182button8.Size = new Size(113, 23); 191button7.Size = new Size(113, 23); 200button6.Size = new Size(113, 20); 210label2.Size = new Size(36, 15); 234splitContainer1.Size = new Size(163, 108); 242button16.Size = new Size(113, 20); 251button15.Size = new Size(113, 20); 260button10.Size = new Size(113, 20); 269button14.Size = new Size(113, 20); 278button13.Size = new Size(113, 20); 287button12.Size = new Size(113, 20); 296button11.Size = new Size(113, 20); 306label3.Size = new Size(82, 15); 317tabControl1.Size = new Size(167, 101); 327tabPage1.Size = new Size(159, 73); 336button17.Size = new Size(194, 74); 346tabPage2.Size = new Size(159, 73); 356label4.Size = new Size(65, 15); 365label5.Size = new Size(48, 15); 375textBox1.Size = new Size(93, 65); 403treeView1.Size = new Size(115, 83); 411label6.Size = new Size(55, 15); 420label7.Size = new Size(45, 15); 431listBox1.Size = new Size(113, 79);
ScrollBars.Designer.cs (9)
53this.hScrollBar.Size = new System.Drawing.Size(200, 26); 61this.vScrollBar.Size = new System.Drawing.Size(26, 200); 69this.numericMinimum.Size = new System.Drawing.Size(150, 27); 77this.numericMaximum.Size = new System.Drawing.Size(150, 27); 91this.chbRightToLeft.Size = new System.Drawing.Size(110, 24); 102this.lblMinimum.Size = new System.Drawing.Size(72, 20); 111this.lblMaximum.Size = new System.Drawing.Size(75, 20); 120this.lblHValue.Size = new System.Drawing.Size(50, 20); 129this.lblVValue.Size = new System.Drawing.Size(50, 20);
Splitter.Designer.cs (1)
53this.splitContainer1.Size = new System.Drawing.Size(568, 502);
TextBoxes.Designer.cs (6)
46this.textBox.Size = new System.Drawing.Size(120, 30); 54this.RTLTextBox.Size = new System.Drawing.Size(120, 30); 63this.multilineTextBox.Size = new System.Drawing.Size(120, 110); 86this.RTLMultilineTextBox.Size = new System.Drawing.Size(120, 110); 110this.richTextBox.Size = new System.Drawing.Size(120, 110); 131this.RTLRichTextBox.Size = new System.Drawing.Size(120, 110);
ToolStripSeparatorPreferredSize.cs (2)
50_toolStrip1.Size = new System.Drawing.Size(481, 22); 72_buttonChangeOrientation.Size = new System.Drawing.Size(150, 25);
ToolStripTests.Designer.cs (6)
90this.toolStrip1.Size = new System.Drawing.Size(481, 22); 110this.toolStrip2.Size = new System.Drawing.Size(481, 22); 122this.toolStrip3.Size = new System.Drawing.Size(481, 22); 134this.toolStrip4.Size = new System.Drawing.Size(481, 22); 383this.statusStrip1.Size = new System.Drawing.Size(481, 22); 393this.label1.Size = new System.Drawing.Size(78, 13);
ToolTipTests.Designer.cs (8)
54this.delaysNotSetButton.Size = new System.Drawing.Size(876, 183); 65this.automaticDelayButton.Size = new System.Drawing.Size(1031, 183); 76this.autoPopDelayButton.Size = new System.Drawing.Size(949, 183); 94this.flowLayoutPanel1.Size = new System.Drawing.Size(1417, 1577); 102this.defaultAutomaticDelayButton.Size = new System.Drawing.Size(915, 183); 113this.defaultAutoPopDelayButton.Size = new System.Drawing.Size(904, 183); 124this.initialDelayButton.Size = new System.Drawing.Size(876, 183); 136this.autoEllipsisButton.Size = new System.Drawing.Size(876, 183);
TrackBars.Designer.cs (15)
63this.trackBar1.Size = new System.Drawing.Size(457, 45); 75this.rbHorizontal.Size = new System.Drawing.Size(80, 19); 88this.rbVertical.Size = new System.Drawing.Size(63, 19); 102this.gbOrientation.Size = new System.Drawing.Size(168, 84); 113this.chbRightToLeft.Size = new System.Drawing.Size(86, 19); 125this.chbRightToLeftLayout.Size = new System.Drawing.Size(122, 19); 137this.tickstyleNone.Size = new System.Drawing.Size(100, 19); 153this.numericMinimum.Size = new System.Drawing.Size(131, 23); 172this.numericMaximum.Size = new System.Drawing.Size(131, 23); 191this.numericFrequency.Size = new System.Drawing.Size(131, 23); 205this.lblMinimum.Size = new System.Drawing.Size(60, 15); 214this.lblMaximum.Size = new System.Drawing.Size(62, 15); 223this.lblTickFrequency.Size = new System.Drawing.Size(86, 15); 232this.lblTrackBarSize.Size = new System.Drawing.Size(39, 15); 241this.lblTrackBarValue.Size = new System.Drawing.Size(47, 15);
528 references to Size
PresentationUI (4)
MS\Internal\Documents\DialogDivider.cs (1)
54base.SetBoundsCore(Parent.Location.X, y, Parent.Size.Width, 1, specified);
MS\Internal\Documents\RMPublishingDialog.cs (3)
506button.Size, 921buttonAddUser.Size.Height, 922buttonAddUser.Size.Height);
System.Windows.Forms (97)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3248Size setExtent = Size;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
699Size size = _control.Size; 1716if (_control.Size.Equals(size))
System\Windows\Forms\BoundsSpecified.cs (1)
46/// Both <see cref="Control.Location"/> and <see cref="Control.Size"/>
System\Windows\Forms\Control.cs (4)
8045/// This is called in the <see cref="Control"/> constructor before calculating the initial <see cref="Size"/>. 8738PrintToMetaFileRecursive(hDC, lParam, new Rectangle(Point.Empty, Size)); 8795using MetafileDCWrapper dcWrapper = new(hDC, Size); 10645/// Determines if the <see cref="Size"/> property needs to be persisted.
System\Windows\Forms\Controls\Buttons\Button.cs (2)
89return AutoSizeMode == AutoSizeMode.GrowAndShrink ? preferredSize : LayoutUtils.UnionSizes(preferredSize, Size); 107return AutoSizeMode == AutoSizeMode.GrowAndShrink ? paddedSize : LayoutUtils.UnionSizes(paddedSize, Size);
System\Windows\Forms\Controls\Labels\Label.cs (3)
914=> CreateTextFormatFlags(Size - GetBordersAndPadding()); 1357ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle, Border3DStyle.SunkenOuter); 1400Debug.Assert(!AutoSize || (AutoSize && !SelfSizing) || Size == PreferredSize,
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (3)
603Size oldSize = Size; 2327Rectangle rect = new(0, 0, Size.Width - 1, Size.Height - 1);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6899Rectangle rect = new(0, 0, Size.Width - 1, Size.Height - 1);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
824get => base.Size;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (3)
118_savedSize = Size; 842_savedSize = Size; 1169_savedSize = Size;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
4105Size size = child.Size;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
79int height = _titleLabel.Size.Height;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (19)
1859Size sizeWindow = Size; 1870Size sizeScroll = ScrollBar.Size; 2006rect.Height = Size.Height - rect.Y - 1; 2121Invalidate(new Rectangle(left, 0, Size.Width - left, Size.Height)); 2210if ((Size.Width > doubleOffset) && (Size.Height > doubleOffset)) 2213ControlPaint.DrawFocusRectangle(g, new Rectangle(_offset2Units, _offset2Units, Size.Width - doubleOffset, Size.Height - doubleOffset)); 2359Rectangle clearRect = new(1, 1, Size.Width - 2, Size.Height - 2); 3268Size sizeWindow = Size; 3347if (yPosition < Size.Height) 3350Rectangle clearRect = new(1, yPosition, Size.Width - 2, Size.Height - yPosition - 1); 3791int overhang = toolTip.Location.X + toolTip.Size.Width - SystemInformation.VirtualScreen.Width; 4330sizeBtn = button.Size; 4861if (topControl.Size.Equals(dialog.Size)) 5147DialogButton.Size = DropDownButton.Size;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1520Size size = Size;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
2899Rectangle rect = new(0, 0, Size.Width - 1, Size.Height - 1);
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
826Rectangle rect = new(0, 0, Size.Width - 1, Size.Height - 1);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
206Size statusStripSize = Size;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2385if (toolStrip.Size != maxSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (3)
150return _control.Size; 660bounds = LayoutUtils.Align(_control.Size, Bounds, ControlAlign); 811Size = ControlInternal.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
881if (size != Size) 1052internal Size GetSuggestedSize() => AutoSize ? GetPreferredSize(Size.Empty) : Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
258Rectangle bounds = new(Point.Empty, e.ToolStrip.Size); 287Rectangle bounds = new(Point.Empty, e.ToolStrip.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripLayoutData.cs (2)
22_size = toolStrip.Size; 26=> toolStrip is not null && toolStrip.Size == _size && toolStrip.LayoutStyle == _layoutStyle && toolStrip.AutoSize == _autoSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
287preferredSize = (!_wrappedToolStrip.AutoSize) ? _wrappedToolStrip.Size : _wrappedToolStrip.GetPreferredSize(constrainingSize);
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
53Rectangle bounds = new(Point.Empty, e.ToolStrip.Size);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (10)
417Rectangle bounds = new(Point.Empty, toolStrip.Size); 846Rectangle bounds = new(Point.Empty, toolStrip.Size); 1134g.FillRectangle(brush, new Rectangle(Point.Empty, control.Size)); 1141Rectangle gradientBounds = new(Point.Empty, parent.Size); 1150g.FillRectangle(b, new Rectangle(Point.Empty, control.Size)); 1155Rectangle gradientBounds = new(Point.Empty, control.Size); 1174Rectangle bounds = new(Point.Empty, e.ToolStrip.Size); 1183Rectangle bounds = new(Point.Empty, e.ToolStrip.Size); 1195Rectangle bounds = new(Point.Empty, toolStripDropDown.Size); 1338Rectangle bounds = new(Point.Empty, e.ToolStrip.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
42Size = toolStrip.Size;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
785int maxTickCount = (Orientation == Orientation.Horizontal ? Size.Width : Size.Height) / 2; 1145int size = Orientation == Orientation.Horizontal ? Size.Width : Size.Height;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
3151Rectangle rect = new(0, 0, Size.Width - 1, Size.Height - 1);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
59int half_height = Size.Height / 2;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
787Size extent = Size;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
351Size pageSize = page.Size;
System\Windows\Forms\Form.cs (1)
1830get => base.Size;
System\Windows\Forms\Layout\CommonProperties.cs (2)
264/// The main purpose of this function is to remember what size someone specified in the <see cref="Control.Size"/>, 267/// to <see cref="DockStyle.Fill"/>, then <see cref="DockStyle.None"/>. When filled, the <see cref="Control.Size"/>
System\Windows\Forms\Layout\Containers\SplitContainer.cs (8)
1659Panel2.Size = Size; 1664Panel1.Size = Size; 1715Panel2.Size = Size; 1720Panel1.Size = Size; 2202Panel2.Size = Size; 2207Panel1.Size = Size; 2243Panel2.Size = Size; 2248Panel1.Size = Size;
System\Windows\Forms\Panels\Panel.cs (1)
234ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle, Border3DStyle.Sunken);
System\Windows\Forms\Panels\SplitterPanel.cs (1)
223get => Collapsed ? Size.Empty : base.Size;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
482Size controlPhysicalSize = PixelsToPhysical(Size, _screenDPI);
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
359_scrollMargin.Height += current.Size.Height; 362_scrollMargin.Width += current.Size.Width;
System.Windows.Forms.Design (41)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
463DoLayout(Size, false);
System\ComponentModel\Design\DesignerActionUI.cs (1)
657Point pt = DesignerActionPanel.ComputePreferredDesktopLocation(rectGlyph, _designerActionHost.Size, out DockStyle edgeToDock);
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (9)
36if (CurrentPanel.Size == panelSize) 153Size = panel.Size 157Size = panel.Size; 169if (Size.Width != ctrl.Size.Width || Size.Height != ctrl.Size.Height) 172Size = ctrl.Size; 175_panel.Size = ctrl.Size;
System\Drawing\Design\ColorEditor.ColorUI.cs (3)
86Size size = _pal.Size; 90_tabControl.Size = Size; 316_pal.Size.Height - rectItemSize.Height + 2 * CMARGIN);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
302return new Rectangle(loc, c.Size);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
689Rectangle currentBounds = new(_behaviorService.ControlToAdornerWindow(targetControl), targetControl.Size); 1087Rectangle dragBounds = new(_behaviorService.ControlToAdornerWindow(targetControl), targetControl.Size);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
119Rectangle translatedBounds = new(loc, parent.Size);
System\Windows\Forms\Design\CommandSet.cs (2)
3250Size size = c.Size; 3316if (!child.Size.Equals(parentSize))
System\Windows\Forms\Design\ComponentTray.cs (2)
1863if (newLoc.X + c.Size.Width > Size.Width)
System\Windows\Forms\Design\ControlCommandSet.cs (1)
643Size primaryControlsize = primaryControl.Size;
System\Windows\Forms\Design\ControlDesigner.cs (2)
2115if (Control is not null && Control.Size != Control.ClientSize && Control.Parent is { } parent) 2118Rectangle controlScreenBounds = new(parent.PointToScreen(Control.Location), Control.Size);
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
28Size = _typesListBox.Size;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
241_initialSize = _treeViewCtrl.Size;
System\Windows\Forms\Design\DocumentDesigner.cs (1)
513Rectangle translatedBounds = new(loc, ((Control)Component).Size);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
232get => Control.Size;
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1042Rectangle translatedBounds = new(loc, ((Control)Component).Size);
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
605sz = control.Size;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (3)
232Size = new Size(Size.Width + _resetButton.Size.Width - resetButtonSize.Width, Size.Height);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1369Rectangle translatedBounds = new(loc, ((Control)Component).Size);
System\Windows\Forms\Design\ToolStripEditorManager.cs (2)
142private void UpdateSize() => Size = new Size(_wrappedEditor.Size.Width, _wrappedEditor.Size.Height);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1181if (_toolStripAdornerWindowService is not null && (dropDown.Width < _dropDownSizeToInvalidate.Width || dropDown.Size.Height < _dropDownSizeToInvalidate.Height))
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
555nameof(ToolStripPanel.Size),
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1307Rectangle translatedBounds = new(loc, _miniToolStrip.Size); 1871Rectangle bounds = new(Point.Empty, e.ToolStrip.Size);
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (1)
118Assert.Equal(new Size(control.Width, control.Height), control.Size);
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
17InheritedPropertyDescriptor inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.Size));
System.Windows.Forms.Tests (372)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (2)
398comboBox.Size = new Size(100, comboBox.Size.Height); 460comboBox.Size = new Size(100, comboBox.Size.Height);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
153int expectedWidth = dataGridView.Size.Width; 157int expectedHeight = dataGridView.Size.Height;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
27Assert.Equal(ownerControl.Size, accessibilityObject.Bounds.Size);
System\Windows\Forms\AxHostTests.cs (2)
108Assert.Equal(new Size(75, 23), control.Size); 202Assert.Equal(new Size(75, 23), control.Size);
System\Windows\Forms\ButtonBaseTests.cs (1)
109Assert.Equal(new Size(75, 23), control.Size);
System\Windows\Forms\ButtonTests.cs (1)
107Assert.Equal(new Size(75, 23), control.Size);
System\Windows\Forms\CheckBoxTests.cs (1)
109Assert.Equal(new Size(104, 24), control.Size);
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (1)
113comboBox.Size = new Size(expectedWidth, comboBox.Size.Height);
System\Windows\Forms\ComboBoxTests.cs (1)
122Assert.Equal(new Size(121, control.PreferredHeight), control.Size);
System\Windows\Forms\ContainerControlTests.cs (1)
112Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ControlTests.cs (5)
90Assert.Equal(Size.Empty, control.Size); 179Assert.Equal(Size.Empty, control.Size); 275Assert.Equal(new Size(width, height), control.Size); 371Assert.Equal(Size.Empty, control.Size); 467Assert.Equal(new Size(width, height), control.Size);
System\Windows\Forms\ControlTests.Methods.cs (78)
7388Assert.Equal(new Size(width, height), control.Size); 7407Assert.Equal(new Size(width, height), control.Size); 7499Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7518Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7597Assert.Equal(new Size(width, height), control.Size); 7616Assert.Equal(new Size(width, height), control.Size); 7715Assert.Equal(new Size(width, height), control.Size); 7735Assert.Equal(new Size(width, height), control.Size); 7838Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7860Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7986Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8013Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8175Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8194Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8286Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8305Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8384Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8403Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8572Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8592Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8695Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8717Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8843Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8870Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8989Assert.Equal(new Size(width, height), control.Size); 9010Assert.Equal(new Size(width, height), control.Size); 9131Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9152Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9260Assert.Equal(new Size(width, height), control.Size); 9281Assert.Equal(new Size(width, height), control.Size); 9397Assert.Equal(new Size(width, height), control.Size); 9419Assert.Equal(new Size(width, height), control.Size); 9552Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9576Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9710Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9739Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9787Assert.Equal(value, control.Size); 9797Assert.Equal(value, control.Size); 9821Assert.Equal(expectedSize, control.Size); 9837Assert.Equal(expectedSize, control.Size); 9869Assert.Equal(expectedSize, control.Size); 9888Assert.Equal(expectedSize, control.Size); 10344Assert.Equal(Size.Empty, control.Size); 10363Assert.Equal(Size.Empty, control.Size); 10410Assert.True(control.Size.Width > 0); 10411Assert.True(control.Size.Height > 0); 10443Assert.True(control.Size.Width > 0); 10444Assert.True(control.Size.Height >= 0); 10518Assert.Equal(Size.Empty, control.Size); 10537Assert.Equal(Size.Empty, control.Size); 10610Assert.Equal(Size.Empty, control.Size); 10629Assert.Equal(Size.Empty, control.Size); 10701Assert.Equal(Size.Empty, control.Size); 10723Assert.Equal(Size.Empty, control.Size); 10768Assert.Equal(new Size(3, 4), control.Size); 10790Assert.Equal(new Size(3, 4), control.Size); 10846Assert.Equal(new Size(3, 4), control.Size); 10872Assert.Equal(new Size(3, 4), control.Size); 10958Assert.Equal(new Size(width, height), control.Size); 10977Assert.Equal(new Size(width, height), control.Size); 11069Assert.Equal(new Size(width, height), control.Size); 11088Assert.Equal(new Size(width, height), control.Size); 11167Assert.Equal(new Size(width, height), control.Size); 11186Assert.Equal(new Size(width, height), control.Size); 11276Assert.Equal(new Size(width, height), control.Size); 11296Assert.Equal(new Size(width, height), control.Size); 11399Assert.Equal(new Size(width, height), control.Size); 11421Assert.Equal(new Size(width, height), control.Size); 11528Assert.Equal(new Size(width, height), control.Size); 11555Assert.Equal(new Size(width, height), control.Size); 11653Assert.Equal(new Size(width, height), control.Size); 11672Assert.Equal(new Size(width, height), control.Size); 11762Assert.Equal(new Size(width, height), control.Size); 11782Assert.Equal(new Size(width, height), control.Size); 11897Assert.Equal(new Size(width, height), control.Size); 11919Assert.Equal(new Size(width, height), control.Size); 12026Assert.Equal(new Size(width, height), control.Size); 12053Assert.Equal(new Size(width, height), control.Size);
System\Windows\Forms\ControlTests.Properties.cs (136)
2483Assert.Equal(new Size(width, height), control.Size); 2502Assert.Equal(new Size(width, height), control.Size); 2572Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2591Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2657Assert.Equal(new Size(width, height), control.Size); 2676Assert.Equal(new Size(width, height), control.Size); 2762Assert.Equal(new Size(width, height), control.Size); 2782Assert.Equal(new Size(width, height), control.Size); 2862Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2884Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2987Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 3014Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 3342Assert.Equal(value, control.Size); 3352Assert.Equal(value, control.Size); 3386Assert.Equal(expectedSize, control.Size); 3402Assert.Equal(expectedSize, control.Size); 3449Assert.Equal(expectedSize, control.Size); 3468Assert.Equal(expectedSize, control.Size); 5733Assert.Equal(new Size(0, value), control.Size); 5752Assert.Equal(new Size(0, value), control.Size); 5843Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 5862Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 5931Assert.Equal(new Size(0, value), control.Size); 5950Assert.Equal(new Size(0, value), control.Size); 6039Assert.Equal(new Size(0, value), control.Size); 6059Assert.Equal(new Size(0, value), control.Size); 6151Assert.Equal(new Size(0, expectedHeight), control.Size); 6173Assert.Equal(new Size(0, expectedHeight), control.Size); 6288Assert.Equal(new Size(0, expectedHeight), control.Size); 6315Assert.Equal(new Size(0, expectedHeight), control.Size); 6696Assert.Equal(new Size(0, 0), control.Size); 6718Assert.Equal(new Size(0, 0), control.Size); 6788Assert.Equal(new Size(0, 0), control.Size); 6810Assert.Equal(new Size(0, 0), control.Size); 6886Assert.Equal(new Size(0, 0), control.Size); 6911Assert.Equal(new Size(0, 0), control.Size); 6997Assert.Equal(new Size(0, 0), control.Size); 7026Assert.Equal(new Size(0, 0), control.Size); 7177Assert.Equal(new Size(0, 0), control.Size); 7199Assert.Equal(new Size(0, 0), control.Size); 7267Assert.Equal(new Size(0, 0), control.Size); 7290Assert.Equal(new Size(0, 0), control.Size); 7369Assert.Equal(new Size(0, 0), control.Size); 7394Assert.Equal(new Size(0, 0), control.Size); 7480Assert.Equal(new Size(0, 0), control.Size); 7510Assert.Equal(new Size(0, 0), control.Size); 7937Assert.Equal(Size.Empty, control.Size); 7944Assert.Equal(Size.Empty, control.Size); 7962Assert.Equal(Size.Empty, control.Size); 7969Assert.Equal(Size.Empty, control.Size); 8014Assert.Equal(expectedSize, control.Size); 8021Assert.Equal(expectedSize, control.Size); 8039Assert.Equal(new Size(100, 100), control.Size); 8046Assert.Equal(new Size(100, 100), control.Size); 8071Assert.Equal(expectedSize, control.Size); 8078Assert.Equal(expectedSize, control.Size); 8122Assert.Equal(Size.Empty, control.Size); 8130Assert.Equal(Size.Empty, control.Size); 8178Assert.Equal(Size.Empty, control.Size); 8187Assert.Equal(Size.Empty, control.Size); 8213Assert.Equal(Size.Empty, control.Size); 8223Assert.Equal(Size.Empty, control.Size); 8251Assert.Equal(Size.Empty, control.Size); 8261Assert.Equal(Size.Empty, control.Size); 8289Assert.Equal(expectedSize, control.Size); 8299Assert.Equal(expectedSize, control.Size); 8344Assert.Equal(Size.Empty, control.Size); 8359Assert.Equal(Size.Empty, control.Size); 8412Assert.Equal(Size.Empty, control.Size); 8427Assert.Equal(Size.Empty, control.Size); 8552Assert.Equal(expectedSize, control.Size); 8559Assert.Equal(expectedSize, control.Size); 8599Assert.Equal(expectedSize, control.Size); 8606Assert.Equal(expectedSize, control.Size); 8652Assert.Equal(expectedSize, control.Size); 8659Assert.Equal(expectedSize, control.Size); 8683Assert.Equal(expectedSize, control.Size); 8690Assert.Equal(expectedSize, control.Size); 8715Assert.Equal(expectedSize, control.Size); 8722Assert.Equal(expectedSize, control.Size); 8772Assert.Equal(expectedSize, control.Size); 8780Assert.Equal(expectedSize, control.Size); 8834Assert.Equal(expectedSize, control.Size); 8843Assert.Equal(expectedSize, control.Size); 8891Assert.Equal(expectedSize, control.Size); 8901Assert.Equal(expectedSize, control.Size); 8951Assert.Equal(expectedSize, control.Size); 8961Assert.Equal(expectedSize, control.Size); 9017Assert.Equal(expectedSize, control.Size); 9027Assert.Equal(expectedSize, control.Size); 9093Assert.Equal(expectedSize, control.Size); 9108Assert.Equal(expectedSize, control.Size); 9182Assert.Equal(expectedSize, control.Size); 9197Assert.Equal(expectedSize, control.Size); 11117Assert.Equal(value, control.Size); 11136Assert.Equal(value, control.Size); 11228Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11247Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11323Assert.Equal(value, control.Size); 11342Assert.Equal(value, control.Size); 11438Assert.Equal(value, control.Size); 11458Assert.Equal(value, control.Size); 11555Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11577Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11697Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11724Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11755PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Size)]; 11760Assert.Equal(new Size(1, 0), control.Size); 11764Assert.Equal(new Size(0, 1), control.Size); 11768Assert.Equal(new Size(1, 2), control.Size); 11772Assert.Equal(Size.Empty, control.Size); 11779PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Size)]; 11784Assert.Equal(new Size(1, 0), control.Size); 11788Assert.Equal(new Size(0, 1), control.Size); 11792Assert.Equal(new Size(1, 2), control.Size); 11796Assert.Equal(Size.Empty, control.Size); 12132Assert.Equal(new Size(0, 0), control.Size); 12153Assert.Equal(new Size(0, 0), control.Size); 12222Assert.Equal(new Size(0, 0), control.Size); 12244Assert.Equal(new Size(0, 0), control.Size); 12320Assert.Equal(new Size(0, 0), control.Size); 12344Assert.Equal(new Size(0, 0), control.Size); 12429Assert.Equal(new Size(0, 0), control.Size); 12458Assert.Equal(new Size(0, 0), control.Size); 13152Assert.Equal(new Size(value, 0), control.Size); 13171Assert.Equal(new Size(value, 0), control.Size); 13262Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 13281Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 13350Assert.Equal(new Size(value, 0), control.Size); 13369Assert.Equal(new Size(value, 0), control.Size); 13458Assert.Equal(new Size(value, 0), control.Size); 13478Assert.Equal(new Size(value, 0), control.Size); 13570Assert.Equal(new Size(expectedWidth, 0), control.Size); 13592Assert.Equal(new Size(expectedWidth, 0), control.Size); 13707Assert.Equal(new Size(expectedWidth, 0), control.Size); 13734Assert.Equal(new Size(expectedWidth, 0), control.Size);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
118Assert.Equal(new Size(100, control.PreferredHeight), control.Size);
System\Windows\Forms\DateTimePickerTests.cs (1)
114Assert.Equal(new Size(200, control.PreferredHeight), control.Size);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
113Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\DomainUpDownTests.cs (1)
138_sub.Size.Should().Be(new Size(120, _sub.PreferredHeight));
System\Windows\Forms\ErrorProviderTests.cs (2)
1157Assert.Equal(new Size(2, 3), control.Size); 1189Assert.Equal(new Size(4, 5), control.Size);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
106Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\GroupBoxTests.cs (1)
94Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\HScrollBarTests.cs (2)
106Assert.True(control.Size.Width > 0); 107Assert.True(control.Size.Height > 0);
System\Windows\Forms\LabelTests.cs (3)
103Assert.Equal(new Size(100, 23), control.Size); 297Size oldSize = label.Size; 301Size newSize = label.Size;
System\Windows\Forms\ListBoxTests.cs (1)
122Assert.Equal(new Size(120, 96), control.Size);
System\Windows\Forms\ListControlTests.cs (1)
102Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ListViewTests.cs (1)
137Assert.Equal(new Size(121, 97), control.Size);
System\Windows\Forms\MdiClientTests.cs (21)
79Assert.Equal(Size.Empty, control.Size); 542Assert.Equal(value, control.Size); 561Assert.Equal(value, control.Size); 644Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 666Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 778Assert.Equal(Size.Empty, control.Size); 805Assert.Equal(Size.Empty, control.Size); 930Assert.Equal(Size.Empty, control.Size); 957Assert.Equal(Size.Empty, control.Size); 1092Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 1119Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 1150PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.Size)]; 1155Assert.Equal(new Size(1, 0), control.Size); 1159Assert.Equal(new Size(0, 1), control.Size); 1163Assert.Equal(new Size(1, 2), control.Size); 1167Assert.Equal(Size.Empty, control.Size); 1174PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.Size)]; 1179Assert.Equal(new Size(1, 0), control.Size); 1183Assert.Equal(new Size(0, 1), control.Size); 1187Assert.Equal(new Size(1, 2), control.Size); 1191Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\MenuStripTests.cs (1)
136Assert.Equal(new Size(200, 24), control.Size);
System\Windows\Forms\PanelTests.cs (1)
105Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\PictureBoxTests.cs (1)
101Assert.Equal(new Size(100, 50), control.Size);
System\Windows\Forms\ProgressBarTests.cs (1)
92Assert.Equal(new Size(100, 23), control.Size);
System\Windows\Forms\PropertyGridTests.cs (1)
151Assert.Equal(new Size(130, 130), control.Size);
System\Windows\Forms\RadioButtonTests.cs (1)
107Assert.Equal(new Size(104, 24), control.Size);
System\Windows\Forms\RichTextBoxTests.cs (1)
126Assert.Equal(new Size(100, 96), control.Size);
System\Windows\Forms\ScrollableControlTests.cs (1)
105Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ScrollBarTests.cs (2)
95Assert.Equal(Size.Empty, control.Size); 2602Assert.Equal(expected, control.Size);
System\Windows\Forms\SplitterTests.cs (1)
95Assert.Equal(new Size(3, 3), control.Size);
System\Windows\Forms\StatusStripTests.cs (1)
137Assert.Equal(new Size(200, 22), control.Size);
System\Windows\Forms\TabControlTests.cs (1)
102Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
116Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\TabPageTests.cs (22)
111Assert.Equal(new Size(200, 100), control.Size); 220Assert.Equal(new Size(200, 100), control.Size); 1903Assert.Equal(new Size(200, 100), control.Size); 1925Assert.Equal(new Size(200, 100), control.Size); 1993Assert.Equal(new Size(200, 100), control.Size); 2016Assert.Equal(new Size(200, 100), control.Size); 2094Assert.Equal(new Size(200, 100), control.Size); 2119Assert.Equal(new Size(200, 100), control.Size); 2218Assert.Equal(expected.Size, control.Size); 2248Assert.Equal(expected.Size, control.Size); 2432Assert.Equal(Size.Empty, control.Size); 2439Assert.Equal(Size.Empty, control.Size); 2463Assert.Equal(expectedSize, control.Size); 2470Assert.Equal(expectedSize, control.Size); 4350Assert.Equal(new Size(width, height), control.Size); 4371Assert.Equal(new Size(width, height), control.Size); 4487Assert.Equal(new Size(width, height), control.Size); 4509Assert.Equal(new Size(width, height), control.Size); 4642Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 4666Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 4820Assert.Equal(expected.Size, control.Size); 4850Assert.Equal(expected.Size, control.Size);
System\Windows\Forms\ToolStripContentPanelTests.cs (7)
110Assert.Equal(new Size(200, 100), control.Size); 944Assert.Equal(new Size(200, 100), control.Size); 966Assert.Equal(new Size(200, 100), control.Size); 1051Assert.Equal(Size.Empty, control.Size); 1058Assert.Equal(Size.Empty, control.Size); 1082Assert.Equal(expectedSize, control.Size); 1089Assert.Equal(expectedSize, control.Size);
System\Windows\Forms\ToolStripControlHostTests.cs (5)
77Assert.Equal(c.Size, item.DefaultSize); 114Assert.Equal(c.Size, item.Size); 658Assert.Equal(new Size(10, 20), c.Size); 4117Assert.Equal(Size.Empty, c.Size); 4120Assert.Equal(new Size(10, 20), c.Size);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
144Assert.Equal(new Size(2, 4), control.Size); 1970Assert.Equal(new Size(100, 25), control.Size); 1992Assert.Equal(new Size(100, 25), control.Size);
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
52Assert.Equal(new Rectangle(Point.Empty, toolStrip.Size), e.AffectedBounds);
System\Windows\Forms\ToolStripPanelTests.cs (1)
109Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
30Assert.Equal(new Drawing.Size(10, 10), toolStrip.Size);
System\Windows\Forms\ToolStripTests.cs (2)
152Assert.Equal(new Size(100, 25), control.Size); 307Assert.Equal(new Size(100, 25), control.Size);
System\Windows\Forms\TreeViewTests.cs (1)
117Assert.Equal(new Size(121, 97), control.Size);
System\Windows\Forms\UpDownBaseTests.cs (7)
121Assert.Equal(new Size(120, control.PreferredHeight), control.Size); 1116Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 1123Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 1160Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 1167Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 2768Assert.Equal(new Size(width, preferredHeight), control.Size); 2800Assert.Equal(new Size(width, preferredHeight), control.Size);
System\Windows\Forms\UserControlTests.cs (1)
112Assert.Equal(new Size(150, 150), control.Size);
System\Windows\Forms\VScrollBarTests.cs (2)
105Assert.True(control.Size.Width > 0); 106Assert.True(control.Size.Height > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
88Assert.Equal(new Size(250, 250), control.Size);
TextBoxBaseTests.cs (6)
6541Assert.Equal(new Size(width, s_preferredHeight), control.Size); 6562Assert.Equal(new Size(width, s_preferredHeight), control.Size); 6675Assert.Equal(new Size(width, height), control.Size); 6696Assert.Equal(new Size(width, height), control.Size); 6791Assert.Equal(new Size(width, height), control.Size); 6812Assert.Equal(new Size(width, height), control.Size);
TextBoxTests.cs (1)
111Assert.Equal(new Size(100, control.PreferredHeight), control.Size);
TrackBarTests.cs (24)
98Assert.Equal(new Size(104, s_dimension), control.Size); 230Assert.Equal(new Size(104, s_dimension), control.Size); 239Assert.Equal(new Size(104, s_dimension), control.Size); 248Assert.Equal(new Size(104, s_dimension), control.Size); 268Assert.Equal(new Size(104, s_dimension), control.Size); 277Assert.Equal(new Size(104, s_dimension), control.Size); 286Assert.Equal(new Size(104, s_dimension), control.Size); 310Assert.Equal(new Size(104, s_dimension), control.Size); 322Assert.Equal(new Size(104, s_dimension), control.Size); 334Assert.Equal(new Size(104, s_dimension), control.Size); 364Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 376Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 388Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 867Assert.Equal(expected, control.Size); 1317Assert.Equal(expectedSize, control.Size); 1325Assert.Equal(expectedSize, control.Size); 1351Assert.Equal(expectedSize, control.Size); 1359Assert.Equal(expectedSize, control.Size); 1391Assert.Equal(expectedSize, control.Size); 1402Assert.Equal(expectedSize, control.Size); 1438Assert.Equal(expectedSize, control.Size); 1449Assert.Equal(expectedSize, control.Size); 3001Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 3022Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size);
WebBrowserBaseTests.cs (4)
80Assert.Equal(new Size(width, height), control.Size); 99Assert.Equal(new Size(width, height), control.Size); 196Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 218Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size);
System.Windows.Forms.UI.IntegrationTests (6)
PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
69grid.SelectedEntry = grid[nameof(Button.Size)]; 247grid.SelectedEntry = grid[nameof(Button.Size)];
PropertyGridInternal\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (4)
22grid.SelectedEntry = grid[nameof(Button.Size)]; 36grid.SelectedEntry = grid[nameof(Button.Size)]; 65grid.SelectedEntry = grid[nameof(Button.Size)]; 78grid.SelectedEntry = grid[nameof(Button.Size)];
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (1)
1004OnPropertyChanged("Size", this.Size);
System\Windows\Integration\WindowsFormsHost.cs (2)
278if ((Child.Size != targetSize) && ((finalSize != _priorConstraint) || scaled)) 283Size returnSize = Convert.ToSystemWindowsSize(Child.Size, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
WinFormsControlsTest (3)
ComboBoxesWithScrollBars.cs (2)
27changeCBHeight_UpDown2.Value = comboBox2.Size.Height; 54changeCBHeight_UpDown2.ValueChanged += (s, e) => comboBox2.Size = new Size(comboBox2.Size.Width, (int)changeCBHeight_UpDown2.Value);
MainForm.cs (1)
274biggestButton = button.Size;