37 writes to ClientSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1468ClientSize = 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)
4588ClientSize = new Size(10, 20) 4592ClientSize = new Size(10, 20) 4688ClientSize = new Size(10, 20) 4692ClientSize = 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)
8716Rectangle clientBounds = new(clientOffset, ClientSize);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
18802Invalidate(new Rectangle(new Point(-pt.X, ColumnHeadersHeight), new Size(-step, ClientSize.Height))); 18812Invalidate(new Rectangle(new Point(ClientSize.Width - (pt.X - rect.Right) - step, ColumnHeadersHeight), 18813new Size(step, ClientSize.Height))); 18820new Size(-step, ClientSize.Width))); 18827new 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)
1465Size 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)
2117if (Control is not null && Control.Size != Control.ClientSize && Control.Parent is { } parent) 2121Rectangle 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)
7416Assert.Equal(new Size(width, height), control.ClientSize); 7435Assert.Equal(new Size(width, height), control.ClientSize); 7527Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 7546Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 7625Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 7644Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 7743Assert.Equal(new Size(width, height), control.ClientSize); 7763Assert.Equal(new Size(width, height), control.ClientSize); 7866Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 7888Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8014Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8041Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8203Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8222Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8314Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8333Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8412Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 8431Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 8600Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8620Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8723Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8745Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8871Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 8898Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9017Assert.Equal(new Size(width, height), control.ClientSize); 9038Assert.Equal(new Size(width, height), control.ClientSize); 9159Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9180Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9288Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 9309Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 9425Assert.Equal(new Size(width, height), control.ClientSize); 9447Assert.Equal(new Size(width, height), control.ClientSize); 9580Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9604Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9738Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9767Assert.Equal(new Size(expectedWidth, expectedHeight), control.ClientSize); 9815Assert.Equal(value, control.ClientSize); 9825Assert.Equal(value, control.ClientSize); 9849Assert.Equal(value, control.ClientSize); 9865Assert.Equal(value, control.ClientSize); 9897Assert.Equal(value, control.ClientSize); 9916Assert.Equal(value, control.ClientSize); 9956Assert.Equal(new Size(10, 10), control.ClientSize); 9962Assert.Equal(new Size(10, 10), control.ClientSize); 9968Assert.Equal(new Size(11, 11), control.ClientSize); 9976Assert.Equal(new Size(10, 10), control.ClientSize); 10372Assert.Equal(Size.Empty, control.ClientSize); 10391Assert.Equal(Size.Empty, control.ClientSize); 10431Assert.True(control.ClientSize.Width > 0); 10432Assert.True(control.ClientSize.Height >= 0); 10464Assert.True(control.ClientSize.Width > 0); 10465Assert.True(control.ClientSize.Height >= 0); 10546Assert.Equal(Size.Empty, control.ClientSize); 10565Assert.Equal(Size.Empty, control.ClientSize); 10638Assert.Equal(Size.Empty, control.ClientSize); 10657Assert.Equal(Size.Empty, control.ClientSize); 10729Assert.Equal(Size.Empty, control.ClientSize); 10751Assert.Equal(Size.Empty, control.ClientSize); 10796Assert.Equal(new Size(3, 4), control.ClientSize); 10818Assert.Equal(new Size(3, 4), control.ClientSize); 10874Assert.Equal(new Size(3, 4), control.ClientSize); 10900Assert.Equal(new Size(3, 4), control.ClientSize); 10986Assert.Equal(new Size(width, height), control.ClientSize); 11005Assert.Equal(new Size(width, height), control.ClientSize); 11097Assert.Equal(new Size(width, height), control.ClientSize); 11116Assert.Equal(new Size(width, height), control.ClientSize); 11195Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 11214Assert.Equal(new Size(expectedClientWidth, expectedClientHeight), control.ClientSize); 11304Assert.Equal(new Size(width, height), control.ClientSize); 11324Assert.Equal(new Size(width, height), control.ClientSize); 11427Assert.Equal(new Size(width, height), control.ClientSize); 11449Assert.Equal(new Size(width, height), control.ClientSize); 11556Assert.Equal(new Size(width, height), control.ClientSize); 11583Assert.Equal(new Size(width, height), control.ClientSize); 11681Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11700Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11790Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11810Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11925Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 11947Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 12054Assert.Equal(new Size(clientWidth, clientHeight), control.ClientSize); 12081Assert.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);