85 writes to ClientSize
Accessibility_Core_App (14)
CommonControl1.Designer.cs (1)
682this.ClientSize = new System.Drawing.Size(1482, 1291);
CommonControl2.Designer.cs (1)
261this.ClientSize = new System.Drawing.Size(850, 501);
ContainerControls.Designer.cs (1)
803this.ClientSize = new System.Drawing.Size(795, 523);
ContainerControls2.Designer.cs (1)
420this.ClientSize = new System.Drawing.Size(945, 464);
DataBindingExample.Designer.cs (1)
273this.ClientSize = new System.Drawing.Size(785, 383);
DataControls.Designer.cs (1)
352this.ClientSize = new System.Drawing.Size(868, 450);
DialogControls.Designer.cs (1)
84this.ClientSize = new System.Drawing.Size(268, 233);
Main.Designer.cs (1)
168this.ClientSize = new System.Drawing.Size(571, 504);
Menu_Toolbars_controls.Designer.cs (1)
594ClientSize = new Size(1287, 549);
MenuForm.Designer.cs (1)
61this.ClientSize = new System.Drawing.Size(467, 441);
PrintingControls.Designer.cs (2)
63this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); 161this.ClientSize = new System.Drawing.Size(426, 522);
RemainingControls.Designer.cs (1)
118this.ClientSize = new System.Drawing.Size(593, 423);
ToolStripContainer.Designer.cs (1)
593this.ClientSize = new System.Drawing.Size(700, 422);
DesignSurface (1)
MainForm.Designer.cs (1)
296this.ClientSize = new System.Drawing.Size(824, 530);
PresentationUI (9)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
730this.ClientSize = new System.Drawing.Size(466, 574);
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
165this.ClientSize = new System.Drawing.Size(409, 168);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
220ClientSize = new System.Drawing.Size(451, 282);
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
208ClientSize = new System.Drawing.Size(398, 196);
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
213this.ClientSize = new System.Drawing.Size(548, 369);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
123this.ClientSize = new System.Drawing.Size(419, 218);
MS\Internal\Documents\RMPermissions.Designer.cs (1)
187this.ClientSize = new System.Drawing.Size(196, 155);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
374this.ClientSize = new System.Drawing.Size(554, 431);
MS\Internal\Documents\SigningDialog.Designer.cs (1)
259ClientSize = new System.Drawing.Size(492, 303);
ScratchProject (1)
Form1.Designer.cs (1)
36this.ClientSize = new System.Drawing.Size(800, 450);
ScratchProjectWithInternals (1)
Form1.Designer.cs (1)
36this.ClientSize = new System.Drawing.Size(800, 450);
System.Windows.Forms (7)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
269ClientSize = new(299, 113);
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
245ClientSize = new Size(width, buttonTop + _scaledButtonTopPadding);
System\Windows\Forms\Form.cs (3)
670ClientSize = size; 5087ClientSize = ScaleSize(clientSize, x, y); 6144ClientSize = previousClientSize;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
84ClientSize = ScaleHelper.ScaleToDpi(new Size(256, 122), ScaleHelper.InitialSystemDpi);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
970ClientSize = new Size(400, 300);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\FormatStringDialog.cs (1)
204ClientSize = new Drawing.Size(396, 295);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
131((Form)Component).ClientSize = value;
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (1)
271form.ClientSize = new(300, 200);
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
543form.ClientSize = new(520, 305);
System.Windows.Forms.UI.IntegrationTests (8)
ApplicationTests.cs (1)
48ClientSize = new Size(640, 480)
Dpi\ToolStripItemTests.Dpi.cs (1)
36form.ClientSize = new Size(clientWidth, 450);
DragDropTests.cs (4)
67form.ClientSize = new Size(100, 100); 282form.ClientSize = new Size(100, 100); 637ClientSize = new Size(292, 270); 931ClientSize = new Size(285, 175);
MDITests.cs (1)
70ClientSize = new Size(640, 480),
PropertyGridViewTests.cs (1)
24form.ClientSize = new Size(508, 367);
TrimTest (1)
Form1.Designer.cs (1)
100ClientSize = new Size(800, 450);
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
60ClientSize = new Size(800, 450);
WinFormsControlsTest (38)
AnchorLayoutTests.Designer.cs (1)
140this.ClientSize = new System.Drawing.Size(800, 450);
Buttons.Designer.cs (1)
46this.ClientSize = new System.Drawing.Size(419, 271);
Calendar.Designer.cs (1)
234this.ClientSize = new System.Drawing.Size(509, 528);
ChartControl.Designer.cs (1)
415this.ClientSize = new System.Drawing.Size(1535, 1017);
CollectionEditors.Designer.cs (1)
108this.ClientSize = new System.Drawing.Size(501, 303);
ComboBoxes.Designer.cs (1)
268this.ClientSize = new System.Drawing.Size(975, 198);
ComboBoxesWithScrollBars.Designer.cs (1)
349this.ClientSize = new System.Drawing.Size(531, 517);
CustomComCtl32Button.cs (1)
19ClientSize = new Size(400, 100);
DataGridViewInVirtualModeTest.Designer.cs (1)
85this.ClientSize = new System.Drawing.Size(492, 180);
DataGridViewTest.Designer.cs (1)
209this.ClientSize = new System.Drawing.Size(750, 272);
DateTimePicker.Designer.cs (1)
97this.ClientSize = new Size(331, 301);
DesignTimeAligned.Designer.cs (1)
96this.ClientSize = new System.Drawing.Size(490, 196);
Dialogs.Designer.cs (1)
150this.ClientSize = new System.Drawing.Size(503, 430);
DockLayoutTests.Designer.cs (1)
97this.ClientSize = new System.Drawing.Size(800, 450);
DragDrop.Designer.cs (1)
199ClientSize = new Size(1226, 625);
ErrorProviderTest.Designer.cs (1)
130this.ClientSize = new System.Drawing.Size(290, 230);
FormBorderStyles.Designer.cs (1)
57this.ClientSize = new System.Drawing.Size(349, 214);
ListBoxes.Designer.cs (1)
202this.ClientSize = new System.Drawing.Size(800, 500);
MainForm.cs (1)
293ClientSize = new Size(
MainForm.Designer.cs (1)
50this.ClientSize = new System.Drawing.Size(570, 30);
MdiChild.Designer.cs (1)
142this.ClientSize = new System.Drawing.Size(480, 221);
MdiParent.Designer.cs (1)
40this.ClientSize = new System.Drawing.Size(900, 578);
MediaPlayer.Designer.cs (1)
55this.ClientSize = new System.Drawing.Size(800, 450);
MenuStripAndCheckedListBox.Designer.cs (1)
285this.ClientSize = new System.Drawing.Size(736, 342);
MessageBoxes.Designer.cs (1)
53this.ClientSize = new System.Drawing.Size(503, 430);
MultipleControls.Designer.cs (1)
301this.ClientSize = new System.Drawing.Size(746, 458);
Password.Designer.cs (1)
239ClientSize = new Size(898, 451);
PictureBoxes.Designer.cs (1)
83this.ClientSize = new System.Drawing.Size(606, 331);
PropertyGrid.Designer.cs (1)
51this.ClientSize = new System.Drawing.Size(465, 413);
RichTextBoxes.Designer.cs (1)
64this.ClientSize = new System.Drawing.Size(455, 203);
ScalingBeforeChanges.Designer.cs (1)
51this.ClientSize = new System.Drawing.Size(284, 261);
ScrollableControls.Designer.cs (1)
438ClientSize = new Size(759, 422);
ScrollBars.Designer.cs (1)
137this.ClientSize = new System.Drawing.Size(800, 450);
Splitter.Designer.cs (1)
62this.ClientSize = new System.Drawing.Size(568, 502);
TextBoxes.Designer.cs (1)
153this.ClientSize = new System.Drawing.Size(300, 330);
ToolStripTests.Designer.cs (1)
437this.ClientSize = new System.Drawing.Size(881, 200);
ToolTipTests.Designer.cs (1)
161this.ClientSize = new System.Drawing.Size(1417, 1577);
TrackBars.Designer.cs (1)
249this.ClientSize = new System.Drawing.Size(479, 308);
28 references to ClientSize
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
204LabelInfo.MaximumSize = New Size(ClientSize.Width - BORDER_SIZE, 0)
System.Windows.Forms (11)
System\Windows\Forms\Form.cs (11)
669Size size = ClientSize; 3016Size correctClientSize = ClientSize; 3620Size correct = ComputeWindowSize(ClientSize, (WINDOW_STYLE)maskedStyle, (WINDOW_EX_STYLE)cp.ExStyle); 4403Size size = ClientSize; 5082Size clientSize = ClientSize; 5309if (x != ClientSize.Width || y != ClientSize.Height) 6140Size previousClientSize = ClientSize; 6142if (!ClientSize.Equals(previousClientSize)) 6454_restoredWindowBounds.Size = ClientSize; 6904Size clientSize = ClientSize;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FormDocumentDesigner.cs (3)
109size = form.ClientSize; 427int clientWidth = form.ClientSize.Width; 428int clientHeight = form.ClientSize.Height;
System.Windows.Forms.Tests (11)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (7)
56Assert.Equal(new Rectangle(0, 0, control.ClientSize.Width, control.ClientSize.Height), control.ClientRectangle); 57Assert.Equal(new Size(control.ClientSize.Width, control.ClientSize.Height), control.ClientSize); 79Assert.Equal(new Rectangle(0, 0, control.ClientSize.Width, control.ClientSize.Height), control.DisplayRectangle);
System\Windows\Forms\FormTests.cs (4)
54Assert.Equal(new Rectangle(0, 0, control.ClientSize.Width, control.ClientSize.Height), control.ClientRectangle); 55Assert.True(control.ClientSize.Width > 0); 56Assert.True(control.ClientSize.Height > 0);
System.Windows.Forms.UI.IntegrationTests (2)
MDITests.cs (2)
29int childFormMinimizedYPositionFromBottom = form.ClientSize.Height - childForm.Top; 32Assert.Equal(childFormMinimizedYPositionFromBottom, form.ClientSize.Height - childForm.Top);