32 references to ButtonID
System.Windows.Forms (32)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
819
if (e.ButtonID == (int)
ButtonID
.Up)
823
else if (e.ButtonID == (int)
ButtonID
.Down)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (28)
22
private
ButtonID
_pushed =
ButtonID
.None;
23
private
ButtonID
_captured =
ButtonID
.None;
24
private
ButtonID
_mouseOver =
ButtonID
.None;
64
_pushed = _captured =
ButtonID
.Up;
70
_pushed = _captured =
ButtonID
.Down;
92
_pushed =
ButtonID
.None;
93
_captured =
ButtonID
.None;
129
!(_pushed !=
ButtonID
.None && _captured ==
ButtonID
.None),
148
if (_captured ==
ButtonID
.Down)
172
if (_pushed !=
ButtonID
.None)
177
_pushed =
ButtonID
.None;
191
_mouseOver =
ButtonID
.Up;
196
_mouseOver =
ButtonID
.Down;
202
!(_pushed !=
ButtonID
.None && _captured ==
ButtonID
.None),
220
!(_pushed !=
ButtonID
.None && _captured ==
ButtonID
.None),
248
_mouseOver =
ButtonID
.None;
264
VisualStyleRenderer vsr = new(_mouseOver ==
ButtonID
.Up
272
else if (_pushed ==
ButtonID
.Up)
287
else if (_pushed ==
ButtonID
.Down)
293
vsr.SetParameters(_mouseOver ==
ButtonID
.Down
309
_pushed ==
ButtonID
.Up ? ButtonState.Pushed : (Enabled ? ButtonState.Normal : ButtonState.Inactive));
315
_pushed ==
ButtonID
.Down ? ButtonState.Pushed : (Enabled ? ButtonState.Normal : ButtonState.Inactive));
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (2)
61
int buttonId = _up ? (int)
ButtonID
.Up : (int)
ButtonID
.Down;