1026 writes to Size
Accessibility_Core_App (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);
DesignSurface (13)
MainForm.cs (1)
437Size = new Size(226, 502),
MainForm.Designer.cs (9)
80this.splitContainer.Size = new System.Drawing.Size(824, 502); 97this.tabControl1.Size = new System.Drawing.Size(593, 502); 105this.tabPage1.Size = new System.Drawing.Size(585, 473); 115this.tabPage2.Size = new System.Drawing.Size(585, 473); 125this.tabPage3.Size = new System.Drawing.Size(585, 473); 135this.tabPage4.Size = new System.Drawing.Size(585, 473); 145this.tabPage5.Size = new System.Drawing.Size(585, 473); 155this.tabPage6.Size = new System.Drawing.Size(585, 473); 170this.menuStrip1.Size = new System.Drawing.Size(824, 28);
MainForm.MyUserControl.cs (3)
29Size = new(30, 30) 36Size = new(30, 30) 43Size = 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)
935buttonPeoplePicker.Size = imageButtonSize; 936buttonEveryone.Size = imageButtonSize; 937buttonRemoveUser.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)
1721_control.Size = size;
System\Windows\Forms\Control.cs (3)
412Size = new Size(width, height); 9081Size = DefaultSize; 10106Size = SizeFromClientSizeInternal(new(x, y));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
3772DataGridView.EditingControl.Size = new Size(editingControlBounds.Width, editingControlBounds.Height); 3858DataGridView.EditingPanel.Size = new Size(wEditingPanel, hEditingPanel);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
799DataGridView.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)
964Size = PreferredSize; 968Size = _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 5142_dropDownButton.Size = new(SystemInformation.VerticalScrollBarArrowHeightForDpi(_deviceDpi), RowHeight); 5146_dropDownButton.Size = new(SystemInformation.VerticalScrollBarArrowHeight, RowHeight); 5151DialogButton.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)
249_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)
44Size = new Size(240, 64), 54Size = new Size(75, 23),
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; 456Size = 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)
20control.Size = new Size(0, 120);
System.Windows.Forms.Tests (258)
System\Windows\Forms\AccessibleObjects\CheckedListBoxAccessibleObjectTests.cs (1)
16checkedListBox.Size = new Size(120, 100);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (7)
253comboBox.Size = new Size(100, 132); 305comboBox.Size = new Size(100, 132); 392comboBox.Size = new Size(100, 132); 396comboBox.Size = new Size(100, comboBox.Size.Height); 454comboBox.Size = new Size(100, 400); 458comboBox.Size = new Size(100, comboBox.Size.Height); 687comboBox.Size = new Size(100, 50);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (3)
1493using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1527using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1565using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (3)
147dataGridView.Size = new Size(500, 300); 170dataGridView.Size = new Size(500, 300); 324dataGridView.Size = new Size(200, 100);
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
279Size = new Size(200, 50)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
343Size = new Size(500, 50)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
379Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
351Size = new Size(500, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
366Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
271Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
1189listView.Size = new Size(200, 200); 1215listView.Size = new Size(200, 200); 1749Size = new Size(expectedWidth, 150)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (8)
138Size = new Size(200, 200) 208Size = new Size(200, 200) 371Size = new Size(200, 200) 466Size = new Size(200, 200) 502Size = new Size(200, 200) 584Size = new Size(200, 200) 1259Size = new Size(200, 200) 1426Size = new Size(200, 200)
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
156Size = new Size(300, 200),
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
926menuStrip.Size = size.Value;
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (2)
266panel1.Size = new(200, 140); 269button1.Size = new(237, 153);
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (2)
127propertyGrid.Size = new Size(300, 500); 235propertyGrid.Size = new Size(300, 500);
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
907statusStrip.Size = size.Value;
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
533tabControl.Size = new(151, 104); 536button.Size = new(198, 86); 541tabPage.Size = new(143, 76);
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
105using TextBoxBase textBoxBase = new SubTextBoxBase { Size = new Size(width, height) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
967toolStrip.Size = size.Value;
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (3)
242using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 283using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 310using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
201Size = new(20, 30),
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (2)
82using ToolStrip toolStrip = new() { AutoSize = false, Size = new(30, 30) }; 107using ToolStrip toolStrip = new() { AutoSize = false, Size = new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (1)
119using ToolStrip toolStrip = new() { Size = new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (3)
229using TreeView control = new() { Size = new Size(300, 100) }; 243using TreeView control = new() { Size = new Size(300, 100) }; 258using TreeView control = new() { Size = new Size(300, 100) };
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (1)
155Size = new Size(300, 200),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
327Size = 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)
335Size = new Size(500, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
350Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
271Size = new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
269Size = new Size(500, 50)
System\Windows\Forms\ButtonTests.cs (2)
1302Size = new Size(14, 9), 1598Size = new Size(6, 6),
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (2)
107comboBox.Size = new Size(expectedWidth, 150); 111comboBox.Size = new Size(expectedWidth, comboBox.Size.Height);
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (22)
283using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 307using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 345using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 368using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 434using ComboBox comboBox = new() { Size = size, DropDownStyle = dropdownStyle }; 463using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 500using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 540using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 574using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 592using ComboBox comboBox = new ComboBox() { DropDownStyle = dropDownStyle, Size = new Size(250, 100) }; 779using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 821using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 847using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 867using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = size }; 1041using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1062using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1079using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1098using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1111using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1125using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) }; 1149using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(width, height) }; 1170using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(50, 100) };
System\Windows\Forms\ComboBoxTests.cs (1)
2155using ComboBox comboBox = new() { DropDownStyle = dropDownStyle, Size = new(100, 50) };
System\Windows\Forms\ControlTests.cs (4)
1045checkedListBox1.Size = new Size(103, 64); 1048button1.Size = new Size(213, 20); 1052listBox1.Size = new Size(101, 69); 1056listView1.Size = new Size(121, 64);
System\Windows\Forms\ControlTests.Methods.cs (22)
3025Size = new Size(10, 20) 3061Size = new Size(10, 20) 3065Size = new Size(10, 20) 3140Size = new Size(10, 20) 3179Size = new Size(10, 20) 3183Size = new Size(10, 20) 3278Size = new Size(10, 20) 3314Size = new Size(10, 20) 3318Size = new Size(10, 20) 3419Size = new Size(10, 20) 3455Size = new Size(10, 20) 3459Size = new Size(10, 20) 3556Size = new Size(10, 20) 3592Size = new Size(10, 20) 3596Size = new Size(10, 20) 3699Size = new Size(10, 20) 3735Size = new Size(10, 20) 3739Size = new Size(10, 20) 12529Size = size 12571Size = size 12593Size = size 12643Size = size
System\Windows\Forms\ControlTests.Properties.cs (26)
7999Size = size 8056Size = size 8273Size = size 8637Size = size 8700Size = size 8995Size = size 9840Size = new Size(16, 20) 9858Size = new Size(16, 20) 11111control.Size = value; 11130control.Size = value; 11222control.Size = value; 11241control.Size = value; 11317control.Size = value; 11336control.Size = value; 11432control.Size = value; 11452control.Size = value; 11549control.Size = value; 11571control.Size = value; 11691control.Size = value; 11718control.Size = value; 11757control.Size = new Size(1, 0); 11761control.Size = new Size(0, 1); 11765control.Size = new Size(1, 2); 11781control.Size = new Size(1, 0); 11785control.Size = new Size(0, 1); 11789control.Size = new Size(1, 2);
System\Windows\Forms\DataGridViewCellTests.cs (1)
4780Size = new Size(600, 200)
System\Windows\Forms\ErrorProviderTests.cs (2)
1154control.Size = new Size(2, 3); 1186control.Size = new Size(4, 5);
System\Windows\Forms\GroupBoxTests.cs (3)
927Size = new Size(16, 20) 1855Size = size, 1893Size = size,
System\Windows\Forms\LabelTests.cs (1)
292Size = new(10, 10),
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
43Size = new Size(10, 20) 48Size = new Size(10, 20) 53Size = new Size(100, 200) 57Size = Size.Empty 62Size = Size.Empty 67Size = new Size(50, 100) 72Size = new Size(10, 20) 104Size = new Size(10, 20) 109Size = new Size(10, 20) 114Size = new Size(100, 200) 118Size = Size.Empty 123Size = Size.Empty 128Size = new Size(50, 100) 133Size = new Size(10, 20) 165Size = new Size(10, 20) 170Size = new Size(10, 20) 175Size = new Size(100, 200) 179Size = Size.Empty 184Size = Size.Empty 189Size = new Size(50, 100) 194Size = new Size(10, 20) 226Size = new Size(10, 20) 231Size = new Size(10, 20) 236Size = new Size(100, 200) 240Size = Size.Empty 245Size = Size.Empty 250Size = new Size(50, 100) 255Size = new Size(10, 20)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
818Size = size ?? new Size(50, 50),
System\Windows\Forms\ListViewTests.cs (7)
5036listView.Size = new Size(200, 200); 5092listView.Size = new Size(200, 200); 5143Size = new Size(300, 200), 5170Size = new Size(300, 200), 5195Size = new Size(300, 200), 5218Size = new Size(300, 200), 5423Size = new Size(300, 200),
System\Windows\Forms\MdiClientTests.cs (16)
536control.Size = value; 555control.Size = value; 638control.Size = value; 660control.Size = value; 772control.Size = value; 799control.Size = value; 924control.Size = value; 951control.Size = value; 1086control.Size = value; 1113control.Size = value; 1152control.Size = new Size(1, 0); 1156control.Size = new Size(0, 1); 1160control.Size = new Size(1, 2); 1176control.Size = new Size(1, 0); 1180control.Size = new Size(0, 1); 1184control.Size = new Size(1, 2);
System\Windows\Forms\PanelTests.cs (2)
614Size = new Size(16, 20) 629Size = new Size(16, 20)
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
186Size = new(100, 100);
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.Rendering.cs (1)
19Size = new(300, 200),
System\Windows\Forms\ScrollBarTests.cs (3)
2592Size = controlSize 3113vScrollBar.Size = new(50, 200); 3132hScrollBar.Size = new(200, 50);
System\Windows\Forms\StatusStripTests.cs (2)
665Size = new Size(210, 32) 692Size = new Size(190, 12)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
20Size = new Size(200, 38)
System\Windows\Forms\TabPageTests.cs (2)
2423Size = Size.Empty 2448Size = Size.Empty
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (22)
164using TextBoxBase textBoxBase = new SubTextBoxBase { Size = new Size(width, height) }; 190textBoxBase.Size = new Size(50, 100); 216textBoxBase.Size = new Size(30, 100); 232textBoxBase.Size = new Size(30, 50); 258textBoxBase.Size = new Size(30, 50); 279using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 295Size = size, 323Size = size, 343Size = size, 400using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 416using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 446using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 460using SubTextBoxBase textBoxBase = new() { Size = size, Text = text, Multiline = multiline }; 491using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 506using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 626Size = size 674Size = size, 697using SubTextBoxBase textBoxBase = new() { Size = size }; 722Size = size 740Size = size 890Size = new Size(50, 100) 908Size = new Size(50, 100)
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1042Size = Size.Empty 1067Size = Size.Empty
System\Windows\Forms\ToolStripControlHostTests.cs (2)
655c.Size = new Size(10, 20); 4117c.Size = new Size(10, 20);
System\Windows\Forms\ToolStripItemTests.cs (3)
5836Size = new Size(1, 2) 5874Size = new Size(1, 2) 15400menuStrip1.Size = new Size(100, 50);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (2)
15toolStrip.Size = new Drawing.Size(10, 10); 23toolStrip.Size = new Drawing.Size(5, 5);
System\Windows\Forms\ToolStripTests.cs (2)
6695Size = new Size(400, 500) 6740Size = new Size(400, 500)
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
18Size = new Size(200, 38)
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
373using TreeView treeView = new() { Size = new Size(50, 50) };
System\Windows\Forms\UpDownBaseTests.cs (2)
2251Size = size, 2287Size = size,
System\Windows\Forms\WebBrowserTests.cs (4)
4507Size = size 4549Size = size 4571Size = size 4621Size = size
TextBoxBaseTests.cs (6)
6955Size = size, 7003Size = size, 7026Size = size, 7082Size = size, 7804using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline }; 7824using SubTextBoxBase textBoxBase = new() { Size = size, Multiline = multiline };
TextBoxTests.Rendering.cs (1)
19Size = 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)
608ListDragSource.Size = new Size(120, 225); 618ListDragTarget.Size = new Size(120, 225); 626_useCustomCursorsCheck.Size = new Size(137, 24); 631_dropLocationLabel.Size = new Size(137, 24); 912PictureBoxDragSource.Size = new Size(125, 119); 921RichTextBoxDropTarget.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),
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);
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
286Child.Size = targetSize; 821this.Size = SD.Size.Empty;
WinFormsControlsTest (277)
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 (11)
59this.label1.Size = new System.Drawing.Size(200, 20); 66this.listBox1.Size = new System.Drawing.Size(200, 150); 74this.textBox1.Size = new System.Drawing.Size(100, 30); 101this.listBox2.Size = new System.Drawing.Size(200, 150); 107this.textBox2.Size = new System.Drawing.Size(100, 30); 128this.label3.Size = new System.Drawing.Size(250, 20); 135this.listBox3.Size = new System.Drawing.Size(200, 150); 143this.textBox3.Size = new System.Drawing.Size(100, 30); 164this.label4.Size = new System.Drawing.Size(250, 20); 171this.listBox4.Size = new System.Drawing.Size(200, 150); 180this.textBox4.Size = new System.Drawing.Size(100, 30);
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)
60base.SetBoundsCore(Parent.Location.X, y, Parent.Size.Width, 1, specified);
MS\Internal\Documents\RMPublishingDialog.cs (3)
514button.Size, 929buttonAddUser.Size.Height, 930buttonAddUser.Size.Height);
System.Windows.Forms (97)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3246Size setExtent = Size;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
707Size size = _control.Size; 1724if (_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)
8006/// This is called in the <see cref="Control"/> constructor before calculating the initial <see cref="Size"/>. 8699PrintToMetaFileRecursive(hDC, lParam, new Rectangle(Point.Empty, Size)); 8756using MetafileDCWrapper dcWrapper = new(hDC, Size); 10614/// 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)
6895Rectangle 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)
119_savedSize = Size; 843_savedSize = Size; 1170_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)) 5151DialogButton.Size = DropDownButton.Size;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1520Size size = Size;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
2910Rectangle 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)
209Size statusStripSize = Size;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2388if (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) 1055internal 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)
285preferredSize = (!_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)
786int maxTickCount = (Orientation == Orientation.Horizontal ? Size.Width : Size.Height) / 2; 1146int 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)
269/// The main purpose of this function is to remember what size someone specified in the <see cref="Control.Size"/>, 272/// 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)
365_scrollMargin.Height += current.Size.Height; 368_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)
2117if (Control is not null && Control.Size != Control.ClientSize && Control.Parent is { } parent) 2120Rectangle 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)
514Rectangle 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)
635sz = 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)
1370Rectangle 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)
116Assert.Equal(new Size(control.Width, control.Height), control.Size);
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
15InheritedPropertyDescriptor inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.Size));
System.Windows.Forms.Tests (372)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (2)
396comboBox.Size = new Size(100, comboBox.Size.Height); 458comboBox.Size = new Size(100, comboBox.Size.Height);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
151int expectedWidth = dataGridView.Size.Width; 155int expectedHeight = dataGridView.Size.Height;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
25Assert.Equal(ownerControl.Size, accessibilityObject.Bounds.Size);
System\Windows\Forms\AxHostTests.cs (2)
106Assert.Equal(new Size(75, 23), control.Size); 200Assert.Equal(new Size(75, 23), control.Size);
System\Windows\Forms\ButtonBaseTests.cs (1)
107Assert.Equal(new Size(75, 23), control.Size);
System\Windows\Forms\ButtonTests.cs (1)
105Assert.Equal(new Size(75, 23), control.Size);
System\Windows\Forms\CheckBoxTests.cs (1)
107Assert.Equal(new Size(104, 24), control.Size);
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (1)
111comboBox.Size = new Size(expectedWidth, comboBox.Size.Height);
System\Windows\Forms\ComboBoxTests.cs (1)
120Assert.Equal(new Size(121, control.PreferredHeight), control.Size);
System\Windows\Forms\ContainerControlTests.cs (1)
110Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ControlTests.cs (5)
88Assert.Equal(Size.Empty, control.Size); 177Assert.Equal(Size.Empty, control.Size); 273Assert.Equal(new Size(width, height), control.Size); 369Assert.Equal(Size.Empty, control.Size); 465Assert.Equal(new Size(width, height), control.Size);
System\Windows\Forms\ControlTests.Methods.cs (78)
7419Assert.Equal(new Size(width, height), control.Size); 7438Assert.Equal(new Size(width, height), control.Size); 7530Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7549Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7628Assert.Equal(new Size(width, height), control.Size); 7647Assert.Equal(new Size(width, height), control.Size); 7746Assert.Equal(new Size(width, height), control.Size); 7766Assert.Equal(new Size(width, height), control.Size); 7869Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 7891Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8017Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8044Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8206Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8225Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8317Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8336Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8415Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8434Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8603Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8623Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8726Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8748Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8874Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 8901Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9020Assert.Equal(new Size(width, height), control.Size); 9041Assert.Equal(new Size(width, height), control.Size); 9162Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9183Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9291Assert.Equal(new Size(width, height), control.Size); 9312Assert.Equal(new Size(width, height), control.Size); 9428Assert.Equal(new Size(width, height), control.Size); 9450Assert.Equal(new Size(width, height), control.Size); 9583Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9607Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9741Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9770Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 9818Assert.Equal(value, control.Size); 9828Assert.Equal(value, control.Size); 9852Assert.Equal(expectedSize, control.Size); 9868Assert.Equal(expectedSize, control.Size); 9900Assert.Equal(expectedSize, control.Size); 9919Assert.Equal(expectedSize, control.Size); 10375Assert.Equal(Size.Empty, control.Size); 10394Assert.Equal(Size.Empty, control.Size); 10441Assert.True(control.Size.Width > 0); 10442Assert.True(control.Size.Height > 0); 10474Assert.True(control.Size.Width > 0); 10475Assert.True(control.Size.Height >= 0); 10549Assert.Equal(Size.Empty, control.Size); 10568Assert.Equal(Size.Empty, control.Size); 10641Assert.Equal(Size.Empty, control.Size); 10660Assert.Equal(Size.Empty, control.Size); 10732Assert.Equal(Size.Empty, control.Size); 10754Assert.Equal(Size.Empty, control.Size); 10799Assert.Equal(new Size(3, 4), control.Size); 10821Assert.Equal(new Size(3, 4), control.Size); 10877Assert.Equal(new Size(3, 4), control.Size); 10903Assert.Equal(new Size(3, 4), control.Size); 10989Assert.Equal(new Size(width, height), control.Size); 11008Assert.Equal(new Size(width, height), control.Size); 11100Assert.Equal(new Size(width, height), control.Size); 11119Assert.Equal(new Size(width, height), control.Size); 11198Assert.Equal(new Size(width, height), control.Size); 11217Assert.Equal(new Size(width, height), control.Size); 11307Assert.Equal(new Size(width, height), control.Size); 11327Assert.Equal(new Size(width, height), control.Size); 11430Assert.Equal(new Size(width, height), control.Size); 11452Assert.Equal(new Size(width, height), control.Size); 11559Assert.Equal(new Size(width, height), control.Size); 11586Assert.Equal(new Size(width, height), control.Size); 11684Assert.Equal(new Size(width, height), control.Size); 11703Assert.Equal(new Size(width, height), control.Size); 11793Assert.Equal(new Size(width, height), control.Size); 11813Assert.Equal(new Size(width, height), control.Size); 11928Assert.Equal(new Size(width, height), control.Size); 11950Assert.Equal(new Size(width, height), control.Size); 12057Assert.Equal(new Size(width, height), control.Size); 12084Assert.Equal(new Size(width, height), control.Size);
System\Windows\Forms\ControlTests.Properties.cs (136)
2481Assert.Equal(new Size(width, height), control.Size); 2500Assert.Equal(new Size(width, height), control.Size); 2570Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2589Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2655Assert.Equal(new Size(width, height), control.Size); 2674Assert.Equal(new Size(width, height), control.Size); 2760Assert.Equal(new Size(width, height), control.Size); 2780Assert.Equal(new Size(width, height), control.Size); 2860Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2882Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 2985Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 3012Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 3340Assert.Equal(value, control.Size); 3350Assert.Equal(value, control.Size); 3384Assert.Equal(expectedSize, control.Size); 3400Assert.Equal(expectedSize, control.Size); 3447Assert.Equal(expectedSize, control.Size); 3466Assert.Equal(expectedSize, control.Size); 5731Assert.Equal(new Size(0, value), control.Size); 5750Assert.Equal(new Size(0, value), control.Size); 5841Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 5860Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 5929Assert.Equal(new Size(0, value), control.Size); 5948Assert.Equal(new Size(0, value), control.Size); 6037Assert.Equal(new Size(0, value), control.Size); 6057Assert.Equal(new Size(0, value), control.Size); 6149Assert.Equal(new Size(0, expectedHeight), control.Size); 6171Assert.Equal(new Size(0, expectedHeight), control.Size); 6286Assert.Equal(new Size(0, expectedHeight), control.Size); 6313Assert.Equal(new Size(0, expectedHeight), control.Size); 6694Assert.Equal(new Size(0, 0), control.Size); 6716Assert.Equal(new Size(0, 0), control.Size); 6786Assert.Equal(new Size(0, 0), control.Size); 6808Assert.Equal(new Size(0, 0), control.Size); 6884Assert.Equal(new Size(0, 0), control.Size); 6909Assert.Equal(new Size(0, 0), control.Size); 6995Assert.Equal(new Size(0, 0), control.Size); 7024Assert.Equal(new Size(0, 0), control.Size); 7175Assert.Equal(new Size(0, 0), control.Size); 7197Assert.Equal(new Size(0, 0), control.Size); 7265Assert.Equal(new Size(0, 0), control.Size); 7288Assert.Equal(new Size(0, 0), control.Size); 7367Assert.Equal(new Size(0, 0), control.Size); 7392Assert.Equal(new Size(0, 0), control.Size); 7478Assert.Equal(new Size(0, 0), control.Size); 7508Assert.Equal(new Size(0, 0), control.Size); 7935Assert.Equal(Size.Empty, control.Size); 7942Assert.Equal(Size.Empty, control.Size); 7960Assert.Equal(Size.Empty, control.Size); 7967Assert.Equal(Size.Empty, control.Size); 8012Assert.Equal(expectedSize, control.Size); 8019Assert.Equal(expectedSize, control.Size); 8037Assert.Equal(new Size(100, 100), control.Size); 8044Assert.Equal(new Size(100, 100), control.Size); 8069Assert.Equal(expectedSize, control.Size); 8076Assert.Equal(expectedSize, control.Size); 8120Assert.Equal(Size.Empty, control.Size); 8128Assert.Equal(Size.Empty, control.Size); 8176Assert.Equal(Size.Empty, control.Size); 8185Assert.Equal(Size.Empty, control.Size); 8211Assert.Equal(Size.Empty, control.Size); 8221Assert.Equal(Size.Empty, control.Size); 8249Assert.Equal(Size.Empty, control.Size); 8259Assert.Equal(Size.Empty, control.Size); 8287Assert.Equal(expectedSize, control.Size); 8297Assert.Equal(expectedSize, control.Size); 8342Assert.Equal(Size.Empty, control.Size); 8357Assert.Equal(Size.Empty, control.Size); 8410Assert.Equal(Size.Empty, control.Size); 8425Assert.Equal(Size.Empty, control.Size); 8550Assert.Equal(expectedSize, control.Size); 8557Assert.Equal(expectedSize, control.Size); 8597Assert.Equal(expectedSize, control.Size); 8604Assert.Equal(expectedSize, control.Size); 8650Assert.Equal(expectedSize, control.Size); 8657Assert.Equal(expectedSize, control.Size); 8681Assert.Equal(expectedSize, control.Size); 8688Assert.Equal(expectedSize, control.Size); 8713Assert.Equal(expectedSize, control.Size); 8720Assert.Equal(expectedSize, control.Size); 8770Assert.Equal(expectedSize, control.Size); 8778Assert.Equal(expectedSize, control.Size); 8832Assert.Equal(expectedSize, control.Size); 8841Assert.Equal(expectedSize, control.Size); 8889Assert.Equal(expectedSize, control.Size); 8899Assert.Equal(expectedSize, control.Size); 8949Assert.Equal(expectedSize, control.Size); 8959Assert.Equal(expectedSize, control.Size); 9015Assert.Equal(expectedSize, control.Size); 9025Assert.Equal(expectedSize, control.Size); 9091Assert.Equal(expectedSize, control.Size); 9106Assert.Equal(expectedSize, control.Size); 9180Assert.Equal(expectedSize, control.Size); 9195Assert.Equal(expectedSize, control.Size); 11115Assert.Equal(value, control.Size); 11134Assert.Equal(value, control.Size); 11226Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11245Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11321Assert.Equal(value, control.Size); 11340Assert.Equal(value, control.Size); 11436Assert.Equal(value, control.Size); 11456Assert.Equal(value, control.Size); 11553Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11575Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11695Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11722Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 11753PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Size)]; 11758Assert.Equal(new Size(1, 0), control.Size); 11762Assert.Equal(new Size(0, 1), control.Size); 11766Assert.Equal(new Size(1, 2), control.Size); 11770Assert.Equal(Size.Empty, control.Size); 11777PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Size)]; 11782Assert.Equal(new Size(1, 0), control.Size); 11786Assert.Equal(new Size(0, 1), control.Size); 11790Assert.Equal(new Size(1, 2), control.Size); 11794Assert.Equal(Size.Empty, control.Size); 12130Assert.Equal(new Size(0, 0), control.Size); 12151Assert.Equal(new Size(0, 0), control.Size); 12220Assert.Equal(new Size(0, 0), control.Size); 12242Assert.Equal(new Size(0, 0), control.Size); 12318Assert.Equal(new Size(0, 0), control.Size); 12342Assert.Equal(new Size(0, 0), control.Size); 12427Assert.Equal(new Size(0, 0), control.Size); 12456Assert.Equal(new Size(0, 0), control.Size); 13150Assert.Equal(new Size(value, 0), control.Size); 13169Assert.Equal(new Size(value, 0), control.Size); 13260Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 13279Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 13348Assert.Equal(new Size(value, 0), control.Size); 13367Assert.Equal(new Size(value, 0), control.Size); 13456Assert.Equal(new Size(value, 0), control.Size); 13476Assert.Equal(new Size(value, 0), control.Size); 13568Assert.Equal(new Size(expectedWidth, 0), control.Size); 13590Assert.Equal(new Size(expectedWidth, 0), control.Size); 13705Assert.Equal(new Size(expectedWidth, 0), control.Size); 13732Assert.Equal(new Size(expectedWidth, 0), control.Size);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
116Assert.Equal(new Size(100, control.PreferredHeight), control.Size);
System\Windows\Forms\DateTimePickerTests.cs (1)
112Assert.Equal(new Size(200, control.PreferredHeight), control.Size);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
111Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\DomainUpDownTests.cs (1)
136_sub.Size.Should().Be(new Size(120, _sub.PreferredHeight));
System\Windows\Forms\ErrorProviderTests.cs (2)
1155Assert.Equal(new Size(2, 3), control.Size); 1187Assert.Equal(new Size(4, 5), control.Size);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
104Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\GroupBoxTests.cs (1)
92Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\HScrollBarTests.cs (2)
104Assert.True(control.Size.Width > 0); 105Assert.True(control.Size.Height > 0);
System\Windows\Forms\LabelTests.cs (3)
101Assert.Equal(new Size(100, 23), control.Size); 295Size oldSize = label.Size; 299Size newSize = label.Size;
System\Windows\Forms\ListBoxTests.cs (1)
120Assert.Equal(new Size(120, 96), control.Size);
System\Windows\Forms\ListControlTests.cs (1)
100Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ListViewTests.cs (1)
135Assert.Equal(new Size(121, 97), control.Size);
System\Windows\Forms\MdiClientTests.cs (21)
77Assert.Equal(Size.Empty, control.Size); 540Assert.Equal(value, control.Size); 559Assert.Equal(value, control.Size); 642Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 664Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 776Assert.Equal(Size.Empty, control.Size); 803Assert.Equal(Size.Empty, control.Size); 928Assert.Equal(Size.Empty, control.Size); 955Assert.Equal(Size.Empty, control.Size); 1090Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 1117Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 1148PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.Size)]; 1153Assert.Equal(new Size(1, 0), control.Size); 1157Assert.Equal(new Size(0, 1), control.Size); 1161Assert.Equal(new Size(1, 2), control.Size); 1165Assert.Equal(Size.Empty, control.Size); 1172PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.Size)]; 1177Assert.Equal(new Size(1, 0), control.Size); 1181Assert.Equal(new Size(0, 1), control.Size); 1185Assert.Equal(new Size(1, 2), control.Size); 1189Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\MenuStripTests.cs (1)
134Assert.Equal(new Size(200, 24), control.Size);
System\Windows\Forms\PanelTests.cs (1)
103Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\PictureBoxTests.cs (1)
99Assert.Equal(new Size(100, 50), control.Size);
System\Windows\Forms\ProgressBarTests.cs (1)
90Assert.Equal(new Size(100, 23), control.Size);
System\Windows\Forms\PropertyGridTests.cs (1)
149Assert.Equal(new Size(130, 130), control.Size);
System\Windows\Forms\RadioButtonTests.cs (1)
105Assert.Equal(new Size(104, 24), control.Size);
System\Windows\Forms\RichTextBoxTests.cs (1)
124Assert.Equal(new Size(100, 96), control.Size);
System\Windows\Forms\ScrollableControlTests.cs (1)
103Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ScrollBarTests.cs (2)
93Assert.Equal(Size.Empty, control.Size); 2600Assert.Equal(expected, control.Size);
System\Windows\Forms\SplitterTests.cs (1)
93Assert.Equal(new Size(3, 3), control.Size);
System\Windows\Forms\StatusStripTests.cs (1)
135Assert.Equal(new Size(200, 22), control.Size);
System\Windows\Forms\TabControlTests.cs (1)
100Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
114Assert.Equal(new Size(200, 100), control.Size);
System\Windows\Forms\TabPageTests.cs (22)
109Assert.Equal(new Size(200, 100), control.Size); 218Assert.Equal(new Size(200, 100), control.Size); 1901Assert.Equal(new Size(200, 100), control.Size); 1923Assert.Equal(new Size(200, 100), control.Size); 1991Assert.Equal(new Size(200, 100), control.Size); 2014Assert.Equal(new Size(200, 100), control.Size); 2092Assert.Equal(new Size(200, 100), control.Size); 2117Assert.Equal(new Size(200, 100), control.Size); 2216Assert.Equal(expected.Size, control.Size); 2246Assert.Equal(expected.Size, control.Size); 2430Assert.Equal(Size.Empty, control.Size); 2437Assert.Equal(Size.Empty, control.Size); 2461Assert.Equal(expectedSize, control.Size); 2468Assert.Equal(expectedSize, control.Size); 4348Assert.Equal(new Size(width, height), control.Size); 4369Assert.Equal(new Size(width, height), control.Size); 4485Assert.Equal(new Size(width, height), control.Size); 4507Assert.Equal(new Size(width, height), control.Size); 4640Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 4664Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 4818Assert.Equal(expected.Size, control.Size); 4848Assert.Equal(expected.Size, control.Size);
System\Windows\Forms\ToolStripContentPanelTests.cs (7)
108Assert.Equal(new Size(200, 100), control.Size); 942Assert.Equal(new Size(200, 100), control.Size); 964Assert.Equal(new Size(200, 100), control.Size); 1049Assert.Equal(Size.Empty, control.Size); 1056Assert.Equal(Size.Empty, control.Size); 1080Assert.Equal(expectedSize, control.Size); 1087Assert.Equal(expectedSize, control.Size);
System\Windows\Forms\ToolStripControlHostTests.cs (5)
75Assert.Equal(c.Size, item.DefaultSize); 112Assert.Equal(c.Size, item.Size); 656Assert.Equal(new Size(10, 20), c.Size); 4115Assert.Equal(Size.Empty, c.Size); 4118Assert.Equal(new Size(10, 20), c.Size);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
142Assert.Equal(new Size(2, 4), control.Size); 1968Assert.Equal(new Size(100, 25), control.Size); 1990Assert.Equal(new Size(100, 25), control.Size);
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
50Assert.Equal(new Rectangle(Point.Empty, toolStrip.Size), e.AffectedBounds);
System\Windows\Forms\ToolStripPanelTests.cs (1)
107Assert.Equal(Size.Empty, control.Size);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
28Assert.Equal(new Drawing.Size(10, 10), toolStrip.Size);
System\Windows\Forms\ToolStripTests.cs (2)
150Assert.Equal(new Size(100, 25), control.Size); 305Assert.Equal(new Size(100, 25), control.Size);
System\Windows\Forms\TreeViewTests.cs (1)
115Assert.Equal(new Size(121, 97), control.Size);
System\Windows\Forms\UpDownBaseTests.cs (7)
119Assert.Equal(new Size(120, control.PreferredHeight), control.Size); 1114Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 1121Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 1158Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 1165Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.Size); 2766Assert.Equal(new Size(width, preferredHeight), control.Size); 2798Assert.Equal(new Size(width, preferredHeight), control.Size);
System\Windows\Forms\UserControlTests.cs (1)
110Assert.Equal(new Size(150, 150), control.Size);
System\Windows\Forms\VScrollBarTests.cs (2)
103Assert.True(control.Size.Width > 0); 104Assert.True(control.Size.Height > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
86Assert.Equal(new Size(250, 250), control.Size);
TextBoxBaseTests.cs (6)
6539Assert.Equal(new Size(width, s_preferredHeight), control.Size); 6560Assert.Equal(new Size(width, s_preferredHeight), control.Size); 6673Assert.Equal(new Size(width, height), control.Size); 6694Assert.Equal(new Size(width, height), control.Size); 6789Assert.Equal(new Size(width, height), control.Size); 6810Assert.Equal(new Size(width, height), control.Size);
TextBoxTests.cs (1)
109Assert.Equal(new Size(100, control.PreferredHeight), control.Size);
TrackBarTests.cs (24)
96Assert.Equal(new Size(104, s_dimension), control.Size); 228Assert.Equal(new Size(104, s_dimension), control.Size); 237Assert.Equal(new Size(104, s_dimension), control.Size); 246Assert.Equal(new Size(104, s_dimension), control.Size); 266Assert.Equal(new Size(104, s_dimension), control.Size); 275Assert.Equal(new Size(104, s_dimension), control.Size); 284Assert.Equal(new Size(104, s_dimension), control.Size); 308Assert.Equal(new Size(104, s_dimension), control.Size); 320Assert.Equal(new Size(104, s_dimension), control.Size); 332Assert.Equal(new Size(104, s_dimension), control.Size); 362Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 374Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 386Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 865Assert.Equal(expected, control.Size); 1315Assert.Equal(expectedSize, control.Size); 1323Assert.Equal(expectedSize, control.Size); 1349Assert.Equal(expectedSize, control.Size); 1357Assert.Equal(expectedSize, control.Size); 1389Assert.Equal(expectedSize, control.Size); 1400Assert.Equal(expectedSize, control.Size); 1436Assert.Equal(expectedSize, control.Size); 1447Assert.Equal(expectedSize, control.Size); 2999Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 3020Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size);
WebBrowserBaseTests.cs (4)
78Assert.Equal(new Size(width, height), control.Size); 97Assert.Equal(new Size(width, height), control.Size); 194Assert.Equal(new Size(expectedWidth, expectedHeight), control.Size); 216Assert.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)
1010OnPropertyChanged("Size", this.Size);
System\Windows\Integration\WindowsFormsHost.cs (2)
283if ((Child.Size != targetSize) && ((finalSize != _priorConstraint) || scaled)) 288Size 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;