34 references to OnMouseDown
System.Windows.Forms.Tests (34)
System\Windows\Forms\ButtonBaseTests.cs (34)
5544
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
5648
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
5729
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
5813
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
5918
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
6008
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
6017
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
6128
control.
OnMouseDown
(eventArgs);
6134
control.
OnMouseDown
(eventArgs);
6184
control.
OnMouseDown
(eventArgs);
6193
control.
OnMouseDown
(eventArgs);
6205
Assert.Throws<NullReferenceException>(() => control.
OnMouseDown
(null));
6563
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
6594
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
6713
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
6780
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7642
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7673
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7705
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7791
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7833
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7876
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
7967
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8003
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8040
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8136
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8183
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8231
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8472
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8508
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8545
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8641
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8688
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));
8736
control.
OnMouseDown
(new MouseEventArgs(MouseButtons.Left, 1, 0, 0, 0));