2 writes to Clicks
System.Windows.Forms (2)
System\Windows\Forms\Input\MouseEventArgs.cs (2)
18
Clicks
= clicks;
30
Clicks
= clicks;
60 references to Clicks
System.Windows.Forms (34)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (14)
5746
if (dgvme == DataGridViewMouseEvent.MouseDown && e.
Clicks
== 1)
5754
e.
Clicks
,
5781
&& e.
Clicks
== 1
5847
if (e.
Clicks
== 2)
11928
_dataGridViewOper[OperationResizingOperationAboutToStart] = (e.
Clicks
== 1);
11959
if (e.
Clicks
== 1)
11972
if (e.
Clicks
== 1)
12027
if (e.
Clicks
== 1)
12041
if (e.
Clicks
== 1)
16005
e.
Clicks
,
16025
e.
Clicks
,
16055
e.
Clicks
,
16075
e.
Clicks
,
25405
Debug.Assert(dgvcme.
Clicks
== 1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
3040
DataGridView.OnCommonCellContentClick(e.ColumnIndex, e.RowIndex, e.
Clicks
> 1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellMouseEventArgs.cs (1)
14
: base(e?.Button ?? MouseButtons.None, e?.
Clicks
?? 0, localX, localY, e?.Delta ?? 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
9
: base(e?.Button ?? MouseButtons.None, e?.
Clicks
?? 0, e?.X ?? 0, e?.Y ?? 0, e?.Delta ?? 0, e?.Handled ?? false)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowDividerDoubleClickEventArgs.cs (1)
9
: base((e.OrThrowIfNull()).Button, e.
Clicks
, e.X, e.Y, e.Delta, e.Handled)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
836
if (!Enabled || e.
Clicks
> 1)
870
if (!Enabled || e.
Clicks
> 1 || _receivedDoubleClick)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
2402
OnMouseMove(new MouseEventArgs(e.Button, e.
Clicks
, newPoint.X, newPoint.Y, e.Delta));
2418
OnMouseDown(new MouseEventArgs(e.Button, e.
Clicks
, newPoint.X, newPoint.Y, e.Delta));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
2576
if (e.
Clicks
% 2 == 0)
2954
if (e.
Clicks
== 2)
2988
gridEntry.OnMouseClick(e.X - r.X, e.Y - r.Y, e.
Clicks
, e.Button);
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
813
if (e.Button == MouseButtons.Left && e.
Clicks
== 1)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
3331
mea = new MouseEventArgs(mea.Button, mea.
Clicks
, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
3387
mea = new MouseEventArgs(mea.Button, mea.
Clicks
, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
3431
mea = new MouseEventArgs(mea.Button, mea.
Clicks
, itemRelativePoint.X, itemRelativePoint.Y, mea.Delta);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
681
if (e.
Clicks
== 2 && e.Button == MouseButtons.Left)
911
return new MouseEventArgs(e.Button, e.
Clicks
, point.X, point.Y, e.Delta);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
121
if (e.
Clicks
== 2 && e.Button == MouseButtons.Left)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
44
if (e.
Clicks
== 2 && e.Button == MouseButtons.Left)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1142
if (e.Button == MouseButtons.Left && e.
Clicks
== 1 && !IsSplitterFixed)
System.Windows.Forms.Tests (26)
System\Windows\Forms\ButtonBaseTests.cs (4)
8884
Assert.Equal(expectedClicks, e.
Clicks
);
8920
Assert.Equal(expectedClicks, e.
Clicks
);
8990
Assert.Equal(expectedClicks, e.
Clicks
);
9034
Assert.Equal(expectedClicks, e.
Clicks
);
System\Windows\Forms\ControlTests.Methods.cs (8)
13446
Assert.Equal(expectedClicks, e.
Clicks
);
13482
Assert.Equal(expectedClicks, e.
Clicks
);
13556
Assert.Equal(expectedClicks, e.
Clicks
);
13600
Assert.Equal(expectedClicks, e.
Clicks
);
13781
Assert.Equal(expectedClicks, e.
Clicks
);
13817
Assert.Equal(expectedClicks, e.
Clicks
);
13887
Assert.Equal(expectedClicks, e.
Clicks
);
13931
Assert.Equal(expectedClicks, e.
Clicks
);
System\Windows\Forms\DataGridViewCellMouseEventArgsTests.cs (2)
26
Assert.Equal(mouseE.
Clicks
, e.
Clicks
);
System\Windows\Forms\DataGridViewColumnDividerDoubleClickEventArgsTests.cs (2)
25
Assert.Equal(mouseE.
Clicks
, e.
Clicks
);
System\Windows\Forms\DataGridViewRowDividerDoubleClickEventArgsTests.cs (2)
25
Assert.Equal(mouseE.
Clicks
, e.
Clicks
);
System\Windows\Forms\HandledMouseEventArgsTests.cs (2)
21
Assert.Equal(clicks, e.
Clicks
);
37
Assert.Equal(clicks, e.
Clicks
);
System\Windows\Forms\MouseEventArgsTests.cs (1)
21
Assert.Equal(clicks, e.
Clicks
);
System\Windows\Forms\TreeNodeMouseClickEventArgsTests.cs (1)
27
Assert.Equal(clicks, e.
Clicks
);
TextBoxBaseTests.cs (4)
7267
Assert.Equal(expectedClicks, e.
Clicks
);
7303
Assert.Equal(expectedClicks, e.
Clicks
);
7377
Assert.Equal(expectedClicks, e.
Clicks
);
7421
Assert.Equal(expectedClicks, e.
Clicks
);