1026 writes to Size
Accessibility_Core_App (223)
CommonControl1.Designer.cs (48)
109
this.groupBox1.
Size
= new System.Drawing.Size(771, 380);
120
this.button12.
Size
= new System.Drawing.Size(130, 58);
131
this.button1.
Size
= new System.Drawing.Size(130, 58);
143
this.button10.
Size
= new System.Drawing.Size(130, 58);
153
this.button9.
Size
= new System.Drawing.Size(130, 58);
164
this.button8.
Size
= new System.Drawing.Size(130, 58);
175
this.button3.
Size
= new System.Drawing.Size(130, 58);
187
this.button4.
Size
= new System.Drawing.Size(156, 58);
199
this.button5.
Size
= new System.Drawing.Size(175, 63);
210
this.button2.
Size
= new System.Drawing.Size(156, 58);
221
this.button6.
Size
= new System.Drawing.Size(175, 58);
237
this.groupBox2.
Size
= new System.Drawing.Size(771, 269);
252
this.checkedListBox1.
Size
= new System.Drawing.Size(255, 148);
261
this.label7.
Size
= new System.Drawing.Size(180, 32);
271
this.checkBox3.
Size
= new System.Drawing.Size(160, 36);
283
this.checkBox2.
Size
= new System.Drawing.Size(168, 36);
296
this.checkBox1.
Size
= new System.Drawing.Size(138, 36);
311
this.groupBox3.
Size
= new System.Drawing.Size(600, 380);
329
this.comboBox2.
Size
= new System.Drawing.Size(257, 266);
338
this.label11.
Size
= new System.Drawing.Size(138, 32);
354
this.comboBox1.
Size
= new System.Drawing.Size(257, 40);
363
this.label10.
Size
= new System.Drawing.Size(180, 32);
375
this.groupBox4.
Size
= new System.Drawing.Size(598, 269);
390
this.listView1.
Size
= new System.Drawing.Size(257, 151);
400
this.label8.
Size
= new System.Drawing.Size(100, 32);
422
this.groupBox5.
Size
= new System.Drawing.Size(769, 271);
434
this.linkLabel6.
Size
= new System.Drawing.Size(44, 32);
446
this.linkLabel5.
Size
= new System.Drawing.Size(93, 32);
458
this.linkLabel4.
Size
= new System.Drawing.Size(70, 32);
470
this.linkLabel3.
Size
= new System.Drawing.Size(54, 32);
482
this.label6.
Size
= new System.Drawing.Size(93, 32);
493
this.label5.
Size
= new System.Drawing.Size(54, 32);
504
this.label4.
Size
= new System.Drawing.Size(70, 32);
515
this.label3.
Size
= new System.Drawing.Size(44, 32);
524
this.linkLabel2.
Size
= new System.Drawing.Size(217, 58);
535
this.linkLabel1.
Size
= new System.Drawing.Size(154, 32);
545
this.label2.
Size
= new System.Drawing.Size(217, 58);
555
this.label1.
Size
= new System.Drawing.Size(154, 32);
567
this.groupBox6.
Size
= new System.Drawing.Size(598, 271);
584
this.listBox1.
Size
= new System.Drawing.Size(255, 164);
593
this.label12.
Size
= new System.Drawing.Size(83, 32);
605
this.groupBox7.
Size
= new System.Drawing.Size(735, 277);
615
this.maskedTextBox1.
Size
= new System.Drawing.Size(212, 39);
624
this.label9.
Size
= new System.Drawing.Size(171, 32);
637
this.groupBox8.
Size
= new System.Drawing.Size(570, 277);
648
this.dateTimePicker3.
Size
= new System.Drawing.Size(429, 39);
659
this.dateTimePicker2.
Size
= new System.Drawing.Size(429, 39);
674
this.dateTimePicker1.
Size
= new System.Drawing.Size(457, 39);
CommonControl2.Designer.cs (16)
72
this.label3.
Size
= new System.Drawing.Size(64, 15);
82
this.pictureBox1.
Size
= new System.Drawing.Size(231, 141);
93
this.label4.
Size
= new System.Drawing.Size(81, 15);
103
this.progressBar1.
Size
= new System.Drawing.Size(223, 27);
114
this.radioButton1.
Size
= new System.Drawing.Size(94, 19);
126
this.label5.
Size
= new System.Drawing.Size(71, 15);
136
this.richTextBox1.
Size
= new System.Drawing.Size(130, 104);
146
this.label6.
Size
= new System.Drawing.Size(48, 15);
160
this.textBox1.
Size
= new System.Drawing.Size(116, 23);
169
this.label7.
Size
= new System.Drawing.Size(53, 15);
197
this.treeView1.
Size
= new System.Drawing.Size(220, 104);
206
this.label8.
Size
= new System.Drawing.Size(73, 15);
217
this.webBrowser1.
Size
= new System.Drawing.Size(512, 242);
227
this.label1.
Size
= new System.Drawing.Size(90, 15);
244
this.label2.
Size
= new System.Drawing.Size(102, 15);
253
this.numericUpDown1.
Size
= new System.Drawing.Size(140, 23);
ContainerControls.Designer.cs (63)
131
this.flowLayoutPanel2.
Size
= new System.Drawing.Size(186, 106);
139
this.button2.
Size
= new System.Drawing.Size(88, 27);
149
this.button5.
Size
= new System.Drawing.Size(88, 27);
159
this.button6.
Size
= new System.Drawing.Size(88, 27);
170
this.label2.
Size
= new System.Drawing.Size(203, 15);
180
this.label3.
Size
= new System.Drawing.Size(97, 15);
190
this.label4.
Size
= new System.Drawing.Size(60, 15);
201
this.groupBox1.
Size
= new System.Drawing.Size(130, 69);
211
this.button7.
Size
= new System.Drawing.Size(88, 27);
224
this.groupBox2.
Size
= new System.Drawing.Size(130, 69);
234
this.button8.
Size
= new System.Drawing.Size(88, 27);
247
this.groupBox3.
Size
= new System.Drawing.Size(130, 69);
257
this.button9.
Size
= new System.Drawing.Size(88, 27);
270
this.groupBox4.
Size
= new System.Drawing.Size(130, 69);
280
this.button10.
Size
= new System.Drawing.Size(88, 27);
291
this.label6.
Size
= new System.Drawing.Size(186, 15);
301
this.label7.
Size
= new System.Drawing.Size(172, 15);
310
this.radioButton6.
Size
= new System.Drawing.Size(15, 17);
320
this.radioButton5.
Size
= new System.Drawing.Size(14, 17);
330
this.radioButton4.
Size
= new System.Drawing.Size(14, 17);
342
this.checkBox2.
Size
= new System.Drawing.Size(80, 17);
353
this.radioButton3.
Size
= new System.Drawing.Size(15, 17);
364
this.radioButton2.
Size
= new System.Drawing.Size(14, 17);
373
this.button18.
Size
= new System.Drawing.Size(75, 23);
382
this.button17.
Size
= new System.Drawing.Size(75, 23);
392
this.radioButton1.
Size
= new System.Drawing.Size(14, 17);
402
this.checkBox1.
Size
= new System.Drawing.Size(80, 17);
413
this.label10.
Size
= new System.Drawing.Size(70, 15);
425
this.tabControl5.
Size
= new System.Drawing.Size(219, 138);
435
this.tabPage9.
Size
= new System.Drawing.Size(211, 110);
445
this.button19.
Size
= new System.Drawing.Size(88, 27);
457
this.tabPage10.
Size
= new System.Drawing.Size(211, 110);
471
this.tabControl6.
Size
= new System.Drawing.Size(203, 104);
481
this.tabPage11.
Size
= new System.Drawing.Size(195, 76);
491
this.button20.
Size
= new System.Drawing.Size(88, 27);
503
this.tabPage12.
Size
= new System.Drawing.Size(195, 76);
513
this.button21.
Size
= new System.Drawing.Size(88, 27);
529
this.flowLayoutPanel1.
Size
= new System.Drawing.Size(203, 102);
537
this.button4.
Size
= new System.Drawing.Size(88, 27);
547
this.button1.
Size
= new System.Drawing.Size(88, 27);
557
this.button3.
Size
= new System.Drawing.Size(88, 27);
568
this.label1.
Size
= new System.Drawing.Size(217, 15);
579
this.panel2.
Size
= new System.Drawing.Size(204, 144);
590
this.tabControl2.
Size
= new System.Drawing.Size(172, 122);
599
this.tabPage1.
Size
= new System.Drawing.Size(164, 94);
611
this.tabPage2.
Size
= new System.Drawing.Size(164, 94);
621
this.button12.
Size
= new System.Drawing.Size(88, 27);
632
this.label5.
Size
= new System.Drawing.Size(36, 15);
644
this.panel1.
Size
= new System.Drawing.Size(192, 128);
655
this.tabControl1.
Size
= new System.Drawing.Size(156, 102);
665
this.tabPage3.
Size
= new System.Drawing.Size(148, 74);
675
this.button11.
Size
= new System.Drawing.Size(88, 27);
687
this.tabPage4.
Size
= new System.Drawing.Size(148, 74);
697
this.button13.
Size
= new System.Drawing.Size(88, 27);
712
this.flowLayoutPanel3.
Size
= new System.Drawing.Size(180, 98);
720
this.button14.
Size
= new System.Drawing.Size(88, 27);
730
this.button22.
Size
= new System.Drawing.Size(88, 27);
740
this.button23.
Size
= new System.Drawing.Size(88, 27);
751
this.panel3.
Size
= new System.Drawing.Size(211, 136);
762
this.tabControl3.
Size
= new System.Drawing.Size(187, 118);
771
this.tabPage5.
Size
= new System.Drawing.Size(179, 90);
783
this.tabPage6.
Size
= new System.Drawing.Size(179, 90);
793
this.button24.
Size
= new System.Drawing.Size(88, 27);
ContainerControls2.Designer.cs (30)
78
this.label8.
Size
= new System.Drawing.Size(295, 15);
100
this.splitContainer1.
Size
= new System.Drawing.Size(273, 142);
110
this.button15.
Size
= new System.Drawing.Size(74, 27);
120
this.button16.
Size
= new System.Drawing.Size(88, 27);
131
this.label9.
Size
= new System.Drawing.Size(199, 15);
153
this.tableLayoutPanel1.
Size
= new System.Drawing.Size(259, 103);
161
this.radioButton6.
Size
= new System.Drawing.Size(15, 17);
171
this.radioButton5.
Size
= new System.Drawing.Size(14, 17);
181
this.radioButton4.
Size
= new System.Drawing.Size(14, 17);
193
this.checkBox2.
Size
= new System.Drawing.Size(80, 17);
204
this.radioButton3.
Size
= new System.Drawing.Size(15, 17);
215
this.radioButton2.
Size
= new System.Drawing.Size(14, 17);
224
this.button18.
Size
= new System.Drawing.Size(75, 23);
233
this.button17.
Size
= new System.Drawing.Size(75, 23);
243
this.radioButton1.
Size
= new System.Drawing.Size(14, 17);
253
this.checkBox1.
Size
= new System.Drawing.Size(80, 17);
264
this.label13.
Size
= new System.Drawing.Size(218, 15);
274
this.flowLayoutPanel4.
Size
= new System.Drawing.Size(153, 84);
283
this.label14.
Size
= new System.Drawing.Size(210, 15);
295
this.groupBox5.
Size
= new System.Drawing.Size(153, 88);
306
this.label15.
Size
= new System.Drawing.Size(186, 15);
316
this.panel4.
Size
= new System.Drawing.Size(164, 103);
325
this.label16.
Size
= new System.Drawing.Size(337, 15);
342
this.splitContainer2.
Size
= new System.Drawing.Size(262, 90);
353
this.label17.
Size
= new System.Drawing.Size(350, 15);
365
this.tabControl4.
Size
= new System.Drawing.Size(262, 88);
375
this.tabPage7.
Size
= new System.Drawing.Size(254, 60);
386
this.tabPage8.
Size
= new System.Drawing.Size(254, 60);
396
this.label18.
Size
= new System.Drawing.Size(211, 15);
412
this.tableLayoutPanel2.
Size
= new System.Drawing.Size(258, 103);
DataBindingExample.Designer.cs (19)
59
this.comboBox1.
Size
= new System.Drawing.Size(121, 23);
70
this.dataGridView1.
Size
= new System.Drawing.Size(240, 150);
82
this.label1.
Size
= new System.Drawing.Size(109, 15);
92
this.textBox1.
Size
= new System.Drawing.Size(142, 23);
102
this.button1.
Size
= new System.Drawing.Size(75, 23);
124
this.panel1.
Size
= new System.Drawing.Size(479, 198);
134
this.radioButton1.
Size
= new System.Drawing.Size(84, 19);
146
this.numericUpDown1.
Size
= new System.Drawing.Size(120, 23);
155
this.domainUpDown1.
Size
= new System.Drawing.Size(120, 23);
165
this.richTextBox1.
Size
= new System.Drawing.Size(151, 85);
177
this.checkBox1.
Size
= new System.Drawing.Size(80, 19);
188
this.maskedTextBox1.
Size
= new System.Drawing.Size(142, 23);
199
this.linkLabel1.
Size
= new System.Drawing.Size(84, 15);
211
this.label2.
Size
= new System.Drawing.Size(53, 15);
221
this.treeView1.
Size
= new System.Drawing.Size(129, 101);
231
this.label3.
Size
= new System.Drawing.Size(50, 15);
242
this.listView1.
Size
= new System.Drawing.Size(203, 97);
254
this.label4.
Size
= new System.Drawing.Size(45, 15);
266
this.listBox1.
Size
= new System.Drawing.Size(120, 94);
DataControls.Designer.cs (3)
105
this.bindingNavigator1.
Size
= new System.Drawing.Size(868, 28);
279
this.dataGridView1.
Size
= new System.Drawing.Size(844, 115);
343
this.dataGridView2.
Size
= new System.Drawing.Size(408, 258);
DialogControls.Designer.cs (4)
41
this.ColorDialog.
Size
= new System.Drawing.Size(88, 27);
52
this.FolderBrowserDialog.
Size
= new System.Drawing.Size(153, 27);
63
this.OpenFileDialog.
Size
= new System.Drawing.Size(108, 27);
74
this.SaveFileDialog.
Size
= new System.Drawing.Size(114, 27);
Main.Designer.cs (11)
50
this.button1.
Size
= new System.Drawing.Size(531, 27);
61
this.button2.
Size
= new System.Drawing.Size(531, 27);
72
this.button3.
Size
= new System.Drawing.Size(531, 27);
83
this.button4.
Size
= new System.Drawing.Size(531, 27);
94
this.button5.
Size
= new System.Drawing.Size(531, 27);
105
this.button6.
Size
= new System.Drawing.Size(531, 27);
116
this.button7.
Size
= new System.Drawing.Size(531, 27);
127
this.button8.
Size
= new System.Drawing.Size(531, 27);
138
this.button9.
Size
= new System.Drawing.Size(531, 27);
148
this.button10.
Size
= new System.Drawing.Size(530, 27);
158
this.button12.
Size
= new System.Drawing.Size(530, 23);
Menu_Toolbars_controls.Designer.cs (4)
115
menuStrip1.
Size
= new Size(1287, 34);
125
contextMenuStrip1.
Size
= new Size(147, 52);
426
statusStrip1.
Size
= new Size(1287, 29);
507
toolStrip1.
Size
= new Size(1287, 31);
MenuForm.Designer.cs (2)
40
this.button1.
Size
= new System.Drawing.Size(88, 27);
51
this.button2.
Size
= new System.Drawing.Size(122, 27);
PrintingControls.Designer.cs (8)
76
this.label1.
Size
= new System.Drawing.Size(165, 15);
85
this.txtPrint.
Size
= new System.Drawing.Size(213, 23);
94
this.btnSetting.
Size
= new System.Drawing.Size(88, 27);
105
this.btnPreView.
Size
= new System.Drawing.Size(88, 27);
116
this.btnPrint.
Size
= new System.Drawing.Size(88, 27);
127
this.button1.
Size
= new System.Drawing.Size(104, 27);
139
this.label2.
Size
= new System.Drawing.Size(91, 15);
152
this.printPreviewControl1.
Size
= new System.Drawing.Size(387, 408);
RemainingControls.Designer.cs (8)
48
this.hScrollBar1.
Size
= new System.Drawing.Size(593, 17);
57
this.vScrollBar1.
Size
= new System.Drawing.Size(17, 406);
66
this.propertyGrid1.
Size
= new System.Drawing.Size(266, 282);
74
this.propertyGrid2.
Size
= new System.Drawing.Size(260, 282);
83
this.label1.
Size
= new System.Drawing.Size(156, 15);
92
this.domainUpDown1.
Size
= new System.Drawing.Size(140, 23);
102
this.label2.
Size
= new System.Drawing.Size(37, 15);
111
this.trackBar1.
Size
= new System.Drawing.Size(121, 45);
ToolStripContainer.Designer.cs (7)
105
this.toolStripContainer2.ContentPanel.
Size
= new System.Drawing.Size(486, 239);
109
this.toolStripContainer2.
Size
= new System.Drawing.Size(486, 263);
139
this.toolStrip1.
Size
= new System.Drawing.Size(486, 39);
148
this.contextMenuStrip1.
Size
= new System.Drawing.Size(61, 4);
283
this.statusStrip1.
Size
= new System.Drawing.Size(486, 38);
341
this.menuStrip1.
Size
= new System.Drawing.Size(486, 24);
584
this.button1.
Size
= new System.Drawing.Size(88, 27);
DesignSurface (13)
MainForm.cs (1)
437
Size
= new Size(226, 502),
MainForm.Designer.cs (9)
80
this.splitContainer.
Size
= new System.Drawing.Size(824, 502);
97
this.tabControl1.
Size
= new System.Drawing.Size(593, 502);
105
this.tabPage1.
Size
= new System.Drawing.Size(585, 473);
115
this.tabPage2.
Size
= new System.Drawing.Size(585, 473);
125
this.tabPage3.
Size
= new System.Drawing.Size(585, 473);
135
this.tabPage4.
Size
= new System.Drawing.Size(585, 473);
145
this.tabPage5.
Size
= new System.Drawing.Size(585, 473);
155
this.tabPage6.
Size
= new System.Drawing.Size(585, 473);
170
this.menuStrip1.
Size
= new System.Drawing.Size(824, 28);
MainForm.MyUserControl.cs (3)
29
Size
= new(30, 30)
36
Size
= new(30, 30)
43
Size
= new(30, 30)
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
40
this.button1.
Size
= new System.Drawing.Size(75, 23);
PresentationUI (135)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (50)
133
this.tableLayoutPanel3.
Size
= new System.Drawing.Size(362, 437);
143
this._tabControl.
Size
= new System.Drawing.Size(436, 535);
155
this._summaryTab.
Size
= new System.Drawing.Size(324, 355);
205
this.tableLayoutPanel1.
Size
= new System.Drawing.Size(324, 297);
213
this._language.
Size
= new System.Drawing.Size(335, 13);
223
this._title.
Size
= new System.Drawing.Size(335, 13);
232
this._titleLabel.
Size
= new System.Drawing.Size(27, 13);
240
this._identifier.
Size
= new System.Drawing.Size(335, 13);
249
this._versionLabel.
Size
= new System.Drawing.Size(42, 13);
257
this._authorLabel.
Size
= new System.Drawing.Size(38, 13);
265
this._statusLabel.
Size
= new System.Drawing.Size(37, 13);
273
this._contentLabel.
Size
= new System.Drawing.Size(44, 13);
281
this._languageLabel.
Size
= new System.Drawing.Size(55, 13);
289
this._subjectLabel.
Size
= new System.Drawing.Size(43, 13);
297
this._version.
Size
= new System.Drawing.Size(335, 13);
306
this._categoryLabel.
Size
= new System.Drawing.Size(49, 13);
314
this._category.
Size
= new System.Drawing.Size(335, 13);
323
this._status.
Size
= new System.Drawing.Size(335, 13);
332
this._content.
Size
= new System.Drawing.Size(335, 13);
341
this._keywordsLabel.
Size
= new System.Drawing.Size(53, 13);
350
this._author.
Size
= new System.Drawing.Size(335, 13);
359
this._subject.
Size
= new System.Drawing.Size(335, 13);
369
this._description.
Size
= new System.Drawing.Size(335, 101);
380
this._keywords.
Size
= new System.Drawing.Size(335, 28);
391
this._identifierLabel.
Size
= new System.Drawing.Size(47, 13);
400
this._descriptionLabel.
Size
= new System.Drawing.Size(60, 13);
426
this._infoTab.
Size
= new System.Drawing.Size(348, 379);
445
this.tableLayoutPanel2.
Size
= new System.Drawing.Size(314, 355);
477
this._size.
Size
= new System.Drawing.Size(270, 28);
485
this._iconPictureBox.
Size
= new System.Drawing.Size(40, 40);
495
this._filename.
Size
= new System.Drawing.Size(340, 13);
505
this._documentType.
Size
= new System.Drawing.Size(340, 13);
515
this._sizeLabel.
Size
= new System.Drawing.Size(40, 13);
526
this._documentDetailBox.
Size
= new System.Drawing.Size(305, 127);
563
this._documentPrintedDate.
Size
= new System.Drawing.Size(282, 13);
572
this._documentModifiedDate.
Size
= new System.Drawing.Size(282, 13);
581
this._documentCreatedDate.
Size
= new System.Drawing.Size(282, 13);
590
this._revision.
Size
= new System.Drawing.Size(282, 13);
599
this._documentPrintedLabel.
Size
= new System.Drawing.Size(43, 13);
607
this._documentModifiedLabel.
Size
= new System.Drawing.Size(50, 13);
615
this._documentCreatedLabel.
Size
= new System.Drawing.Size(47, 13);
623
this._revisionLabel.
Size
= new System.Drawing.Size(51, 13);
631
this._lastSavedLabel.
Size
= new System.Drawing.Size(79, 13);
639
this._lastSaved.
Size
= new System.Drawing.Size(282, 13);
679
this._fileModifiedDate.
Size
= new System.Drawing.Size(282, 13);
688
this._fileAccessedDate.
Size
= new System.Drawing.Size(282, 13);
697
this._fileCreatedLabel.
Size
= new System.Drawing.Size(47, 13);
705
this._fileModifiedLabel.
Size
= new System.Drawing.Size(50, 13);
713
this._fileCreatedDate.
Size
= new System.Drawing.Size(282, 13);
722
this._fileAccessedLabel.
Size
= new System.Drawing.Size(57, 13);
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (3)
69
this._mainDialogTableLayoutPanel.
Size
= new System.Drawing.Size(398, 157);
144
this._credListBox.
Size
= new System.Drawing.Size(299, 82);
154
this._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)
69
this._flowLayoutPanel1.
Size
= new System.Drawing.Size(548, 43);
101
this._flowLayoutPanel2.
Size
= new System.Drawing.Size(548, 326);
110
this._label1.
Size
= new System.Drawing.Size(322, 13);
122
this._flowLayoutPanel3.
Size
= new System.Drawing.Size(528, 38);
131
this._pictureBox1.
Size
= new System.Drawing.Size(16, 16);
142
this._label2.
Size
= new System.Drawing.Size(490, 26);
164
this._tableLayoutPanel1.
Size
= new System.Drawing.Size(488, 234);
173
this._networkRadioButton.
Size
= new System.Drawing.Size(126, 17);
184
this._pictureBox2.
Size
= new System.Drawing.Size(100, 50);
193
this._passportRadioButton.
Size
= new System.Drawing.Size(132, 17);
203
this._pictureBox4.
Size
= new System.Drawing.Size(100, 50);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (6)
60
this.tableLayoutPanel1.
Size
= new System.Drawing.Size(419, 218);
70
this.flowLayoutPanel2.
Size
= new System.Drawing.Size(413, 27);
79
this.label2.
Size
= new System.Drawing.Size(245, 13);
95
this.tableLayoutPanel2.
Size
= new System.Drawing.Size(413, 135);
105
this.label3.
Size
= new System.Drawing.Size(115, 13);
114
this.progressBar1.
Size
= new System.Drawing.Size(100, 14);
MS\Internal\Documents\RMPublishingDialog.cs (3)
935
buttonPeoplePicker.
Size
= imageButtonSize;
936
buttonEveryone.
Size
= imageButtonSize;
937
buttonRemoveUser.
Size
= imageButtonSize;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (12)
93
this.radioButtonUnrestricted.
Size
= new System.Drawing.Size(85, 17);
102
this.radioButtonPermissions.
Size
= new System.Drawing.Size(85, 17);
111
this.radioButtonTemplate.
Size
= new System.Drawing.Size(85, 17);
124
this.groupBoxMainContent.
Size
= new System.Drawing.Size(650, 270);
165
this.textBoxUnrestrictedText.
Size
= new System.Drawing.Size(625, 230);
181
this.comboBoxTemplates.
Size
= new System.Drawing.Size(350, 21);
242
this.rightsTable.
Size
= new System.Drawing.Size(635, 150);
268
this.textBoxPermissionsContact.
Size
= new System.Drawing.Size(612, 20);
307
this.flowLayoutPanelActions.
Size
= new System.Drawing.Size(541, 29);
316
this.buttonCancel.
Size
= new System.Drawing.Size(75, 23);
323
this.buttonSave.
Size
= new System.Drawing.Size(75, 23);
330
this.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)
412
Size
= new Size(width, height);
9081
Size
= DefaultSize;
10106
Size
= SizeFromClientSizeInternal(new(x, y));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
3772
DataGridView.EditingControl.
Size
= new Size(editingControlBounds.Width, editingControlBounds.Height);
3858
DataGridView.EditingPanel.
Size
= new Size(wEditingPanel, hEditingPanel);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
799
DataGridView.EditingControl.
Size
= new Size(editingControlBounds.Width, editingControlBounds.Height);
System\Windows\Forms\Controls\Labels\Label.cs (1)
840
Size
= preferredSize;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
604
Size
= new Size(oldSize.Width + 1, oldSize.Height);
605
Size
= oldSize;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
825
set => base.
Size
= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
964
Size
= PreferredSize;
968
Size
= _savedSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (9)
130
Size
= new(208, 43),
138
Size
= new(64, 64),
151
Size
= new(100, 23),
163
Size
= new(75, 23),
176
Size
= new(75, 23),
190
Size
= new(290, 29),
213
Size
= new(284, 73),
230
Size
= new(290, 108),
255
Size
= new(273, 100),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
54
Size
= new(LogicalToDeviceUnits(LogicalDefaultWidth), LogicalToDeviceUnits(LogicalDefaultHeight));
70
Size
= 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);
5151
DialogButton.
Size
= DropDownButton.Size;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1521
Size
= new Size(size.Width + 1, size.Height);
1522
Size
= size;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
883
Size
= size;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
640
controlArray[i].
Size
= controlArray[i].PreferredSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
240
Size
= new Size(100, 15)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
182
toolStrip.
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)
1831
set => base.
Size
= value;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
224
set => base.
Size
= value;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (2)
44
Size
= new Size(240, 64),
54
Size
= new Size(75, 23),
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
60
Size
= 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)
442
Size
= new Size(
562
Size
= new Size(
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (3)
22
Size
= _monthCalendar.SingleMonthSize;
59
Size
= _monthCalendar.SingleMonthSize;
71
Size
= _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)
46
CurrentPanel.
Size
= panelSize;
157
Size
= panel.Size;
172
Size
= ctrl.Size;
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
72
Size
= new Size(
System\Drawing\Design\ColorEditor.ColorUI.cs (2)
89
Size
= new Size(size.Width + 2 * CMARGIN, size.Height + 2 * CMARGIN + rectItemSize.Height);
90
_tabControl.
Size
= Size;
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (10)
221
Size
= 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)
35
Size
= 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)
28
Size
= _typesListBox.Size;
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
343
Size
= _initialSize;
456
Size
= 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)
409
explanationLabel.
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)
239
Control.
Size
= value;
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
54
Size
= new Drawing.Size(100, 52);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
232
Size
= new Size(Size.Width + _resetButton.Size.Width - resetButtonSize.Width, Size.Height);
System\Windows\Forms\Design\ToolStripEditorManager.cs (1)
142
private void UpdateSize() =>
Size
= new Size(_wrappedEditor.Size.Width, _wrappedEditor.Size.Height);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
20
control.
Size
= new Size(0, 120);
System.Windows.Forms.Tests (258)
System\Windows\Forms\AccessibleObjects\CheckedListBoxAccessibleObjectTests.cs (1)
16
checkedListBox.
Size
= new Size(120, 100);
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (7)
253
comboBox.
Size
= new Size(100, 132);
305
comboBox.
Size
= new Size(100, 132);
392
comboBox.
Size
= new Size(100, 132);
396
comboBox.
Size
= new Size(100, comboBox.Size.Height);
454
comboBox.
Size
= new Size(100, 400);
458
comboBox.
Size
= new Size(100, comboBox.Size.Height);
687
comboBox.
Size
= new Size(100, 50);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (3)
1493
using ToolStrip toolStrip = new() {
Size
= new Drawing.Size(1000, 25) };
1527
using ToolStrip toolStrip = new() {
Size
= new Drawing.Size(1000, 25) };
1565
using ToolStrip toolStrip = new() {
Size
= new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (3)
147
dataGridView.
Size
= new Size(500, 300);
170
dataGridView.
Size
= new Size(500, 300);
324
dataGridView.
Size
= new Size(200, 100);
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
279
Size
= new Size(200, 50)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
343
Size
= new Size(500, 50)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
379
Size
= new Size(200, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
351
Size
= new Size(500, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
366
Size
= new Size(200, 50),
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
271
Size
= new Size(200, 50),
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
1189
listView.
Size
= new Size(200, 200);
1215
listView.
Size
= new Size(200, 200);
1749
Size
= new Size(expectedWidth, 150)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (8)
138
Size
= new Size(200, 200)
208
Size
= new Size(200, 200)
371
Size
= new Size(200, 200)
466
Size
= new Size(200, 200)
502
Size
= new Size(200, 200)
584
Size
= new Size(200, 200)
1259
Size
= new Size(200, 200)
1426
Size
= new Size(200, 200)
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
156
Size
= new Size(300, 200),
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
926
menuStrip.
Size
= size.Value;
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (2)
266
panel1.
Size
= new(200, 140);
269
button1.
Size
= new(237, 153);
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (2)
127
propertyGrid.
Size
= new Size(300, 500);
235
propertyGrid.
Size
= new Size(300, 500);
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
907
statusStrip.
Size
= size.Value;
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
533
tabControl.
Size
= new(151, 104);
536
button.
Size
= new(198, 86);
541
tabPage.
Size
= new(143, 76);
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
105
using TextBoxBase textBoxBase = new SubTextBoxBase {
Size
= new Size(width, height) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
967
toolStrip.
Size
= size.Value;
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (3)
242
using ToolStrip toolStrip = new() { AutoSize = false,
Size
= new(300, 30) };
283
using ToolStrip toolStrip = new() { AutoSize = false,
Size
= new(300, 30) };
310
using ToolStrip toolStrip = new() { AutoSize = false,
Size
= new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
201
Size
= new(20, 30),
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (2)
82
using ToolStrip toolStrip = new() { AutoSize = false,
Size
= new(30, 30) };
107
using ToolStrip toolStrip = new() { AutoSize = false,
Size
= new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (1)
119
using ToolStrip toolStrip = new() {
Size
= new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (3)
229
using TreeView control = new() {
Size
= new Size(300, 100) };
243
using TreeView control = new() {
Size
= new Size(300, 100) };
258
using TreeView control = new() {
Size
= new Size(300, 100) };
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (1)
155
Size
= new Size(300, 200),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
327
Size
= new Size(500, 50)
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
363
Size
= new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
335
Size
= new Size(500, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
350
Size
= new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
271
Size
= new Size(200, 50),
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
269
Size
= new Size(500, 50)
System\Windows\Forms\ButtonTests.cs (2)
1302
Size
= new Size(14, 9),
1598
Size
= new Size(6, 6),
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (2)
107
comboBox.
Size
= new Size(expectedWidth, 150);
111
comboBox.
Size
= new Size(expectedWidth, comboBox.Size.Height);
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (22)
283
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(width, height) };
307
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(width, height) };
345
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(width, height) };
368
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(width, height) };
434
using ComboBox comboBox = new() {
Size
= size, DropDownStyle = dropdownStyle };
463
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
500
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
540
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
574
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
592
using ComboBox comboBox = new ComboBox() { DropDownStyle = dropDownStyle,
Size
= new Size(250, 100) };
779
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
821
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
847
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
867
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= size };
1041
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
1062
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
1079
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
1098
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
1111
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
1125
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
1149
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(width, height) };
1170
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(50, 100) };
System\Windows\Forms\ComboBoxTests.cs (1)
2155
using ComboBox comboBox = new() { DropDownStyle = dropDownStyle,
Size
= new(100, 50) };
System\Windows\Forms\ControlTests.cs (4)
1045
checkedListBox1.
Size
= new Size(103, 64);
1048
button1.
Size
= new Size(213, 20);
1052
listBox1.
Size
= new Size(101, 69);
1056
listView1.
Size
= new Size(121, 64);
System\Windows\Forms\ControlTests.Methods.cs (22)
3025
Size
= new Size(10, 20)
3061
Size
= new Size(10, 20)
3065
Size
= new Size(10, 20)
3140
Size
= new Size(10, 20)
3179
Size
= new Size(10, 20)
3183
Size
= new Size(10, 20)
3278
Size
= new Size(10, 20)
3314
Size
= new Size(10, 20)
3318
Size
= new Size(10, 20)
3419
Size
= new Size(10, 20)
3455
Size
= new Size(10, 20)
3459
Size
= new Size(10, 20)
3556
Size
= new Size(10, 20)
3592
Size
= new Size(10, 20)
3596
Size
= new Size(10, 20)
3699
Size
= new Size(10, 20)
3735
Size
= new Size(10, 20)
3739
Size
= new Size(10, 20)
12529
Size
= size
12571
Size
= size
12593
Size
= size
12643
Size
= size
System\Windows\Forms\ControlTests.Properties.cs (26)
7999
Size
= size
8056
Size
= size
8273
Size
= size
8637
Size
= size
8700
Size
= size
8995
Size
= size
9840
Size
= new Size(16, 20)
9858
Size
= new Size(16, 20)
11111
control.
Size
= value;
11130
control.
Size
= value;
11222
control.
Size
= value;
11241
control.
Size
= value;
11317
control.
Size
= value;
11336
control.
Size
= value;
11432
control.
Size
= value;
11452
control.
Size
= value;
11549
control.
Size
= value;
11571
control.
Size
= value;
11691
control.
Size
= value;
11718
control.
Size
= value;
11757
control.
Size
= new Size(1, 0);
11761
control.
Size
= new Size(0, 1);
11765
control.
Size
= new Size(1, 2);
11781
control.
Size
= new Size(1, 0);
11785
control.
Size
= new Size(0, 1);
11789
control.
Size
= new Size(1, 2);
System\Windows\Forms\DataGridViewCellTests.cs (1)
4780
Size
= new Size(600, 200)
System\Windows\Forms\ErrorProviderTests.cs (2)
1154
control.
Size
= new Size(2, 3);
1186
control.
Size
= new Size(4, 5);
System\Windows\Forms\GroupBoxTests.cs (3)
927
Size
= new Size(16, 20)
1855
Size
= size,
1893
Size
= size,
System\Windows\Forms\LabelTests.cs (1)
292
Size
= new(10, 10),
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
43
Size
= new Size(10, 20)
48
Size
= new Size(10, 20)
53
Size
= new Size(100, 200)
57
Size
= Size.Empty
62
Size
= Size.Empty
67
Size
= new Size(50, 100)
72
Size
= new Size(10, 20)
104
Size
= new Size(10, 20)
109
Size
= new Size(10, 20)
114
Size
= new Size(100, 200)
118
Size
= Size.Empty
123
Size
= Size.Empty
128
Size
= new Size(50, 100)
133
Size
= new Size(10, 20)
165
Size
= new Size(10, 20)
170
Size
= new Size(10, 20)
175
Size
= new Size(100, 200)
179
Size
= Size.Empty
184
Size
= Size.Empty
189
Size
= new Size(50, 100)
194
Size
= new Size(10, 20)
226
Size
= new Size(10, 20)
231
Size
= new Size(10, 20)
236
Size
= new Size(100, 200)
240
Size
= Size.Empty
245
Size
= Size.Empty
250
Size
= new Size(50, 100)
255
Size
= new Size(10, 20)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
818
Size
= size ?? new Size(50, 50),
System\Windows\Forms\ListViewTests.cs (7)
5036
listView.
Size
= new Size(200, 200);
5092
listView.
Size
= new Size(200, 200);
5143
Size
= new Size(300, 200),
5170
Size
= new Size(300, 200),
5195
Size
= new Size(300, 200),
5218
Size
= new Size(300, 200),
5423
Size
= new Size(300, 200),
System\Windows\Forms\MdiClientTests.cs (16)
536
control.
Size
= value;
555
control.
Size
= value;
638
control.
Size
= value;
660
control.
Size
= value;
772
control.
Size
= value;
799
control.
Size
= value;
924
control.
Size
= value;
951
control.
Size
= value;
1086
control.
Size
= value;
1113
control.
Size
= value;
1152
control.
Size
= new Size(1, 0);
1156
control.
Size
= new Size(0, 1);
1160
control.
Size
= new Size(1, 2);
1176
control.
Size
= new Size(1, 0);
1180
control.
Size
= new Size(0, 1);
1184
control.
Size
= new Size(1, 2);
System\Windows\Forms\PanelTests.cs (2)
614
Size
= new Size(16, 20)
629
Size
= new Size(16, 20)
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
186
Size
= new(100, 100);
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.Rendering.cs (1)
19
Size
= new(300, 200),
System\Windows\Forms\ScrollBarTests.cs (3)
2592
Size
= controlSize
3113
vScrollBar.
Size
= new(50, 200);
3132
hScrollBar.
Size
= new(200, 50);
System\Windows\Forms\StatusStripTests.cs (2)
665
Size
= new Size(210, 32)
692
Size
= new Size(190, 12)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
20
Size
= new Size(200, 38)
System\Windows\Forms\TabPageTests.cs (2)
2423
Size
= Size.Empty
2448
Size
= Size.Empty
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (22)
164
using TextBoxBase textBoxBase = new SubTextBoxBase {
Size
= new Size(width, height) };
190
textBoxBase.
Size
= new Size(50, 100);
216
textBoxBase.
Size
= new Size(30, 100);
232
textBoxBase.
Size
= new Size(30, 50);
258
textBoxBase.
Size
= new Size(30, 50);
279
using SubTextBoxBase textBoxBase = new() {
Size
= size, Multiline = multiline };
295
Size
= size,
323
Size
= size,
343
Size
= size,
400
using SubTextBoxBase textBoxBase = new() {
Size
= size, Text = text, Multiline = multiline };
416
using SubTextBoxBase textBoxBase = new() {
Size
= size, Text = text, Multiline = multiline };
446
using SubTextBoxBase textBoxBase = new() {
Size
= size, Text = text, Multiline = multiline };
460
using SubTextBoxBase textBoxBase = new() {
Size
= size, Text = text, Multiline = multiline };
491
using SubTextBoxBase textBoxBase = new() {
Size
= size, Multiline = multiline };
506
using SubTextBoxBase textBoxBase = new() {
Size
= size, Multiline = multiline };
626
Size
= size
674
Size
= size,
697
using SubTextBoxBase textBoxBase = new() {
Size
= size };
722
Size
= size
740
Size
= size
890
Size
= new Size(50, 100)
908
Size
= new Size(50, 100)
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1042
Size
= Size.Empty
1067
Size
= Size.Empty
System\Windows\Forms\ToolStripControlHostTests.cs (2)
655
c.
Size
= new Size(10, 20);
4117
c.
Size
= new Size(10, 20);
System\Windows\Forms\ToolStripItemTests.cs (3)
5836
Size
= new Size(1, 2)
5874
Size
= new Size(1, 2)
15400
menuStrip1.
Size
= new Size(100, 50);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (2)
15
toolStrip.
Size
= new Drawing.Size(10, 10);
23
toolStrip.
Size
= new Drawing.Size(5, 5);
System\Windows\Forms\ToolStripTests.cs (2)
6695
Size
= new Size(400, 500)
6740
Size
= new Size(400, 500)
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
18
Size
= new Size(200, 38)
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
373
using TreeView treeView = new() {
Size
= new Size(50, 50) };
System\Windows\Forms\UpDownBaseTests.cs (2)
2251
Size
= size,
2287
Size
= size,
System\Windows\Forms\WebBrowserTests.cs (4)
4507
Size
= size
4549
Size
= size
4571
Size
= size
4621
Size
= size
TextBoxBaseTests.cs (6)
6955
Size
= size,
7003
Size
= size,
7026
Size
= size,
7082
Size
= size,
7804
using SubTextBoxBase textBoxBase = new() {
Size
= size, Multiline = multiline };
7824
using SubTextBoxBase textBoxBase = new() {
Size
= size, Multiline = multiline };
TextBoxTests.Rendering.cs (1)
19
Size
= new Size(80, 23),
System.Windows.Forms.UI.IntegrationTests (12)
AnchorLayoutTests.cs (1)
282
Size
= new Size(20, 30),
DesignBehaviorsTests.cs (1)
77
((Control)e.Component!).
Size
= new Size(50, 50);
Dpi\SplitContainerTests.cs (1)
53
Size
= new Size(812, 619),
DragDropTests.cs (6)
608
ListDragSource.
Size
= new Size(120, 225);
618
ListDragTarget.
Size
= new Size(120, 225);
626
_useCustomCursorsCheck.
Size
= new Size(137, 24);
631
_dropLocationLabel.
Size
= new Size(137, 24);
912
PictureBoxDragSource.
Size
= new Size(125, 119);
921
RichTextBoxDropTarget.
Size
= new Size(125, 119);
ImageListTests.cs (1)
104
Size
= new Size(439, 59),
PropertyGridViewTests.cs (1)
23
propertyGrid.
Size
= new Size(223, 244);
RichTextBoxTests.cs (1)
242
Size
= new Size(439, 103),
TrimTest (4)
Form1.Designer.cs (4)
58
splitContainer1.
Size
= new Size(800, 450);
69
textBox1.
Size
= new Size(457, 450);
83
comboBox1.
Size
= new Size(271, 23);
90
button1.
Size
= new Size(187, 46);
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
51
listView1.
Size
= new Size(269, 139);
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
286
Child.
Size
= targetSize;
821
this.
Size
= SD.Size.Empty;
WinFormsControlsTest (277)
AnchorLayoutTests.Designer.cs (9)
49
this.button1.
Size
= new System.Drawing.Size(112, 34);
59
this.button2.
Size
= new System.Drawing.Size(112, 34);
69
this.button3.
Size
= new System.Drawing.Size(112, 34);
79
this.button4.
Size
= new System.Drawing.Size(112, 34);
89
this.button5.
Size
= new System.Drawing.Size(112, 34);
101
this.button6.
Size
= new System.Drawing.Size(112, 34);
111
this.button7.
Size
= new System.Drawing.Size(112, 34);
121
this.button8.
Size
= new System.Drawing.Size(112, 34);
131
this.button9.
Size
= new System.Drawing.Size(112, 34);
Calendar.Designer.cs (15)
75
this.minDateDateTimePicker.
Size
= new System.Drawing.Size(251, 27);
83
this.setMinDateButton.
Size
= new System.Drawing.Size(123, 29);
95
this.label1.
Size
= new System.Drawing.Size(94, 20);
105
this.label2.
Size
= new System.Drawing.Size(97, 20);
114
this.setMaxDateButton.
Size
= new System.Drawing.Size(123, 29);
125
this.maxDateDateTimePicker.
Size
= new System.Drawing.Size(250, 27);
134
this.label3.
Size
= new System.Drawing.Size(142, 20);
153
this.daysOfWeekComboBox.
Size
= new System.Drawing.Size(151, 28);
162
this.label4.
Size
= new System.Drawing.Size(334, 20);
171
this.resetMinDateButton.
Size
= new System.Drawing.Size(123, 29);
182
this.resetMaxDateButton.
Size
= new System.Drawing.Size(123, 29);
194
this.showWeekNumbersCheckBox.
Size
= new System.Drawing.Size(161, 24);
206
this.showTodayCheckBox.
Size
= new System.Drawing.Size(105, 24);
218
this.label5.
Size
= new System.Drawing.Size(137, 20);
226
this.currentDPILabel1.
Size
= new System.Drawing.Size(227, 23);
CollectionEditors.Designer.cs (7)
48
this.comboBox1.
Size
= new System.Drawing.Size(121, 21);
56
this.maskedTextBox1.
Size
= new System.Drawing.Size(121, 20);
64
this.textBox1.
Size
= new System.Drawing.Size(121, 20);
73
this.listView1.
Size
= new System.Drawing.Size(121, 97);
85
this.propertyGrid1.
Size
= new System.Drawing.Size(357, 254);
93
this.label1.
Size
= new System.Drawing.Size(35, 13);
101
this.domainUpDown1.
Size
= new System.Drawing.Size(120, 20);
ComboBoxes.Designer.cs (16)
61
this.comboBox1.
Size
= new System.Drawing.Size(121, 21);
81
this.comboBox2.
Size
= new System.Drawing.Size(121, 21);
100
this.comboBox3.
Size
= new System.Drawing.Size(121, 21);
115
this.comboBox4.
Size
= new System.Drawing.Size(121, 21);
126
this.comboBox5.
Size
= new System.Drawing.Size(121, 21);
139
this.comboBox6.
Size
= new System.Drawing.Size(121, 21);
151
this.comboBox7.
Size
= new System.Drawing.Size(121, 21);
164
this.comboBox8.
Size
= new System.Drawing.Size(121, 21);
177
this.comboBox9.
Size
= new System.Drawing.Size(121, 150);
190
this.comboBox10.
Size
= new System.Drawing.Size(121, 150);
204
this.comboBox11.
Size
= new System.Drawing.Size(121, 150);
224
this.comboBox12.
Size
= new System.Drawing.Size(121, 150);
233
this.dataBoundComboBox.
Size
= new System.Drawing.Size(121, 150);
242
this.currentDPILabel1.
Size
= new System.Drawing.Size(90, 13);
251
this.label1.
Size
= new System.Drawing.Size(35, 13);
260
this.dataBoundLabel.
Size
= new System.Drawing.Size(65, 13);
ComboBoxesWithScrollBars.cs (1)
54
changeCBHeight_UpDown2.ValueChanged += (s, e) => comboBox2.
Size
= new Size(comboBox2.Size.Width, (int)changeCBHeight_UpDown2.Value);
ComboBoxesWithScrollBars.Designer.cs (22)
77
this.comboBox1.
Size
= new System.Drawing.Size(116, 23);
89
this.comboBox2.
Size
= new System.Drawing.Size(116, 155);
101
this.comboBox3.
Size
= new System.Drawing.Size(116, 23);
117
this.changeHeightGroupBox1.
Size
= new System.Drawing.Size(502, 100);
128
this.label1.
Size
= new System.Drawing.Size(100, 30);
142
this.changeDDH_UpDown1.
Size
= new System.Drawing.Size(117, 23);
153
this.label2.
Size
= new System.Drawing.Size(106, 30);
167
this.changeCBHeight_UpDown2.
Size
= new System.Drawing.Size(117, 23);
176
this.label3.
Size
= new System.Drawing.Size(100, 30);
190
this.changeDDH_UpDown3.
Size
= new System.Drawing.Size(117, 23);
204
this.changeMaxDropDownItemsGroupBox2.
Size
= new System.Drawing.Size(502, 63);
219
this.maxDropDownItemsUpDown1.
Size
= new System.Drawing.Size(117, 23);
232
this.maxDropDownItemsUpDown2.
Size
= new System.Drawing.Size(117, 23);
246
this.maxDropDownItemsUpDown3.
Size
= new System.Drawing.Size(117, 23);
258
this.changeIntegralHeightGroupBox3.
Size
= new System.Drawing.Size(502, 63);
269
this.integralHeightCheckBox1.
Size
= new System.Drawing.Size(102, 19);
280
this.integralHeightCheckBox2.
Size
= new System.Drawing.Size(102, 19);
291
this.integralHeightCheckBox3.
Size
= new System.Drawing.Size(102, 19);
305
this.changeHeightsStyleGroupBox4.
Size
= new System.Drawing.Size(502, 63);
316
this.useDifferentHeightsCheckBox1.
Size
= new System.Drawing.Size(135, 19);
327
this.useDifferentHeightsCheckBox2.
Size
= new System.Drawing.Size(135, 19);
338
this.useDifferentHeightsCheckBox3.
Size
= new System.Drawing.Size(135, 19);
DataGridViewInVirtualModeTest.Designer.cs (1)
55
this.dataGridView1.
Size
= new System.Drawing.Size(492, 150);
DataGridViewTest.Designer.cs (6)
86
this.dataGridView1.
Size
= new System.Drawing.Size(750, 150);
140
this.currentDPILabel1.
Size
= new System.Drawing.Size(116, 13);
151
this.changeFontButton.
Size
= new System.Drawing.Size(154, 29);
172
this.numericUpDown1.
Size
= new System.Drawing.Size(64, 20);
188
this.label1.
Size
= new System.Drawing.Size(51, 13);
199
this.resetFontButton.
Size
= new System.Drawing.Size(154, 29);
DateTimePicker.Designer.cs (5)
48
this.dateTimePicker1.
Size
= new Size(233, 23);
58
this.dateTimePicker2.
Size
= new Size(233, 23);
69
this.dateTimePicker3.
Size
= new Size(233, 23);
79
this.dateTimePicker4.
Size
= new Size(233, 23);
89
this.dateTimePicker5.
Size
= new Size(233, 23);
DesignTimeAligned.Designer.cs (5)
47
this.label1.
Size
= new System.Drawing.Size(36, 25);
58
this.label2.
Size
= new System.Drawing.Size(36, 25);
68
this.button1.
Size
= new System.Drawing.Size(60, 46);
79
this.textBox1.
Size
= new System.Drawing.Size(56, 31);
88
this.currentDPILabel1.
Size
= new System.Drawing.Size(178, 25);
Dialogs.Designer.cs (8)
57
this.propertyGrid1.
Size
= new System.Drawing.Size(332, 430);
65
this.btnOpenFileDialog.
Size
= new System.Drawing.Size(163, 23);
75
this.btnColorDialog.
Size
= new System.Drawing.Size(163, 23);
85
this.btnThreadExceptionDialog.
Size
= new System.Drawing.Size(163, 23);
95
this.btnPrintDialog.
Size
= new System.Drawing.Size(163, 23);
105
this.btnFolderBrowserDialog.
Size
= new System.Drawing.Size(163, 23);
115
this.btnSaveFileDialog.
Size
= new System.Drawing.Size(163, 23);
132
this.flowLayoutPanel1.
Size
= new System.Drawing.Size(171, 430);
DockLayoutTests.Designer.cs (5)
48
this.button1.
Size
= new System.Drawing.Size(112, 450);
58
this.button3.
Size
= new System.Drawing.Size(112, 450);
68
this.button2.
Size
= new System.Drawing.Size(576, 89);
78
this.button4.
Size
= new System.Drawing.Size(576, 66);
88
this.button5.
Size
= new System.Drawing.Size(576, 295);
DragDrop.Designer.cs (11)
80
tableLayoutPanel1.
Size
= new Size(1226, 625);
91
textBox.
Size
= new Size(488, 554);
101
richTextBox.
Size
= new Size(611, 554);
112
pictureBox1.
Size
= new Size(109, 106);
123
pictureBox2.
Size
= new Size(109, 106);
134
pictureBox3.
Size
= new Size(109, 106);
145
pictureBox4.
Size
= new Size(109, 106);
156
pictureBox5.
Size
= new Size(109, 106);
172
tableLayoutPanel2.
Size
= new Size(177, 59);
180
buttonOpenCats.
Size
= new Size(82, 53);
190
buttonClear.
Size
= new Size(82, 53);
ErrorProviderTest.Designer.cs (7)
62
this.label1.
Size
= new System.Drawing.Size(155, 15);
71
this.label1_2.
Size
= new System.Drawing.Size(155, 15);
79
this.textBox1.
Size
= new System.Drawing.Size(120, 23);
92
this.label2.
Size
= new System.Drawing.Size(155, 15);
101
this.label2_1.
Size
= new System.Drawing.Size(155, 23);
109
this.textBox2.
Size
= new System.Drawing.Size(120, 23);
120
this.submitButton.
Size
= new System.Drawing.Size(120, 27);
FormBorderStyles.Designer.cs (2)
39
this.btnChangeFormBorderStyle.
Size
= new System.Drawing.Size(162, 23);
50
this.lblFormBorderStyle.
Size
= new System.Drawing.Size(0, 13);
ListBoxes.Designer.cs (11)
59
this.label1.
Size
= new System.Drawing.Size(200, 20);
66
this.listBox1.
Size
= new System.Drawing.Size(200, 150);
74
this.textBox1.
Size
= new System.Drawing.Size(100, 30);
101
this.listBox2.
Size
= new System.Drawing.Size(200, 150);
107
this.textBox2.
Size
= new System.Drawing.Size(100, 30);
128
this.label3.
Size
= new System.Drawing.Size(250, 20);
135
this.listBox3.
Size
= new System.Drawing.Size(200, 150);
143
this.textBox3.
Size
= new System.Drawing.Size(100, 30);
164
this.label4.
Size
= new System.Drawing.Size(250, 20);
171
this.listBox4.
Size
= new System.Drawing.Size(200, 150);
180
this.textBox4.
Size
= new System.Drawing.Size(100, 30);
ListViewTest.Designer.cs (5)
81
this.listView1.
Size
= new System.Drawing.Size(439, 159);
96
this.listView1.
Size
= new System.Drawing.Size(439, 40);
111
this.btnClearListView1.
Size
= new System.Drawing.Size(75, 23);
121
this.btnLoadImagesListView1.
Size
= new System.Drawing.Size(75, 23);
143
this.btnReplaceImageListView1.
Size
= new System.Drawing.Size(87, 23);
MainForm.cs (1)
285
button.
Size
= biggestButton;
MdiChild.Designer.cs (8)
57
this.panel1.
Size
= new System.Drawing.Size(480, 221);
66
this.chkChildAlign.
Size
= new System.Drawing.Size(162, 17);
77
this.chkRightToLeft.
Size
= new System.Drawing.Size(162, 17);
88
this.btnOpenChild.
Size
= new System.Drawing.Size(138, 23);
99
this.chkSetParentMenustrip.
Size
= new System.Drawing.Size(123, 17);
110
this.chkSetMenustrip.
Size
= new System.Drawing.Size(115, 17);
121
this.chkAddParentMenustrip.
Size
= new System.Drawing.Size(179, 17);
132
this.chkAddMenustrip.
Size
= new System.Drawing.Size(146, 17);
MediaPlayer.Designer.cs (1)
48
this.axWindowsMediaPlayer1.
Size
= new System.Drawing.Size(800, 450);
MenuStripAndCheckedListBox.Designer.cs (2)
76
this.menuStrip1.
Size
= new System.Drawing.Size(736, 46);
277
this.currentDpiLabel.
Size
= new System.Drawing.Size(131, 25);
MessageBoxes.Designer.cs (1)
45
this.propertyGrid1.
Size
= new System.Drawing.Size(332, 430);
MultipleControls.Designer.cs (21)
67
this.progressBar1.
Size
= new System.Drawing.Size(331, 27);
81
this.button1.
Size
= new System.Drawing.Size(88, 27);
95
this.label1.
Size
= new System.Drawing.Size(38, 15);
103
this.maskedTextBox1.
Size
= new System.Drawing.Size(116, 23);
112
this.richTextBox1.
Size
= new System.Drawing.Size(116, 110);
121
this.textBox1.
Size
= new System.Drawing.Size(116, 23);
133
this.tabControl1.
Size
= new System.Drawing.Size(233, 115);
142
this.tabPage1.
Size
= new System.Drawing.Size(225, 87);
153
this.comboBox1.
Size
= new System.Drawing.Size(140, 23);
162
this.tabPage2.
Size
= new System.Drawing.Size(225, 87);
173
this.checkBox1.
Size
= new System.Drawing.Size(83, 19);
183
this.checkBox2.
Size
= new System.Drawing.Size(153, 19);
193
this.radioButton2.
Size
= new System.Drawing.Size(99, 20);
203
this.radioButton1.
Size
= new System.Drawing.Size(99, 20);
218
this.groupBox1.
Size
= new System.Drawing.Size(206, 93);
234
this.checkedListBox1.
Size
= new System.Drawing.Size(140, 112);
243
this.numericUpDown1.
Size
= new System.Drawing.Size(140, 23);
254
this.domainUpDown1.
Size
= new System.Drawing.Size(140, 23);
263
this.linkLabel1.
Size
= new System.Drawing.Size(60, 15);
273
this.linkLabel2.
Size
= new System.Drawing.Size(108, 21);
292
this.checkedListBox2.
Size
= new System.Drawing.Size(140, 58);
Password.Designer.cs (20)
62
textBox1.
Size
= new Size(125, 27);
71
textBox2.
Size
= new Size(125, 27);
79
label1.
Size
= new Size(215, 20);
88
label2.
Size
= new Size(130, 20);
97
maskedTextBox1.
Size
= new Size(125, 27);
104
maskedTextBox2.
Size
= new Size(125, 27);
114
maskedTextBox3.
Size
= new Size(125, 27);
122
textBox3.
Size
= new Size(125, 27);
130
button1.
Size
= new Size(94, 29);
142
textBox4.
Size
= new Size(125, 76);
150
textBox5.
Size
= new Size(125, 76);
159
label3.
Size
= new Size(75, 20);
168
label4.
Size
= new Size(126, 20);
177
label5.
Size
= new Size(137, 20);
186
label6.
Size
= new Size(130, 20);
195
label7.
Size
= new Size(215, 20);
204
label8.
Size
= new Size(130, 20);
213
label9.
Size
= new Size(215, 20);
222
label10.
Size
= new Size(148, 20);
231
label11.
Size
= new Size(234, 20);
PictureBoxes.Designer.cs (3)
48
this.pictureBox1.
Size
= new System.Drawing.Size(584, 281);
61
this.btnloadImage.
Size
= new System.Drawing.Size(56, 23);
74
this.imageUri.
Size
= new System.Drawing.Size(521, 20);
PropertyGrid.Designer.cs (1)
44
this.propertyGrid1.
Size
= new System.Drawing.Size(465, 413);
RichTextBoxes.Designer.cs (2)
43
this.richTextBox1.
Size
= new System.Drawing.Size(455, 104);
54
this.richTextBox2.
Size
= new System.Drawing.Size(455, 99);
ScalingBeforeChanges.Designer.cs (1)
42
this.checkBox1.
Size
= new System.Drawing.Size(80, 17);
ScrollableControls.Designer.cs (33)
99
flowLayoutPanel1.
Size
= new Size(97, 93);
106
button1.
Size
= new Size(75, 23);
115
button2.
Size
= new Size(75, 23);
124
button3.
Size
= new Size(75, 23);
133
button4.
Size
= new Size(75, 23);
142
button5.
Size
= new Size(75, 23);
152
label1.
Size
= new Size(97, 15);
166
panel1.
Size
= new Size(120, 89);
173
button9.
Size
= new Size(75, 23);
182
button8.
Size
= new Size(113, 23);
191
button7.
Size
= new Size(113, 23);
200
button6.
Size
= new Size(113, 20);
210
label2.
Size
= new Size(36, 15);
234
splitContainer1.
Size
= new Size(163, 108);
242
button16.
Size
= new Size(113, 20);
251
button15.
Size
= new Size(113, 20);
260
button10.
Size
= new Size(113, 20);
269
button14.
Size
= new Size(113, 20);
278
button13.
Size
= new Size(113, 20);
287
button12.
Size
= new Size(113, 20);
296
button11.
Size
= new Size(113, 20);
306
label3.
Size
= new Size(82, 15);
317
tabControl1.
Size
= new Size(167, 101);
327
tabPage1.
Size
= new Size(159, 73);
336
button17.
Size
= new Size(194, 74);
346
tabPage2.
Size
= new Size(159, 73);
356
label4.
Size
= new Size(65, 15);
365
label5.
Size
= new Size(48, 15);
375
textBox1.
Size
= new Size(93, 65);
403
treeView1.
Size
= new Size(115, 83);
411
label6.
Size
= new Size(55, 15);
420
label7.
Size
= new Size(45, 15);
431
listBox1.
Size
= new Size(113, 79);
ScrollBars.Designer.cs (9)
53
this.hScrollBar.
Size
= new System.Drawing.Size(200, 26);
61
this.vScrollBar.
Size
= new System.Drawing.Size(26, 200);
69
this.numericMinimum.
Size
= new System.Drawing.Size(150, 27);
77
this.numericMaximum.
Size
= new System.Drawing.Size(150, 27);
91
this.chbRightToLeft.
Size
= new System.Drawing.Size(110, 24);
102
this.lblMinimum.
Size
= new System.Drawing.Size(72, 20);
111
this.lblMaximum.
Size
= new System.Drawing.Size(75, 20);
120
this.lblHValue.
Size
= new System.Drawing.Size(50, 20);
129
this.lblVValue.
Size
= new System.Drawing.Size(50, 20);
Splitter.Designer.cs (1)
53
this.splitContainer1.
Size
= new System.Drawing.Size(568, 502);
TextBoxes.Designer.cs (6)
46
this.textBox.
Size
= new System.Drawing.Size(120, 30);
54
this.RTLTextBox.
Size
= new System.Drawing.Size(120, 30);
63
this.multilineTextBox.
Size
= new System.Drawing.Size(120, 110);
86
this.RTLMultilineTextBox.
Size
= new System.Drawing.Size(120, 110);
110
this.richTextBox.
Size
= new System.Drawing.Size(120, 110);
131
this.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)
90
this.toolStrip1.
Size
= new System.Drawing.Size(481, 22);
110
this.toolStrip2.
Size
= new System.Drawing.Size(481, 22);
122
this.toolStrip3.
Size
= new System.Drawing.Size(481, 22);
134
this.toolStrip4.
Size
= new System.Drawing.Size(481, 22);
383
this.statusStrip1.
Size
= new System.Drawing.Size(481, 22);
393
this.label1.
Size
= new System.Drawing.Size(78, 13);
ToolTipTests.Designer.cs (8)
54
this.delaysNotSetButton.
Size
= new System.Drawing.Size(876, 183);
65
this.automaticDelayButton.
Size
= new System.Drawing.Size(1031, 183);
76
this.autoPopDelayButton.
Size
= new System.Drawing.Size(949, 183);
94
this.flowLayoutPanel1.
Size
= new System.Drawing.Size(1417, 1577);
102
this.defaultAutomaticDelayButton.
Size
= new System.Drawing.Size(915, 183);
113
this.defaultAutoPopDelayButton.
Size
= new System.Drawing.Size(904, 183);
124
this.initialDelayButton.
Size
= new System.Drawing.Size(876, 183);
136
this.autoEllipsisButton.
Size
= new System.Drawing.Size(876, 183);
TrackBars.Designer.cs (15)
63
this.trackBar1.
Size
= new System.Drawing.Size(457, 45);
75
this.rbHorizontal.
Size
= new System.Drawing.Size(80, 19);
88
this.rbVertical.
Size
= new System.Drawing.Size(63, 19);
102
this.gbOrientation.
Size
= new System.Drawing.Size(168, 84);
113
this.chbRightToLeft.
Size
= new System.Drawing.Size(86, 19);
125
this.chbRightToLeftLayout.
Size
= new System.Drawing.Size(122, 19);
137
this.tickstyleNone.
Size
= new System.Drawing.Size(100, 19);
153
this.numericMinimum.
Size
= new System.Drawing.Size(131, 23);
172
this.numericMaximum.
Size
= new System.Drawing.Size(131, 23);
191
this.numericFrequency.
Size
= new System.Drawing.Size(131, 23);
205
this.lblMinimum.
Size
= new System.Drawing.Size(60, 15);
214
this.lblMaximum.
Size
= new System.Drawing.Size(62, 15);
223
this.lblTickFrequency.
Size
= new System.Drawing.Size(86, 15);
232
this.lblTrackBarSize.
Size
= new System.Drawing.Size(39, 15);
241
this.lblTrackBarValue.
Size
= new System.Drawing.Size(47, 15);
528 references to Size
PresentationUI (4)
MS\Internal\Documents\DialogDivider.cs (1)
60
base.SetBoundsCore(Parent.Location.X, y, Parent.
Size
.Width, 1, specified);
MS\Internal\Documents\RMPublishingDialog.cs (3)
514
button.
Size
,
929
buttonAddUser.
Size
.Height,
930
buttonAddUser.
Size
.Height);
System.Windows.Forms (97)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3246
Size setExtent =
Size
;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
707
Size size = _control.
Size
;
1724
if (_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
"/>.
8699
PrintToMetaFileRecursive(hDC, lParam, new Rectangle(Point.Empty,
Size
));
8756
using 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)
89
return AutoSizeMode == AutoSizeMode.GrowAndShrink ? preferredSize : LayoutUtils.UnionSizes(preferredSize,
Size
);
107
return AutoSizeMode == AutoSizeMode.GrowAndShrink ? paddedSize : LayoutUtils.UnionSizes(paddedSize,
Size
);
System\Windows\Forms\Controls\Labels\Label.cs (3)
914
=> CreateTextFormatFlags(
Size
- GetBordersAndPadding());
1357
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty,
Size
), BorderStyle, Border3DStyle.SunkenOuter);
1400
Debug.Assert(!AutoSize || (AutoSize && !SelfSizing) ||
Size
== PreferredSize,
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (3)
603
Size oldSize =
Size
;
2327
Rectangle rect = new(0, 0,
Size
.Width - 1,
Size
.Height - 1);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6895
Rectangle rect = new(0, 0,
Size
.Width - 1,
Size
.Height - 1);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
824
get => 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)
4105
Size size = child.
Size
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
79
int height = _titleLabel.
Size
.Height;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (19)
1859
Size sizeWindow =
Size
;
1870
Size sizeScroll = ScrollBar.
Size
;
2006
rect.Height =
Size
.Height - rect.Y - 1;
2121
Invalidate(new Rectangle(left, 0,
Size
.Width - left,
Size
.Height));
2210
if ((
Size
.Width > doubleOffset) && (
Size
.Height > doubleOffset))
2213
ControlPaint.DrawFocusRectangle(g, new Rectangle(_offset2Units, _offset2Units,
Size
.Width - doubleOffset,
Size
.Height - doubleOffset));
2359
Rectangle clearRect = new(1, 1,
Size
.Width - 2,
Size
.Height - 2);
3268
Size sizeWindow =
Size
;
3347
if (yPosition <
Size
.Height)
3350
Rectangle clearRect = new(1, yPosition,
Size
.Width - 2,
Size
.Height - yPosition - 1);
3791
int overhang = toolTip.Location.X + toolTip.
Size
.Width - SystemInformation.VirtualScreen.Width;
4330
sizeBtn = button.
Size
;
4861
if (topControl.
Size
.Equals(dialog.Size))
5151
DialogButton.Size = DropDownButton.
Size
;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1520
Size size =
Size
;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
2910
Rectangle rect = new(0, 0,
Size
.Width - 1,
Size
.Height - 1);
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
826
Rectangle rect = new(0, 0,
Size
.Width - 1,
Size
.Height - 1);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
209
Size statusStripSize =
Size
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2388
if (toolStrip.
Size
!= maxSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (3)
150
return _control.
Size
;
660
bounds = LayoutUtils.Align(_control.
Size
, Bounds, ControlAlign);
811
Size = ControlInternal.
Size
;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
881
if (size !=
Size
)
1055
internal Size GetSuggestedSize() => AutoSize ? GetPreferredSize(Size.Empty) :
Size
;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
258
Rectangle bounds = new(Point.Empty, e.ToolStrip.
Size
);
287
Rectangle 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)
285
preferredSize = (!_wrappedToolStrip.AutoSize) ? _wrappedToolStrip.
Size
: _wrappedToolStrip.GetPreferredSize(constrainingSize);
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
53
Rectangle bounds = new(Point.Empty, e.ToolStrip.
Size
);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (10)
417
Rectangle bounds = new(Point.Empty, toolStrip.
Size
);
846
Rectangle bounds = new(Point.Empty, toolStrip.
Size
);
1134
g.FillRectangle(brush, new Rectangle(Point.Empty, control.
Size
));
1141
Rectangle gradientBounds = new(Point.Empty, parent.
Size
);
1150
g.FillRectangle(b, new Rectangle(Point.Empty, control.
Size
));
1155
Rectangle gradientBounds = new(Point.Empty, control.
Size
);
1174
Rectangle bounds = new(Point.Empty, e.ToolStrip.
Size
);
1183
Rectangle bounds = new(Point.Empty, e.ToolStrip.
Size
);
1195
Rectangle bounds = new(Point.Empty, toolStripDropDown.
Size
);
1338
Rectangle bounds = new(Point.Empty, e.ToolStrip.
Size
);
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
42
Size = toolStrip.
Size
;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
786
int maxTickCount = (Orientation == Orientation.Horizontal ?
Size
.Width :
Size
.Height) / 2;
1146
int size = Orientation == Orientation.Horizontal ?
Size
.Width :
Size
.Height;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
3151
Rectangle rect = new(0, 0,
Size
.Width - 1,
Size
.Height - 1);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
59
int half_height =
Size
.Height / 2;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
787
Size extent =
Size
;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
351
Size pageSize = page.
Size
;
System\Windows\Forms\Form.cs (1)
1830
get => 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)
1659
Panel2.Size =
Size
;
1664
Panel1.Size =
Size
;
1715
Panel2.Size =
Size
;
1720
Panel1.Size =
Size
;
2202
Panel2.Size =
Size
;
2207
Panel1.Size =
Size
;
2243
Panel2.Size =
Size
;
2248
Panel1.Size =
Size
;
System\Windows\Forms\Panels\Panel.cs (1)
234
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty,
Size
), BorderStyle, Border3DStyle.Sunken);
System\Windows\Forms\Panels\SplitterPanel.cs (1)
223
get => Collapsed ? Size.Empty : base.
Size
;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
482
Size 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)
463
DoLayout(
Size
, false);
System\ComponentModel\Design\DesignerActionUI.cs (1)
657
Point pt = DesignerActionPanel.ComputePreferredDesktopLocation(rectGlyph, _designerActionHost.
Size
, out DockStyle edgeToDock);
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (9)
36
if (CurrentPanel.
Size
== panelSize)
153
Size = panel.
Size
157
Size = panel.
Size
;
169
if (
Size
.Width != ctrl.
Size
.Width ||
Size
.Height != ctrl.
Size
.Height)
172
Size = ctrl.
Size
;
175
_panel.Size = ctrl.
Size
;
System\Drawing\Design\ColorEditor.ColorUI.cs (3)
86
Size size = _pal.
Size
;
90
_tabControl.Size =
Size
;
316
_pal.
Size
.Height - rectItemSize.Height + 2 * CMARGIN);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
302
return new Rectangle(loc, c.
Size
);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
689
Rectangle currentBounds = new(_behaviorService.ControlToAdornerWindow(targetControl), targetControl.
Size
);
1087
Rectangle dragBounds = new(_behaviorService.ControlToAdornerWindow(targetControl), targetControl.
Size
);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
119
Rectangle translatedBounds = new(loc, parent.
Size
);
System\Windows\Forms\Design\CommandSet.cs (2)
3250
Size size = c.
Size
;
3316
if (!child.
Size
.Equals(parentSize))
System\Windows\Forms\Design\ComponentTray.cs (2)
1863
if (newLoc.X + c.
Size
.Width >
Size
.Width)
System\Windows\Forms\Design\ControlCommandSet.cs (1)
643
Size primaryControlsize = primaryControl.
Size
;
System\Windows\Forms\Design\ControlDesigner.cs (2)
2117
if (Control is not null && Control.
Size
!= Control.ClientSize && Control.Parent is { } parent)
2120
Rectangle controlScreenBounds = new(parent.PointToScreen(Control.Location), Control.
Size
);
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
28
Size = _typesListBox.
Size
;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
241
_initialSize = _treeViewCtrl.
Size
;
System\Windows\Forms\Design\DocumentDesigner.cs (1)
514
Rectangle translatedBounds = new(loc, ((Control)Component).
Size
);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
232
get => Control.
Size
;
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1042
Rectangle translatedBounds = new(loc, ((Control)Component).
Size
);
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
635
sz = control.
Size
;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (3)
232
Size = new Size(
Size
.Width + _resetButton.
Size
.Width - resetButtonSize.Width,
Size
.Height);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1370
Rectangle translatedBounds = new(loc, ((Control)Component).
Size
);
System\Windows\Forms\Design\ToolStripEditorManager.cs (2)
142
private void UpdateSize() => Size = new Size(_wrappedEditor.
Size
.Width, _wrappedEditor.
Size
.Height);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1181
if (_toolStripAdornerWindowService is not null && (dropDown.Width < _dropDownSizeToInvalidate.Width || dropDown.
Size
.Height < _dropDownSizeToInvalidate.Height))
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
555
nameof(ToolStripPanel.
Size
),
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1307
Rectangle translatedBounds = new(loc, _miniToolStrip.
Size
);
1871
Rectangle bounds = new(Point.Empty, e.ToolStrip.
Size
);
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (1)
116
Assert.Equal(new Size(control.Width, control.Height), control.
Size
);
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (1)
15
InheritedPropertyDescriptor inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.
Size
));
System.Windows.Forms.Tests (372)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (2)
396
comboBox.Size = new Size(100, comboBox.
Size
.Height);
458
comboBox.Size = new Size(100, comboBox.
Size
.Height);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
151
int expectedWidth = dataGridView.
Size
.Width;
155
int expectedHeight = dataGridView.
Size
.Height;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
25
Assert.Equal(ownerControl.
Size
, accessibilityObject.Bounds.Size);
System\Windows\Forms\AxHostTests.cs (2)
106
Assert.Equal(new Size(75, 23), control.
Size
);
200
Assert.Equal(new Size(75, 23), control.
Size
);
System\Windows\Forms\ButtonBaseTests.cs (1)
107
Assert.Equal(new Size(75, 23), control.
Size
);
System\Windows\Forms\ButtonTests.cs (1)
105
Assert.Equal(new Size(75, 23), control.
Size
);
System\Windows\Forms\CheckBoxTests.cs (1)
107
Assert.Equal(new Size(104, 24), control.
Size
);
System\Windows\Forms\ComboBox.ComboBoxChildListUiaProviderTests.cs (1)
111
comboBox.Size = new Size(expectedWidth, comboBox.
Size
.Height);
System\Windows\Forms\ComboBoxTests.cs (1)
120
Assert.Equal(new Size(121, control.PreferredHeight), control.
Size
);
System\Windows\Forms\ContainerControlTests.cs (1)
110
Assert.Equal(Size.Empty, control.
Size
);
System\Windows\Forms\ControlTests.cs (5)
88
Assert.Equal(Size.Empty, control.
Size
);
177
Assert.Equal(Size.Empty, control.
Size
);
273
Assert.Equal(new Size(width, height), control.
Size
);
369
Assert.Equal(Size.Empty, control.
Size
);
465
Assert.Equal(new Size(width, height), control.
Size
);
System\Windows\Forms\ControlTests.Methods.cs (78)
7419
Assert.Equal(new Size(width, height), control.
Size
);
7438
Assert.Equal(new Size(width, height), control.
Size
);
7530
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
7549
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
7628
Assert.Equal(new Size(width, height), control.
Size
);
7647
Assert.Equal(new Size(width, height), control.
Size
);
7746
Assert.Equal(new Size(width, height), control.
Size
);
7766
Assert.Equal(new Size(width, height), control.
Size
);
7869
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
7891
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8017
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8044
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8206
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8225
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8317
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8336
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8415
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8434
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8603
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8623
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8726
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8748
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8874
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
8901
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9020
Assert.Equal(new Size(width, height), control.
Size
);
9041
Assert.Equal(new Size(width, height), control.
Size
);
9162
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9183
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9291
Assert.Equal(new Size(width, height), control.
Size
);
9312
Assert.Equal(new Size(width, height), control.
Size
);
9428
Assert.Equal(new Size(width, height), control.
Size
);
9450
Assert.Equal(new Size(width, height), control.
Size
);
9583
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9607
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9741
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9770
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
9818
Assert.Equal(value, control.
Size
);
9828
Assert.Equal(value, control.
Size
);
9852
Assert.Equal(expectedSize, control.
Size
);
9868
Assert.Equal(expectedSize, control.
Size
);
9900
Assert.Equal(expectedSize, control.
Size
);
9919
Assert.Equal(expectedSize, control.
Size
);
10375
Assert.Equal(Size.Empty, control.
Size
);
10394
Assert.Equal(Size.Empty, control.
Size
);
10441
Assert.True(control.
Size
.Width > 0);
10442
Assert.True(control.
Size
.Height > 0);
10474
Assert.True(control.
Size
.Width > 0);
10475
Assert.True(control.
Size
.Height >= 0);
10549
Assert.Equal(Size.Empty, control.
Size
);
10568
Assert.Equal(Size.Empty, control.
Size
);
10641
Assert.Equal(Size.Empty, control.
Size
);
10660
Assert.Equal(Size.Empty, control.
Size
);
10732
Assert.Equal(Size.Empty, control.
Size
);
10754
Assert.Equal(Size.Empty, control.
Size
);
10799
Assert.Equal(new Size(3, 4), control.
Size
);
10821
Assert.Equal(new Size(3, 4), control.
Size
);
10877
Assert.Equal(new Size(3, 4), control.
Size
);
10903
Assert.Equal(new Size(3, 4), control.
Size
);
10989
Assert.Equal(new Size(width, height), control.
Size
);
11008
Assert.Equal(new Size(width, height), control.
Size
);
11100
Assert.Equal(new Size(width, height), control.
Size
);
11119
Assert.Equal(new Size(width, height), control.
Size
);
11198
Assert.Equal(new Size(width, height), control.
Size
);
11217
Assert.Equal(new Size(width, height), control.
Size
);
11307
Assert.Equal(new Size(width, height), control.
Size
);
11327
Assert.Equal(new Size(width, height), control.
Size
);
11430
Assert.Equal(new Size(width, height), control.
Size
);
11452
Assert.Equal(new Size(width, height), control.
Size
);
11559
Assert.Equal(new Size(width, height), control.
Size
);
11586
Assert.Equal(new Size(width, height), control.
Size
);
11684
Assert.Equal(new Size(width, height), control.
Size
);
11703
Assert.Equal(new Size(width, height), control.
Size
);
11793
Assert.Equal(new Size(width, height), control.
Size
);
11813
Assert.Equal(new Size(width, height), control.
Size
);
11928
Assert.Equal(new Size(width, height), control.
Size
);
11950
Assert.Equal(new Size(width, height), control.
Size
);
12057
Assert.Equal(new Size(width, height), control.
Size
);
12084
Assert.Equal(new Size(width, height), control.
Size
);
System\Windows\Forms\ControlTests.Properties.cs (136)
2481
Assert.Equal(new Size(width, height), control.
Size
);
2500
Assert.Equal(new Size(width, height), control.
Size
);
2570
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
2589
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
2655
Assert.Equal(new Size(width, height), control.
Size
);
2674
Assert.Equal(new Size(width, height), control.
Size
);
2760
Assert.Equal(new Size(width, height), control.
Size
);
2780
Assert.Equal(new Size(width, height), control.
Size
);
2860
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
2882
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
2985
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
3012
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
3340
Assert.Equal(value, control.
Size
);
3350
Assert.Equal(value, control.
Size
);
3384
Assert.Equal(expectedSize, control.
Size
);
3400
Assert.Equal(expectedSize, control.
Size
);
3447
Assert.Equal(expectedSize, control.
Size
);
3466
Assert.Equal(expectedSize, control.
Size
);
5731
Assert.Equal(new Size(0, value), control.
Size
);
5750
Assert.Equal(new Size(0, value), control.
Size
);
5841
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
5860
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
5929
Assert.Equal(new Size(0, value), control.
Size
);
5948
Assert.Equal(new Size(0, value), control.
Size
);
6037
Assert.Equal(new Size(0, value), control.
Size
);
6057
Assert.Equal(new Size(0, value), control.
Size
);
6149
Assert.Equal(new Size(0, expectedHeight), control.
Size
);
6171
Assert.Equal(new Size(0, expectedHeight), control.
Size
);
6286
Assert.Equal(new Size(0, expectedHeight), control.
Size
);
6313
Assert.Equal(new Size(0, expectedHeight), control.
Size
);
6694
Assert.Equal(new Size(0, 0), control.
Size
);
6716
Assert.Equal(new Size(0, 0), control.
Size
);
6786
Assert.Equal(new Size(0, 0), control.
Size
);
6808
Assert.Equal(new Size(0, 0), control.
Size
);
6884
Assert.Equal(new Size(0, 0), control.
Size
);
6909
Assert.Equal(new Size(0, 0), control.
Size
);
6995
Assert.Equal(new Size(0, 0), control.
Size
);
7024
Assert.Equal(new Size(0, 0), control.
Size
);
7175
Assert.Equal(new Size(0, 0), control.
Size
);
7197
Assert.Equal(new Size(0, 0), control.
Size
);
7265
Assert.Equal(new Size(0, 0), control.
Size
);
7288
Assert.Equal(new Size(0, 0), control.
Size
);
7367
Assert.Equal(new Size(0, 0), control.
Size
);
7392
Assert.Equal(new Size(0, 0), control.
Size
);
7478
Assert.Equal(new Size(0, 0), control.
Size
);
7508
Assert.Equal(new Size(0, 0), control.
Size
);
7935
Assert.Equal(Size.Empty, control.
Size
);
7942
Assert.Equal(Size.Empty, control.
Size
);
7960
Assert.Equal(Size.Empty, control.
Size
);
7967
Assert.Equal(Size.Empty, control.
Size
);
8012
Assert.Equal(expectedSize, control.
Size
);
8019
Assert.Equal(expectedSize, control.
Size
);
8037
Assert.Equal(new Size(100, 100), control.
Size
);
8044
Assert.Equal(new Size(100, 100), control.
Size
);
8069
Assert.Equal(expectedSize, control.
Size
);
8076
Assert.Equal(expectedSize, control.
Size
);
8120
Assert.Equal(Size.Empty, control.
Size
);
8128
Assert.Equal(Size.Empty, control.
Size
);
8176
Assert.Equal(Size.Empty, control.
Size
);
8185
Assert.Equal(Size.Empty, control.
Size
);
8211
Assert.Equal(Size.Empty, control.
Size
);
8221
Assert.Equal(Size.Empty, control.
Size
);
8249
Assert.Equal(Size.Empty, control.
Size
);
8259
Assert.Equal(Size.Empty, control.
Size
);
8287
Assert.Equal(expectedSize, control.
Size
);
8297
Assert.Equal(expectedSize, control.
Size
);
8342
Assert.Equal(Size.Empty, control.
Size
);
8357
Assert.Equal(Size.Empty, control.
Size
);
8410
Assert.Equal(Size.Empty, control.
Size
);
8425
Assert.Equal(Size.Empty, control.
Size
);
8550
Assert.Equal(expectedSize, control.
Size
);
8557
Assert.Equal(expectedSize, control.
Size
);
8597
Assert.Equal(expectedSize, control.
Size
);
8604
Assert.Equal(expectedSize, control.
Size
);
8650
Assert.Equal(expectedSize, control.
Size
);
8657
Assert.Equal(expectedSize, control.
Size
);
8681
Assert.Equal(expectedSize, control.
Size
);
8688
Assert.Equal(expectedSize, control.
Size
);
8713
Assert.Equal(expectedSize, control.
Size
);
8720
Assert.Equal(expectedSize, control.
Size
);
8770
Assert.Equal(expectedSize, control.
Size
);
8778
Assert.Equal(expectedSize, control.
Size
);
8832
Assert.Equal(expectedSize, control.
Size
);
8841
Assert.Equal(expectedSize, control.
Size
);
8889
Assert.Equal(expectedSize, control.
Size
);
8899
Assert.Equal(expectedSize, control.
Size
);
8949
Assert.Equal(expectedSize, control.
Size
);
8959
Assert.Equal(expectedSize, control.
Size
);
9015
Assert.Equal(expectedSize, control.
Size
);
9025
Assert.Equal(expectedSize, control.
Size
);
9091
Assert.Equal(expectedSize, control.
Size
);
9106
Assert.Equal(expectedSize, control.
Size
);
9180
Assert.Equal(expectedSize, control.
Size
);
9195
Assert.Equal(expectedSize, control.
Size
);
11115
Assert.Equal(value, control.
Size
);
11134
Assert.Equal(value, control.
Size
);
11226
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
11245
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
11321
Assert.Equal(value, control.
Size
);
11340
Assert.Equal(value, control.
Size
);
11436
Assert.Equal(value, control.
Size
);
11456
Assert.Equal(value, control.
Size
);
11553
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
11575
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
11695
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
11722
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
11753
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Size
)];
11758
Assert.Equal(new Size(1, 0), control.
Size
);
11762
Assert.Equal(new Size(0, 1), control.
Size
);
11766
Assert.Equal(new Size(1, 2), control.
Size
);
11770
Assert.Equal(Size.Empty, control.
Size
);
11777
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.
Size
)];
11782
Assert.Equal(new Size(1, 0), control.
Size
);
11786
Assert.Equal(new Size(0, 1), control.
Size
);
11790
Assert.Equal(new Size(1, 2), control.
Size
);
11794
Assert.Equal(Size.Empty, control.
Size
);
12130
Assert.Equal(new Size(0, 0), control.
Size
);
12151
Assert.Equal(new Size(0, 0), control.
Size
);
12220
Assert.Equal(new Size(0, 0), control.
Size
);
12242
Assert.Equal(new Size(0, 0), control.
Size
);
12318
Assert.Equal(new Size(0, 0), control.
Size
);
12342
Assert.Equal(new Size(0, 0), control.
Size
);
12427
Assert.Equal(new Size(0, 0), control.
Size
);
12456
Assert.Equal(new Size(0, 0), control.
Size
);
13150
Assert.Equal(new Size(value, 0), control.
Size
);
13169
Assert.Equal(new Size(value, 0), control.
Size
);
13260
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
13279
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
13348
Assert.Equal(new Size(value, 0), control.
Size
);
13367
Assert.Equal(new Size(value, 0), control.
Size
);
13456
Assert.Equal(new Size(value, 0), control.
Size
);
13476
Assert.Equal(new Size(value, 0), control.
Size
);
13568
Assert.Equal(new Size(expectedWidth, 0), control.
Size
);
13590
Assert.Equal(new Size(expectedWidth, 0), control.
Size
);
13705
Assert.Equal(new Size(expectedWidth, 0), control.
Size
);
13732
Assert.Equal(new Size(expectedWidth, 0), control.
Size
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
116
Assert.Equal(new Size(100, control.PreferredHeight), control.
Size
);
System\Windows\Forms\DateTimePickerTests.cs (1)
112
Assert.Equal(new Size(200, control.PreferredHeight), control.
Size
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
111
Assert.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)
1155
Assert.Equal(new Size(2, 3), control.
Size
);
1187
Assert.Equal(new Size(4, 5), control.
Size
);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
104
Assert.Equal(new Size(200, 100), control.
Size
);
System\Windows\Forms\GroupBoxTests.cs (1)
92
Assert.Equal(new Size(200, 100), control.
Size
);
System\Windows\Forms\HScrollBarTests.cs (2)
104
Assert.True(control.
Size
.Width > 0);
105
Assert.True(control.
Size
.Height > 0);
System\Windows\Forms\LabelTests.cs (3)
101
Assert.Equal(new Size(100, 23), control.
Size
);
295
Size oldSize = label.
Size
;
299
Size newSize = label.
Size
;
System\Windows\Forms\ListBoxTests.cs (1)
120
Assert.Equal(new Size(120, 96), control.
Size
);
System\Windows\Forms\ListControlTests.cs (1)
100
Assert.Equal(Size.Empty, control.
Size
);
System\Windows\Forms\ListViewTests.cs (1)
135
Assert.Equal(new Size(121, 97), control.
Size
);
System\Windows\Forms\MdiClientTests.cs (21)
77
Assert.Equal(Size.Empty, control.
Size
);
540
Assert.Equal(value, control.
Size
);
559
Assert.Equal(value, control.
Size
);
642
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
664
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
776
Assert.Equal(Size.Empty, control.
Size
);
803
Assert.Equal(Size.Empty, control.
Size
);
928
Assert.Equal(Size.Empty, control.
Size
);
955
Assert.Equal(Size.Empty, control.
Size
);
1090
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
1117
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
1148
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.
Size
)];
1153
Assert.Equal(new Size(1, 0), control.
Size
);
1157
Assert.Equal(new Size(0, 1), control.
Size
);
1161
Assert.Equal(new Size(1, 2), control.
Size
);
1165
Assert.Equal(Size.Empty, control.
Size
);
1172
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.
Size
)];
1177
Assert.Equal(new Size(1, 0), control.
Size
);
1181
Assert.Equal(new Size(0, 1), control.
Size
);
1185
Assert.Equal(new Size(1, 2), control.
Size
);
1189
Assert.Equal(Size.Empty, control.
Size
);
System\Windows\Forms\MenuStripTests.cs (1)
134
Assert.Equal(new Size(200, 24), control.
Size
);
System\Windows\Forms\PanelTests.cs (1)
103
Assert.Equal(new Size(200, 100), control.
Size
);
System\Windows\Forms\PictureBoxTests.cs (1)
99
Assert.Equal(new Size(100, 50), control.
Size
);
System\Windows\Forms\ProgressBarTests.cs (1)
90
Assert.Equal(new Size(100, 23), control.
Size
);
System\Windows\Forms\PropertyGridTests.cs (1)
149
Assert.Equal(new Size(130, 130), control.
Size
);
System\Windows\Forms\RadioButtonTests.cs (1)
105
Assert.Equal(new Size(104, 24), control.
Size
);
System\Windows\Forms\RichTextBoxTests.cs (1)
124
Assert.Equal(new Size(100, 96), control.
Size
);
System\Windows\Forms\ScrollableControlTests.cs (1)
103
Assert.Equal(Size.Empty, control.
Size
);
System\Windows\Forms\ScrollBarTests.cs (2)
93
Assert.Equal(Size.Empty, control.
Size
);
2600
Assert.Equal(expected, control.
Size
);
System\Windows\Forms\SplitterTests.cs (1)
93
Assert.Equal(new Size(3, 3), control.
Size
);
System\Windows\Forms\StatusStripTests.cs (1)
135
Assert.Equal(new Size(200, 22), control.
Size
);
System\Windows\Forms\TabControlTests.cs (1)
100
Assert.Equal(new Size(200, 100), control.
Size
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
114
Assert.Equal(new Size(200, 100), control.
Size
);
System\Windows\Forms\TabPageTests.cs (22)
109
Assert.Equal(new Size(200, 100), control.
Size
);
218
Assert.Equal(new Size(200, 100), control.
Size
);
1901
Assert.Equal(new Size(200, 100), control.
Size
);
1923
Assert.Equal(new Size(200, 100), control.
Size
);
1991
Assert.Equal(new Size(200, 100), control.
Size
);
2014
Assert.Equal(new Size(200, 100), control.
Size
);
2092
Assert.Equal(new Size(200, 100), control.
Size
);
2117
Assert.Equal(new Size(200, 100), control.
Size
);
2216
Assert.Equal(expected.Size, control.
Size
);
2246
Assert.Equal(expected.Size, control.
Size
);
2430
Assert.Equal(Size.Empty, control.
Size
);
2437
Assert.Equal(Size.Empty, control.
Size
);
2461
Assert.Equal(expectedSize, control.
Size
);
2468
Assert.Equal(expectedSize, control.
Size
);
4348
Assert.Equal(new Size(width, height), control.
Size
);
4369
Assert.Equal(new Size(width, height), control.
Size
);
4485
Assert.Equal(new Size(width, height), control.
Size
);
4507
Assert.Equal(new Size(width, height), control.
Size
);
4640
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
4664
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
4818
Assert.Equal(expected.Size, control.
Size
);
4848
Assert.Equal(expected.Size, control.
Size
);
System\Windows\Forms\ToolStripContentPanelTests.cs (7)
108
Assert.Equal(new Size(200, 100), control.
Size
);
942
Assert.Equal(new Size(200, 100), control.
Size
);
964
Assert.Equal(new Size(200, 100), control.
Size
);
1049
Assert.Equal(Size.Empty, control.
Size
);
1056
Assert.Equal(Size.Empty, control.
Size
);
1080
Assert.Equal(expectedSize, control.
Size
);
1087
Assert.Equal(expectedSize, control.
Size
);
System\Windows\Forms\ToolStripControlHostTests.cs (5)
75
Assert.Equal(c.
Size
, item.DefaultSize);
112
Assert.Equal(c.
Size
, item.Size);
656
Assert.Equal(new Size(10, 20), c.
Size
);
4115
Assert.Equal(Size.Empty, c.
Size
);
4118
Assert.Equal(new Size(10, 20), c.
Size
);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
142
Assert.Equal(new Size(2, 4), control.
Size
);
1968
Assert.Equal(new Size(100, 25), control.
Size
);
1990
Assert.Equal(new Size(100, 25), control.
Size
);
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
50
Assert.Equal(new Rectangle(Point.Empty, toolStrip.
Size
), e.AffectedBounds);
System\Windows\Forms\ToolStripPanelTests.cs (1)
107
Assert.Equal(Size.Empty, control.
Size
);
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
28
Assert.Equal(new Drawing.Size(10, 10), toolStrip.
Size
);
System\Windows\Forms\ToolStripTests.cs (2)
150
Assert.Equal(new Size(100, 25), control.
Size
);
305
Assert.Equal(new Size(100, 25), control.
Size
);
System\Windows\Forms\TreeViewTests.cs (1)
115
Assert.Equal(new Size(121, 97), control.
Size
);
System\Windows\Forms\UpDownBaseTests.cs (7)
119
Assert.Equal(new Size(120, control.PreferredHeight), control.
Size
);
1114
Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.
Size
);
1121
Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.
Size
);
1158
Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.
Size
);
1165
Assert.Equal(new Size(expectedWidth, control.PreferredHeight), control.
Size
);
2766
Assert.Equal(new Size(width, preferredHeight), control.
Size
);
2798
Assert.Equal(new Size(width, preferredHeight), control.
Size
);
System\Windows\Forms\UserControlTests.cs (1)
110
Assert.Equal(new Size(150, 150), control.
Size
);
System\Windows\Forms\VScrollBarTests.cs (2)
103
Assert.True(control.
Size
.Width > 0);
104
Assert.True(control.
Size
.Height > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
86
Assert.Equal(new Size(250, 250), control.
Size
);
TextBoxBaseTests.cs (6)
6539
Assert.Equal(new Size(width, s_preferredHeight), control.
Size
);
6560
Assert.Equal(new Size(width, s_preferredHeight), control.
Size
);
6673
Assert.Equal(new Size(width, height), control.
Size
);
6694
Assert.Equal(new Size(width, height), control.
Size
);
6789
Assert.Equal(new Size(width, height), control.
Size
);
6810
Assert.Equal(new Size(width, height), control.
Size
);
TextBoxTests.cs (1)
109
Assert.Equal(new Size(100, control.PreferredHeight), control.
Size
);
TrackBarTests.cs (24)
96
Assert.Equal(new Size(104, s_dimension), control.
Size
);
228
Assert.Equal(new Size(104, s_dimension), control.
Size
);
237
Assert.Equal(new Size(104, s_dimension), control.
Size
);
246
Assert.Equal(new Size(104, s_dimension), control.
Size
);
266
Assert.Equal(new Size(104, s_dimension), control.
Size
);
275
Assert.Equal(new Size(104, s_dimension), control.
Size
);
284
Assert.Equal(new Size(104, s_dimension), control.
Size
);
308
Assert.Equal(new Size(104, s_dimension), control.
Size
);
320
Assert.Equal(new Size(104, s_dimension), control.
Size
);
332
Assert.Equal(new Size(104, s_dimension), control.
Size
);
362
Assert.Equal(new Size(s_dimension, s_dimension), control.
Size
);
374
Assert.Equal(new Size(s_dimension, s_dimension), control.
Size
);
386
Assert.Equal(new Size(s_dimension, s_dimension), control.
Size
);
865
Assert.Equal(expected, control.
Size
);
1315
Assert.Equal(expectedSize, control.
Size
);
1323
Assert.Equal(expectedSize, control.
Size
);
1349
Assert.Equal(expectedSize, control.
Size
);
1357
Assert.Equal(expectedSize, control.
Size
);
1389
Assert.Equal(expectedSize, control.
Size
);
1400
Assert.Equal(expectedSize, control.
Size
);
1436
Assert.Equal(expectedSize, control.
Size
);
1447
Assert.Equal(expectedSize, control.
Size
);
2999
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
3020
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
WebBrowserBaseTests.cs (4)
78
Assert.Equal(new Size(width, height), control.
Size
);
97
Assert.Equal(new Size(width, height), control.
Size
);
194
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
216
Assert.Equal(new Size(expectedWidth, expectedHeight), control.
Size
);
System.Windows.Forms.UI.IntegrationTests (6)
PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
69
grid.SelectedEntry = grid[nameof(Button.
Size
)];
247
grid.SelectedEntry = grid[nameof(Button.
Size
)];
PropertyGridInternal\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (4)
22
grid.SelectedEntry = grid[nameof(Button.
Size
)];
36
grid.SelectedEntry = grid[nameof(Button.
Size
)];
65
grid.SelectedEntry = grid[nameof(Button.
Size
)];
78
grid.SelectedEntry = grid[nameof(Button.
Size
)];
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (1)
1010
OnPropertyChanged("Size", this.
Size
);
System\Windows\Integration\WindowsFormsHost.cs (2)
283
if ((Child.
Size
!= targetSize) && ((finalSize != _priorConstraint) || scaled))
288
Size returnSize = Convert.ToSystemWindowsSize(Child.
Size
, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
WinFormsControlsTest (3)
ComboBoxesWithScrollBars.cs (2)
27
changeCBHeight_UpDown2.Value = comboBox2.
Size
.Height;
54
changeCBHeight_UpDown2.ValueChanged += (s, e) => comboBox2.Size = new Size(comboBox2.
Size
.Width, (int)changeCBHeight_UpDown2.Value);
MainForm.cs (1)
274
biggestButton = button.
Size
;