30 references to ButtonID
System.Windows.Forms (30)
winforms\Managed\System\WinForms\UpDownBase.cs (30)
1078
if (e.ButtonID == (int)
ButtonID
.Up)
1080
else if (e.ButtonID == (int)
ButtonID
.Down)
1413
private
ButtonID
pushed =
ButtonID
.None;
1414
private
ButtonID
captured =
ButtonID
.None;
1415
private
ButtonID
mouseOver =
ButtonID
.None;
1474
pushed = captured =
ButtonID
.Up;
1482
pushed = captured =
ButtonID
.Down;
1508
pushed =
ButtonID
.None;
1509
captured =
ButtonID
.None;
1547
Debug.Assert(!(pushed !=
ButtonID
.None && captured ==
ButtonID
.None),
1573
if (captured ==
ButtonID
.Down) {
1601
if (pushed !=
ButtonID
.None) {
1606
pushed =
ButtonID
.None;
1619
mouseOver =
ButtonID
.Up;
1623
mouseOver =
ButtonID
.Down;
1629
Debug.Assert(!(pushed !=
ButtonID
.None && captured ==
ButtonID
.None),
1649
Debug.Assert(!(pushed !=
ButtonID
.None && captured ==
ButtonID
.None),
1680
mouseOver =
ButtonID
.None;
1697
VisualStyleRenderer vsr = new VisualStyleRenderer(mouseOver ==
ButtonID
.Up ? VisualStyleElement.Spin.Up.Hot : VisualStyleElement.Spin.Up.Normal);
1702
else if (pushed ==
ButtonID
.Up) {
1711
else if (pushed ==
ButtonID
.Down) {
1715
vsr.SetParameters(mouseOver ==
ButtonID
.Down ? VisualStyleElement.Spin.Down.Hot : VisualStyleElement.Spin.Down.Normal);
1724
pushed ==
ButtonID
.Up ? ButtonState.Pushed : (Enabled ? ButtonState.Normal : ButtonState.Inactive));
1729
pushed ==
ButtonID
.Down ? ButtonState.Pushed : (Enabled ? ButtonState.Normal : ButtonState.Inactive));