2339 references to Point
BinaryFormatTests (2)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (2)
190
new
Point
(-1, 2),
191
new
Point
(int.MaxValue, int.MinValue),
DesignSurface (63)
MainForm.cs (54)
124
TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 23), new
Point
(172, 12));
125
Button b1 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(172, 63));
126
CustomButton b2 = surface.CreateControl<CustomButton>(new Size(200, 40), new
Point
(172, 200));
132
RadioButton rb1 = surface.CreateControl<RadioButton>(new Size(120, 22), new
Point
(12, 10));
134
RadioButton rb2 = surface.CreateControl<RadioButton>(new Size(120, 22), new
Point
(12, 35));
138
CheckBox checkbox1 = surface.CreateControl<CheckBox>(new Size(120, 22), new
Point
(12, 60));
140
CheckBox checkbox2 = surface.CreateControl<CheckBox>(new Size(120, 22), new
Point
(12, 85));
144
CheckBox checkbox3 = surface.CreateControl<CheckBox>(new Size(120, 22), new
Point
(12, 110));
148
Panel pnl = surface.CreateControl<Panel>(new Size(140, 140), new
Point
(12, 12));
156
Label l1 = surface.CreateControl<Label>(new Size(100, 25), new
Point
(12, 12));
157
Label l2 = surface.CreateControl<Label>(new Size(120, 25), new
Point
(12, 12));
163
SplitContainer sct = surface.CreateControl<SplitContainer>(new Size(400, 100), new
Point
(0, 0));
169
PictureBox pb1 = surface.CreateControl<PictureBox>(new Size(64, 64), new
Point
(12, 176));
174
surface.CreateControl<DateTimePicker>(new Size(200, 23), new
Point
(172, 150));
185
TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 20), new
Point
(10, 10));
186
Button b1 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(10, 40));
187
Label l1 = surface.CreateControl<Label>(new Size(200, 100), new
Point
(10, 100));
194
MaskedTextBox maskTextBox = surface.CreateControl<MaskedTextBox>(new Size(200, 20), new
Point
(260, 60));
196
ComboBox cb1 = surface.CreateControl<ComboBox>(new Size(200, 20), new
Point
(260, 16));
200
ListBox lb1 = surface.CreateControl<ListBox>(new Size(200, 130), new
Point
(260, 100));
203
TreeView tv1 = surface.CreateControl<TreeView>(new Size(200, 160), new
Point
(10, 220));
214
Button b1 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(10, 10));
215
Button b2 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(100, 100));
216
Button b3 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(22, 22));
220
GroupBox gb = surface.CreateControl<GroupBox>(new Size(300, 180), new
Point
(100, 200));
224
ListView lb1 = surface.CreateControl<ListView>(new Size(290, 160), new
Point
(320, 30));
236
Button b1 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(10, 10));
237
Button b2 = surface.CreateControl<Button>(new Size(200, 40), new
Point
(10, 60));
247
MonthCalendar monthCalendar1 = surface.CreateControl<MonthCalendar>(new Size(230, 170), new
Point
(10, 110));
249
Button subButton1OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new
Point
(10, 10));
250
Button subButton2OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new
Point
(10, 10));
251
FlowLayoutPanel layoutPanel = surface.CreateControl<FlowLayoutPanel>(new Size(430, 200), new
Point
(250, 10));
255
TrackBar trackBar = surface.CreateControl<TrackBar>(new Size(200, 50), new
Point
(250, 220));
260
ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(200, 180), new
Point
(250, 280));
270
surface.CreateControl<TabControl>(new Size(400, 100), new
Point
(12, 21));
272
surface.CreateControl<TableLayoutPanel>(new Size(290, 160), new
Point
(20, 150));
273
surface.CreateControl<PropertyGrid>(new Size(200, 150), new
Point
(430, 23));
276
ListBox listBox = surface.CreateControl<ListBox>(new Size(120, 94), new
Point
(337, 217));
280
DataGridView dataGridView = surface.CreateControl<DataGridView>(new Size(200, 150), new
Point
(470, 220));
293
ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(800, 200), new
Point
(0, 60));
296
ToolStrip toolStrip1 = surface.CreateControl<ToolStrip>(new Size(400, 50), new
Point
(0, 0));
305
MenuStrip menuStrip1 = surface.CreateControl<MenuStrip>(new Size(400, 50), new
Point
(0, 60));
306
MenuStrip menuStrip2 = surface.CreateControl<MenuStrip>(new Size(400, 50), new
Point
(0, 150));
329
ToolStripPanel topToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50),
new
(0, 0));
332
ToolStripPanel bottomToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50),
new
(0, 0));
336
SplitContainer splitContainer = surface.CreateControl<SplitContainer>(new(0, 0),
new
(0, 0));
340
RichTextBox richTextBox = surface.CreateControl<RichTextBox>(new Size(0, 0), new
Point
(0, 0));
345
MyUserControl userControl = surface.CreateControl<MyUserControl>(new Size(0, 0), new
Point
(0, 0));
349
MyScrollableControl scrollableControl = surface.CreateControl<MyScrollableControl>(new Size(0, 0), new
Point
(0, 0));
362
Splitter splitter = surface.CreateControl<Splitter>(new(5, 0),
new
(0, 0));
366
Panel panel = surface.CreateControl<Panel>(new(0, tabPage6.Height / 2),
new
(0, 0));
368
NumericUpDown numericUpDown = surface.CreateControl<NumericUpDown>(new(50, 10),
new
(10, 10));
375
BindingNavigator bindingNavigator = surface.CreateControl<BindingNavigator>(new(0, 0),
new
(0, 0));
453
Location = new
Point
(0, 0),
MainForm.Designer.cs (9)
66
this.splitContainer.Location = new System.Drawing.
Point
(0, 28);
92
this.tabControl1.Location = new System.Drawing.
Point
(0, 0);
100
this.tabPage1.Location = new System.Drawing.
Point
(4, 25);
110
this.tabPage2.Location = new System.Drawing.
Point
(4, 25);
120
this.tabPage3.Location = new System.Drawing.
Point
(4, 25);
130
this.tabPage4.Location = new System.Drawing.
Point
(4, 25);
140
this.tabPage5.Location = new System.Drawing.
Point
(4, 25);
150
this.tabPage6.Location = new System.Drawing.
Point
(4, 25);
165
this.menuStrip1.Location = new System.Drawing.
Point
(0, 0);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
111
DesktopLocation = New
Point
(xPos, yPos)
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
38
this.button1.Location = new System.Drawing.
Point
(37, 59);
PresentationUI (130)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (54)
128
this.tableLayoutPanel3.Location = new System.Drawing.
Point
(6, 6);
139
this._tabControl.Location = new System.Drawing.
Point
(3, 3);
141
this._tabControl.Padding = new System.Drawing.
Point
(7, 3);
152
this._summaryTab.Location = new System.Drawing.
Point
(4, 22);
190
this.tableLayoutPanel1.Location = new System.Drawing.
Point
(3, 3);
210
this._language.Location = new System.Drawing.
Point
(69, 205);
220
this._title.Location = new System.Drawing.
Point
(69, 3);
229
this._titleLabel.Location = new System.Drawing.
Point
(3, 3);
237
this._identifier.Location = new System.Drawing.
Point
(69, 281);
246
this._versionLabel.Location = new System.Drawing.
Point
(3, 262);
254
this._authorLabel.Location = new System.Drawing.
Point
(3, 22);
262
this._statusLabel.Location = new System.Drawing.
Point
(3, 243);
270
this._contentLabel.Location = new System.Drawing.
Point
(3, 224);
278
this._languageLabel.Location = new System.Drawing.
Point
(3, 205);
286
this._subjectLabel.Location = new System.Drawing.
Point
(3, 41);
294
this._version.Location = new System.Drawing.
Point
(69, 262);
303
this._categoryLabel.Location = new System.Drawing.
Point
(3, 186);
311
this._category.Location = new System.Drawing.
Point
(69, 186);
320
this._status.Location = new System.Drawing.
Point
(69, 243);
329
this._content.Location = new System.Drawing.
Point
(69, 224);
338
this._keywordsLabel.Location = new System.Drawing.
Point
(3, 167);
347
this._author.Location = new System.Drawing.
Point
(69, 22);
356
this._subject.Location = new System.Drawing.
Point
(69, 41);
365
this._description.Location = new System.Drawing.
Point
(69, 60);
376
this._keywords.Location = new System.Drawing.
Point
(69, 167);
388
this._identifierLabel.Location = new System.Drawing.
Point
(3, 281);
397
this._descriptionLabel.Location = new System.Drawing.
Point
(3, 60);
424
this._infoTab.Location = new System.Drawing.
Point
(4, 22);
439
this.tableLayoutPanel2.Location = new System.Drawing.
Point
(6, 3);
461
this.tableLayoutPanel4.Location = new System.Drawing.
Point
(3, 3);
473
this._size.Location = new System.Drawing.
Point
(90, 41);
492
this._filename.Location = new System.Drawing.
Point
(75, 3);
502
this._documentType.Location = new System.Drawing.
Point
(75, 22);
512
this._sizeLabel.Location = new System.Drawing.
Point
(75, 41);
524
this._documentDetailBox.Location = new System.Drawing.
Point
(3, 225);
547
this._documentTable.Location = new System.Drawing.
Point
(16, 16);
560
this._documentPrintedDate.Location = new System.Drawing.
Point
(88, 79);
569
this._documentModifiedDate.Location = new System.Drawing.
Point
(88, 60);
578
this._documentCreatedDate.Location = new System.Drawing.
Point
(88, 41);
587
this._revision.Location = new System.Drawing.
Point
(88, 22);
596
this._documentPrintedLabel.Location = new System.Drawing.
Point
(3, 79);
604
this._documentModifiedLabel.Location = new System.Drawing.
Point
(3, 60);
612
this._documentCreatedLabel.Location = new System.Drawing.
Point
(3, 41);
620
this._revisionLabel.Location = new System.Drawing.
Point
(3, 22);
628
this._lastSavedLabel.Location = new System.Drawing.
Point
(3, 3);
636
this._lastSaved.Location = new System.Drawing.
Point
(88, 3);
648
this._fileSystemBox.Location = new System.Drawing.
Point
(3, 124);
666
this._fileTable.Location = new System.Drawing.
Point
(16, 19);
676
this._fileModifiedDate.Location = new System.Drawing.
Point
(66, 22);
685
this._fileAccessedDate.Location = new System.Drawing.
Point
(66, 41);
694
this._fileCreatedLabel.Location = new System.Drawing.
Point
(3, 3);
702
this._fileModifiedLabel.Location = new System.Drawing.
Point
(3, 22);
710
this._fileCreatedDate.Location = new System.Drawing.
Point
(66, 3);
719
this._fileAccessedLabel.Location = new System.Drawing.
Point
(3, 41);
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (3)
63
this._mainDialogTableLayoutPanel.Location = new System.Drawing.
Point
(8, 8);
142
this._credListBox.Location = new System.Drawing.
Point
(3, 3);
151
this._instructionLabel.Location = new System.Drawing.
Point
(3, 0);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (11)
62
_buttomControlLayoutpanel.Location = new System.Drawing.
Point
(374, 246);
106
_userInputTableLayoutPanel.Location = new System.Drawing.
Point
(10, 23);
123
_dateTimePicker.Location = new System.Drawing.
Point
(3, 174);
134
_requestedLocationTextBox.Location = new System.Drawing.
Point
(3, 125);
144
_signatureAppliedByDateLabel.Location = new System.Drawing.
Point
(3, 158);
153
_requestSignerNameLabel.Location = new System.Drawing.
Point
(3, 10);
162
_requestLocationLabel.Location = new System.Drawing.
Point
(3, 109);
170
_requestedSignerNameTextBox.Location = new System.Drawing.
Point
(3, 26);
180
_intentLabel.Location = new System.Drawing.
Point
(3, 59);
189
_intentComboBox.Location = new System.Drawing.
Point
(3, 75);
204
_mainDialogTableLayoutPanel.Location = new System.Drawing.
Point
(9, 9);
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (12)
67
_panel1.Location = new System.Drawing.
Point
(0, 0);
78
_flowLayoutPanel2.Location = new System.Drawing.
Point
(0, 0);
88
_flowLayoutPanel3.Location = new System.Drawing.
Point
(3, 16);
102
_flowLayoutPanel4.Location = new System.Drawing.
Point
(3, 3);
110
_label1.Location = new System.Drawing.
Point
(30, 1);
120
_label2.Location = new System.Drawing.
Point
(30, 20);
130
_label3.Location = new System.Drawing.
Point
(30, 30);
140
_privacyLabel.Location = new System.Drawing.
Point
(30, 53);
151
_instructionlabel.Location = new System.Drawing.
Point
(30, 76);
160
_panel2.Location = new System.Drawing.
Point
(207, 3);
168
_pictureBox.Location = new System.Drawing.
Point
(27, 4);
181
_flowLayoutPanel1.Location = new System.Drawing.
Point
(0, 153);
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (11)
67
this._flowLayoutPanel1.Location = new System.Drawing.
Point
(0, 326);
99
this._flowLayoutPanel2.Location = new System.Drawing.
Point
(0, 0);
107
this._label1.Location = new System.Drawing.
Point
(10, 10);
119
this._flowLayoutPanel3.Location = new System.Drawing.
Point
(10, 33);
128
this._pictureBox1.Location = new System.Drawing.
Point
(5, 5);
138
this._label2.Location = new System.Drawing.
Point
(31, 5);
155
this._tableLayoutPanel1.Location = new System.Drawing.
Point
(50, 89);
171
this._networkRadioButton.Location = new System.Drawing.
Point
(3, 13);
181
this._pictureBox2.Location = new System.Drawing.
Point
(368, 13);
191
this._passportRadioButton.Location = new System.Drawing.
Point
(3, 169);
200
this._pictureBox4.Location = new System.Drawing.
Point
(368, 169);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (6)
54
this.tableLayoutPanel1.Location = new System.Drawing.
Point
(0, 0);
68
this.flowLayoutPanel2.Location = new System.Drawing.
Point
(3, 47);
76
this.label2.Location = new System.Drawing.
Point
(7, 7);
90
this.tableLayoutPanel2.Location = new System.Drawing.
Point
(3, 80);
102
this.label3.Location = new System.Drawing.
Point
(149, 49);
111
this.progressBar1.Location = new System.Drawing.
Point
(156, 72);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (4)
305
this.flowLayoutPanelActions.Location = new System.Drawing.
Point
(6, 395);
314
this.buttonCancel.Location = new System.Drawing.
Point
(463, 3);
321
this.buttonSave.Location = new System.Drawing.
Point
(382, 3);
328
this.buttonSaveAs.Location = new System.Drawing.
Point
(301, 3);
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
1040
System.Drawing.Point p = new System.Drawing.
Point
(
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (12)
57
_buttonDone.Location = new System.Drawing.
Point
(247, 13);
78
_flowpanelMiddleControls.Location = new System.Drawing.
Point
(297, 0);
91
_flowpanelBottomControls.Location = new System.Drawing.
Point
(297, 0);
100
_buttonSign.Location = new System.Drawing.
Point
(166, 13);
110
_buttonViewCert.Location = new System.Drawing.
Point
(85, 13);
120
_buttonRequestDelete.Location = new System.Drawing.
Point
(4, 13);
128
_buttonRequestAdd.Location = new System.Drawing.
Point
(247, 42);
141
_columnHeaderPanel.Location = new System.Drawing.
Point
(0, 0);
152
_listBoxSummary.Location = new System.Drawing.
Point
(0, 0);
168
_listboxMainPanel.Location = new System.Drawing.
Point
(15, 15);
177
_listboxItemPanel.Location = new System.Drawing.
Point
(0, 53);
191
_mainLayoutTable.Location = new System.Drawing.
Point
(6, 6);
MS\Internal\Documents\SigningDialog.Designer.cs (15)
64
_userInputFlowPanel.Location = new System.Drawing.
Point
(3, 71);
83
_signatureControlInputLayoutTable.Location = new System.Drawing.
Point
(6, 19);
101
_addDigSigCheckBox.Location = new System.Drawing.
Point
(3, 136);
110
_signerlabel.Location = new System.Drawing.
Point
(3, 20);
121
_addDocPropCheckBox.Location = new System.Drawing.
Point
(3, 116);
130
_reasonLabel.Location = new System.Drawing.
Point
(3, 40);
138
_reasonComboBox.Location = new System.Drawing.
Point
(3, 43);
148
_actionlabel.Location = new System.Drawing.
Point
(3, 113);
157
_locationLabel.Location = new System.Drawing.
Point
(3, 77);
165
_locationTextBox.Location = new System.Drawing.
Point
(3, 80);
186
_buttonflowLayoutPanel.Location = new System.Drawing.
Point
(3, 272);
200
_cancelButton.Location = new System.Drawing.
Point
(434, 8);
214
_signButton.Location = new System.Drawing.
Point
(392, 8);
228
_signSaveAsButton.Location = new System.Drawing.
Point
(350, 8);
243
_mainLayoutTable.Location = new System.Drawing.
Point
(6, 6);
MS\Internal\Documents\SigningProgress.Designer.cs (1)
42
_label.Location = new System.Drawing.
Point
(20, 9);
System.ComponentModel.TypeConverter (2)
System\Drawing\PointConverter.cs (2)
50
return new
Point
(x, y);
100
return new
Point
((int)x, (int)y);
System.Drawing.Common.Tests (396)
mono\System.Drawing\GraphicsTests.cs (50)
113
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
129
g.RenderingOrigin = new
Point
(10, 20);
140
Assert.Equal(new
Point
(10, 20), g.RenderingOrigin);
293
g.RenderingOrigin = new
Point
(10, 20);
306
g.RenderingOrigin = new
Point
(5, 6);
318
Assert.Equal(new
Point
(10, 20), g.RenderingOrigin);
332
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
707
private static readonly Point[] s_tooSmallCurve = [
new
(0, 0),
new
(15, 5)];
729
Assert.Throws<ArgumentException>(() => g.DrawCurve(Pens.Black, [
new
(10, 10)], 0.5f));
929
AssertEquals(message + ".RenderingOrigin", new
Point
(-1, -1), g.RenderingOrigin);
953
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
962
g.RenderingOrigin = new
Point
(-1, -1);
974
Assert.Equal(new
Point
(-1, -1), g.RenderingOrigin);
986
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
995
g.RenderingOrigin = new
Point
(-1, -1);
1007
Assert.Equal(new
Point
(-1, -1), g.RenderingOrigin);
1020
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
1029
g.RenderingOrigin = new
Point
(-1, -1);
1041
Assert.Equal(new
Point
(-1, -1), g.RenderingOrigin);
1096
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
1101
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
1110
g.RenderingOrigin = new
Point
(-1, -1);
1127
Assert.Equal(new
Point
(0, 0), g.RenderingOrigin);
1524
Point[] pts = [
new
(5, 5),
new
(15, 5),
new
(15, 15)];
1900
SizeF size = g.MeasureString(text, _font, new
Point
(0, 0), string_format);
1924
? g.MeasureString(text.AsSpan(), _font, new
Point
(0, 0), string_format)
1925
: g.MeasureString(text, _font, new
Point
(0, 0), string_format);
1966
SizeF size = g.MeasureString(text, _font, new
Point
(0, 0), string_format);
2087
rect.Location = new
Point
(10, 10);
2104
rect.Location = new
Point
(10, 10);
2495
Assert.Throws<ArgumentNullException>(() => g.DrawImage(null, new
Point
(0, 0)));
2503
g.DrawImage(bmp, new
Point
(0, 0));
2535
g.DrawImage(bmp, [
new
(0, 0),
new
(1, 1),
new
(2, 2)]);
2625
Point[] pts = [
new
(1, 1),
new
(2, 2),
new
(3, 3)];
2654
Point p =
new
(1, 1);
2661
Point p =
new
(1, 1);
2668
Point p =
new
(1, 1);
2675
Point p =
new
(1, 1);
2740
Point p =
new
(1, 1);
2751
Point p =
new
(1, 1);
2765
Assert.Throws<ArgumentNullException>(() => g.DrawImageUnscaled(null, new
Point
(0, 0)));
2773
g.DrawImageUnscaled(bmp, new
Point
(0, 0));
2944
pts[i] = new
Point
(i, i);
System\Drawing\Drawing2D\CustomLineCapTests.cs (20)
27
strokePath.AddLine(new
Point
(0, 0), new
Point
(0, 5));
28
strokePath.AddLine(new
Point
(0, 5), new
Point
(5, 1));
29
strokePath.AddLine(new
Point
(5, 1), new
Point
(3, 1));
34
fillPath.AddLine(new
Point
(-5, -10), new
Point
(0, 10));
35
fillPath.AddLine(new
Point
(0, 10), new
Point
(5, -10));
36
fillPath.AddLine(new
Point
(5, -10), new
Point
(-5, -10));
71
fillPath.AddLine(new
Point
(0, -10), new
Point
(0, 10));
80
fillPath.AddLine(new
Point
(-5, 5), new
Point
(5, 5));
81
fillPath.AddLine(new
Point
(5, 5), new
Point
(5, 1));
82
fillPath.AddLine(new
Point
(5, 1), new
Point
(-5, 5));
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (6)
189
Point[] points = [
new
(1, 1),
new
(2, 2),
new
(3, 3),
new
(4, 4)];
271
gp.AddLine(
new
(0, 0),
new
(1, 1));
System\Drawing\Drawing2D\GraphicsPathTests.cs (156)
57
new
(1, 1),
new
(1, 1),
new
(1, 1),
58
new
(1, 1),
new
(1, 1),
new
(1, 1),
151
gp.PathData.Points[0] = new
Point
(0, 0);
164
gp.PathPoints[0] = new
Point
(0, 0);
220
gpPointsInt.AddLine(new
Point
(1, 1), new
Point
(2, 2));
232
gpi.AddLine(new
Point
(49, 157), new
Point
(75, 196));
233
gpi.AddLine(new
Point
(75, 196), new
Point
(102, 209));
237
gpi.AddLine(new
Point
(102, 209), new
Point
(75, 196));
256
gpi.AddLines([
new
(1, 1),
new
(2, 2)]);
281
new
(49, 157),
new
(49, 157)
369
gpi.AddBezier(new
Point
(1, 1), new
Point
(2, 2), new
Point
(3, 3), new
Point
(4, 4));
382
gp.AddBezier(new
Point
(0, 0), new
Point
(0, 0), new
Point
(0, 0), new
Point
(0, 0));
386
gp.AddBezier(new
Point
(0, 0), new
Point
(0, 0), new
Point
(0, 0), new
Point
(0, 0));
450
Point[] intPoints = [
new
(1, 1),
new
(2, 2)];
466
Point[] intPoints = [
new
(1, 1),
new
(2, 2)];
481
Point[] intPoints = [
new
(1, 1),
new
(1, 1)];
500
Point[] intPoints = [
new
(1, 1),
new
(2, 2)];
580
yield return new object[] { new Point[1] {
new
(1, 1) } };
607
() => gp.AddCurve([
new
(1, 1),
new
(2, 2)], 0, segment, 0.5f));
618
() => gp.AddCurve([
new
(1, 1),
new
(0, 20),
new
(20, 0)], 1, 2, 0.5f));
626
gpi.AddClosedCurve([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
639
gpi.AddClosedCurve([
new
(1, 1),
new
(1, 1),
new
(1, 1)]);
641
gpi.AddClosedCurve([
new
(1, 1),
new
(1, 1),
new
(1, 1)]);
655
gpi.AddClosedCurve([
new
(1, 1),
new
(2, 2),
new
(3, 3)], 0.5f);
673
yield return new object[] { new Point[1] {
new
(1, 1) } };
674
yield return new object[] { new Point[2] {
new
(1, 1),
new
(2, 2) } };
889
gpi.AddPolygon([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
902
gpi.AddPolygon([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
906
gpi.AddPolygon([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
910
gpi.AddPolygon([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
914
gpi.AddPolygon([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
961
yield return new object[] { new Point[1] {
new
(1, 1) } };
962
yield return new object[] { new Point[2] {
new
(1, 1),
new
(2, 2) } };
995
gpi.AddString("mono", FontFamily.GenericMonospace, 0, 10, new
Point
(10, 10), StringFormat.GenericDefault);
1019
gpi.AddString("mono", FontFamily.GenericMonospace, 0, -10, new
Point
(10, 10), StringFormat.GenericDefault);
1055
gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new
Point
(10, 10), StringFormat.GenericDefault);
1067
gp.AddString(null, FontFamily.GenericMonospace, 0, 10, new
Point
(10, 10), StringFormat.GenericDefault));
1081
new GraphicsPath().AddString("mono", null, 0, 10, new
Point
(10, 10), StringFormat.GenericDefault));
1199
new
(0, 0),
new
(40, 20),
1200
new
(20, 40),
new
(40, 40)
1214
new
(0, 0),
new
(40, 20),
1215
new
(20, 40),
new
(40, 40)
1259
new
(0, 0),
new
(10, 10),
1260
new
(20, 20),
new
(40, 40)
1306
gp.AddPolygon([
new
(5, 5),
new
(15, 5),
new
(10, 15)]);
1315
gp.AddPolygon([
new
(5, 5),
new
(15, 5),
new
(10, 15)]);
1331
gp.AddLine(new
Point
(1, 1), new
Point
(2, 2));
1342
gp.AddLine(new
Point
(1, 1), new
Point
(2, 2));
1363
gp.AddLine(new
Point
(1, 1), new
Point
(2, 2));
1381
gp.AddLine(new
Point
(1, 1), new
Point
(2, 2));
1383
gp.AddLine(new
Point
(3, 3), new
Point
(4, 4));
1436
new
(10, 10),
new
(20, 10),
new
(20, 20),
1437
new
(30, 20),
new
(40, 40),
new
(50, 40),
1438
new
(50, 50)
1455
gp.AddClosedCurve([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
1471
path.AddCurve([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
1517
gp.AddLines([
new
(10, 10),
new
(20, 10),
new
(20, 20),
new
(30, 20)]);
1583
gp.AddPolygon([
new
(1, 1),
new
(2, 2),
new
(3, 3)]);
1636
gp.AddString("mono", FontFamily.GenericMonospace, 0, 10, new
Point
(20, 20), StringFormat.GenericDefault);
1694
gp.AddPolygon([
new
(5, 5),
new
(15, 5),
new
(10, 15)]);
1706
gp.AddPolygon([
new
(5, 5),
new
(15, 5),
new
(10, 15)]);
1851
new
(1, 2),
new
(3, 4),
new
(5, 6),
new
(7, 8),
1852
new
(9, 10),
new
(11, 12),
new
(13, 14)
1979
gp.AddString("Mono::", FontFamily.GenericMonospace, 0, 10, new
Point
(10, 10), StringFormat.GenericDefault);
2044
new
(dX-64, dY-24),
new
(dX-59, dY-34),
new
(dX-52, dY-54),
2045
new
(dX-18, dY-66),
new
(dX-34, dY-47),
new
(dX-43, dY-27),
2046
new
(dX-44, dY-8),
2253
Point point =
new
(12, 2);
2281
Point point =
new
(15, 10);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (18)
12
yield return new object[] { new
Point
(0, 0), new
Point
(2, 2), Color.Empty, Color.Empty, new RectangleF(0, 0, 2, 2) };
13
yield return new object[] { new
Point
(1, 0), new
Point
(0, 0), Color.Empty, Color.Red, new RectangleF(0, -0.5f, 1, 1) };
14
yield return new object[] { new
Point
(1, 2), new
Point
(4, 6), Color.Plum, Color.Red, new RectangleF(1, 2, 3, 4) };
15
yield return new object[] { new
Point
(1, 2), new
Point
(4, 6), Color.Red, Color.Red, new RectangleF(1, 2, 3, 4) };
16
yield return new object[] { new
Point
(-1, -2), new
Point
(4, 6), Color.Red, Color.Plum, new RectangleF(-1, -2, 5, 8) };
17
yield return new object[] { new
Point
(-4, -6), new
Point
(1, 2), Color.Black, Color.Wheat, new RectangleF(-4, -6, 5, 8) };
18
yield return new object[] { new
Point
(4, 6), new
Point
(-1, -2), Color.Black, Color.Wheat, new RectangleF(-1, -2, 5, 8) };
19
yield return new object[] { new
Point
(4, 6), new
Point
(1, 2), Color.Black, Color.Wheat, new RectangleF(1, 2, 3, 4) };
71
Assert.Throws<ExternalException>(() => new LinearGradientBrush(new
Point
(x, y), new
Point
(x, y), Color.Fuchsia, Color.GhostWhite));
System\Drawing\Drawing2D\MatrixTests.cs (29)
98
yield return new object[] { new Rectangle(1, 4, 8, 16), new Point[] {
new
(32, 64),
new
(128, 256),
new
(512, 1024) }, new float[] { 12, 24, 30, 60, -100, -200 }, false, false };
99
yield return new object[] { new Rectangle(0, 0, 2, 4), new Point[] {
new
(8, 16),
new
(32, 64),
new
(128, 256) }, new float[] { 12, 24, 30, 60, 8, 16 }, false, false };
100
yield return new object[] { new Rectangle(0, 0, 1, 1), new Point[] {
new
(0, 0),
new
(0, 0),
new
(0, 0) }, new float[] { 0, 0, 0, 0, 0, 0 }, false, false };
101
yield return new object[] { new Rectangle(0, 0, 1, 1), new Point[] {
new
(0, 0),
new
(1, 0),
new
(0, 1) }, new float[] { 1, 0, 0, 1, 0, 0 }, true, true };
699
yield return new object[] { new Matrix(2, 4, 6, 8, 10, 12), new Point[] {
new
(2, 4),
new
(4, 8) }, new Point[] {
new
(38, 52),
new
(66, 92) } };
700
yield return new object[] { new Matrix(), new Point[] {
new
(2, 4),
new
(4, 8) }, new Point[] {
new
(2, 4),
new
(4, 8) } };
701
yield return new object[] { new Matrix(2, 4, 6, 8, 10, 12), new Point[1], new Point[] {
new
(10, 12) } };
754
yield return new object[] { new Matrix(2, 4, 6, 8, 10, 12), new Point[] {
new
(2, 4),
new
(4, 8) }, new Point[] {
new
(28, 40),
new
(56, 80) } };
755
yield return new object[] { new Matrix(), new Point[] {
new
(2, 4),
new
(4, 8) }, new Point[] {
new
(2, 4),
new
(4, 8) } };
System\Drawing\Drawing2D\PathGradientBrushTests.cs (6)
32
private readonly Point[] _defaultIntPoints = [
new
(1, 2),
new
(20, 30)];
199
yield return new object[] { new Point[2] {
new
(1, 1),
new
(2, 2) }, Array.Empty<Color>() };
200
yield return new object[] { new Point[2] {
new
(1, 1),
new
(2, 2) }, new Color[3] };
System\Drawing\Graphics_DrawBezierTests.cs (11)
15
graphics.DrawBezier(pen,
new
(10, 10),
new
(20, 1),
new
(35, 5),
new
(50, 10));
30
new
(10, 10),
new
(20, 1),
new
(35, 5),
new
(50, 10),
31
new
(60, 15),
new
(65, 25),
new
(50, 30)
System\Drawing\Graphics_DrawLineTests.cs (4)
15
graphics.DrawLines(pen, [
new
(1, 1),
new
(1, 10),
new
(20, 5),
new
(25, 30)]);
System\Drawing\GraphicsTests.cs (57)
824
new
Point
(0, 0),
835
new
Point
(1, 1),
851
yield return new object[] { new
Point
(-3, -3), allEmpty };
852
yield return new object[] { new
Point
(3, 3), allEmpty };
1545
graphics.CopyFromScreen(new
Point
(sourceX, sourceY), new
Point
(destinationX, destinationY), size);
1691
new Point[] {
new
(1, 1),
new
(2, 2) },
1692
new Point[] {
new
(1, 1),
new
(2, 2) }
1699
new Point[] {
new
(1, 1),
new
(2, 2) },
1700
new Point[] {
new
(9, 12),
new
(13, 18) }
1707
new Point[] {
new
(1, 1),
new
(2, 2) },
1708
new Point[] {
new
(1, 1),
new
(2, 2) }
1715
new Point[] {
new
(1, 1),
new
(2, 2) },
1716
new Point[] {
new
(9, 12),
new
(13, 18) }
1723
new Point[] {
new
(1, 1),
new
(2, 2) },
1724
new Point[] {
new
(1, -1),
new
(0, -1) }
1731
new Point[] {
new
(1, 1),
new
(2, 2) },
1732
new Point[] {
new
(1, -1),
new
(0, -1) }
1756
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) },
1757
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) }
1764
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) },
1765
new PointF[] { new
Point
(9, 12), new
Point
(13, 18) }
1772
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) },
1773
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) }
1780
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) },
1781
new PointF[] { new
Point
(9, 12), new
Point
(13, 18) }
1788
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) },
1789
new PointF[] { new(0.5f, -1.5f), new
Point
(0, -1) }
1796
new PointF[] { new
Point
(1, 1), new
Point
(2, 2) },
1797
new PointF[] { new(0.5f, -1.5f), new
Point
(0, -1) }
1826
var points = new Point[] {
new
(1, 1) };
1828
Assert.Equal([
new
(1, 1)], points);
1854
AssertExtensions.Throws<ArgumentException>(null, () => graphics.TransformPoints(destSpace, CoordinateSpace.World, [
new
(1, 1)]));
1865
AssertExtensions.Throws<ArgumentException>(null, () => graphics.TransformPoints(CoordinateSpace.World, srcSpace, [
new
(1, 1)]));
2829
Point point =
new
(10, 10);
System\Drawing\IconConverterTests.cs (2)
115
Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, new
Point
(10, 10)));
127
Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new
Point
(10, 10)));
System\Drawing\ImageConverterTests.cs (2)
142
Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, new
Point
(10, 10)));
149
Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new
Point
(10, 10)));
System\Drawing\PenTests.cs (5)
15
yield return new object[] { new LinearGradientBrush(new
Point
(0, 0), new
Point
(0, 2), Color.Purple, Color.Plum), PenType.LinearGradient };
17
yield return new object[] { new PathGradientBrush([
new
(1, 2),
new
(2, 3)]), PenType.PathGradient };
253
using LinearGradientBrush brush = new(Point.Empty, new
Point
(1, 2), Color.Blue, Color.Red);
System\Drawing\Printing\PrinterUnitConvertTests.cs (2)
76
var converted = PrinterUnitConvert.Convert(new
Point
(100, 1000), fromUnit, toUnit);
77
Assert.Equal(new
Point
(expectedX, expectedY), converted);
System\Drawing\RegionTests.cs (28)
208
path4.AddCurve([
new
(-4194304, -4194304),
new
(4194304, 4194304)]);
212
path5.AddPolygon([
new
(-4194304, -4194304),
new
(-4194304, 4194304),
new
(4194304, 4194304),
new
(4194304, -4194304)]);
216
path6.AddPolygon([
new
(-4194304, -4194304),
new
(-4194304, 4194304),
new
(4194304, 4194304),
new
(4194304, -4194304),
new
(-4194304, -4194304)]);
235
path.AddCurve([
new
(-4194304, -4194304),
new
(4194304, 4194304)]);
1359
yield return new object[] { infiniteExclude, new
Point
(66, 292), true };
1362
yield return new object[] { new Region(new Rectangle(500, 30, 60, 80)), new
Point
(500, 29), false };
1363
yield return new object[] { new Region(new Rectangle(500, 30, 60, 80)), new
Point
(500, 30), true };
1365
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(0, 1), false };
1366
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(1, 0), false };
1367
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(2, 0), false };
1368
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(3, 0), false };
1369
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(1, 1), true };
1370
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(2, 1), true };
1371
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(3, 1), false };
1372
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(0, 2), false };
1373
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(2, 2), false };
1374
yield return new object[] { new Region(new Rectangle(1, 1, 2, 1)), new
Point
(3, 2), false };
1417
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.IsVisible(new
Point
(1, 2)));
1421
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.IsVisible(new
Point
(1, 2), s_graphic));
System.Drawing.Primitives (7)
System\Drawing\Point.cs (5)
113
public static Point Add(Point pt, Size sz) => new
Point
(unchecked(pt.X + sz.Width), unchecked(pt.Y + sz.Height));
118
public static Point Subtract(Point pt, Size sz) => new
Point
(unchecked(pt.X - sz.Width), unchecked(pt.Y - sz.Height));
123
public static Point Ceiling(PointF value) => new
Point
(unchecked((int)Math.Ceiling(value.X)), unchecked((int)Math.Ceiling(value.Y)));
128
public static Point Truncate(PointF value) => new
Point
(unchecked((int)value.X), unchecked((int)value.Y));
133
public static Point Round(PointF value) => new
Point
(unchecked((int)Math.Round(value.X)), unchecked((int)Math.Round(value.Y)));
System\Drawing\Rectangle.cs (1)
60
readonly get => new
Point
(X, Y);
System\Drawing\Size.cs (1)
121
public static explicit operator Point(Size size) => new
Point
(size.Width, size.Height);
System.Private.Windows.Core (5)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (1)
99
value = new
Point
(classInfo.GetInt32("x"), classInfo.GetInt32("y"));
System\Private\Windows\Ole\DragDropHelper.cs (3)
51
Point point =
new
(e.X, e.Y);
97
Point point =
new
(e.X, e.Y);
113
Point point =
new
(e.X, e.Y);
Windows\Win32\Foundation\LPARAM.cs (1)
27
public static explicit operator Point(LPARAM value) =>
new
(value.SIGNEDLOWORD, value.SIGNEDHIWORD);
System.Private.Windows.Core.Tests (5)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (5)
58
new
Point
(-1, int.MaxValue),
963
Location = new
Point
(1, 2);
1004
public Point Point =
new
(1, 2);
1139
Point =
new
(1, 2);
1142
public Point Point { get; set; } =
new
(1, 2);
System.Private.Windows.Core.TestUtilities (4)
CommonTestHelper.cs (4)
83
data.Add(new
Point
(1, 2));
88
data.Add(new
Point
(int.MaxValue, int.MinValue));
89
data.Add(new
Point
(-1, -2));
103
data.Add(new Size(new
Point
(1, 1)));
System.Windows.Forms (325)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (3)
192
Point ptStart =
new
(rectangle.X + 1, rectangle.Y + 1);
193
Point ptEnd =
new
(rectangle.Right - 1, rectangle.Bottom - 1);
369
return new
Point
(PARAM.SignedLOWORD(i), PARAM.SignedHIWORD(i));
System\Windows\Forms\ActiveX\AxHost.cs (1)
1076
Point phm =
new
(sz.Width, sz.Height);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
361
Point pt =
new
(PARAM.LOWORD(lpmsg->lParam), PARAM.HIWORD(lpmsg->lParam));
459
Point p1 =
new
(rc.left, rc.top);
1702
bounds.Location = new
Point
(bounds.X, bounds.Y);
System\Windows\Forms\ContextMenuStrip.cs (3)
97
Rectangle bounds = CalculateDropDownLocation(new
Point
(x, y), ToolStripDropDownDirection.AboveLeft);
101
bounds = CalculateDropDownLocation(new
Point
(x, y), ToolStripDropDownDirection.BelowLeft);
105
bounds = CalculateDropDownLocation(new
Point
(x, y), ToolStripDropDownDirection.AboveRight);
System\Windows\Forms\Control.cs (5)
410
Location = new
Point
(left, top);
2419
get =>
new
(_x, _y);
9094
Location = new
Point
(0, 0);
11102
client = new
Point
(Width / 2, Height / 2);
11106
client = PointToClient(new
Point
(x, y));
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (16)
137
Point p1 =
new
(bounds.X + bounds.Width - 1, bounds.Y); // Upper inner right
138
Point p2 =
new
(bounds.X, bounds.Y); // Upper left
139
Point p3 =
new
(bounds.X, bounds.Y + bounds.Height - 1); // Bottom inner left
140
Point p4 =
new
(bounds.X + bounds.Width - 1, bounds.Y + bounds.Height - 1); // Inner bottom right
192
Point p1 =
new
(bounds.X + bounds.Width - 1, bounds.Y); // Upper inner right
193
Point p2 =
new
(bounds.X, bounds.Y); // Upper left
194
Point p3 =
new
(bounds.X, bounds.Y + bounds.Height - 1); // Bottom inner left
195
Point p4 =
new
(bounds.X + bounds.Width - 1, bounds.Y + bounds.Height - 1); // Inner bottom right
240
Point p1 =
new
(bounds.X + bounds.Width - 1, bounds.Y); // Upper inner right
241
Point p2 =
new
(bounds.X, bounds.Y); // Upper left
242
Point p3 =
new
(bounds.X, bounds.Y + bounds.Height - 1); // Bottom inner left
243
Point p4 =
new
(bounds.X + bounds.Width - 1, bounds.Y + bounds.Height - 1); // Inner bottom right
299
Point p1 =
new
(r.Right - 1, r.Top); // Upper inner right
300
Point p2 =
new
(r.Left, r.Top); // Upper left
301
Point p3 =
new
(r.Left, r.Bottom - 1); // Bottom inner left
302
Point p4 =
new
(r.Right - 1, r.Bottom - 1); // Inner bottom right
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (2)
268
new
Point
(layout.CheckBounds.Left, layout.CheckBounds.Top),
283
new
Point
(layout.CheckBounds.Left, layout.CheckBounds.Top),
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
209
new
Point
(check.Left, check.Top),
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (3)
253
Point ptStart =
new
(rectangle.X + 1, rectangle.Y + 1);
254
Point ptEnd =
new
(rectangle.Right - 1, rectangle.Bottom - 1);
444
return new
Point
(PARAM.SignedLOWORD(i), PARAM.SignedHIWORD(i));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1370
return new
Point
(0, 0);
1383
return new
Point
(comboXMid, comboYMid);
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (4)
148
Point middle =
new
(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
164
new
(middle.X - s_offsetPixels, middle.Y - 1),
165
new
(middle.X + s_offsetPixels + 1, middle.Y - 1),
166
new
(middle.X, middle.Y + s_offsetPixels)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
160
Point pt = owner.PointToClient(new
Point
(x, y));
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (7)
475
_ptCurrentCell = new
Point
(-1, -1);
476
_ptAnchorCell = new
Point
(-1, -1);
477
_ptMouseDownCell = new
Point
(-2, -2);
478
_ptMouseEnteredCell = new
Point
(-2, -2);
479
_ptToolTipCell = new
Point
(-1, -1);
480
_ptMouseDownGridCoord = new
Point
(-1, -1);
2332
Point ptFirstDisplayedCellAddress =
new
(-1, -1)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (23)
65
_ptToolTipCell = new
Point
(columnIndex, rowIndex);
4928
return new
Point
(columnX + x, rowY + y);
13878
Debug.Assert(CurrentCellAddress == new
Point
(-1, -1));
15413
newCurrentCell = new
Point
(columnIndexInserted <= _ptCurrentCell.X ? _ptCurrentCell.X + 1 : _ptCurrentCell.X,
15419
newCurrentCell = new
Point
(-1, -1);
15533
newCurrentCell = new
Point
(_ptCurrentCell.X, _ptCurrentCell.Y + insertionCount);
15554
newCurrentCell = new
Point
(-1, -1);
15616
newCurrentCell = new
Point
(_ptCurrentCell.X, _ptCurrentCell.Y + dataGridViewRows.Length);
15621
newCurrentCell = new
Point
(-1, -1);
16120
_ptMouseDownGridCoord = new
Point
(e.X, e.Y);
16337
_ptToolTipCell = new
Point
(-1, -1);
17067
newCurrentCell = new
Point
(newX, (newX == -1) ? -1 : _ptCurrentCell.Y);
17100
newCurrentCell = new
Point
(-1, -1);
17251
newCurrentCell = new
Point
(-1, -1);
17282
newCurrentCell = new
Point
(_ptCurrentCell.X, newY);
18157
Debug.Assert(CurrentCellAddress == new
Point
(-1, -1));
18815
Invalidate(new Rectangle(new
Point
(-pt.X, ColumnHeadersHeight), new Size(-step, ClientSize.Height)));
18825
Invalidate(new Rectangle(new
Point
(ClientSize.Width - (pt.X - rect.Right) - step, ColumnHeadersHeight),
18832
Invalidate(new Rectangle(new
Point
(0, -pt.Y),
18839
Invalidate(new Rectangle(new
Point
(0, ColumnHeadersHeight),
19856
_editingPanel.Location = new
Point
(Width + 1, 0);
26989
AccessibilityNotifyCurrentCellChanged(new
Point
(_ptCurrentCell.X, _ptCurrentCell.Y));
29969
client = new
Point
(Width / 2, Height / 2);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
1011
cellBounds = new Rectangle(new
Point
(0, 0), GetSize(rowIndex));
3771
editingControl.Location = new
Point
(editingControlBounds.X, editingControlBounds.Y);
3861
DataGridView.EditingPanel.Location = new
Point
(xEditingPanel, yEditingPanel);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (3)
167
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewColumn), false /*changeIsInsertion*/, new
Point
(-1, -1));
259
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), false /*changeIsInsertion*/, new
Point
(-1, -1));
307
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), false /*changeIsInsertion*/, new
Point
(-1, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (4)
894
Point sortGlyphLocation =
new
(0, 0);
945
sortGlyphLocation = new
Point
(valBounds.Left -
955
sortGlyphLocation = new
Point
(valBounds.Right +
997
sortGlyphLocation = new
Point
(valBounds.Left + (valBounds.Width - s_sortGlyphWidth) / 2,
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (7)
2152
Point middle =
new
(dropRect.Left + dropRect.Width / 2, dropRect.Top + dropRect.Height / 2);
2162
new
(middle.X - s_offset2X, middle.Y - 1),
2163
new
(middle.X + s_offset2X + 1, middle.Y - 1),
2164
new
(middle.X, middle.Y + s_offset2Y)
2175
Point middle =
new
(dropRect.Left + (dropRect.Width - 1) / 2,
2181
Point pt1 =
new
(middle.X - (s_nonXPTriangleWidth - 1) / 2, middle.Y - s_nonXPTriangleHeight);
2182
Point pt2 =
new
(middle.X + (s_nonXPTriangleWidth - 1) / 2, middle.Y - s_nonXPTriangleHeight);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (6)
828
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), 0, rowCount, true, false, recreateNewRow, new
Point
(-1, -1));
1502
Point newCurrentCell =
new
(-1, -1);
1612
Point newCurrentCell =
new
(-1, -1);
1786
Point newCurrentCell =
new
(-1, -1);
1911
Point newCurrentCell =
new
(-1, -1);
2237
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewRow), index, 1, true, false, false, new
Point
(-1, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
800
DataGridView!.EditingControl!.Location = new
Point
(editingControlBounds.X, editingControlBounds.Y);
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (1)
355
Point ptTextLocation =
new
(0, 0);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkLabelAccessibleObject.cs (1)
64
Point p = owner.PointToClient(new
Point
(x, y));
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
561
CheckBoxRenderer.DrawCheckBoxWithVisualStyles(e, new
Point
(box.X, box.Y), cbState, HWNDInternal);
System\Windows\Forms\Controls\ListView\ListView.cs (6)
3205
return FindItem(true, text, isPrefixSearch, new
Point
(0, 0), SearchDirectionHint.Down, startIndex, includeSubItemsInSearch);
3264
return FindItem(false, string.Empty, false, new
Point
(x, y), searchDirection, 0, false);
3476
pt = new
Point
(x, y)
3525
pt = new
Point
(x, y)
3712
pt = new
Point
(x, y)
5432
Point pt =
new
(x, y);
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
291
Point hitTestPoint =
new
(x, y);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
33
private Point _position =
new
(-1, -1);
1305
private bool ShouldSerializePosition() => !_position.Equals(new
Point
(-1, -1));
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
97
Point point =
new
(listviewBounds.X + itemBounds.X, listviewBounds.Y + itemBounds.Y);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1300
pt = new
Point
(x, y),
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
394
Point point = owner.PointToClient(new
Point
(xScreen, yScreen));
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (8)
1968
ControlPaint.DrawReversibleLine(new
Point
(rc.X + i, rc.Y), new
Point
(rc.X + i, rc.Y + rc.Height), targetControl.BackColor);
1975
ControlPaint.DrawReversibleLine(new
Point
(rc.X, rc.Y + i), new
Point
(rc.X + rc.Width, rc.Y + i), targetControl.BackColor);
2605
_gridView.Location = new
Point
(0, 0);
2617
_gridView.Location = new
Point
(0, _toolStrip.Height + _toolStrip.Top);
2621
_gridView.Location = new
Point
(0, 0);
4105
Point temp =
new
(e.X, e.Y);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyGridAccessibleObject.cs (1)
29
Point clientPoint = owningPropertyGrid.PointToClient(new
Point
((int)x, (int)y));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
224
links[i] = new
Point
(index, name.Length);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (3)
20
protected static Point InvalidPoint { get; } =
new
(int.MinValue, int.MinValue);
1608
_labelTipPoint = maxSpace <= labelWidth ? new
Point
(stringX + 2, rect.Y + 1) : InvalidPoint;
1940
ValueToolTipLocation = doToolTip ? new
Point
(rect.X + 2, rect.Y - 1) : InvalidPoint;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (10)
127
Location =
new
(73, 30),
136
Location =
new
(3, 3),
148
Location =
new
(3, 3),
161
Location =
new
(131, 3),
173
Location =
new
(212, 3),
187
Location =
new
(0, 79),
210
Location =
new
(3, 3),
229
Location =
new
(1, 0),
250
Location =
new
(4, 114),
320
_detailsTextBox.Location = new
Point
(x, y);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (4)
135
_titleLabel.Location =
new
(_borderSize, _borderSize);
136
_descriptionLabel.Location =
new
(_borderSize, _borderSize + _lineHeight);
239
_titleLabel.Location =
new
(_borderSize, _borderSize);
240
_descriptionLabel.Location =
new
(_borderSize, _borderSize + _lineHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
323
return new
Point
(mouseX, mouseY);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (12)
23
private static Point InvalidPoint { get; } =
new
(int.MinValue, int.MinValue);
53
private static Point InvalidPosition { get; } =
new
(int.MinValue, int.MinValue);
91
private Point _location =
new
(1, 1);
456
Point point = PointToScreen(
new
(rect.X, rect.Y));
457
return new
Point
(point.X + (rect.Width / 2), point.Y + (rect.Height / 2));
602
Point pt =
new
(rect.X, rect.Y);
1102
Point newOrigin =
new
(rect.X, rect.Y);
1157
Point newOrigin =
new
(rect.X, rect.Y);
1419
Point location = PointToScreen(new
Point
(0, 0));
1658
Point pt =
new
(RowLabel, 0);
2998
_lastMouseDown = new
Point
(e.X, e.Y);
3801
Point location = parent.PointToScreen(
new
(rect.left, rect.top));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
397
_dragStart = PointToScreen(new
Point
(e.X, e.Y));
429
Point dragPoint = PointToScreen(new
Point
(e.X, e.Y));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
431
Point point =
new
(x, y);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2218
Point wpt =
new
(pt.X, pt.Y);
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
901
_anchor = new
Point
(x, y);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
25
private static readonly Point s_defaultPaddingPoint =
new
(6, 3);
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (1)
90
Point point =
new
(x, y);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1593
return new
Point
(PARAM.SignedLOWORD(i), PARAM.SignedHIWORD(i));
2044
client = new
Point
(Width / 2, Height / 2);
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (2)
371
Point ptStart =
new
(rectangle.X + 1, rectangle.Y + 1);
372
Point ptEnd =
new
(rectangle.Right - 1, rectangle.Bottom - 1);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
590
gripLocation = new
Point
(SizeGripBounds.Left, SizeGripBounds.Bottom);
594
gripLocation = new
Point
(SizeGripBounds.Right, SizeGripBounds.Bottom);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (32)
27
internal static Point s_invalidMouseEnter =
new
(int.MaxValue, int.MaxValue);
2139
Point midPointOfCurrent =
new
(selectedItem.Bounds.X + selectedItem.Width / 2,
2163
Point otherItemMidLocation =
new
(otherItem.Bounds.X + otherItem.Width / 2, (down) ? otherItem.Bounds.Top : otherItem.Bounds.Bottom);
2603
ToolStripLocationCancelEventArgs cae = new(new
Point
(x, y), false);
3330
Point itemRelativePoint = item.TranslatePoint(new
Point
(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3386
Point itemRelativePoint = item!.TranslatePoint(new
Point
(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3430
Point itemRelativePoint = item.TranslatePoint(new
Point
(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3788
new
(verticalBeamStart, _lastInsertionMarkRect.Y),
new
(verticalBeamStart, _lastInsertionMarkRect.Bottom - 1),
3789
new
(verticalBeamStart + 1, _lastInsertionMarkRect.Y),
new
(verticalBeamStart + 1, _lastInsertionMarkRect.Bottom - 1)
3795
new
(start, _lastInsertionMarkRect.Bottom - 1),
new
(start + widthOfBeam - 1, _lastInsertionMarkRect.Bottom - 1),
3796
new
(start + 1, _lastInsertionMarkRect.Bottom - 2),
new
(start + widthOfBeam - 2, _lastInsertionMarkRect.Bottom - 2)
3802
new
(start, _lastInsertionMarkRect.Y),
new
(start + widthOfBeam - 1, _lastInsertionMarkRect.Y),
3803
new
(start + 1, _lastInsertionMarkRect.Y + 1),
new
(start + widthOfBeam - 2, _lastInsertionMarkRect.Y + 1)
3815
new
(_lastInsertionMarkRect.X, horizontalBeamStart),
new
(_lastInsertionMarkRect.Right - 1, horizontalBeamStart),
3816
new
(_lastInsertionMarkRect.X, horizontalBeamStart + 1),
new
(_lastInsertionMarkRect.Right - 1, horizontalBeamStart + 1)
3822
new
(_lastInsertionMarkRect.X, start),
new
(_lastInsertionMarkRect.X, start + widthOfBeam - 1),
3823
new
(_lastInsertionMarkRect.X + 1, start + 1),
new
(_lastInsertionMarkRect.X + 1, start + widthOfBeam - 2)
3829
new
(_lastInsertionMarkRect.Right - 1, start),
new
(_lastInsertionMarkRect.Right - 1, start + widthOfBeam - 1),
3830
new
(_lastInsertionMarkRect.Right - 2, start + 1),
new
(_lastInsertionMarkRect.Right - 2, start + widthOfBeam - 2)
3864
public ToolStripItem? GetItemAt(int x, int y) => GetItemAt(new
Point
(x, y));
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (1)
29
Point clientHit = owner.PointToClient(new
Point
(x, y));
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (4)
142
Point middle =
new
(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
150
new
(middle.X - s_offsetPixels, middle.Y - 1),
151
new
(middle.X + s_offsetPixels + 1, middle.Y - 1),
152
new
(middle.X, middle.Y + s_offsetPixels)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (4)
21
private Point _displayLocation =
new
(0, 0);
1040
dropDownBounds.Location = new
Point
(start.X + offset.X, start.Y + offset.Y);
1841
Show(control, new
Point
(x, y));
1862
_displayLocation = new
Point
(x, y);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
336
dropDownBounds.Location = new
Point
(itemScreenLocation.X + offset.X, itemScreenLocation.Y + offset.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (5)
363
nextPoint = new
Point
(_checkPadding.Left, _checkPadding.Top);
378
nextPoint = new
Point
(1, _checkPadding.Top);
398
nextPoint = new
Point
(1, _checkPadding.Top);
796
Point upLocation =
new
(1, 0);
803
Point downLocation =
new
(1, height - downSize.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
57
return _owner.GetItemAt(_owner.PointToClient(new
Point
(x, y)));
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (3)
120
_startLocation = TranslatePoint(new
Point
(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
160
Point endLocation = TranslatePoint(new
Point
(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
217
Point endLocation = TranslatePoint(new
Point
(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (7)
423
return new
Point
(toolStripToDrag.Right, toolStripToDrag.Top);
529
controlLocations[j] = new
Point
(row.Bounds.Width - control.Right, control.Top);
731
location = new
Point
(0, dragRect.Bottom - 1);
735
location = new
Point
(dragRect.Right - 1, 0);
743
Join(toolStripToDrag, new
Point
(x, y));
894
Point endLocation = (Orientation == Orientation.Horizontal) ? new
Point
(clientLocation.X, row.Bounds.Y) : new
Point
(row.Bounds.X, clientLocation.Y);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (22)
854
Point topRight =
new
(bounds.Width - 1, 0);
855
Point bottomLeft =
new
(0, bounds.Height - 1);
856
Point bottomRight =
new
(bounds.Width - 1, bounds.Height - 1);
1270
Point start =
new
(overflowBoundsFill.Left - 1, overflowBoundsFill.Height - 2);
1271
Point end =
new
(overflowBoundsFill.Left, overflowBoundsFill.Height - 2);
1298
Point top1 =
new
(overflowBoundsFill.X - 2, 0);
1299
Point top2 =
new
(overflowBoundsFill.X - 1, 1);
1345
Point topRight =
new
(bounds.Width - 1, 0);
1346
Point bottomLeft =
new
(0, bounds.Height - 1);
1648
Point middle =
new
(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
1657
new
(middle.X - Offset2X, middle.Y + 1),
1658
new
(middle.X + Offset2X + 1, middle.Y + 1),
1659
new
(middle.X, middle.Y - Offset2Y)
1663
new
(middle.X + Offset2X, middle.Y - Offset2Y - 1),
1664
new
(middle.X + Offset2X, middle.Y + Offset2Y + 1),
1665
new
(middle.X - 1, middle.Y)
1669
new
(middle.X - Offset2X, middle.Y - Offset2Y - 1),
1670
new
(middle.X - Offset2X, middle.Y + Offset2Y + 1),
1671
new
(middle.X + 1, middle.Y)
1675
new
(middle.X - Offset2X, middle.Y - 1),
1676
new
(middle.X + Offset2X + 1, middle.Y - 1),
1677
new
(middle.X, middle.Y + Offset2Y)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (13)
617
Point middle =
new
(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
641
new
(middle.X - Offset2X, middle.Y + 1),
642
new
(middle.X + Offset2X + 1, middle.Y + 1),
643
new
(middle.X, middle.Y - Offset2Y)
647
new
(middle.X + Offset2X, middle.Y - s_offset4Y),
648
new
(middle.X + Offset2X, middle.Y + s_offset4Y),
649
new
(middle.X - horizontalOffset, middle.Y)
653
new
(middle.X - Offset2X, middle.Y - s_offset4Y),
654
new
(middle.X - Offset2X, middle.Y + s_offset4Y),
655
new
(middle.X + horizontalOffset, middle.Y)
659
new
(middle.X - Offset2X, middle.Y - 1),
660
new
(middle.X + Offset2X + 1, middle.Y - 1),
661
new
(middle.X, middle.Y + Offset2Y)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
466
Point clickPoint =
new
(e.X, e.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (3)
26
ShowItemDropPoint(_owner.PointToClient(new
Point
(e.X, e.Y)));
40
OnDropItem(item, _owner.PointToClient(new
Point
(e.X, e.Y)));
48
if (ShowItemDropPoint(_owner.PointToClient(new
Point
(e.X, e.Y))))
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
320
Point itemLocation =
new
(x, y);
452
Point itemLocation =
new
(x, y);
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (1)
107
Point point =
new
(x, y);
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1641
pt = new
Point
(x, y)
1682
pt = new
Point
(x, y)
2829
Point textLoc =
new
(AppContextSwitches.MoveTreeViewTextLocationOnePixel ? bounds.X : bounds.X - 1, bounds.Y);
3431
client = new
Point
(treeNode.Bounds.X, treeNode.Bounds.Y + treeNode.Bounds.Height / 2);
System\Windows\Forms\Controls\TreeView\TreeView.TreeViewAccessibleObject.cs (1)
64
Point p = owningTreeView.PointToClient(new
Point
(x, y));
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (2)
324
Point pt1 =
new
(clientRect.Left, clientRect.Bottom - 1);
325
Point pt2 =
new
(clientRect.Right, clientRect.Bottom - 1);
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (1)
176
return
new
(x, y);
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1355
client = new
Point
(Width / 2, Height / 2);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1112
Point phm =
new
(sz.Width, sz.Height);
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
256
_pictureBox.Location = new
Point
(_scaledPictureWidth / 8, _scaledPictureHeight / 8);
System\Windows\Forms\Form.cs (2)
4352
Point pointToSnap =
new
(button.Left + button.Width / 2, button.Top + button.Height / 2);
5327
Location = new
Point
(workingArea.X + x, workingArea.Y + y);
System\Windows\Forms\Input\Cursor.cs (1)
173
return new
Point
((int)info.xHotspot, (int)info.yHotspot);
System\Windows\Forms\Input\MouseEventArgs.cs (1)
64
public Point Location =>
new
(X, Y);
System\Windows\Forms\Internal\WinFormsUtils.cs (1)
29
return new
Point
(PARAM.SignedLOWORD(lastXY), PARAM.SignedHIWORD(lastXY));
System\Windows\Forms\Layout\Containers\SplitContainer.cs (20)
1645
Panel2.Location = new
Point
(Panel1.WidthInternal + SplitterWidthInternal, 0);
1649
Panel1.Location = new
Point
(Width - Panel1.WidthInternal, 0);
1660
Panel2.Location = new
Point
(0, 0);
1665
Panel1.Location = new
Point
(0, 0);
1680
Panel2.Location = new
Point
(0, panel2Start);
1690
Panel2.Location = new
Point
(0, panel2Start);
1705
Panel2.Location = new
Point
(0, panel2Start);
1716
Panel2.Location = new
Point
(0, 0);
1721
Panel1.Location = new
Point
(0, 0);
2091
_anchor = new
Point
(x, y);
2182
Panel1.Location = new
Point
(0, 0);
2183
Panel2.Location = new
Point
(_splitterDistance + SplitterWidthInternal, 0);
2187
Panel1.Location = new
Point
(Width - _splitterDistance, 0);
2188
Panel2.Location = new
Point
(0, 0);
2203
Panel2.Location = new
Point
(0, 0);
2208
Panel1.Location = new
Point
(0, 0);
2223
Panel1.Location = new
Point
(0, 0);
2229
Panel2.Location = new
Point
(0, panel2Start);
2244
Panel2.Location = new
Point
(0, 0);
2249
Panel1.Location = new
Point
(0, 0);
System\Windows\Forms\Layout\FlowLayout.ContainerProxy.cs (2)
67
Point pt =
new
(value.X, value.Y);
145
Point pt =
new
(newBounds.X, newBounds.Y);
System\Windows\Forms\Layout\FlowLayout.cs (1)
25
Rectangle measureBounds = new(new
Point
(0, 0), proposedConstraints);
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (3)
38
Location = new
Point
(8, 16),
50
Location = new
Point
(88, 88),
61
Location = new
Point
(0, 0),
System\Windows\Forms\Printing\PrintPreviewControl.cs (3)
35
private Point _position =
new
(0, 0);
477
_screenDPI = new
Point
(
625
Point offset =
new
(
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
911
_previewControl.Location = new
Point
(0, 43);
System\Windows\Forms\Rendering\ControlPaint.cs (3)
488
new
Point
(imageRect.X - imageRectangle.X, imageRect.Y - imageRectangle.Y),
1671
Point start =
new
(bounds.X + bounds.Width - 1, bounds.Y - 1);
1672
Point end =
new
(bounds.X + bounds.Width - 1, bounds.Y + bounds.Height);
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
124
return new
Point
(rect.X, rect.Y);
895
return new
Point
(xCalc, yCalc);
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
91
Point point =
new
(x, y);
System\Windows\Forms\ToolTip\ToolTip.cs (7)
1414
SetTool(window, text, TipInfo.Type.Absolute, new
Point
(pointX, pointY));
1433
SetTool(window, text, TipInfo.Type.Absolute, new
Point
(pointX, pointY));
1451
SetTool(window, text, TipInfo.Type.Absolute, new
Point
(pointX, pointY));
1469
SetTool(window, text, TipInfo.Type.Absolute, new
Point
(pointX, pointY));
1490
SetTool(ownerWindow, text, TipInfo.Type.Absolute, new
Point
(pointX, pointY));
1505
tipInfo.Position = new
Point
(pointX, pointY);
1630
return new
Point
(optimalLocation.Left, optimalLocation.Top);
System.Windows.Forms.Design (150)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (4)
244
Point middle =
new
(
252
new
(middle.X - s_offset2X, middle.Y - 1),
253
new
(middle.X + s_offset2X + 1, middle.Y - 1),
254
new
(middle.X, middle.Y + s_offset2Y)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
39
_checkBox.Location = new
Point
(LineLeftMargin, top + LineVerticalPadding / 2);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
345
return new
Point
(x, y);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
174
_button.Location = new
Point
(EditRegionLocation.X + EditRegionSize.Width - buttonHeight - EditorLineButtonPadding, EditRegionLocation.Y + EditorLineButtonPadding + 1);
297
g.DrawImage(_swatch, new
Point
(EditRegionRelativeLocation.X + 2, EditorLineSwatchPadding + 5));
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
48
_linkLabel.Location = new
Point
(LineLeftMargin, top + LineVerticalPadding / 2);
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (2)
65
_titleLabel.Location = new
Point
(LineLeftMargin, top + PanelHeaderVerticalPadding);
68
_subtitleLabel.Location = new
Point
(LineLeftMargin, top + PanelHeaderVerticalPadding * 2 + titleSize.Height);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (6)
105
_editRegionLocation = new
Point
(editRegionXPos, top + TextBoxTopPadding);
106
EditRegionRelativeLocation = new
Point
(editRegionXPos, TextBoxTopPadding);
109
_label.Location = new
Point
(LineLeftMargin, top);
114
EditControl!.Location = new
Point
(_editRegionLocation.X + GetTextBoxLeftPadding(textBoxPreferredHeight) + 1 + specialPadding, _editRegionLocation.Y + TextBoxLineInnerPadding + 1);
137
_textBox.Location = new
Point
(int.MaxValue, int.MaxValue);
144
_readOnlyTextBoxLabel.Location = new
Point
(int.MaxValue, int.MaxValue);
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (1)
43
_label.Location = new
Point
(LineLeftMargin, top + LineVerticalPadding / 2);
System\ComponentModel\Design\DesignerActionUI.cs (1)
665
Point glyphLocationScreenCoord =
new
(0, 0);
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.ColorCellAccessibleObject.cs (1)
36
Point pt =
new
(rect.X, rect.Y);
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.cs (1)
43
Point point = palette.PointToClient(
new
(x, y));
System\Drawing\Design\ColorEditor.ColorPalette.cs (5)
137
return new
Point
(x, y);
165
return new
Point
(-1, -1);
172
return new
Point
(-1, -1);
175
return new
Point
(across, down);
196
return new
Point
(x, y);
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
318
_pal.Location = new
Point
(0, rectTabControl.Y);
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (8)
225
_topCenter.Location = new
Point
(pixel_32, 0);
228
_topRight.Location = new
Point
(pixel_99, 0);
231
_middleLeft.Location = new
Point
(0, pixel_32);
234
_middleCenter.Location = new
Point
(pixel_32, pixel_32);
237
_middleRight.Location = new
Point
(pixel_99, pixel_32);
240
_bottomLeft.Location = new
Point
(0, pixel_64);
243
_bottomCenter.Location = new
Point
(pixel_32, pixel_64);
246
_bottomRight.Location = new
Point
(pixel_99, pixel_64);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (6)
79
_container.Location = new
Point
(0, 0);
83
_control.Location = new
Point
(30, 30);
87
_right.Location = new
Point
(60, 40);
94
_left.Location = new
Point
(XBORDER, 40);
101
_top.Location = new
Point
(40, YBORDER);
108
_bottom.Location = new
Point
(40, 60);
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
345
Point mouseLoc =
new
(x, y);
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
179
Point pt = adornerWindow.PointToClient(new
Point
(x, y));
System\Windows\Forms\Design\Behavior\BehaviorService.cs (2)
260
public Point AdornerWindowToScreen() => AdornerWindowPointToScreen(new
Point
(0, 0));
272
Point pt =
new
(c.Left, c.Top);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
1100
_dragOffset = new
Point
(dragBounds.X - _dragOffset.X, dragBounds.Y - _dragOffset.Y);
1143
Point snapPoint =
new
(_snapPointX != INVALID_VALUE ? _snapPointX : 0, _snapPointY != INVALID_VALUE ? _snapPointY : 0);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (9)
113
_lastFeedbackLocation = new
Point
(-1, -1);
143
Point controlLocation =
new
(dragLoc.X - _parentLocation.X, dragLoc.Y - _parentLocation.Y);
271
Point pt =
new
(dropPoint.X, dropPoint.Y);
493
Point dropPoint =
new
(initialDropPoint.X + _dragComponents[i].positionOffset.X,
588
_lastFeedbackLocation = new
Point
(-1, -1);
739
Point newPosition =
new
(mouseLoc.X - _initialMouseLoc.X + _dragComponents[_primaryComponentIndex].originalControlLocation.X,
788
newPosition = new
Point
(mouseLoc.X - _initialMouseLoc.X + _originalDragImageLocation.X,
948
_dragComponents[i].positionOffset = new
Point
(dragControl.Location.X - primaryControl.Location.X,
1045
_originalDragImageLocation = new
Point
(_dragImageRect.X, _dragImageRect.Y);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
482
Point mouseLocAbs =
new
(mouseLoc.X, mouseLoc.Y);
547
_lastMouseAbs = new
Point
(mouseLoc.X, mouseLoc.Y);
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (2)
259
ToolboxSnapDragDropEventArgs se = CreateToolboxSnapArgs(e, new
Point
(e.X - screenOffset.X, e.Y - screenOffset.Y));
345
Point adornerServiceOrigin = _behaviorService.MapAdornerWindowPoint(baseControl.Handle, new
Point
(0, 0));
System\Windows\Forms\Design\CommandSet.cs (3)
813
Point snappedOffset = dragManager.OffsetToNearestSnapLocation(primaryControl, new
Point
(moveOffsetX, moveOffsetY));
3278
Point offset =
new
(-min.X, -min.Y);
3291
Point parentOffset =
new
(parentSize.Width / 2, parentSize.Height / 2);
System\Windows\Forms\Design\ComponentTray.cs (19)
27
private static Point InvalidPoint { get; } =
new
(int.MinValue, int.MinValue);
365
AutoScrollPosition = new
Point
(0, 0);
604
SetTrayLocation(comp, new
Point
(tc.Location.X - _autoScrollPosBeforeDragging.X, tc.Location.Y - _autoScrollPosBeforeDragging.Y));
608
AutoScrollPosition = new
Point
(-_autoScrollPosBeforeDragging.X, -_autoScrollPosBeforeDragging.Y);
994
return new
Point
(loc.X - autoScrollLoc.X, loc.Y - autoScrollLoc.Y);
1069
_mouseDropLocation = PointToClient(new
Point
(de.X, de.Y));
1242
_mouseDropLocation = new
Point
(e.X, e.Y);
1265
_mouseDragStart = new
Point
(e.X, e.Y);
1308
_mouseDragEnd = new
Point
(0, 0);
1575
location = new
Point
(location.X + autoScrollLoc.X, location.Y + autoScrollLoc.Y);
1832
Point newLoc =
new
(display.X + _whiteSpace.X, display.Y + _whiteSpace.Y);
1844
newLoc = new
Point
(newLoc.X - autoScrollLoc.X, newLoc.Y - autoScrollLoc.Y);
1860
Point newLoc =
new
(bounds.X + bounds.Width + _whiteSpace.X, bounds.Y);
1879
newLoc = new
Point
(newLoc.X - autoScrollLoc.X, newLoc.Y - autoScrollLoc.Y);
2161
_mouseDragLast = PointToScreen(new
Point
(me.X, me.Y));
2194
Point newPt = PointToScreen(new
Point
(me.X, me.Y));
2691
return _hitTestedGlyph.Behavior.OnMouseDoubleClick(_hitTestedGlyph, e.Button, new
Point
(e.X, e.Y));
2705
return _hitTestedGlyph.Behavior.OnMouseDown(_hitTestedGlyph, e.Button, new
Point
(e.X, e.Y));
2719
return _hitTestedGlyph.Behavior.OnMouseMove(_hitTestedGlyph, e.Button, new
Point
(e.X, e.Y));
System\Windows\Forms\Design\ControlCommandSet.cs (1)
634
Point snappedOffset = dragManager.OffsetToNearestSnapLocation(primaryControl, targetSnaplines, new
Point
(moveOffsetX, moveOffsetY));
System\Windows\Forms\Design\ControlDesigner.cs (3)
20
protected static readonly Point InvalidPoint =
new
(int.MinValue, int.MinValue);
301
return new
Point
(Math.Abs(nativeOffset.X - offset.X), nativeOffset.Y - offset.Y);
1321
_mouseDragLast = new
Point
(x, y);
System\Windows\Forms\Design\ControlDesigner.TransparentBehavior.cs (1)
71
if (e is not null && _controlRect != Rectangle.Empty && !_controlRect.Contains(new
Point
(e.X, e.Y)))
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1750
Point pt =
new
(e.X, e.Y);
2071
TreeViewHitTestInfo treeViewHitTestInfo = HitTest(new
Point
(e.X, e.Y));
System\Windows\Forms\Design\DesignerFrame.cs (1)
166
_designer!.Location = new
Point
(selectionSize.Width, selectionSize.Height);
System\Windows\Forms\Design\DesignerUtils.cs (1)
159
return new
Point
(PARAM.SignedLOWORD(lastXY), PARAM.SignedHIWORD(lastXY));
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
194
_container.Location = new
Point
(scaledOffset, scaledOffset);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
773
Location = new
Point
(0, 0);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (17)
396
ReDrawIBar(new
Point
(bounds.Left, bounds.Top), new
Point
(bounds.Left, bounds.Bottom));
399
ReDrawIBar(new
Point
(bounds.Right, bounds.Top), new
Point
(bounds.Right, bounds.Bottom));
402
ReDrawIBar(new
Point
(bounds.Left, bounds.Top), new
Point
(bounds.Right, bounds.Top));
405
ReDrawIBar(new
Point
(bounds.Left, bounds.Bottom), new
Point
(bounds.Right, bounds.Bottom));
415
ReDrawIBar(new
Point
(bounds.Right, bounds.Top), new
Point
(bounds.Right, bounds.Bottom));
418
ReDrawIBar(new
Point
(bounds.Left, bounds.Top), new
Point
(bounds.Left, bounds.Bottom));
421
ReDrawIBar(new
Point
(bounds.Left, bounds.Bottom), new
Point
(bounds.Right, bounds.Bottom));
424
ReDrawIBar(new
Point
(bounds.Left, bounds.Top), new
Point
(bounds.Right, bounds.Top));
790
Point mouseLocation =
new
(de.X, de.Y);
System\Windows\Forms\Design\FormatStringDialog.cs (3)
174
_formatControl1.Location = new Drawing.
Point
(10, 10);
182
_cancelButton.Location = new Drawing.
Point
(299, 288);
192
_okButton.Location = new Drawing.
Point
(203, 288);
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
27
return new
Point
(gb.DisplayRectangle.X, gb.DisplayRectangle.Y);
System\Windows\Forms\Design\OleDragDropHandler.cs (6)
191
defaultValues["Location"] = new
Point
(x, y);
463
_dragBase = new
Point
(initialX, initialY);
465
c.PointToClient(new
Point
(initialX, initialY));
758
Point dropPt = Destination.GetDesignerControl().PointToClient(new
Point
(de.X, de.Y));
965
Point convertedPoint = Destination.GetDesignerControl().PointToClient(new
Point
(de.X, de.Y));
968
Point newOffset = _forceDrawFrames ? convertedPoint : new
Point
(de.X - _dragBase.X, de.Y - _dragBase.Y);
System\Windows\Forms\Design\ParentControlDesigner.cs (10)
111
protected virtual Point DefaultControlLocation =>
new
(0, 0);
576
Point pt =
new
(bounds.X, bounds.Y);
1121
return new
Point
(r.X, r.Y);
1139
Point halfGrid =
new
(gridSize.Width / 2, gridSize.Height / 2);
1433
CreateTool(_mouseDragTool, new
Point
(de.X, de.Y));
1729
_mouseDragBase = new
Point
(x, y);
1823
Point location =
new
(baseVar.X, baseVar.Y);
2014
Point offset =
new
(_mouseDragOffset.X, _mouseDragOffset.Y);
2191
newLoc = new
Point
(controlLoc.X - parentLoc.X, controlLoc.Y - parentLoc.Y);
2196
newLoc = new
Point
(controlLoc.X + oldParentLoc.X, controlLoc.Y + oldParentLoc.Y);
System\Windows\Forms\Design\SelectionUIService.cs (4)
25
private static readonly Point s_invalidPoint =
new
(int.MinValue, int.MinValue);
519
Point anchor = PointToScreen(new
Point
(me.X, me.Y));
606
Point screenCoord = PointToScreen(new
Point
(me.X, me.Y));
718
Point screenCoord = PointToScreen(new
Point
(me.X, me.Y));
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
194
TextRenderer.DrawText(g, name, drawFont, new
Point
(watermarkX, watermarkY), waterMarkTextColor, TextFormatFlags.PreserveGraphicsClipping | TextFormatFlags.PreserveGraphicsTranslateTransform);
System\Windows\Forms\Design\TabControlDesigner.cs (1)
568
Point dropPoint = Control.PointToClient(new
Point
(de.X, de.Y));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
972
Point position =
new
(-1, -1);
1056
return new
Point
(pos.Column, pos.Row);
1295
Point cell = GetCellPosition(new
Point
(x, y));
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (2)
98
public Point AdornerWindowToScreen() => AdornerWindowPointToScreen(new
Point
(0, 0));
110
Point pt =
new
(c.Left, c.Top);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1848
Point offset =
new
(de.X, de.Y);
System\Windows\Forms\Design\ToolStripEditorManager.cs (1)
131
Location = new
Point
(bounds.X, bounds.Y);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
982
parentDesigner.DragBoxFromMouseDown = _dragBoxFromMouseDown = new Rectangle(new
Point
(mouseLoc.X - (dragSize.Width / 2), mouseLoc.Y - (dragSize.Height / 2)), dragSize);
1005
ownerItemDesigner._dragBoxFromMouseDown = _dragBoxFromMouseDown = new Rectangle(new
Point
(mouseLoc.X - (dragSize.Width / 2), mouseLoc.Y - (dragSize.Height / 2)), dragSize);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1317
newPoint = behaviorService.ScreenToAdornerWindow(new
Point
(x, y));
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
507
node.ShowContextMenu(new
Point
(x, y));
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1376
dropDownItem.DropDown.Location = new
Point
(dropDownItem.DropDown.Location.X + _commitedEditorNode.Bounds.Width - dropDownItem.Bounds.Width, dropDownItem.DropDown.Location.Y);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
528
Point position = new
Point
(0, 0)
571
Point position = new
Point
(0, 0)
System.Windows.Forms.Design.Tests (14)
System\Windows\Forms\Design\ListViewDesignerTests.cs (4)
41
bool result = _listViewDesigner.TestAccessor().Dynamic.GetHitTest(new
Point
(10, 10));
52
bool result = _listViewDesigner.TestAccessor().Dynamic.GetHitTest(new
Point
(10, 10));
63
Point point =
new
(10, 5);
75
Point outsidePoint =
new
(-10, -10);
System\Windows\Forms\Design\ParentControlDesignerTests.cs (1)
125
{ "Location", new
Point
(10, 10) },
System\Windows\Forms\Design\StatusCommandUITests.cs (4)
82
Point location =
new
(50, 60);
90
Point location =
new
(50, 60);
98
Point location =
new
(50, 60);
114
_statusCommandUI.SetStatusInformation(null, new
Point
(10, 10));
System\Windows\Forms\Design\ToolStripAdornerWindowServiceTests.cs (4)
97
Point point =
new
(10, 20);
99
Point expectedScreenPoint =
new
(18, 51);
108
Point expectedScreenPoint =
new
(8, 31);
119
Point expectedPoint =
new
(40, 60);
System\Windows\Forms\Design\ToolStripEditorManagerTests.cs (1)
179
VerifyProperty(nameof(Location), _toolStripEditorControl, new
Point
(_bounds.X, _bounds.Y));
System.Windows.Forms.Primitives (3)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
382
Point mapClientToScreen =
new
((int)ownerBounds[0], (int)ownerBounds[1]);
Windows\Win32\Foundation\Interop.PARAM.cs (1)
72
=>
new
(SignedLOWORD(param), SignedHIWORD(param));
Windows\Win32\UI\Accessibility\UiaPoint.cs (1)
10
public static implicit operator Point(UiaPoint value) =>
new
((int)value.x, (int)value.y);
System.Windows.Forms.Primitives.Tests (55)
System\SpanReaderTests.cs (4)
103
value.Should().Be(new
Point
(1, 2));
106
value.Should().Be(new
Point
(3, 4));
120
value.ToArray().Should().BeEquivalentTo([new
Point
(1, 2), new
Point
(3, 4)]);
System\SpanWriterTests.cs (15)
76
writer.TryWriteCount(2, new
Point
(1, 2)).Should().BeTrue();
77
span.ToArray().Should().BeEquivalentTo([new
Point
(1, 2), new
Point
(1, 2), default, default, default]);
79
writer.TryWriteCount(2, new
Point
(3, 4)).Should().BeTrue();
80
span.ToArray().Should().BeEquivalentTo([new
Point
(1, 2), new
Point
(1, 2), new
Point
(3, 4), new
Point
(3, 4), default]);
82
writer.TryWriteCount(1, new
Point
(5, 6)).Should().BeTrue();
83
span.ToArray().Should().BeEquivalentTo([new
Point
(1, 2), new
Point
(1, 2), new
Point
(3, 4), new
Point
(3, 4), new
Point
(5, 6)]);
85
writer.TryWriteCount(1, new
Point
(7, 8)).Should().BeFalse();
System\Windows\Forms\Automation\UiaTextRangeTests.cs (28)
658
providerMock.Setup(m => m.GetPositionFromChar(3)).Returns(new
Point
(17, 0));
659
providerMock.Setup(m => m.GetPositionFromChar(0)).Returns(new
Point
(1, 0));
660
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(5, testText)).Returns(new
Point
(28, 0));
661
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(1, testText)).Returns(new
Point
(17, 0));
727
providerMock.Setup(m => m.GetPositionFromChar(0)).Returns(new
Point
(5, 1));
728
providerMock.Setup(m => m.GetPositionFromChar(16)).Returns(new
Point
(5, 18));
729
providerMock.Setup(m => m.GetPositionFromChar(23)).Returns(new
Point
(45, 18));
730
providerMock.Setup(m => m.GetPositionFromChar(31)).Returns(new
Point
(5, 35));
731
providerMock.Setup(m => m.GetPositionFromChar(46)).Returns(new
Point
(5, 52));
732
providerMock.Setup(m => m.GetPositionFromChar(58)).Returns(new
Point
(5, 69));
734
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(15, testText)).Returns(new
Point
(108, 1));
735
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(30, testText)).Returns(new
Point
(90, 18));
736
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(45, testText)).Returns(new
Point
(88, 35));
737
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(52, testText)).Returns(new
Point
(61, 52));
738
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(57, testText)).Returns(new
Point
(95, 52));
739
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(62, testText)).Returns(new
Point
(45, 69));
809
providerMock.Setup(m => m.GetPositionFromChar(0)).Returns(new
Point
(22, 1));
810
providerMock.Setup(m => m.GetPositionFromChar(16)).Returns(new
Point
(42, 18));
811
providerMock.Setup(m => m.GetPositionFromChar(23)).Returns(new
Point
(82, 18));
812
providerMock.Setup(m => m.GetPositionFromChar(31)).Returns(new
Point
(42, 35));
813
providerMock.Setup(m => m.GetPositionFromChar(46)).Returns(new
Point
(37, 52));
814
providerMock.Setup(m => m.GetPositionFromChar(58)).Returns(new
Point
(83, 69));
816
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(15, testText)).Returns(new
Point
(125, 1));
817
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(30, testText)).Returns(new
Point
(127, 18));
818
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(45, testText)).Returns(new
Point
(125, 35));
819
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(52, testText)).Returns(new
Point
(93, 52));
820
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(57, testText)).Returns(new
Point
(127, 52));
821
providerMock.Setup(m => m.GetPositionFromCharForUpperRightCorner(62, testText)).Returns(new
Point
(123, 69));
System\Windows\Forms\DeviceContextHdcScopeTests.cs (8)
31
Assert.Equal(new
Point
(1, 2), origin);
46
Assert.Equal(new
Point
(0, 0), origin);
61
Assert.Equal(new
Point
(1, 2), origin);
76
Assert.Equal(new
Point
(0, 0), origin);
114
Assert.Equal(new
Point
(1, 2), origin);
141
Assert.Equal(new
Point
(0, 0), origin);
164
Assert.Equal(new
Point
(1, 2), origin);
187
Assert.Equal(new
Point
(0, 0), origin);
System.Windows.Forms.Primitives.TestUtilities (1)
Extensions\GdiExtensions.cs (1)
31
return new
Point
((int)x, (int)y);
System.Windows.Forms.Tests (592)
NumericUpDownTests.cs (4)
61
new
(0, 18),
new
(16, 18),
96
new
(0, 18),
new
(16, 18),
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
375
Point point =
new
(x, y + initialYPosition);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
161
actualBounds.Location = new
Point
(0, 0);
182
actualBounds.Location = new
Point
(0, 0);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
346
Point testPoint = new
Point
(10, 10);
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (1)
1179
Point point =
new
(15, 55);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
308
actualBounds.Location = new
Point
(0, 0);
346
actualBounds.Location = new
Point
(0, 0);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (2)
666
actualBounds.Location = new
Point
(0, 0);
669
Location = new
Point
(0, 0)
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (2)
267
panel1.Location =
new
(50, 50);
270
button1.Location =
new
(17, 16);
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (1)
238
propertyGrid.Location = new
Point
(0, 0);
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
534
tabControl.Location =
new
(22, 25);
537
button.Location =
new
(16, 12);
542
tabPage.Location =
new
(4, 24);
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (1)
251
Point point =
new
(accessibleObject.Bounds.X, accessibleObject.Bounds.Bottom - 1);
System\Windows\Forms\ButtonRenderingTests.cs (32)
49
new
(bounds.Right - 1, 0),
new
(0, 0),
52
new
(0, 0),
new
(0, bounds.Bottom - 1),
55
new
(0, bounds.Bottom - 1),
new
(bounds.Right - 1, bounds.Bottom - 1),
58
new
(bounds.Right - 1, bounds.Bottom - 1),
new
(bounds.Right - 1, -1),
61
new
(bounds.Right - 2, 1),
new
(1, 1),
64
new
(1, 1),
new
(1, bounds.Bottom - 2),
67
new
(1, bounds.Bottom - 2),
new
(bounds.Right - 2, bounds.Bottom - 2),
70
new
(bounds.Right - 2, bounds.Bottom - 2),
new
(bounds.Right - 2, 0),
135
new
(bounds.Right - 1, 0),
new
(0, 0),
138
new
(0, 0),
new
(0, bounds.Bottom - 1),
141
new
(0, bounds.Bottom - 1),
new
(bounds.Right - 1, bounds.Bottom - 1),
144
new
(bounds.Right - 1, bounds.Bottom - 1),
new
(bounds.Right - 1, -1),
147
new
(bounds.Right - 2, 1),
new
(1, 1),
150
new
(1, 1),
new
(1, bounds.Bottom - 2),
153
new
(1, bounds.Bottom - 2),
new
(bounds.Right - 2, bounds.Bottom - 2),
156
new
(bounds.Right - 2, bounds.Bottom - 2),
new
(bounds.Right - 2, 0),
System\Windows\Forms\CheckBoxRendererTests.cs (5)
30
Point point =
new
(control.Location.X, control.Location.Y);
66
Point point =
new
(control.Location.X, control.Location.Y);
103
Point point =
new
(control.Location.X, control.Location.Y);
137
Point point =
new
(control.Location.X, control.Location.Y);
154
? Validate.PolyPolygon16(new(
new
(bounds.X, bounds.Y), new Size(-1, -1)))
System\Windows\Forms\CheckBoxTests.cs (1)
824
MouseEventArgs eventArgs = new(MouseButtons.Left, 1, new
Point
(0, 0), 0);
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (14)
425
yield return new object[] { ComboBoxStyle.DropDown, new Size(50, 20), "Some test text for testing", 0, new
Point
(1, 0) };
426
yield return new object[] { ComboBoxStyle.DropDown, new Size(50, 20), "Some test text for testing", 15, new
Point
(79, 0) };
428
yield return new object[] { ComboBoxStyle.Simple, new Size(50, 20), "Some test text for testing", 0, new
Point
(1, 0) };
429
yield return new object[] { ComboBoxStyle.Simple, new Size(50, 20), "Some test text for testing", 15, new
Point
(79, 0) };
487
yield return new object[] { comboBoxStyle, new Size(50, 20), "", 0, new
Point
(0, 0) };
488
yield return new object[] { comboBoxStyle, new Size(50, 20), "Some test text", 100, new
Point
(0, 0) };
489
yield return new object[] { comboBoxStyle, new Size(50, 20), "Some test text", -1, new
Point
(0, 0) };
490
yield return new object[] { comboBoxStyle, new Size(50, 20), "Some test text", 12, new
Point
(71, 0) };
491
yield return new object[] { comboBoxStyle, new Size(100, 60), "Some test \n text", 10, new
Point
(56, 0) };
492
yield return new object[] { comboBoxStyle, new Size(100, 60), "Some test \r\n text", 10, new
Point
(56, 0) };
493
yield return new object[] { comboBoxStyle, new Size(100, 60), "Some test \r\n text", 12, new
Point
(60, 0) };
494
yield return new object[] { comboBoxStyle, new Size(100, 60), "Some test \t text", 10, new
Point
(57, 0) };
905
yield return new object[] { ComboBoxStyle.DropDown, new
Point
(10, 10) };
907
yield return new object[] { ComboBoxStyle.Simple, new
Point
(10, 10) };
System\Windows\Forms\ComboBoxTests.cs (1)
2584
ownerDrawComboBox.Location = new
Point
(0, 50);
System\Windows\Forms\ControlPaintTests.cs (22)
1710
yield return new object[] { new
Point
(1, 2), new
Point
(1, 2), Color.Red };
1711
yield return new object[] { new
Point
(2, 3), new
Point
(1, 2), Color.Red };
1712
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), Color.Empty };
1713
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), Color.Red };
1714
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), SystemColors.ControlLight };
1715
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), SystemColors.Control };
1716
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), SystemColors.ControlDark };
1717
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), Color.Black };
1718
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), Color.White };
1719
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), Color.Transparent };
1720
yield return new object[] { new
Point
(1, 2), new
Point
(2, 3), Color.Empty };
System\Windows\Forms\ControlTests.cs (6)
259
Assert.Equal(new
Point
(left, top), control.Location);
451
Assert.Equal(new
Point
(left, top), control.Location);
1046
checkedListBox1.Location = new
Point
(10, 10);
1049
button1.Location = new
Point
(12, 166);
1053
listBox1.Location = new
Point
(12, 80);
1057
listView1.Location = new
Point
(130, 10);
System\Windows\Forms\ControlTests.Handlers.cs (4)
2588
yield return new object[] { new HelpEventArgs(new
Point
(1, 2)) };
2652
HelpEventArgs eventArgs = new(new
Point
(1, 2));
2684
HelpEventArgs eventArgs = new(new
Point
(1, 2));
2706
HelpEventArgs eventArgs = new(new
Point
(1, 2));
System\Windows\Forms\ControlTests.Methods.cs (5)
2083
Assert.Null(control.GetChildAtPoint(new
Point
(5, 5), skipValue));
2087
Assert.Null(control.GetChildAtPoint(new
Point
(5, 5), skipValue));
2097
Assert.Throws<InvalidEnumArgumentException>("skipValue", () => control.GetChildAtPoint(new
Point
(5, 5), skipValue));
12515
Point p = control.PointToScreen(new
Point
(5, 5));
12589
Point p = control.PointToScreen(new
Point
(5, 5));
System\Windows\Forms\ControlTests.Properties.cs (68)
6699
Assert.Equal(new
Point
(value, 0), control.Location);
6721
Assert.Equal(new
Point
(value, 0), control.Location);
6790
Assert.Equal(new
Point
(value, 0), control.Location);
6812
Assert.Equal(new
Point
(value, 0), control.Location);
6889
Assert.Equal(new
Point
(value, 0), control.Location);
6914
Assert.Equal(new
Point
(value, 0), control.Location);
6999
Assert.Equal(new
Point
(value, 0), control.Location);
7028
Assert.Equal(new
Point
(value, 0), control.Location);
7072
Assert.Equal(new
Point
(1, 0), control.Location);
7077
Assert.Equal(new
Point
(1, 0), control.Location);
7082
Assert.Equal(new
Point
(2, 0), control.Location);
7109
Assert.Equal(new
Point
(1, 0), control.Location);
7115
Assert.Equal(new
Point
(1, 0), control.Location);
7121
Assert.Equal(new
Point
(2, 0), control.Location);
7129
Assert.Equal(new
Point
(1, 0), control.Location);
7136
yield return new object[] { new
Point
(0, 0), 0 };
7137
yield return new object[] { new
Point
(-1, -2), 1 };
7138
yield return new object[] { new
Point
(1, 0), 1 };
7139
yield return new object[] { new
Point
(0, 2), 1 };
7140
yield return new object[] { new
Point
(1, 2), 1 };
7318
yield return new object[] { resizeRedraw, new
Point
(0, 0), 0 };
7319
yield return new object[] { resizeRedraw, new
Point
(-1, -2), 1 };
7320
yield return new object[] { resizeRedraw, new
Point
(1, 0), 1 };
7321
yield return new object[] { resizeRedraw, new
Point
(0, 2), 1 };
7322
yield return new object[] { resizeRedraw, new
Point
(1, 2), 1 };
7556
control.Location = new
Point
(1, 2);
7557
Assert.Equal(new
Point
(1, 2), control.Location);
7561
control.Location = new
Point
(1, 2);
7562
Assert.Equal(new
Point
(1, 2), control.Location);
7566
control.Location = new
Point
(2, 3);
7567
Assert.Equal(new
Point
(2, 3), control.Location);
7578
control.Location = new
Point
(1, 0);
7579
Assert.Equal(new
Point
(1, 0), control.Location);
7582
control.Location = new
Point
(0, 1);
7583
Assert.Equal(new
Point
(0, 1), control.Location);
7586
control.Location = new
Point
(1, 2);
7587
Assert.Equal(new
Point
(1, 2), control.Location);
7602
control.Location = new
Point
(1, 0);
7603
Assert.Equal(new
Point
(1, 0), control.Location);
7606
control.Location = new
Point
(0, 1);
7607
Assert.Equal(new
Point
(0, 1), control.Location);
7610
control.Location = new
Point
(1, 2);
7611
Assert.Equal(new
Point
(1, 2), control.Location);
7641
control.Location = new
Point
(1, 2);
7642
Assert.Equal(new
Point
(1, 2), control.Location);
7647
control.Location = new
Point
(1, 2);
7648
Assert.Equal(new
Point
(1, 2), control.Location);
7653
control.Location = new
Point
(2, 2);
7654
Assert.Equal(new
Point
(2, 2), control.Location);
7659
control.Location = new
Point
(2, 3);
7660
Assert.Equal(new
Point
(2, 3), control.Location);
7667
control.Location = new
Point
(1, 2);
7668
Assert.Equal(new
Point
(1, 2), control.Location);
12134
Assert.Equal(new
Point
(0, value), control.Location);
12155
Assert.Equal(new
Point
(0, value), control.Location);
12224
Assert.Equal(new
Point
(0, value), control.Location);
12246
Assert.Equal(new
Point
(0, value), control.Location);
12322
Assert.Equal(new
Point
(0, value), control.Location);
12346
Assert.Equal(new
Point
(0, value), control.Location);
12431
Assert.Equal(new
Point
(0, value), control.Location);
12460
Assert.Equal(new
Point
(0, value), control.Location);
12504
Assert.Equal(new
Point
(0, 1), control.Location);
12509
Assert.Equal(new
Point
(0, 1), control.Location);
12514
Assert.Equal(new
Point
(0, 2), control.Location);
12541
Assert.Equal(new
Point
(0, 1), control.Location);
12547
Assert.Equal(new
Point
(0, 1), control.Location);
12553
Assert.Equal(new
Point
(0, 2), control.Location);
12561
Assert.Equal(new
Point
(0, 1), control.Location);
System\Windows\Forms\CursorConverterTests.cs (1)
42
Assert.Equal(new
Point
(5, 8), cursor.HotSpot);
System\Windows\Forms\CursorTests.cs (5)
47
Assert.Equal(new
Point
(0, 0), cursor.HotSpot);
61
yield return new object[] { Path.Join("bitmaps", "10x16_one_entry_32bit.ico"), new
Point
(5, 8) };
159
Assert.Equal(new
Point
(5, 8), cursor.HotSpot);
280
Cursor.Position = new
Point
(1, 2);
286
Cursor.Position = new
Point
(virtualScreen.X - 1, virtualScreen.Y - 1);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
79
Assert.Equal(new
Point
(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y), control.DesktopLocation);
System\Windows\Forms\DragDropHelperTests.cs (8)
24
yield return new object[] { new DataObject(), new Bitmap(1, 1), new
Point
(1, 1), false };
25
yield return new object[] { new DataObject(), null, new
Point
(1, 1), false };
26
yield return new object[] { new DataObject(), new Bitmap(1, 1), new
Point
(1, 1), true };
31
yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new
Point
(0, 0), false) };
32
yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, null, new
Point
(0, 0), false) };
33
yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new
Point
(0, 0), true) };
169
Assert.Throws<InvalidOperationException>(() => DragDropHelper.SetDragImage(new DataObject(), bitmap, new
Point
(0, 0), false));
178
() => DragDropHelper.SetDragImage(dataObject, bitmap, new
Point
(0, 0), false));
System\Windows\Forms\ErrorProviderTests.cs (4)
1153
control.Location = new
Point
(1, 2);
1154
Assert.Equal(new
Point
(1, 2), control.Location);
1185
control.Location = new
Point
(2, 3);
1186
Assert.Equal(new
Point
(2, 3), control.Location);
System\Windows\Forms\FormTests.cs (9)
78
Assert.Equal(new
Point
(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y), control.DesktopLocation);
987
form.Location = new
Point
(10, 11);
992
form.Location = new
Point
(20, 21);
996
Assert.NotEqual(new
Point
(20, 21), form.Location);
1001
Assert.Equal(new
Point
(20, 21), form.Location);
1016
form.Location = new
Point
(10, 11);
1021
form.Location = new
Point
(20, 21);
1025
Assert.NotEqual(new
Point
(20, 21), form.Location);
1030
Assert.Equal(new
Point
(20, 21), form.Location);
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (5)
27
GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new
Point
(0, 0), false)
36
yield return new object[] { new
Point
(1, 1) };
37
yield return new object[] { new
Point
(-1, -1) };
44
GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(2, 2), new
Point
(0, 0), false)
74
GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new
Point
(0, 0), false)
System\Windows\Forms\HandledMouseEventArgsTests.cs (2)
25
Assert.Equal(new
Point
(x, y), e.Location);
41
Assert.Equal(new
Point
(x, y), e.Location);
System\Windows\Forms\HelpEventArgsTests.cs (3)
16
yield return new object[] { new
Point
(1, 2) };
17
yield return new object[] { new
Point
(-1, -2) };
34
HelpEventArgs e = new(new
Point
(1, 2))
System\Windows\Forms\HelpProviderTests.cs (3)
522
control.OnHelpRequested(new HelpEventArgs(new
Point
(1, 2)));
532
HelpEventArgs e = new(new
Point
(1, 2));
551
HelpEventArgs e = new(new
Point
(1, 2));
System\Windows\Forms\HtmlDocumentTests.cs (2)
1754
Assert.Equal("BODY", document.GetElementFromPoint(new
Point
(int.MinValue, int.MinValue)).TagName);
1755
Assert.Equal("BODY", document.GetElementFromPoint(new
Point
(int.MaxValue, int.MaxValue)).TagName);
System\Windows\Forms\ImageListTests.cs (2)
920
yield return new object[] { new
Point
(1, 2) };
921
yield return new object[] { new
Point
(-1, -2) };
System\Windows\Forms\ListViewInsertionMarkTests.cs (3)
567
Assert.True(insertionMark.NearestIndex(new
Point
(-10, -11)) >= -1);
584
Assert.True(insertionMark.NearestIndex(new
Point
(-10, -11)) >= -1);
604
Assert.Equal(result, insertionMark.NearestIndex(new
Point
(1, 2)));
System\Windows\Forms\ListViewItemTests.cs (22)
32
Assert.Equal(new
Point
(-1, -1), item.Position);
71
Assert.Equal(new
Point
(-1, -1), item.Position);
109
Assert.Equal(new
Point
(-1, -1), item.Position);
147
Assert.Equal(new
Point
(-1, -1), item.Position);
185
Assert.Equal(new
Point
(-1, -1), item.Position);
222
Assert.Equal(new
Point
(-1, -1), item.Position);
259
Assert.Equal(new
Point
(-1, -1), item.Position);
297
Assert.Equal(new
Point
(-1, -1), item.Position);
335
Assert.Equal(new
Point
(-1, -1), item.Position);
372
Assert.Equal(new
Point
(-1, -1), item.Position);
410
Assert.Equal(new
Point
(-1, -1), item.Position);
448
Assert.Equal(new
Point
(-1, -1), item.Position);
485
Assert.Equal(new
Point
(-1, -1), item.Position);
523
Assert.Equal(new
Point
(-1, -1), item.Position);
561
Assert.Equal(new
Point
(-1, -1), item.Position);
599
Assert.Equal(new
Point
(-1, -1), item.Position);
636
Assert.Equal(new
Point
(-1, -1), item.Position);
674
Assert.Equal(new
Point
(-1, -1), item.Position);
712
Assert.Equal(new
Point
(-1, -1), item.Position);
749
Assert.Equal(new
Point
(-1, -1), item.Position);
788
Assert.Equal(new
Point
(-1, -1), item.Position);
818
Assert.Equal(new
Point
(-1, -1), item.Position);
System\Windows\Forms\ListViewTests.cs (4)
5157
listView.AnnounceColumnHeader(new
Point
(15, 40));
5182
listView.AnnounceColumnHeader(new
Point
(15, 40));
5207
listView.AnnounceColumnHeader(new
Point
(10, 20));
5234
listView.AnnounceColumnHeader(new
Point
(x, y));
System\Windows\Forms\MdiClientTests.cs (12)
441
control.Location = new
Point
(1, 0);
442
Assert.Equal(new
Point
(1, 0), control.Location);
445
control.Location = new
Point
(0, 1);
446
Assert.Equal(new
Point
(0, 1), control.Location);
449
control.Location = new
Point
(1, 2);
450
Assert.Equal(new
Point
(1, 2), control.Location);
465
control.Location = new
Point
(1, 0);
466
Assert.Equal(new
Point
(1, 0), control.Location);
469
control.Location = new
Point
(0, 1);
470
Assert.Equal(new
Point
(0, 1), control.Location);
473
control.Location = new
Point
(1, 2);
474
Assert.Equal(new
Point
(1, 2), control.Location);
System\Windows\Forms\MonthCalendar.HitTestInfoTests.cs (2)
19
Point point =
new
(5, 5);
46
Point point =
new
(5, 5);
System\Windows\Forms\MonthCalendarTests.cs (1)
4492
HitTestInfo hitTestInfo = calendar.HitTest(new
Point
(x, y));
System\Windows\Forms\MouseEventArgsTests.cs (1)
25
Assert.Equal(new
Point
(x, y), e.Location);
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (3)
79
TestData value = new(
new
(6, 7));
438
SimpleTestData value = new("text",
new
(10, 10));
458
SimpleTestData value = new("text",
new
(10, 10));
System\Windows\Forms\RadioButtonRendererTests.cs (5)
30
Point point =
new
(control.Location.X, control.Location.Y);
61
Point point =
new
(control.Location.X, control.Location.Y);
98
Point point =
new
(control.Location.X, control.Location.Y);
125
Point point =
new
(control.Location.X, control.Location.Y);
152
? Validate.PolyPolygon16(new(
new
(bounds.X, bounds.Y), new Size(-1, -1)))
System\Windows\Forms\RichTextBoxTests.cs (1)
10648
Point pt =
new
(x, y);
System\Windows\Forms\ScreenTests.cs (4)
109
yield return new object[] { new
Point
(-1, -2) };
110
yield return new object[] { new
Point
(0, 0) };
111
yield return new object[] { new
Point
(1, 2) };
112
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue) };
System\Windows\Forms\ScrollableControlTests.cs (33)
2298
yield return new object[] { true, width, height, 0, 0, new
Point
(0, 0), scrollableSize };
2299
yield return new object[] { false, width, height, 0, 0, new
Point
(0, 0), nonScrollableSize };
2301
yield return new object[] { true, width, height, -10, 0, new
Point
(-10, 0), scrollableSize };
2302
yield return new object[] { false, width, height, -10, 0, new
Point
(0, 0), nonScrollableSize };
2304
yield return new object[] { true, width, height, 0, -20, new
Point
(0, -20), scrollableSize };
2305
yield return new object[] { false, width, height, 0, -20, new
Point
(0, 0), nonScrollableSize };
2307
yield return new object[] { true, width, height, -10, -20, new
Point
(-10, -20), scrollableSize };
2308
yield return new object[] { false, width, height, -10, -20, new
Point
(0, 0), nonScrollableSize };
2311
yield return new object[] { true, width, height, -100, -20, new
Point
(-30, -20), scrollableSize };
2312
yield return new object[] { false, width, height, -100, -20, new
Point
(0, 0), nonScrollableSize };
2314
yield return new object[] { true, width, height, -10, -200, new
Point
(-10, -70), scrollableSize };
2315
yield return new object[] { false, width, height, -10, -200, new
Point
(0, 0), nonScrollableSize };
2318
yield return new object[] { true, width, height, 1, 20, new
Point
(0, 0), scrollableSize };
2319
yield return new object[] { false, width, height, 1, 20, new
Point
(0, 0), nonScrollableSize };
2321
yield return new object[] { true, width, height, 10, 2, new
Point
(0, 0), scrollableSize };
2322
yield return new object[] { false, width, height, 10, 2, new
Point
(0, 0), nonScrollableSize };
2359
yield return new object[] { true, width, height, 0, 0, new
Point
(0, 0), scrollableSize, 1 };
2360
yield return new object[] { false, width, height, 0, 0, new
Point
(0, 0), nonScrollableSize, 0 };
2362
yield return new object[] { true, width, height, -10, 0, new
Point
(-10, 0), scrollableSize, 1 };
2363
yield return new object[] { false, width, height, -10, 0, new
Point
(0, 0), nonScrollableSize, 0 };
2365
yield return new object[] { true, width, height, 0, -20, new
Point
(0, -20), scrollableSize, 1 };
2366
yield return new object[] { false, width, height, 0, -20, new
Point
(0, 0), nonScrollableSize, 0 };
2368
yield return new object[] { true, width, height, -10, -20, new
Point
(-10, -20), scrollableSize, 1 };
2369
yield return new object[] { false, width, height, -10, -20, new
Point
(0, 0), nonScrollableSize, 0 };
2372
yield return new object[] { true, width, height, -100, -20, new
Point
(-47, -20), scrollableSize, 1 };
2373
yield return new object[] { false, width, height, -100, -20, new
Point
(0, 0), nonScrollableSize, 0 };
2375
yield return new object[] { true, width, height, -10, -200, new
Point
(-10, -87), scrollableSize, 1 };
2376
yield return new object[] { false, width, height, -10, -200, new
Point
(0, 0), nonScrollableSize, 0 };
2379
yield return new object[] { true, width, height, 1, 20, new
Point
(0, 0), scrollableSize, 1 };
2380
yield return new object[] { false, width, height, 1, 20, new
Point
(0, 0), nonScrollableSize, 0 };
2382
yield return new object[] { true, width, height, 10, 2, new
Point
(0, 0), scrollableSize, 1 };
2383
yield return new object[] { false, width, height, 10, 2, new
Point
(0, 0), nonScrollableSize, 0 };
2554
public Rectangle ExpectedSize => new(new
Point
(0, 0), DefaultSize);
System\Windows\Forms\SearchForVirtualItemEventArgsTests.cs (4)
16
yield return new object[] { false, true, false, "", new
Point
(1, 2), SearchDirectionHint.Down, -1 };
17
yield return new object[] { false, true, false, "text", new
Point
(-1, -2), SearchDirectionHint.Down, 0 };
18
yield return new object[] { false, true, false, "text", new
Point
(1, 2), SearchDirectionHint.Down, 1 };
43
SearchForVirtualItemEventArgs e = new(false, true, false, "text", new
Point
(1, 2), SearchDirectionHint.Down, 1)
System\Windows\Forms\SplitterPanelTests.cs (15)
504
yield return new object[] { new
Point
(0, 0), 0 };
505
yield return new object[] { new
Point
(-1, -2), 1 };
506
yield return new object[] { new
Point
(1, 0), 1 };
507
yield return new object[] { new
Point
(0, 2), 1 };
508
yield return new object[] { new
Point
(1, 2), 1 };
607
control.Location = new
Point
(1, 2);
608
Assert.Equal(new
Point
(1, 2), control.Location);
613
control.Location = new
Point
(1, 2);
614
Assert.Equal(new
Point
(1, 2), control.Location);
619
control.Location = new
Point
(2, 2);
620
Assert.Equal(new
Point
(2, 2), control.Location);
625
control.Location = new
Point
(2, 3);
626
Assert.Equal(new
Point
(2, 3), control.Location);
633
control.Location = new
Point
(1, 2);
634
Assert.Equal(new
Point
(1, 2), control.Location);
System\Windows\Forms\SplitterTests.cs (1)
1212
Location = new
Point
(50, 0)
System\Windows\Forms\TabControlTests.cs (21)
86
Assert.Equal(new
Point
(6, 3), control.Padding);
1713
yield return new object[] { new
Point
(0, 0) };
1714
yield return new object[] { new
Point
(0, 16) };
1715
yield return new object[] { new
Point
(16, 0) };
1716
yield return new object[] { new
Point
(16, 16) };
1772
control.Padding = new
Point
(1, 0);
1773
Assert.Equal(new
Point
(1, 0), control.Padding);
1776
control.Padding = new
Point
(0, 1);
1777
Assert.Equal(new
Point
(0, 1), control.Padding);
1780
control.Padding = new
Point
(1, 2);
1781
Assert.Equal(new
Point
(1, 2), control.Padding);
1785
Assert.Equal(new
Point
(6, 3), control.Padding);
1796
control.Padding = new
Point
(1, 0);
1797
Assert.Equal(new
Point
(1, 0), control.Padding);
1800
control.Padding = new
Point
(0, 1);
1801
Assert.Equal(new
Point
(0, 1), control.Padding);
1804
control.Padding = new
Point
(1, 2);
1805
Assert.Equal(new
Point
(1, 2), control.Padding);
1809
Assert.Equal(new
Point
(6, 3), control.Padding);
1817
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.Padding = new
Point
(-1, 1));
1824
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.Padding = new
Point
(1, -1));
System\Windows\Forms\TabPageTests.cs (45)
1862
yield return new object[] { new
Point
(0, 0), 0 };
1863
yield return new object[] { new
Point
(-1, -2), 1 };
1864
yield return new object[] { new
Point
(1, 0), 1 };
1865
yield return new object[] { new
Point
(0, 2), 1 };
1866
yield return new object[] { new
Point
(1, 2), 1 };
2044
yield return new object[] { resizeRedraw, new
Point
(0, 0), 0 };
2045
yield return new object[] { resizeRedraw, new
Point
(-1, -2), 1 };
2046
yield return new object[] { resizeRedraw, new
Point
(1, 0), 1 };
2047
yield return new object[] { resizeRedraw, new
Point
(0, 2), 1 };
2048
yield return new object[] { resizeRedraw, new
Point
(1, 2), 1 };
2144
yield return new object[] { resizeRedraw, new
Point
(0, 0) };
2145
yield return new object[] { resizeRedraw, new
Point
(-1, -2) };
2146
yield return new object[] { resizeRedraw, new
Point
(1, 0) };
2147
yield return new object[] { resizeRedraw, new
Point
(0, 2) };
2148
yield return new object[] { resizeRedraw, new
Point
(1, 2) };
2294
control.Location = new
Point
(1, 2);
2295
Assert.Equal(new
Point
(1, 2), control.Location);
2299
control.Location = new
Point
(1, 2);
2300
Assert.Equal(new
Point
(1, 2), control.Location);
2304
control.Location = new
Point
(2, 3);
2305
Assert.Equal(new
Point
(2, 3), control.Location);
2331
control.Location = new
Point
(1, 2);
2332
Assert.Equal(new
Point
(1, 2), control.Location);
2337
control.Location = new
Point
(1, 2);
2338
Assert.Equal(new
Point
(1, 2), control.Location);
2343
control.Location = new
Point
(2, 2);
2344
Assert.Equal(new
Point
(2, 2), control.Location);
2349
control.Location = new
Point
(2, 3);
2350
Assert.Equal(new
Point
(2, 3), control.Location);
2357
control.Location = new
Point
(1, 2);
2358
Assert.Equal(new
Point
(1, 2), control.Location);
2370
control.Location = new
Point
(1, 0);
2371
Assert.Equal(new
Point
(1, 0), control.Location);
2374
control.Location = new
Point
(0, 1);
2375
Assert.Equal(new
Point
(0, 1), control.Location);
2378
control.Location = new
Point
(1, 2);
2379
Assert.Equal(new
Point
(1, 2), control.Location);
2383
Assert.Equal(new
Point
(1, 2), control.Location);
2398
control.Location = new
Point
(1, 0);
2399
Assert.Equal(new
Point
(1, 0), control.Location);
2402
control.Location = new
Point
(0, 1);
2403
Assert.Equal(new
Point
(0, 1), control.Location);
2406
control.Location = new
Point
(1, 2);
2407
Assert.Equal(new
Point
(1, 2), control.Location);
2411
Assert.Equal(new
Point
(1, 2), control.Location);
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (21)
390
yield return new object[] { new Size(50, 20), "Some test text for testing", false, 0, new
Point
(1, 0) };
391
yield return new object[] { new Size(50, 20), "Some test text for testing", false, 15, new
Point
(79, 0) };
392
yield return new object[] { new Size(50, 20), "Some test text for testing", true, 15, new
Point
(27, 30) };
393
yield return new object[] { new Size(100, 60), "This is a\r\nlong long text\r\nfor testing\r\nGetPositionFromChar method", true, 0, new
Point
(4, 1) };
394
yield return new object[] { new Size(100, 60), "This is a\r\nlong long text\r\nfor testing\r\nGetPositionFromChar method", true, 6, new
Point
(31, 1) };
395
yield return new object[] { new Size(100, 60), "This is a\r\nlong long text\r\nfor testing\r\nGetPositionFromChar method", true, 26, new
Point
(78, 16) };
428
yield return new object[] { new Size(50, 20), "", false, 0, new
Point
(0, 0) };
429
yield return new object[] { new Size(50, 20), "Some test text", false, 100, new
Point
(0, 0) };
430
yield return new object[] { new Size(50, 20), "Some test text", false, -1, new
Point
(0, 0) };
431
yield return new object[] { new Size(50, 20), "Some test text", false, 12, new
Point
(71, 0) };
432
yield return new object[] { new Size(50, 20), "Some test text", true, 12, new
Point
(19, 30) };
433
yield return new object[] { new Size(100, 60), "Some test \n text", false, 10, new
Point
(56, 0) };
434
yield return new object[] { new Size(100, 60), "Some test \n text", true, 10, new
Point
(59, 1) };
435
yield return new object[] { new Size(100, 60), "Some test \r\n text", false, 10, new
Point
(56, 0) };
436
yield return new object[] { new Size(100, 60), "Some test \r\n text", true, 10, new
Point
(59, 1) };
437
yield return new object[] { new Size(100, 60), "Some test \r\n text", false, 12, new
Point
(60, 0) };
438
yield return new object[] { new Size(100, 60), "Some test \r\n text", true, 12, new
Point
(7, 16) };
439
yield return new object[] { new Size(100, 60), "Some test \t text", false, 10, new
Point
(57, 0) };
440
yield return new object[] { new Size(100, 60), "Some test \t text", true, 10, new
Point
(60, 1) };
441
yield return new object[] { new Size(40, 60), "Some test \t text", true, 12, new
Point
(8, 46) };
784
yield return new object[] { new
Point
(10, 10) };
System\Windows\Forms\TextBoxRendererTests.cs (3)
46
? Validate.Polygon16(new(
new
(1, 1), new(bounds.Width - 2, bounds.Height - 2)))
76
? Validate.Polygon16(new(
new
(1, 1), new(bounds.Width - 2, bounds.Height - 2)))
112
? Validate.Polygon16(new(
new
(1, 1), new(bounds.Width - 2, bounds.Height - 2)))
System\Windows\Forms\TextRendererTests.cs (20)
24
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Red };
25
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Black };
26
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.White };
27
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Transparent };
28
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Empty };
53
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Red, Color.Blue };
54
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Black, Color.Blue };
55
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.White, Color.Blue };
56
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Transparent, Color.Blue };
57
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Empty, Color.Blue };
87
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Red, TextFormatFlags.Default, };
88
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Black, TextFormatFlags.Default, };
89
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.White, TextFormatFlags.Default, };
90
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Transparent, TextFormatFlags.Default, };
91
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Empty, TextFormatFlags.Default, };
124
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Red, Color.Blue, TextFormatFlags.Default, };
125
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Black, Color.Blue, TextFormatFlags.Default, };
126
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.White, Color.Blue, TextFormatFlags.Default, };
127
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Transparent, Color.Blue, TextFormatFlags.Default, };
128
yield return new object[] { hint, text, SystemFonts.MenuFont, new
Point
(1, 2), Color.Empty, Color.Blue, TextFormatFlags.Default, };
System\Windows\Forms\ToolStripContentPanelTests.cs (15)
903
yield return new object[] { new
Point
(0, 0), 0 };
904
yield return new object[] { new
Point
(-1, -2), 1 };
905
yield return new object[] { new
Point
(1, 0), 1 };
906
yield return new object[] { new
Point
(0, 2), 1 };
907
yield return new object[] { new
Point
(1, 2), 1 };
1006
control.Location = new
Point
(1, 2);
1007
Assert.Equal(new
Point
(1, 2), control.Location);
1012
control.Location = new
Point
(1, 2);
1013
Assert.Equal(new
Point
(1, 2), control.Location);
1018
control.Location = new
Point
(2, 2);
1019
Assert.Equal(new
Point
(2, 2), control.Location);
1024
control.Location = new
Point
(2, 3);
1025
Assert.Equal(new
Point
(2, 3), control.Location);
1032
control.Location = new
Point
(1, 2);
1033
Assert.Equal(new
Point
(1, 2), control.Location);
System\Windows\Forms\ToolStripDropDownTests.cs (19)
1920
yield return new object[] { new
Point
(0, 0), new
Point
(0, 0), 0 };
1921
yield return new object[] { new
Point
(-1, -2), new
Point
(0, 0), 0 };
1922
yield return new object[] { new
Point
(1, 0), new
Point
(1, 0), 1 };
1923
yield return new object[] { new
Point
(0, 2), new
Point
(0, 2), 1 };
1924
yield return new object[] { new
Point
(1, 2), new
Point
(1, 2), 1 };
4035
yield return new object[] { new HelpEventArgs(new
Point
(1, 2)) };
4994
toolStripDropDown.Show(control, new
Point
(x, y), direction);
4996
toolStripDropDown.Location.Should().Be(new
Point
(x + 6, y + 27));
5005
toolStripDropDown.Show(new
Point
(x, y), direction);
5006
Point expectedLocation =
new
(x, y);
5028
toolStripDropDown.Show(control, new
Point
(x, y));
5035
toolStripDropDown.Location.Should().Be(new
Point
(x + 8, y + 31));
5047
toolStripDropDown.Show(new
Point
(x, y));
5054
toolStripDropDown.Location.Should().Be(new
Point
(x, y));
System\Windows\Forms\ToolStripItemTests.cs (2)
15421
menuStrip1.MoveMouse(new MouseEventArgs(MouseButtons.None, 0, new
Point
(i, 5)));
15428
menuStrip1.MoveMouse(new MouseEventArgs(MouseButtons.None, 0, new
Point
(i, 5)));
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (2)
28
toolStrip1.Location = new
Point
(3, 0);
29
toolStrip2.Location = new
Point
(148, 0);
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (2)
115
Point point =
new
(10, 10);
125
Point point =
new
(10, 10);
System\Windows\Forms\ToolStripTests.cs (36)
6679
yield return new object[] { new ScrollEventArgs(scrollEventType, 100, 200), new
Point
(x, 101), new
Point
(0, 100) };
6680
yield return new object[] { new ScrollEventArgs(scrollEventType, 200, 100), new
Point
(x, -99), new
Point
(0, -100) };
6681
yield return new object[] { new ScrollEventArgs(scrollEventType, 100, 100), new
Point
(x, 1), new
Point
(0, 0) };
6684
yield return new object[] { new ScrollEventArgs(ScrollEventType.ThumbTrack, 100, 200), new
Point
(x, 1), new
Point
(0, 0) };
6685
yield return new object[] { new ScrollEventArgs(ScrollEventType.ThumbTrack, 200, 100), new
Point
(x, 1), new
Point
(0, 0) };
6686
yield return new object[] { new ScrollEventArgs(ScrollEventType.ThumbTrack, 0, 0), new
Point
(x, 1), new
Point
(0, 0) };
6724
yield return new object[] { new ScrollEventArgs(scrollEventType, 100, 200), new
Point
(x, 101), new
Point
(0, 100), 1 };
6725
yield return new object[] { new ScrollEventArgs(scrollEventType, 200, 100), new
Point
(x, -99), new
Point
(0, -100), 1 };
6726
yield return new object[] { new ScrollEventArgs(scrollEventType, 100, 100), new
Point
(x, 1), new
Point
(0, 0), 0 };
6729
yield return new object[] { new ScrollEventArgs(ScrollEventType.ThumbTrack, 100, 200), new
Point
(x, 1), new
Point
(0, 0), 0 };
6730
yield return new object[] { new ScrollEventArgs(ScrollEventType.ThumbTrack, 200, 100), new
Point
(x, 1), new
Point
(0, 0), 0 };
6731
yield return new object[] { new ScrollEventArgs(ScrollEventType.ThumbTrack, 0, 0), new
Point
(x, 1), new
Point
(0, 0), 0 };
6986
yield return new object[] { new
Point
(1, 0), 1 };
6987
yield return new object[] { new
Point
(0, 2), 1 };
6988
yield return new object[] { new
Point
(1, 2), 1 };
6989
yield return new object[] { new
Point
(0, 0), 0 };
6990
yield return new object[] { new
Point
(0, 0), 0 };
6991
yield return new object[] { new
Point
(0, 0), 0 };
6992
yield return new object[] { new
Point
(0, 0), 0 };
6993
yield return new object[] { new
Point
(0, 0), 0 };
6994
yield return new object[] { new
Point
(0, 0), 0 };
6995
yield return new object[] { new
Point
(1, 2), 1 };
7349
var child = toolStrip.GetChildAtPoint(new
Point
(x, y));
7362
var child = toolStrip.GetChildAtPoint(new
Point
(10, 10), skipValue);
System\Windows\Forms\ToolStripTextBoxTests.cs (5)
731
char result = _toolStripTextBox.GetCharFromPosition(new
Point
(x, y));
739
int result = _toolStripTextBox.GetCharIndexFromPosition(new
Point
(1, 1));
780
_toolStripTextBox.GetPositionFromCharIndex(0).Should().Be(new
Point
(1, 0));
781
_toolStripTextBox.GetPositionFromCharIndex(5).Should().Be(new
Point
(29, 0));
782
_toolStripTextBox.GetPositionFromCharIndex(10).Should().Be(new
Point
(57, 0));
System\Windows\Forms\TreeNodeMouseClickEventArgsTests.cs (1)
31
Assert.Equal(new
Point
(x, y), e.Location);
System\Windows\Forms\TreeViewTests.cs (39)
4759
yield return new object[] { new
Point
(int.MinValue, int.MinValue) };
4760
yield return new object[] { new
Point
(-1, -2) };
4761
yield return new object[] { new
Point
(-1, 0) };
4762
yield return new object[] { new
Point
(-1, 2) };
4763
yield return new object[] { new
Point
(0, -2) };
4764
yield return new object[] { new
Point
(0, 0) };
4765
yield return new object[] { new
Point
(0, 2) };
4766
yield return new object[] { new
Point
(1, -2) };
4767
yield return new object[] { new
Point
(1, 0) };
4768
yield return new object[] { new
Point
(1, 2) };
4769
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue) };
4787
yield return new object[] { new
Point
(0, 0) };
4788
yield return new object[] { new
Point
(20, 0) };
4808
yield return new object[] { new
Point
(int.MinValue, int.MinValue) };
4809
yield return new object[] { new
Point
(-1, -2) };
4810
yield return new object[] { new
Point
(-1, 0) };
4811
yield return new object[] { new
Point
(-1, 2) };
4812
yield return new object[] { new
Point
(0, -2) };
4813
yield return new object[] { new
Point
(1, -2) };
4814
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue) };
5084
yield return new object[] { new
Point
(int.MinValue, int.MinValue), TreeViewHitTestLocations.AboveClientArea | TreeViewHitTestLocations.LeftOfClientArea };
5085
yield return new object[] { new
Point
(-1, -2), TreeViewHitTestLocations.AboveClientArea | TreeViewHitTestLocations.LeftOfClientArea };
5086
yield return new object[] { new
Point
(-1, 0), TreeViewHitTestLocations.LeftOfClientArea };
5087
yield return new object[] { new
Point
(-1, 2), TreeViewHitTestLocations.LeftOfClientArea };
5088
yield return new object[] { new
Point
(0, -2), TreeViewHitTestLocations.AboveClientArea };
5089
yield return new object[] { new
Point
(0, 0), TreeViewHitTestLocations.None };
5090
yield return new object[] { new
Point
(0, 2), TreeViewHitTestLocations.None };
5091
yield return new object[] { new
Point
(1, -2), TreeViewHitTestLocations.AboveClientArea };
5092
yield return new object[] { new
Point
(1, 0), TreeViewHitTestLocations.None };
5093
yield return new object[] { new
Point
(1, 2), TreeViewHitTestLocations.None };
5094
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue), TreeViewHitTestLocations.BelowClientArea | TreeViewHitTestLocations.RightOfClientArea };
5116
yield return new object[] { new
Point
(0, 0), TreeViewHitTestLocations.Indent };
5140
yield return new object[] { new
Point
(int.MinValue, int.MinValue), TreeViewHitTestLocations.AboveClientArea | TreeViewHitTestLocations.LeftOfClientArea };
5141
yield return new object[] { new
Point
(-1, -2), TreeViewHitTestLocations.AboveClientArea | TreeViewHitTestLocations.LeftOfClientArea };
5142
yield return new object[] { new
Point
(-1, 0), TreeViewHitTestLocations.LeftOfClientArea };
5143
yield return new object[] { new
Point
(-1, 2), TreeViewHitTestLocations.LeftOfClientArea };
5144
yield return new object[] { new
Point
(0, -2), TreeViewHitTestLocations.AboveClientArea };
5145
yield return new object[] { new
Point
(1, -2), TreeViewHitTestLocations.AboveClientArea };
5146
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue), TreeViewHitTestLocations.BelowClientArea | TreeViewHitTestLocations.RightOfClientArea };
System\Windows\Forms\WebBrowserTests.cs (2)
4526
Point p = control.PointToScreen(new
Point
(5, 5));
4600
Point p = control.PointToScreen(new
Point
(5, 5));
TextBoxBaseTests.cs (25)
4249
yield return new object[] { new
Point
(-1, -2) };
4250
yield return new object[] { new
Point
(1, 2) };
4270
Assert.NotEqual('\0', control.GetCharFromPosition(new
Point
(10, 2)));
4277
yield return new object[] { new
Point
(-1, -2), "t" };
4278
yield return new object[] { new
Point
(1, 2), "T" };
4279
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue), "t" };
4329
Assert.NotEqual('\0', control.GetCharFromPosition(new
Point
(10, 2)));
4362
yield return new object[] { new
Point
(-1, -2) };
4363
yield return new object[] { new
Point
(1, 2) };
4383
int index = control.GetCharIndexFromPosition(new
Point
(10, 2));
4391
yield return new object[] { new
Point
(-1, -2), 3 };
4392
yield return new object[] { new
Point
(1, 2), 0 };
4393
yield return new object[] { new
Point
(int.MaxValue, int.MaxValue), 3 };
4443
int index = control.GetCharIndexFromPosition(new
Point
(10, 2));
4502
Assert.Equal(expected, control.GetCharIndexFromPosition(new
Point
(1, 2)));
4955
yield return new object[] { (IntPtr)1, new
Point
(1, 0) };
4956
yield return new object[] { PARAM.FromLowHigh(1, 2), new
Point
(1, 2) };
4957
yield return new object[] { PARAM.FromLowHigh(-1, -2), new
Point
(-1, -2) };
4958
yield return new object[] { PARAM.FromLowHigh(int.MaxValue, int.MaxValue), new
Point
(-1, -1) };
6975
Point p = control.PointToScreen(new
Point
(5, 5));
7056
Point p = control.PointToScreen(new
Point
(5, 5));
7814
yield return new object[] { new Size(50, 20), false, 0, new
Point
(1, 0) };
7815
yield return new object[] { new Size(50, 20), false, 15, new
Point
(79, 0) };
7816
yield return new object[] { new Size(50, 50), true, 12, new
Point
(14, 31) };
7817
yield return new object[] { new Size(100, 50), true, 22, new
Point
(37, 16) };
System.Windows.Forms.UI.IntegrationTests (48)
AnchorLayoutTests.cs (1)
281
Location = new
Point
(20, 30),
ButtonTests.cs (8)
120
Point mouseDragHandleOnForm =
new
(form.DisplayRectangle.Right, form.DisplayRectangle.Top + form.DisplayRectangle.Height / 2);
144
Point mouseDragHandleOnForm =
new
(form.DisplayRectangle.Left + form.DisplayRectangle.Width / 2, form.DisplayRectangle.Bottom);
170
Point mouseDragHandleOnForm =
new
(form.DisplayRectangle.Right, form.DisplayRectangle.Top + form.DisplayRectangle.Height / 2);
200
Point mouseDragHandleOnForm =
new
(form.DisplayRectangle.Left + form.DisplayRectangle.Width / 2, form.DisplayRectangle.Bottom);
263
Point virtualPoint =
new
((int)Math.Round(65535.0 / horizontalResolution * centerOnScreen.X),
299
Point virtualPoint =
new
((int)Math.Round(65535.0 / horizontalResolution * centerOnScreen.X), (int)Math.Round(65535.0 / verticalResolution * centerOnScreen.Y));
300
Point virtualPoint1 =
new
((int)Math.Round(65535.0 / horizontalResolution * centerOnScreen1.X), (int)Math.Round(65535.0 / verticalResolution * centerOnScreen1.Y));
403
Location = new
Point
(0, 0),
Dpi\SplitContainerTests.cs (1)
49
Location = new
Point
(0, 0),
Dpi\ToolStripItemTests.Dpi.cs (1)
42
toolStrip.Location = new
Point
(0, 0);
DragDropTests.cs (19)
42
var targetMousePosition = ToVirtualPoint(form.ListDragTarget.PointToScreen(new
Point
(20, 20)));
103
Point endCoordinates =
new
(startCoordinates.X + 5, startCoordinates.Y + 5);
169
WaitForExplorer(DragDrop, new
Point
(dragDropForm.Location.X + dragDropForm.Width, dragDropForm.Location.Y));
318
Point endCoordinates =
new
(startCoordinates.X + 5, startCoordinates.Y + 5);
352
e.CursorOffset = new
Point
(0, 48);
431
Point startCoordinates = form.PictureBoxDragSource.PointToScreen(new
Point
(20, 20));
467
Point toolStripItemCoordinates = form.ToolStrip.PointToScreen(new
Point
(5, 5));
528
Point endCoordinates =
new
(startCoordinates.X + 5, startCoordinates.Y + 5);
594
Location = new
Point
(0, 0),
666
ListDragSource.Location = new
Point
(10, 17);
676
ListDragTarget.Location = new
Point
(154, 17);
684
_useCustomCursorsCheck.Location = new
Point
(10, 243);
689
_dropLocationLabel.Location = new
Point
(154, 245);
721
new
Point
(e.X - (dragSize.Width / 2),
867
ListDragTarget.IndexFromPoint(ListDragTarget.PointToClient(new
Point
(e.X, e.Y)));
970
PictureBoxDragSource.Location = new
Point
(10, 45);
979
RichTextBoxDropTarget.Location = new
Point
(145, 45);
1090
dragAcceptItem.DoDragDrop(data, DragDropEffects.All, _dragAcceptBmp, new
Point
(0, 16), false);
1150
PictureBoxDragSource.DoDragDrop(data, DragDropEffects.All, _dragImage, new
Point
(0, 16), false);
FormTests.cs (2)
34
form.Location = new
Point
(20, 21);
93
form.Location = new
Point
(20, 21);
ImageListTests.cs (1)
102
Location = new
Point
(12, 33),
Infra\ControlTestBase.cs (2)
184
return new
Point
(
397
return new
Point
(GetMiddle(cell.Right, cell.Left), GetMiddle(cell.Top, cell.Bottom));
ListBoxAccesibleObjectTests.cs (2)
39
Point testPoint = listBox.PointToScreen(new
Point
(0, listBox.ClientRectangle.Height - 1));
55
Point testPoint = listBox.PointToScreen(new
Point
(itemBounds.Left + 1, itemBounds.Top + 1));
MonthCalendarAccessibleObjectTests.cs (1)
46
Location = new
Point
(0, 0)
MonthCalendarTests.cs (2)
208
Location = new
Point
(0, 0),
232
Location = new
Point
(0, 0),
PropertyGridTests.cs (1)
229
Point newLocation =
new
(10, 20);
RichTextBoxTests.cs (1)
253
Location = new
Point
(100, 100),
TabControlTests.cs (6)
22
bool result = await IsHoveredWithMouseAsync(form, tabControl,
new
(10, 10));
34
bool result = await IsHoveredWithMouseAsync(form, tabControl,
new
(60, 10));
46
bool result = await IsHoveredWithMouseAsync(form, tabControl,
new
(300, 300));
61
bool result = await IsHoveredWithMouseAsync(form, tabControl,
new
(1000, 1000), assertCorrectLocation: false);
85
Location = new
Point
(0, 0)
135
Location = new
Point
(0, 0)
TestPassApp (221)
CommonControl1.Designer.cs (48)
105
this.groupBox1.Location = new System.Drawing.
Point
(32, 4);
117
this.button12.Location = new System.Drawing.
Point
(15, 309);
128
this.button1.Location = new System.Drawing.
Point
(240, 245);
140
this.button10.Location = new System.Drawing.
Point
(15, 105);
150
this.button9.Location = new System.Drawing.
Point
(15, 245);
161
this.button8.Location = new System.Drawing.
Point
(15, 175);
172
this.button3.Location = new System.Drawing.
Point
(15, 34);
184
this.button4.Location = new System.Drawing.
Point
(240, 309);
196
this.button5.Location = new System.Drawing.
Point
(240, 100);
207
this.button2.Location = new System.Drawing.
Point
(241, 34);
218
this.button6.Location = new System.Drawing.
Point
(240, 175);
233
this.groupBox2.Location = new System.Drawing.
Point
(32, 397);
249
this.checkedListBox1.Location = new System.Drawing.
Point
(299, 83);
258
this.label7.Location = new System.Drawing.
Point
(301, 32);
268
this.checkBox3.Location = new System.Drawing.
Point
(15, 137);
280
this.checkBox2.Location = new System.Drawing.
Point
(15, 83);
293
this.checkBox1.Location = new System.Drawing.
Point
(15, 30);
307
this.groupBox3.Location = new System.Drawing.
Point
(839, 4);
326
this.comboBox2.Location = new System.Drawing.
Point
(314, 85);
335
this.label11.Location = new System.Drawing.
Point
(371, 34);
351
this.comboBox1.Location = new System.Drawing.
Point
(15, 90);
360
this.label10.Location = new System.Drawing.
Point
(15, 41);
371
this.groupBox4.Location = new System.Drawing.
Point
(839, 397);
387
this.listView1.Location = new System.Drawing.
Point
(149, 83);
397
this.label8.Location = new System.Drawing.
Point
(223, 30);
418
this.groupBox5.Location = new System.Drawing.
Point
(33, 678);
431
this.linkLabel6.Location = new System.Drawing.
Point
(386, 38);
443
this.linkLabel5.Location = new System.Drawing.
Point
(340, 207);
455
this.linkLabel4.Location = new System.Drawing.
Point
(598, 143);
467
this.linkLabel3.Location = new System.Drawing.
Point
(17, 143);
479
this.label6.Location = new System.Drawing.
Point
(154, 207);
490
this.label5.Location = new System.Drawing.
Point
(15, 87);
501
this.label4.Location = new System.Drawing.
Point
(598, 87);
512
this.label3.Location = new System.Drawing.
Point
(171, 41);
521
this.linkLabel2.Location = new System.Drawing.
Point
(340, 143);
532
this.linkLabel1.Location = new System.Drawing.
Point
(340, 87);
542
this.label2.Location = new System.Drawing.
Point
(121, 143);
552
this.label1.Location = new System.Drawing.
Point
(121, 87);
563
this.groupBox6.Location = new System.Drawing.
Point
(839, 678);
581
this.listBox1.Location = new System.Drawing.
Point
(150, 77);
590
this.label12.Location = new System.Drawing.
Point
(223, 38);
601
this.groupBox7.Location = new System.Drawing.
Point
(702, 983);
612
this.maskedTextBox1.Location = new System.Drawing.
Point
(288, 119);
621
this.label9.Location = new System.Drawing.
Point
(15, 126);
633
this.groupBox8.Location = new System.Drawing.
Point
(33, 983);
645
this.dateTimePicker3.Location = new System.Drawing.
Point
(37, 126);
655
this.dateTimePicker2.Location = new System.Drawing.
Point
(37, 205);
670
this.dateTimePicker1.Location = new System.Drawing.
Point
(37, 47);
CommonControl2.Designer.cs (17)
69
this.label3.Location = new System.Drawing.
Point
(18, 278);
79
this.pictureBox1.Location = new System.Drawing.
Point
(18, 301);
90
this.label4.Location = new System.Drawing.
Point
(517, 153);
100
this.progressBar1.Location = new System.Drawing.
Point
(517, 175);
111
this.radioButton1.Location = new System.Drawing.
Point
(18, 459);
123
this.label5.Location = new System.Drawing.
Point
(309, 10);
133
this.richTextBox1.Location = new System.Drawing.
Point
(313, 36);
143
this.label6.Location = new System.Drawing.
Point
(313, 153);
157
this.textBox1.Location = new System.Drawing.
Point
(313, 175);
166
this.label7.Location = new System.Drawing.
Point
(517, 10);
175
this.treeView1.Location = new System.Drawing.
Point
(517, 36);
203
this.label8.Location = new System.Drawing.
Point
(313, 218);
212
this.webBrowser1.Location = new System.Drawing.
Point
(313, 236);
224
this.label1.Location = new System.Drawing.
Point
(14, 10);
233
this.monthCalendar1.Location = new System.Drawing.
Point
(18, 36);
241
this.label2.Location = new System.Drawing.
Point
(18, 218);
250
this.numericUpDown1.Location = new System.Drawing.
Point
(18, 236);
ContainerControls.Designer.cs (63)
128
this.flowLayoutPanel2.Location = new System.Drawing.
Point
(26, 31);
136
this.button2.Location = new System.Drawing.
Point
(90, 3);
146
this.button5.Location = new System.Drawing.
Point
(90, 36);
156
this.button6.Location = new System.Drawing.
Point
(90, 69);
167
this.label2.Location = new System.Drawing.
Point
(26, 172);
177
this.label3.Location = new System.Drawing.
Point
(26, 10);
187
this.label4.Location = new System.Drawing.
Point
(28, 427);
197
this.groupBox1.Location = new System.Drawing.
Point
(194, 445);
208
this.button7.Location = new System.Drawing.
Point
(12, 22);
220
this.groupBox2.Location = new System.Drawing.
Point
(33, 445);
231
this.button8.Location = new System.Drawing.
Point
(12, 22);
243
this.groupBox3.Location = new System.Drawing.
Point
(522, 445);
254
this.button9.Location = new System.Drawing.
Point
(12, 22);
266
this.groupBox4.Location = new System.Drawing.
Point
(350, 445);
277
this.button10.Location = new System.Drawing.
Point
(12, 22);
288
this.label6.Location = new System.Drawing.
Point
(285, 172);
298
this.label7.Location = new System.Drawing.
Point
(561, 172);
308
this.radioButton6.Location = new System.Drawing.
Point
(223, 72);
318
this.radioButton5.Location = new System.Drawing.
Point
(203, 72);
328
this.radioButton4.Location = new System.Drawing.
Point
(183, 72);
340
this.checkBox2.Location = new System.Drawing.
Point
(93, 72);
351
this.radioButton3.Location = new System.Drawing.
Point
(223, 3);
362
this.radioButton2.Location = new System.Drawing.
Point
(203, 3);
371
this.button18.Location = new System.Drawing.
Point
(93, 3);
380
this.button17.Location = new System.Drawing.
Point
(3, 3);
390
this.radioButton1.Location = new System.Drawing.
Point
(183, 3);
400
this.checkBox1.Location = new System.Drawing.
Point
(3, 72);
410
this.label10.Location = new System.Drawing.
Point
(561, 10);
421
this.tabControl5.Location = new System.Drawing.
Point
(561, 31);
431
this.tabPage9.Location = new System.Drawing.
Point
(4, 24);
442
this.button19.Location = new System.Drawing.
Point
(16, 24);
453
this.tabPage10.Location = new System.Drawing.
Point
(4, 24);
467
this.tabControl6.Location = new System.Drawing.
Point
(4, 3);
477
this.tabPage11.Location = new System.Drawing.
Point
(4, 24);
488
this.button20.Location = new System.Drawing.
Point
(0, 0);
499
this.tabPage12.Location = new System.Drawing.
Point
(4, 24);
510
this.button21.Location = new System.Drawing.
Point
(9, 9);
526
this.flowLayoutPanel1.Location = new System.Drawing.
Point
(26, 192);
534
this.button4.Location = new System.Drawing.
Point
(4, 3);
544
this.button1.Location = new System.Drawing.
Point
(100, 3);
554
this.button3.Location = new System.Drawing.
Point
(4, 36);
565
this.label1.Location = new System.Drawing.
Point
(26, 308);
576
this.panel2.Location = new System.Drawing.
Point
(285, 199);
586
this.tabControl2.Location = new System.Drawing.
Point
(8, 12);
595
this.tabPage1.Location = new System.Drawing.
Point
(4, 24);
607
this.tabPage2.Location = new System.Drawing.
Point
(4, 24);
618
this.button12.Location = new System.Drawing.
Point
(17, 24);
629
this.label5.Location = new System.Drawing.
Point
(286, 9);
641
this.panel1.Location = new System.Drawing.
Point
(286, 30);
651
this.tabControl1.Location = new System.Drawing.
Point
(5, 4);
661
this.tabPage3.Location = new System.Drawing.
Point
(4, 24);
672
this.button11.Location = new System.Drawing.
Point
(9, 9);
683
this.tabPage4.Location = new System.Drawing.
Point
(4, 24);
694
this.button13.Location = new System.Drawing.
Point
(9, 9);
709
this.flowLayoutPanel3.Location = new System.Drawing.
Point
(26, 326);
717
this.button14.Location = new System.Drawing.
Point
(4, 3);
727
this.button22.Location = new System.Drawing.
Point
(4, 36);
737
this.button23.Location = new System.Drawing.
Point
(4, 69);
748
this.panel3.Location = new System.Drawing.
Point
(561, 199);
758
this.tabControl3.Location = new System.Drawing.
Point
(12, 14);
767
this.tabPage5.Location = new System.Drawing.
Point
(4, 24);
779
this.tabPage6.Location = new System.Drawing.
Point
(4, 24);
790
this.button24.Location = new System.Drawing.
Point
(19, 23);
ContainerControls2.Designer.cs (30)
75
this.label8.Location = new System.Drawing.
Point
(13, 21);
84
this.splitContainer1.Location = new System.Drawing.
Point
(13, 45);
107
this.button15.Location = new System.Drawing.
Point
(10, 57);
117
this.button16.Location = new System.Drawing.
Point
(21, 57);
128
this.label9.Location = new System.Drawing.
Point
(27, 294);
144
this.tableLayoutPanel1.Location = new System.Drawing.
Point
(27, 329);
159
this.radioButton6.Location = new System.Drawing.
Point
(223, 72);
169
this.radioButton5.Location = new System.Drawing.
Point
(203, 72);
179
this.radioButton4.Location = new System.Drawing.
Point
(183, 72);
191
this.checkBox2.Location = new System.Drawing.
Point
(93, 72);
202
this.radioButton3.Location = new System.Drawing.
Point
(223, 3);
213
this.radioButton2.Location = new System.Drawing.
Point
(203, 3);
222
this.button18.Location = new System.Drawing.
Point
(93, 3);
231
this.button17.Location = new System.Drawing.
Point
(3, 3);
241
this.radioButton1.Location = new System.Drawing.
Point
(183, 3);
251
this.checkBox1.Location = new System.Drawing.
Point
(3, 72);
261
this.label13.Location = new System.Drawing.
Point
(337, 21);
271
this.flowLayoutPanel4.Location = new System.Drawing.
Point
(337, 45);
280
this.label14.Location = new System.Drawing.
Point
(337, 157);
291
this.groupBox5.Location = new System.Drawing.
Point
(337, 182);
303
this.label15.Location = new System.Drawing.
Point
(337, 294);
313
this.panel4.Location = new System.Drawing.
Point
(337, 329);
322
this.label16.Location = new System.Drawing.
Point
(582, 21);
331
this.splitContainer2.Location = new System.Drawing.
Point
(586, 39);
350
this.label17.Location = new System.Drawing.
Point
(582, 157);
361
this.tabControl4.Location = new System.Drawing.
Point
(582, 182);
371
this.tabPage7.Location = new System.Drawing.
Point
(4, 24);
382
this.tabPage8.Location = new System.Drawing.
Point
(4, 24);
393
this.label18.Location = new System.Drawing.
Point
(582, 294);
406
this.tableLayoutPanel2.Location = new System.Drawing.
Point
(582, 329);
DataBindingExample.Designer.cs (19)
57
this.comboBox1.Location = new System.Drawing.
Point
(10, 9);
68
this.dataGridView1.Location = new System.Drawing.
Point
(12, 21);
80
this.label1.Location = new System.Drawing.
Point
(10, 48);
90
this.textBox1.Location = new System.Drawing.
Point
(10, 77);
100
this.button1.Location = new System.Drawing.
Point
(10, 136);
122
this.panel1.Location = new System.Drawing.
Point
(272, 12);
132
this.radioButton1.Location = new System.Drawing.
Point
(336, 77);
144
this.numericUpDown1.Location = new System.Drawing.
Point
(336, 39);
153
this.domainUpDown1.Location = new System.Drawing.
Point
(336, 10);
163
this.richTextBox1.Location = new System.Drawing.
Point
(169, 102);
175
this.checkBox1.Location = new System.Drawing.
Point
(169, 77);
186
this.maskedTextBox1.Location = new System.Drawing.
Point
(169, 45);
197
this.linkLabel1.Location = new System.Drawing.
Point
(169, 12);
209
this.label2.Location = new System.Drawing.
Point
(37, 224);
219
this.treeView1.Location = new System.Drawing.
Point
(12, 242);
229
this.label3.Location = new System.Drawing.
Point
(244, 225);
240
this.listView1.Location = new System.Drawing.
Point
(162, 246);
252
this.label4.Location = new System.Drawing.
Point
(476, 225);
264
this.listBox1.Location = new System.Drawing.
Point
(453, 249);
DataControls.Designer.cs (3)
98
this.bindingNavigator1.Location = new System.Drawing.
Point
(0, 0);
276
this.dataGridView1.Location = new System.Drawing.
Point
(13, 323);
340
this.dataGridView2.Location = new System.Drawing.
Point
(13, 46);
DialogControls.Designer.cs (4)
38
this.ColorDialog.Location = new System.Drawing.
Point
(42, 12);
49
this.FolderBrowserDialog.Location = new System.Drawing.
Point
(42, 67);
60
this.OpenFileDialog.Location = new System.Drawing.
Point
(42, 125);
71
this.SaveFileDialog.Location = new System.Drawing.
Point
(42, 181);
Main.Designer.cs (11)
47
this.button1.Location = new System.Drawing.
Point
(14, 14);
58
this.button2.Location = new System.Drawing.
Point
(14, 60);
69
this.button3.Location = new System.Drawing.
Point
(13, 105);
80
this.button4.Location = new System.Drawing.
Point
(13, 152);
91
this.button5.Location = new System.Drawing.
Point
(13, 199);
102
this.button6.Location = new System.Drawing.
Point
(14, 247);
113
this.button7.Location = new System.Drawing.
Point
(13, 292);
124
this.button8.Location = new System.Drawing.
Point
(14, 336);
135
this.button9.Location = new System.Drawing.
Point
(13, 380);
146
this.button10.Location = new System.Drawing.
Point
(14, 425);
156
this.button12.Location = new System.Drawing.
Point
(15, 470);
Menu_Toolbars_controls.Designer.cs (3)
111
menuStrip1.Location = new
Point
(0, 0);
422
statusStrip1.Location = new
Point
(0, 520);
505
toolStrip1.Location = new
Point
(0, 34);
MenuForm.Designer.cs (2)
37
this.button1.Location = new System.Drawing.
Point
(78, 46);
48
this.button2.Location = new System.Drawing.
Point
(264, 46);
PrintingControls.Designer.cs (8)
73
this.label1.Location = new System.Drawing.
Point
(14, 10);
82
this.txtPrint.Location = new System.Drawing.
Point
(191, 7);
91
this.btnSetting.Location = new System.Drawing.
Point
(18, 43);
102
this.btnPreView.Location = new System.Drawing.
Point
(112, 43);
113
this.btnPrint.Location = new System.Drawing.
Point
(206, 43);
124
this.button1.Location = new System.Drawing.
Point
(301, 43);
136
this.label2.Location = new System.Drawing.
Point
(18, 86);
148
this.printPreviewControl1.Location = new System.Drawing.
Point
(18, 104);
RemainingControls.Designer.cs (8)
46
this.hScrollBar1.Location = new System.Drawing.
Point
(0, 406);
55
this.vScrollBar1.Location = new System.Drawing.
Point
(576, 0);
63
this.propertyGrid1.Location = new System.Drawing.
Point
(19, 80);
71
this.propertyGrid2.Location = new System.Drawing.
Point
(292, 80);
80
this.label1.Location = new System.Drawing.
Point
(19, 33);
89
this.domainUpDown1.Location = new System.Drawing.
Point
(192, 31);
99
this.label2.Location = new System.Drawing.
Point
(373, 33);
108
this.trackBar1.Location = new System.Drawing.
Point
(431, 29);
ToolStripContainer.Designer.cs (5)
106
this.toolStripContainer2.Location = new System.Drawing.
Point
(76, 44);
136
this.toolStrip1.Location = new System.Drawing.
Point
(0, 200);
279
this.statusStrip1.Location = new System.Drawing.
Point
(0, 0);
338
this.menuStrip1.Location = new System.Drawing.
Point
(0, 0);
581
this.button1.Location = new System.Drawing.
Point
(40, 369);
TrimTest (4)
Form1.Designer.cs (4)
47
splitContainer1.Location = new
Point
(0, 0);
66
textBox1.Location = new
Point
(0, 0);
81
comboBox1.Location = new
Point
(37, 37);
88
button1.Location = new
Point
(76, 108);
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
49
listView1.Location = new
Point
(0, 0);
UnsupportedTypes (3)
CreateFrameworkTypes.cs (3)
69
Location = new
Point
(200, 60),
119
Location = new
Point
(0, 0),
138
Location = new
Point
(0, 0),
VisualBasicRuntimeTest (2)
Program.cs (2)
135
if (expectedValue == new
Point
(0, 0))
159
if (expectedValue == new
Point
(0, 0))
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
799
this.Location = new SD.
Point
(short.MinValue, short.MinValue);
WinFormsControlsTest (303)
AnchorLayoutTests.Designer.cs (9)
47
this.button1.Location = new System.Drawing.
Point
(12, 12);
57
this.button2.Location = new System.Drawing.
Point
(338, 12);
67
this.button3.Location = new System.Drawing.
Point
(676, 12);
77
this.button4.Location = new System.Drawing.
Point
(12, 198);
87
this.button5.Location = new System.Drawing.
Point
(12, 404);
99
this.button6.Location = new System.Drawing.
Point
(338, 198);
109
this.button7.Location = new System.Drawing.
Point
(676, 198);
119
this.button8.Location = new System.Drawing.
Point
(338, 404);
129
this.button9.Location = new System.Drawing.
Point
(676, 404);
Calendar.Designer.cs (16)
63
this.monthCalendar1.Location = new System.Drawing.
Point
(18, 80);
73
this.minDateDateTimePicker.Location = new System.Drawing.
Point
(18, 334);
81
this.setMinDateButton.Location = new System.Drawing.
Point
(18, 367);
93
this.label1.Location = new System.Drawing.
Point
(18, 308);
103
this.label2.Location = new System.Drawing.
Point
(19, 422);
112
this.setMaxDateButton.Location = new System.Drawing.
Point
(19, 481);
123
this.maxDateDateTimePicker.Location = new System.Drawing.
Point
(19, 448);
132
this.label3.Location = new System.Drawing.
Point
(301, 336);
151
this.daysOfWeekComboBox.Location = new System.Drawing.
Point
(301, 363);
160
this.label4.Location = new System.Drawing.
Point
(18, 50);
169
this.resetMinDateButton.Location = new System.Drawing.
Point
(146, 367);
180
this.resetMaxDateButton.Location = new System.Drawing.
Point
(146, 481);
192
this.showWeekNumbersCheckBox.Location = new System.Drawing.
Point
(301, 452);
204
this.showTodayCheckBox.Location = new System.Drawing.
Point
(301, 484);
216
this.label5.Location = new System.Drawing.
Point
(301, 422);
224
this.currentDPILabel1.Location = new System.Drawing.
Point
(18, 18);
ChartControl.Designer.cs (4)
142
this.chart1.Location = new System.Drawing.
Point
(16, 64);
215
this.chart2.Location = new System.Drawing.
Point
(752, 64);
288
this.chart3.Location = new System.Drawing.
Point
(16, 522);
357
this.chart4.Location = new System.Drawing.
Point
(752, 522);
CollectionEditors.Designer.cs (7)
46
this.comboBox1.Location = new System.Drawing.
Point
(4, 64);
54
this.maskedTextBox1.Location = new System.Drawing.
Point
(4, 91);
62
this.textBox1.Location = new System.Drawing.
Point
(4, 12);
71
this.listView1.Location = new System.Drawing.
Point
(4, 117);
83
this.propertyGrid1.Location = new System.Drawing.
Point
(132, 37);
91
this.label1.Location = new System.Drawing.
Point
(132, 13);
99
this.domainUpDown1.Location = new System.Drawing.
Point
(4, 38);
ComboBoxes.Designer.cs (16)
59
this.comboBox1.Location = new System.Drawing.
Point
(21, 22);
79
this.comboBox2.Location = new System.Drawing.
Point
(148, 22);
98
this.comboBox3.Location = new System.Drawing.
Point
(21, 59);
113
this.comboBox4.Location = new System.Drawing.
Point
(148, 59);
124
this.comboBox5.Location = new System.Drawing.
Point
(21, 96);
137
this.comboBox6.Location = new System.Drawing.
Point
(148, 96);
149
this.comboBox7.Location = new System.Drawing.
Point
(21, 136);
162
this.comboBox8.Location = new System.Drawing.
Point
(148, 136);
175
this.comboBox9.Location = new System.Drawing.
Point
(696, 22);
188
this.comboBox10.Location = new System.Drawing.
Point
(560, 22);
202
this.comboBox11.Location = new System.Drawing.
Point
(419, 22);
222
this.comboBox12.Location = new System.Drawing.
Point
(275, 22);
231
this.dataBoundComboBox.Location = new System.Drawing.
Point
(836, 22);
239
this.currentDPILabel1.Location = new System.Drawing.
Point
(18, 173);
249
this.label1.Location = new System.Drawing.
Point
(18, 6);
258
this.dataBoundLabel.Location = new System.Drawing.
Point
(836, 6);
ComboBoxesWithScrollBars.Designer.cs (22)
74
this.comboBox1.Location = new System.Drawing.
Point
(37, 348);
86
this.comboBox2.Location = new System.Drawing.
Point
(206, 348);
98
this.comboBox3.Location = new System.Drawing.
Point
(370, 348);
113
this.changeHeightGroupBox1.Location = new System.Drawing.
Point
(14, 14);
125
this.label1.Location = new System.Drawing.
Point
(23, 28);
134
this.changeDDH_UpDown1.Location = new System.Drawing.
Point
(23, 61);
150
this.label2.Location = new System.Drawing.
Point
(192, 28);
159
this.changeCBHeight_UpDown2.Location = new System.Drawing.
Point
(192, 61);
173
this.label3.Location = new System.Drawing.
Point
(356, 28);
182
this.changeDDH_UpDown3.Location = new System.Drawing.
Point
(356, 61);
200
this.changeMaxDropDownItemsGroupBox2.Location = new System.Drawing.
Point
(14, 121);
211
this.maxDropDownItemsUpDown1.Location = new System.Drawing.
Point
(23, 22);
224
this.maxDropDownItemsUpDown2.Location = new System.Drawing.
Point
(192, 22);
238
this.maxDropDownItemsUpDown3.Location = new System.Drawing.
Point
(356, 22);
254
this.changeIntegralHeightGroupBox3.Location = new System.Drawing.
Point
(14, 192);
266
this.integralHeightCheckBox1.Location = new System.Drawing.
Point
(23, 33);
277
this.integralHeightCheckBox2.Location = new System.Drawing.
Point
(192, 33);
288
this.integralHeightCheckBox3.Location = new System.Drawing.
Point
(356, 33);
301
this.changeHeightsStyleGroupBox4.Location = new System.Drawing.
Point
(14, 262);
313
this.useDifferentHeightsCheckBox1.Location = new System.Drawing.
Point
(23, 33);
324
this.useDifferentHeightsCheckBox2.Location = new System.Drawing.
Point
(192, 33);
335
this.useDifferentHeightsCheckBox3.Location = new System.Drawing.
Point
(356, 33);
CustomComCtl32Button.cs (3)
30
Location = new
Point
(1, 0)
40
Location = new
Point
(1, 30)
49
Location = new
Point
(1, 60)
DataGridViewInVirtualModeTest.Designer.cs (1)
53
this.dataGridView1.Location = new System.Drawing.
Point
(0, 15);
DataGridViewTest.Designer.cs (6)
84
this.dataGridView1.Location = new System.Drawing.
Point
(0, 0);
138
this.currentDPILabel1.Location = new System.Drawing.
Point
(12, 174);
149
this.changeFontButton.Location = new System.Drawing.
Point
(12, 234);
160
this.numericUpDown1.Location = new System.Drawing.
Point
(89, 208);
186
this.label1.Location = new System.Drawing.
Point
(12, 210);
197
this.resetFontButton.Location = new System.Drawing.
Point
(192, 234);
DateTimePicker.Designer.cs (5)
45
this.dateTimePicker1.Location = new
Point
(31, 32);
55
this.dateTimePicker2.Location = new
Point
(31, 78);
66
this.dateTimePicker3.Location = new
Point
(31, 128);
76
this.dateTimePicker4.Location = new
Point
(31, 175);
86
this.dateTimePicker5.Location = new
Point
(31, 221);
DesignTimeAligned.Designer.cs (5)
44
this.label1.Location = new System.Drawing.
Point
(72, 18);
55
this.label2.Location = new System.Drawing.
Point
(72, 76);
65
this.button1.Location = new System.Drawing.
Point
(122, 66);
76
this.textBox1.Location = new System.Drawing.
Point
(122, 12);
86
this.currentDPILabel1.Location = new System.Drawing.
Point
(25, 159);
Dialogs.Designer.cs (8)
54
this.propertyGrid1.Location = new System.Drawing.
Point
(171, 0);
63
this.btnOpenFileDialog.Location = new System.Drawing.
Point
(3, 3);
73
this.btnColorDialog.Location = new System.Drawing.
Point
(3, 32);
83
this.btnThreadExceptionDialog.Location = new System.Drawing.
Point
(3, 32);
93
this.btnPrintDialog.Location = new System.Drawing.
Point
(3, 32);
103
this.btnFolderBrowserDialog.Location = new System.Drawing.
Point
(3, 61);
113
this.btnSaveFileDialog.Location = new System.Drawing.
Point
(3, 3);
130
this.flowLayoutPanel1.Location = new System.Drawing.
Point
(0, 0);
DockLayoutTests.Designer.cs (5)
46
this.button1.Location = new System.Drawing.
Point
(0, 0);
56
this.button3.Location = new System.Drawing.
Point
(688, 0);
66
this.button2.Location = new System.Drawing.
Point
(112, 0);
76
this.button4.Location = new System.Drawing.
Point
(112, 384);
86
this.button5.Location = new System.Drawing.
Point
(112, 89);
DragDrop.cs (6)
183
pictureBox.DoDragDrop(data, DragDropEffects.All, _nyanCatBmp, new
Point
(0, 96), true);
196
e.CursorOffset = new
Point
(0, 111);
204
e.CursorOffset = new
Point
(0, 96);
546
toolStripItem.DoDragDrop(data, DragDropEffects.All, _dragAcceptBmp, new
Point
(0, 96), true);
558
toolStripItem.DoDragDrop(data, DragDropEffects.All, _nyanCatBmp, new
Point
(0, 96), true);
570
toolStripItem.DoDragDrop(data, DragDropEffects.All, _nyanCatAscii301Bmp, new
Point
(0, 111), false);
DragDrop.Designer.cs (11)
71
tableLayoutPanel1.Location = new
Point
(0, 0);
87
textBox.Location = new
Point
(735, 3);
98
richTextBox.Location = new
Point
(118, 3);
110
pictureBox1.Location = new
Point
(3, 3);
121
pictureBox2.Location = new
Point
(3, 115);
132
pictureBox3.Location = new
Point
(3, 227);
143
pictureBox4.Location = new
Point
(3, 339);
154
pictureBox5.Location = new
Point
(3, 451);
168
tableLayoutPanel2.Location = new
Point
(1046, 563);
178
buttonOpenCats.Location = new
Point
(3, 3);
188
buttonClear.Location = new
Point
(92, 3);
ErrorProviderTest.Designer.cs (7)
60
this.label1.Location = new System.Drawing.
Point
(19, 26);
69
this.label1_2.Location = new System.Drawing.
Point
(19, 41);
77
this.textBox1.Location = new System.Drawing.
Point
(19, 60);
90
this.label2.Location = new System.Drawing.
Point
(19, 100);
99
this.label2_1.Location = new System.Drawing.
Point
(19, 115);
107
this.textBox2.Location = new System.Drawing.
Point
(19, 135);
118
this.submitButton.Location = new System.Drawing.
Point
(19, 180);
FormBorderStyles.Designer.cs (2)
37
this.btnChangeFormBorderStyle.Location = new System.Drawing.
Point
(13, 13);
48
this.lblFormBorderStyle.Location = new System.Drawing.
Point
(13, 43);
FormShowInTaskbar.cs (2)
20
Location = new
Point
(10, 10),
41
Location = new
Point
(10, 10),
ListBoxes.Designer.cs (20)
58
this.label1.Location = new System.Drawing.
Point
(20, 10);
65
this.listBox1.Location = new System.Drawing.
Point
(20, 40);
74
this.textBox1.Location = new System.Drawing.
Point
(240, 40);
82
this.addButton1.Location = new System.Drawing.
Point
(240, 80);
91
this.deleteButton1.Location = new System.Drawing.
Point
(240, 110);
99
this.label2.Location = new System.Drawing.
Point
(20, 200);
105
this.listBox2.Location = new System.Drawing.
Point
(20, 240);
112
this.textBox2.Location = new System.Drawing.
Point
(240, 240);
120
this.addButton2.Location = new System.Drawing.
Point
(240, 300);
129
this.deleteButton2.Location = new System.Drawing.
Point
(240, 330);
137
this.label3.Location = new System.Drawing.
Point
(360, 10);
143
this.listBox3.Location = new System.Drawing.
Point
(360, 40);
152
this.textBox3.Location = new System.Drawing.
Point
(600, 40);
160
this.addButton3.Location = new System.Drawing.
Point
(600, 80);
169
this.deleteButton3.Location = new System.Drawing.
Point
(600, 110);
177
this.label4.Location = new System.Drawing.
Point
(360, 200);
184
this.listBox4.Location = new System.Drawing.
Point
(360, 240);
194
this.textBox4.Location = new System.Drawing.
Point
(600, 240);
202
this.addButton4.Location = new System.Drawing.
Point
(600, 300);
211
this.deleteButton4.Location = new System.Drawing.
Point
(600, 330);
ListViewTest.cs (1)
57
Bounds = new Rectangle(new
Point
(0, 0), new Size(400, 200)),
ListViewTest.Designer.cs (4)
79
this.listView1.Location = new System.Drawing.
Point
(12, 33);
109
this.btnClearListView1.Location = new System.Drawing.
Point
(13, 4);
119
this.btnLoadImagesListView1.Location = new System.Drawing.
Point
(95, 4);
141
this.btnReplaceImageListView1.Location = new System.Drawing.
Point
(176, 4);
MainForm.Designer.cs (1)
42
this.overarchingFlowLayoutPanel.Location = new System.Drawing.
Point
(8, 8);
MdiChild.Designer.cs (8)
55
this.panel1.Location = new System.Drawing.
Point
(0, 0);
64
this.chkChildAlign.Location = new System.Drawing.
Point
(43, 121);
75
this.chkRightToLeft.Location = new System.Drawing.
Point
(228, 121);
86
this.btnOpenChild.Location = new System.Drawing.
Point
(40, 22);
97
this.chkSetParentMenustrip.Location = new System.Drawing.
Point
(43, 73);
108
this.chkSetMenustrip.Location = new System.Drawing.
Point
(228, 73);
119
this.chkAddParentMenustrip.Location = new System.Drawing.
Point
(43, 97);
130
this.chkAddMenustrip.Location = new System.Drawing.
Point
(228, 97);
MediaPlayer.Designer.cs (1)
45
this.axWindowsMediaPlayer1.Location = new System.Drawing.
Point
(0, 0);
MenuStripAndCheckedListBox.Designer.cs (2)
73
this.menuStrip1.Location = new System.Drawing.
Point
(0, 0);
274
this.currentDpiLabel.Location = new System.Drawing.
Point
(22, 66);
MessageBoxes.Designer.cs (1)
42
this.propertyGrid1.Location = new System.Drawing.
Point
(171, 0);
MultipleControls.cs (1)
22
Bounds = new Rectangle(new
Point
(0, 0), new Size(400, 200)),
MultipleControls.Designer.cs (21)
65
this.progressBar1.Location = new System.Drawing.
Point
(0, 0);
79
this.button1.Location = new System.Drawing.
Point
(15, 50);
93
this.label1.Location = new System.Drawing.
Point
(15, 84);
101
this.maskedTextBox1.Location = new System.Drawing.
Point
(15, 104);
110
this.richTextBox1.Location = new System.Drawing.
Point
(15, 135);
118
this.textBox1.Location = new System.Drawing.
Point
(15, 264);
129
this.tabControl1.Location = new System.Drawing.
Point
(141, 50);
140
this.tabPage1.Location = new System.Drawing.
Point
(4, 24);
151
this.comboBox1.Location = new System.Drawing.
Point
(22, 30);
160
this.tabPage2.Location = new System.Drawing.
Point
(4, 24);
171
this.checkBox1.Location = new System.Drawing.
Point
(8, 22);
181
this.checkBox2.Location = new System.Drawing.
Point
(8, 50);
191
this.radioButton2.Location = new System.Drawing.
Point
(19, 55);
201
this.radioButton1.Location = new System.Drawing.
Point
(19, 29);
216
this.groupBox1.Location = new System.Drawing.
Point
(146, 197);
232
this.checkedListBox1.Location = new System.Drawing.
Point
(378, 49);
241
this.numericUpDown1.Location = new System.Drawing.
Point
(378, 197);
252
this.domainUpDown1.Location = new System.Drawing.
Point
(378, 227);
261
this.linkLabel1.Location = new System.Drawing.
Point
(62, 84);
271
this.linkLabel2.Location = new System.Drawing.
Point
(378, 255);
290
this.checkedListBox2.Location = new System.Drawing.
Point
(525, 49);
Password.Designer.cs (20)
60
textBox1.Location = new
Point
(26, 113);
68
textBox2.Location = new
Point
(26, 191);
77
label1.Location = new
Point
(26, 84);
86
label2.Location = new
Point
(25, 163);
94
maskedTextBox1.Location = new
Point
(316, 191);
102
maskedTextBox2.Location = new
Point
(316, 113);
110
maskedTextBox3.Location = new
Point
(316, 279);
120
textBox3.Location = new
Point
(26, 279);
128
button1.Location = new
Point
(26, 338);
138
textBox4.Location = new
Point
(623, 251);
147
textBox5.Location = new
Point
(623, 113);
157
label3.Location = new
Point
(26, 27);
166
label4.Location = new
Point
(310, 27);
175
label5.Location = new
Point
(611, 27);
184
label6.Location = new
Point
(611, 213);
193
label7.Location = new
Point
(611, 84);
202
label8.Location = new
Point
(310, 163);
211
label9.Location = new
Point
(310, 84);
220
label10.Location = new
Point
(26, 251);
229
label11.Location = new
Point
(310, 251);
PictureBoxes.Designer.cs (3)
45
this.pictureBox1.Location = new System.Drawing.
Point
(11, 39);
58
this.btnloadImage.Location = new System.Drawing.
Point
(539, 9);
71
this.imageUri.Location = new System.Drawing.
Point
(13, 11);
PropertyGrid.Designer.cs (1)
41
this.propertyGrid1.Location = new System.Drawing.
Point
(0, 0);
RichTextBoxes.Designer.cs (2)
41
this.richTextBox1.Location = new System.Drawing.
Point
(0, 0);
52
this.richTextBox2.Location = new System.Drawing.
Point
(0, 104);
ScalingBeforeChanges.Designer.cs (1)
40
this.checkBox1.Location = new System.Drawing.
Point
(39, 73);
ScrollableControls.Designer.cs (33)
97
flowLayoutPanel1.Location = new
Point
(12, 33);
104
button1.Location = new
Point
(3, 3);
113
button2.Location = new
Point
(3, 32);
122
button3.Location = new
Point
(3, 61);
131
button4.Location = new
Point
(3, 90);
140
button5.Location = new
Point
(3, 119);
150
label1.Location = new
Point
(12, 9);
164
panel1.Location = new
Point
(166, 37);
171
button9.Location = new
Point
(24, 113);
180
button8.Location = new
Point
(24, 87);
189
button7.Location = new
Point
(3, 29);
198
button6.Location = new
Point
(3, 3);
208
label2.Location = new
Point
(200, 9);
217
splitContainer1.Location = new
Point
(344, 40);
240
button16.Location = new
Point
(3, 87);
249
button15.Location = new
Point
(-11, 61);
258
button10.Location = new
Point
(-31, 31);
267
button14.Location = new
Point
(62, 112);
276
button13.Location = new
Point
(48, 87);
285
button12.Location = new
Point
(31, 61);
294
button11.Location = new
Point
(16, 31);
304
label3.Location = new
Point
(371, 4);
314
tabControl1.Location = new
Point
(538, 47);
324
tabPage1.Location = new
Point
(4, 24);
334
button17.Location = new
Point
(11, 24);
343
tabPage2.Location = new
Point
(4, 24);
354
label4.Location = new
Point
(593, 9);
363
label5.Location = new
Point
(29, 193);
371
textBox1.Location = new
Point
(16, 247);
382
treeView1.Location = new
Point
(170, 229);
409
label6.Location = new
Point
(181, 193);
418
label7.Location = new
Point
(389, 193);
429
listBox1.Location = new
Point
(348, 229);
ScrollBars.Designer.cs (9)
51
this.hScrollBar.Location = new System.Drawing.
Point
(37, 63);
59
this.vScrollBar.Location = new System.Drawing.
Point
(275, 63);
67
this.numericMinimum.Location = new System.Drawing.
Point
(37, 132);
75
this.numericMaximum.Location = new System.Drawing.
Point
(37, 194);
89
this.chbRightToLeft.Location = new System.Drawing.
Point
(37, 250);
100
this.lblMinimum.Location = new System.Drawing.
Point
(37, 109);
109
this.lblMaximum.Location = new System.Drawing.
Point
(37, 171);
118
this.lblHValue.Location = new System.Drawing.
Point
(37, 33);
127
this.lblVValue.Location = new System.Drawing.
Point
(275, 33);
Splitter.Designer.cs (1)
42
this.splitContainer1.Location = new System.Drawing.
Point
(0, 0);
TextBoxes.Designer.cs (6)
44
this.textBox.Location = new System.Drawing.
Point
(20, 20);
52
this.RTLTextBox.Location = new System.Drawing.
Point
(160, 20);
61
this.multilineTextBox.Location = new System.Drawing.
Point
(20, 60);
84
this.RTLMultilineTextBox.Location = new System.Drawing.
Point
(160, 60);
108
this.richTextBox.Location = new System.Drawing.
Point
(20, 190);
129
this.RTLRichTextBox.Location = new System.Drawing.
Point
(160, 190);
ToolStripSeparatorPreferredSize.cs (3)
48
_toolStrip1.Location = new System.Drawing.
Point
(0, 0);
71
_buttonChangeOrientation.Location = new System.Drawing.
Point
(10, 75);
80
_label1.Location = new System.Drawing.
Point
(10, 50);
ToolStripTests.Designer.cs (6)
88
this.toolStrip1.Location = new System.Drawing.
Point
(0, 0);
108
this.toolStrip2.Location = new System.Drawing.
Point
(0, 22);
120
this.toolStrip3.Location = new System.Drawing.
Point
(0, 45);
132
this.toolStrip4.Location = new System.Drawing.
Point
(0, 68);
381
this.statusStrip1.Location = new System.Drawing.
Point
(0, 142);
391
this.label1.Location = new System.Drawing.
Point
(12, 127);
ToolTipTests.Designer.cs (8)
52
this.delaysNotSetButton.Location = new System.Drawing.
Point
(8, 411);
63
this.automaticDelayButton.Location = new System.Drawing.
Point
(8, 9);
74
this.autoPopDelayButton.Location = new System.Drawing.
Point
(8, 210);
92
this.flowLayoutPanel1.Location = new System.Drawing.
Point
(0, 0);
100
this.defaultAutomaticDelayButton.Location = new System.Drawing.
Point
(8, 612);
111
this.defaultAutoPopDelayButton.Location = new System.Drawing.
Point
(8, 813);
122
this.initialDelayButton.Location = new System.Drawing.
Point
(8, 1014);
134
this.autoEllipsisButton.Location = new System.Drawing.
Point
(8, 1215);
TrackBars.Designer.cs (15)
60
this.trackBar1.Location = new System.Drawing.
Point
(10, 30);
72
this.rbHorizontal.Location = new System.Drawing.
Point
(18, 26);
85
this.rbVertical.Location = new System.Drawing.
Point
(18, 56);
98
this.gbOrientation.Location = new System.Drawing.
Point
(65, 78);
110
this.chbRightToLeft.Location = new System.Drawing.
Point
(83, 176);
122
this.chbRightToLeftLayout.Location = new System.Drawing.
Point
(83, 199);
134
this.tickstyleNone.Location = new System.Drawing.
Point
(83, 222);
145
this.numericMinimum.Location = new System.Drawing.
Point
(260, 104);
164
this.numericMaximum.Location = new System.Drawing.
Point
(260, 149);
183
this.numericFrequency.Location = new System.Drawing.
Point
(260, 193);
203
this.lblMinimum.Location = new System.Drawing.
Point
(260, 87);
212
this.lblMaximum.Location = new System.Drawing.
Point
(260, 131);
221
this.lblTickFrequency.Location = new System.Drawing.
Point
(260, 176);
230
this.lblTrackBarSize.Location = new System.Drawing.
Point
(166, 9);
239
this.lblTrackBarValue.Location = new System.Drawing.
Point
(12, 9);