37 writes to ClientSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1465ClientSize = ScaleSize(clientSize, dx, dy);
System\Windows\Forms\Form.cs (1)
734set => base.ClientSize = value;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
49ClientSize = panelSize;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
173ClientSize = new Size(ClientSize.Width + requestedDelta, MinimumSize.Height);
System\Windows\Forms\Design\UserControlDocumentDesigner.cs (1)
29set => Control.ClientSize = value;
System.Windows.Forms.Tests (32)
System\Windows\Forms\ControlTests.Handlers.cs (6)
2797ClientSize = new Size(10, 20) 2801ClientSize = new Size(10, 20) 2897ClientSize = new Size(10, 20) 2901ClientSize = new Size(10, 20) 2974ClientSize = new Size(10, 20) 2978ClientSize = new Size(10, 20)
System\Windows\Forms\ControlTests.Methods.cs (4)
4597ClientSize = new Size(10, 20) 4601ClientSize = new Size(10, 20) 4697ClientSize = new Size(10, 20) 4701ClientSize = new Size(10, 20)
System\Windows\Forms\ControlTests.Properties.cs (10)
3336control.ClientSize = value; 3346control.ClientSize = value; 3380control.ClientSize = value; 3396control.ClientSize = value; 3443control.ClientSize = value; 3462control.ClientSize = value; 3502control.ClientSize = new Size(10, 10); 3508control.ClientSize = new Size(10, 10); 3514control.ClientSize = new Size(11, 11); 3522control.ClientSize = new Size(10, 10);
System\Windows\Forms\ScrollableControlTests.cs (5)
218ClientSize = new Size(width, height) 711ClientSize = new Size(70, 80), 2330ClientSize = new Size(width, height) 2391ClientSize = new Size(width, height) 2535ClientSize = clientSize
System\Windows\Forms\TableLayoutPanelTests.cs (7)
977ClientSize = new Size(70, 80) 1022ClientSize = new Size(70, 80) 1045ClientSize = new Size(70, 80) 1065ClientSize = new Size(70, 80) 1085ClientSize = new Size(70, 80) 1105ClientSize = new Size(70, 80) 1125ClientSize = new Size(50, 50)
322 references to ClientSize
System.Windows.Forms (22)
System\Windows\Forms\Control.cs (1)
8757Rectangle clientBounds = new(clientOffset, ClientSize);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
18821Invalidate(new Rectangle(new Point(-pt.X, ColumnHeadersHeight), new Size(-step, ClientSize.Height))); 18831Invalidate(new Rectangle(new Point(ClientSize.Width - (pt.X - rect.Right) - step, ColumnHeadersHeight), 18832new Size(step, ClientSize.Height))); 18839new Size(-step, ClientSize.Width))); 18846new Size(ClientSize.Width, ClientSize.Height - (pt.Y - rect.Bottom) - step)));
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
146Size size = ClientSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
61Size size = ClientSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
148Size size = ClientSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1856Size size = ClientSize;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
669Size clientSize = parent.ClientSize;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
375noMansLand.X += ClientSize.Width + 1; 376noMansLand.Y += ClientSize.Height + 1;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1462Size clientSize = ClientSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
193_noMansLand.X += ToolStrip.ClientSize.Width + 1; 194_noMansLand.Y += ToolStrip.ClientSize.Height + 1;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
631Size size = tv.ClientSize;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
837Rectangle clientArea = new(Point.Empty, ClientSize);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (2)
259int half_height = ClientSize.Height / 2; 318if (half_height != (ClientSize.Height + 1) / 2)
System\Windows\Forms\Form.cs (1)
733get => base.ClientSize;
System.Windows.Forms.Design (15)
System\ComponentModel\Design\ByteViewer.cs (1)
549int rows = (ClientSize.Height - 2 * (BORDER_GAP + INSET_GAP)) / CELL_HEIGHT;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (5)
172int requestedDelta = Math.Min((requestedSize.Width - ClientSize.Width), maxDelta); 173ClientSize = new Size(ClientSize.Width + requestedDelta, MinimumSize.Height); 383return WatermarkSize.Width < ClientSize.Width; 417new RectangleF(0.0f, 0.0f, ClientSize.Width, ClientSize.Height),
System\Windows\Forms\Design\CommandSet.cs (3)
1323int centerOfParentX = (viewParent.ClientSize.Width) / 2; 1324int centerOfParentY = (viewParent.ClientSize.Height) / 2; 3289Size parentSize = parentControl.ClientSize;
System\Windows\Forms\Design\ControlDesigner.cs (2)
2115if (Control is not null && Control.Size != Control.ClientSize && Control.Parent is { } parent) 2119Rectangle clientAreaScreenBounds = new(Control.PointToScreen(Point.Empty), Control.ClientSize);
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
919int parentHeight = parent.ClientSize.Height; 920int parentWidth = parent.ClientSize.Width;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1079Rectangle checkBounds = new(controlLoc, Control.ClientSize); // Can't use Control.Size since that will include any scrollbar
System\Windows\Forms\Design\UserControlDocumentDesigner.cs (1)
28get => Control.ClientSize;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
44Assert.Equal(new Size(control.Width, control.Height), control.ClientSize);
System.Windows.Forms.Tests (284)
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (1)
24Assert.Equal(ownerControl.ClientSize, accessibilityObject.Bounds.Size);
System\Windows\Forms\AxHostTests.cs (2)
49Assert.Equal(new Size(75, 23), control.ClientSize); 143Assert.Equal(new Size(75, 23), control.ClientSize);
System\Windows\Forms\ButtonBaseTests.cs (1)
41Assert.Equal(new Size(75, 23), control.ClientSize);
System\Windows\Forms\ButtonTests.cs (1)
43Assert.Equal(new Size(75, 23), control.ClientSize);
System\Windows\Forms\CheckBoxTests.cs (1)
45Assert.Equal(new Size(104, 24), control.ClientSize);
System\Windows\Forms\ComboBoxTests.cs (1)
46Assert.Equal(new Size(117, control.PreferredHeight - 4), control.ClientSize);
System\Windows\Forms\ContainerControlTests.cs (1)
49Assert.Equal(Size.Empty, control.ClientSize);
System\Windows\Forms\ControlTests.cs (5)
36Assert.Equal(Size.Empty, control.ClientSize); 125Assert.Equal(Size.Empty, control.ClientSize); 222Assert.Equal(new Size(width, height), control.ClientSize); 318Assert.Equal(Size.Empty, control.ClientSize); 414Assert.Equal(new Size(width, height), control.ClientSize);
System\Windows\Forms\ControlTests.Methods.cs (82)
7425Assert.Equal(new Size(width, height), control.ClientSize); 7444Assert.Equal(new Size(width, height), control.ClientSize); 7536Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 7555Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 7634Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 7653Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 7752Assert.Equal(new Size(width, height), control.ClientSize); 7772Assert.Equal(new Size(width, height), control.ClientSize); 7875Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 7897Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8023Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8050Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8212Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8231Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8323Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8342Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8421Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 8440Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 8609Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8629Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8732Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8754Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8880Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8907Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9026Assert.Equal(new Size(width, height), control.ClientSize); 9047Assert.Equal(new Size(width, height), control.ClientSize); 9168Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9189Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9297Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 9318Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 9434Assert.Equal(new Size(width, height), control.ClientSize); 9456Assert.Equal(new Size(width, height), control.ClientSize); 9589Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9613Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9747Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9776Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9824Assert.Equal(value, control.ClientSize); 9834Assert.Equal(value, control.ClientSize); 9858Assert.Equal(value, control.ClientSize); 9874Assert.Equal(value, control.ClientSize); 9906Assert.Equal(value, control.ClientSize); 9925Assert.Equal(value, control.ClientSize); 9965Assert.Equal(new Size(10, 10), control.ClientSize); 9971Assert.Equal(new Size(10, 10), control.ClientSize); 9977Assert.Equal(new Size(11, 11), control.ClientSize); 9985Assert.Equal(new Size(10, 10), control.ClientSize); 10381Assert.Equal(Size.Empty, control.ClientSize); 10400Assert.Equal(Size.Empty, control.ClientSize); 10440Assert.True(control.ClientSize.Width > 0); 10441Assert.True(control.ClientSize.Height >= 0); 10473Assert.True(control.ClientSize.Width > 0); 10474Assert.True(control.ClientSize.Height >= 0); 10555Assert.Equal(Size.Empty, control.ClientSize); 10574Assert.Equal(Size.Empty, control.ClientSize); 10647Assert.Equal(Size.Empty, control.ClientSize); 10666Assert.Equal(Size.Empty, control.ClientSize); 10738Assert.Equal(Size.Empty, control.ClientSize); 10760Assert.Equal(Size.Empty, control.ClientSize); 10805Assert.Equal(new Size(3, 4), control.ClientSize); 10827Assert.Equal(new Size(3, 4), control.ClientSize); 10883Assert.Equal(new Size(3, 4), control.ClientSize); 10909Assert.Equal(new Size(3, 4), control.ClientSize); 10995Assert.Equal(new Size(width, height), control.ClientSize); 11014Assert.Equal(new Size(width, height), control.ClientSize); 11106Assert.Equal(new Size(width, height), control.ClientSize); 11125Assert.Equal(new Size(width, height), control.ClientSize); 11204Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 11223Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 11313Assert.Equal(new Size(width, height), control.ClientSize); 11333Assert.Equal(new Size(width, height), control.ClientSize); 11436Assert.Equal(new Size(width, height), control.ClientSize); 11458Assert.Equal(new Size(width, height), control.ClientSize); 11565Assert.Equal(new Size(width, height), control.ClientSize); 11592Assert.Equal(new Size(width, height), control.ClientSize); 11690Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11709Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11799Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11819Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11934Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11956Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 12063Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 12090Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize);
System\Windows\Forms\ControlTests.Properties.cs (83)
2478Assert.Equal(new Size(width, height), control.ClientSize); 2497Assert.Equal(new Size(width, height), control.ClientSize); 2567Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 2586Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 2652Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 2671Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 2757Assert.Equal(new Size(width, height), control.ClientSize); 2777Assert.Equal(new Size(width, height), control.ClientSize); 2857Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 2879Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 2982Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 3009Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 3294Assert.Equal(expected, control.ClientSize); 3337Assert.Equal(value, control.ClientSize); 3347Assert.Equal(value, control.ClientSize); 3381Assert.Equal(value, control.ClientSize); 3397Assert.Equal(value, control.ClientSize); 3444Assert.Equal(value, control.ClientSize); 3463Assert.Equal(value, control.ClientSize); 3503Assert.Equal(new Size(10, 10), control.ClientSize); 3509Assert.Equal(new Size(10, 10), control.ClientSize); 3515Assert.Equal(new Size(11, 11), control.ClientSize); 3523Assert.Equal(new Size(10, 10), control.ClientSize); 5728Assert.Equal(new Size(0, value), control.ClientSize); 5747Assert.Equal(new Size(0, value), control.ClientSize); 5838Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 5857Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 5926Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 5945Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 6034Assert.Equal(new Size(0, value), control.ClientSize); 6054Assert.Equal(new Size(0, value), control.ClientSize); 6146Assert.Equal(new Size(0, expectedHeight), control.ClientSize); 6168Assert.Equal(new Size(0, expectedHeight), control.ClientSize); 6283Assert.Equal(new Size(0, expectedHeight), control.ClientSize); 6310Assert.Equal(new Size(0, expectedHeight), control.ClientSize); 6691Assert.Equal(new Size(0, 0), control.ClientSize); 6713Assert.Equal(new Size(0, 0), control.ClientSize); 6783Assert.Equal(new Size(0, 0), control.ClientSize); 6805Assert.Equal(new Size(0, 0), control.ClientSize); 6881Assert.Equal(new Size(0, 0), control.ClientSize); 6906Assert.Equal(new Size(0, 0), control.ClientSize); 6992Assert.Equal(new Size(0, 0), control.ClientSize); 7021Assert.Equal(new Size(0, 0), control.ClientSize); 7172Assert.Equal(new Size(0, 0), control.ClientSize); 7194Assert.Equal(new Size(0, 0), control.ClientSize); 7262Assert.Equal(new Size(0, 0), control.ClientSize); 7285Assert.Equal(new Size(0, 0), control.ClientSize); 7364Assert.Equal(new Size(0, 0), control.ClientSize); 7389Assert.Equal(new Size(0, 0), control.ClientSize); 7475Assert.Equal(new Size(0, 0), control.ClientSize); 7505Assert.Equal(new Size(0, 0), control.ClientSize); 11112Assert.Equal(value, control.ClientSize); 11131Assert.Equal(value, control.ClientSize); 11223Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 11242Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 11318Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 11337Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 11433Assert.Equal(value, control.ClientSize); 11453Assert.Equal(value, control.ClientSize); 11550Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 11572Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 11692Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 11719Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 12127Assert.Equal(new Size(0, 0), control.ClientSize); 12148Assert.Equal(new Size(0, 0), control.ClientSize); 12217Assert.Equal(new Size(0, 0), control.ClientSize); 12239Assert.Equal(new Size(0, 0), control.ClientSize); 12315Assert.Equal(new Size(0, 0), control.ClientSize); 12339Assert.Equal(new Size(0, 0), control.ClientSize); 12424Assert.Equal(new Size(0, 0), control.ClientSize); 12453Assert.Equal(new Size(0, 0), control.ClientSize); 13147Assert.Equal(new Size(value, 0), control.ClientSize); 13166Assert.Equal(new Size(value, 0), control.ClientSize); 13257Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 13276Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 13345Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 13364Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 13453Assert.Equal(new Size(value, 0), control.ClientSize); 13473Assert.Equal(new Size(value, 0), control.ClientSize); 13565Assert.Equal(new Size(expectedWidth, 0), control.ClientSize); 13587Assert.Equal(new Size(expectedWidth, 0), control.ClientSize); 13702Assert.Equal(new Size(expectedWidth, 0), control.ClientSize); 13729Assert.Equal(new Size(expectedWidth, 0), control.ClientSize);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
47Assert.Equal(new Size(96, control.PreferredHeight - 4), control.ClientSize);
System\Windows\Forms\DateTimePickerTests.cs (1)
50Assert.Equal(new Size(196, control.PreferredHeight - 4), control.ClientSize);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
44Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\DomainUpDownTests.cs (2)
59_sub.ClientSize.Should().Be(new Size(120, Control.DefaultFont.Height + 7)); 66_sub.ClientSize.Should().Be(new Size(116, Control.DefaultFont.Height + 3));
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
43Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\GroupBoxTests.cs (1)
39Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\HScrollBarTests.cs (2)
43Assert.True(control.ClientSize.Width > 0); 44Assert.True(control.ClientSize.Height > 0);
System\Windows\Forms\LabelTests.cs (1)
39Assert.Equal(new Size(100, 23), control.ClientSize);
System\Windows\Forms\ListBoxTests.cs (1)
40Assert.Equal(new Size(116, 92), control.ClientSize);
System\Windows\Forms\ListControlTests.cs (1)
40Assert.Equal(Size.Empty, control.ClientSize);
System\Windows\Forms\ListViewTests.cs (1)
52Assert.Equal(new Size(117, 93), control.ClientSize);
System\Windows\Forms\MdiClientTests.cs (11)
36Assert.Equal(Size.Empty, control.ClientSize); 537Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 556Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 639Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 661Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 773Assert.Equal(Size.Empty, control.ClientSize); 800Assert.Equal(Size.Empty, control.ClientSize); 925Assert.Equal(Size.Empty, control.ClientSize); 952Assert.Equal(Size.Empty, control.ClientSize); 1087Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 1114Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize);
System\Windows\Forms\MenuStripTests.cs (1)
44Assert.Equal(new Size(200, 24), control.ClientSize);
System\Windows\Forms\MonthCalendarTests.cs (7)
48Assert.True(control.ClientSize.Width > 0); 49Assert.True(control.ClientSize.Height > 0); 2523Size size = control.ClientSize; 2526Assert.Equal(size, control.ClientSize); 2535Assert.Equal(size, control.ClientSize); 2559Assert.Equal(size, control.ClientSize); 2571Assert.Equal(size, control.ClientSize);
System\Windows\Forms\PanelTests.cs (1)
44Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\PictureBoxTests.cs (1)
42Assert.Equal(new Size(100, 50), control.ClientSize);
System\Windows\Forms\ProgressBarTests.cs (1)
39Assert.Equal(new Size(100, 23), control.ClientSize);
System\Windows\Forms\PropertyGridTests.cs (1)
60Assert.Equal(new Size(130, 130), control.ClientSize);
System\Windows\Forms\RadioButtonTests.cs (1)
44Assert.Equal(new Size(104, 24), control.ClientSize);
System\Windows\Forms\RichTextBoxTests.cs (1)
53Assert.Equal(new Size(96, 92), control.ClientSize);
System\Windows\Forms\ScrollableControlTests.cs (1)
43Assert.Equal(Size.Empty, control.ClientSize);
System\Windows\Forms\ScrollBarTests.cs (1)
38Assert.Equal(Size.Empty, control.ClientSize);
System\Windows\Forms\SplitterPanelTests.cs (9)
48Assert.Equal(new Size(200, 100), control.ClientSize); 463Assert.Equal(new Size(200, 100), control.ClientSize); 482Assert.Equal(new Size(200, 100), control.ClientSize); 540Assert.Equal(new Size(200, 100), control.ClientSize); 562Assert.Equal(new Size(200, 100), control.ClientSize); 828Assert.Equal(value, control.ClientSize); 847Assert.Equal(value, control.ClientSize); 1185Assert.Equal(new Size(200, 100), control.ClientSize); 1204Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\SplitterTests.cs (1)
38Assert.Equal(new Size(3, 3), control.ClientSize);
System\Windows\Forms\StatusStripTests.cs (1)
44Assert.Equal(new Size(200, 22), control.ClientSize);
System\Windows\Forms\TabControlTests.cs (1)
41Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
46Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\TabPageTests.cs (18)
48Assert.Equal(new Size(200, 100), control.ClientSize); 157Assert.Equal(new Size(200, 100), control.ClientSize); 1898Assert.Equal(new Size(200, 100), control.ClientSize); 1920Assert.Equal(new Size(200, 100), control.ClientSize); 1988Assert.Equal(new Size(200, 100), control.ClientSize); 2011Assert.Equal(new Size(200, 100), control.ClientSize); 2089Assert.Equal(new Size(200, 100), control.ClientSize); 2114Assert.Equal(new Size(200, 100), control.ClientSize); 2213Assert.Equal(expected.Size, control.ClientSize); 2243Assert.Equal(expected.Size, control.ClientSize); 4345Assert.Equal(new Size(width, height), control.ClientSize); 4366Assert.Equal(new Size(width, height), control.ClientSize); 4482Assert.Equal(new Size(width, height), control.ClientSize); 4504Assert.Equal(new Size(width, height), control.ClientSize); 4637Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 4661Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 4815Assert.Equal(expected.Size, control.ClientSize); 4845Assert.Equal(expected.Size, control.ClientSize);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
46Assert.Equal(new Size(200, 100), control.ClientSize); 939Assert.Equal(new Size(200, 100), control.ClientSize); 961Assert.Equal(new Size(200, 100), control.ClientSize);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
48Assert.Equal(new Size(100, 25), control.ClientSize); 1965Assert.Equal(new Size(100, 25), control.ClientSize); 1987Assert.Equal(new Size(100, 25), control.ClientSize);
System\Windows\Forms\ToolStripPanelTests.cs (1)
45Assert.Equal(Size.Empty, control.ClientSize);
System\Windows\Forms\ToolStripTests.cs (2)
48Assert.Equal(new Size(100, 25), control.ClientSize); 206Assert.Equal(new Size(100, 25), control.ClientSize);
System\Windows\Forms\TreeViewTests.cs (2)
39Assert.Equal(117, control.ClientSize.Width); 40Assert.Equal(93, control.ClientSize.Height);
System\Windows\Forms\UpDownBaseTests.cs (6)
46Assert.Equal(new Size(120, Control.DefaultFont.Height + 7), control.ClientSize); 53Assert.Equal(new Size(116, Control.DefaultFont.Height + 3), control.ClientSize); 2755Assert.Equal(new Size(width, Control.DefaultFont.Height + 7), control.ClientSize); 2761Assert.Equal(new Size(width - 4, Control.DefaultFont.Height + 3), control.ClientSize); 2787Assert.Equal(new Size(width, Control.DefaultFont.Height + 7), control.ClientSize); 2793Assert.Equal(new Size(width - 4, Control.DefaultFont.Height + 3), control.ClientSize);
System\Windows\Forms\UserControlTests.cs (1)
49Assert.Equal(new Size(150, 150), control.ClientSize);
System\Windows\Forms\VScrollBarTests.cs (2)
42Assert.True(control.ClientSize.Width > 0); 43Assert.True(control.ClientSize.Height > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
38Assert.Equal(new Size(250, 250), control.ClientSize);
TextBoxBaseTests.cs (6)
6536Assert.Equal(new Size(width - 4, s_preferredHeight - 4), control.ClientSize); 6557Assert.Equal(new Size(width - 4, s_preferredHeight - 4), control.ClientSize); 6670Assert.Equal(new Size(width - 4, height - 4), control.ClientSize); 6691Assert.Equal(new Size(width - 4, height - 4), control.ClientSize); 6786Assert.Equal(new Size(width - 4, height - 4), control.ClientSize); 6807Assert.Equal(new Size(width - 4, height - 4), control.ClientSize);
TextBoxTests.cs (1)
46Assert.Equal(new Size(96, control.PreferredHeight - 4), control.ClientSize);
TrackBarTests.cs (3)
39Assert.Equal(new Size(104, s_dimension), control.ClientSize); 2996Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 3017Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize);
WebBrowserBaseTests.cs (4)
75Assert.Equal(new Size(width, height), control.ClientSize); 94Assert.Equal(new Size(width, height), control.ClientSize); 191Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 213Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize);