32 references to ButtonID
System.Windows.Forms (32)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
819if (e.ButtonID == (int)ButtonID.Up) 823else if (e.ButtonID == (int)ButtonID.Down)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (28)
22private ButtonID _pushed = ButtonID.None; 23private ButtonID _captured = ButtonID.None; 24private 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), 148if (_captured == ButtonID.Down) 172if (_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; 264VisualStyleRenderer vsr = new(_mouseOver == ButtonID.Up 272else if (_pushed == ButtonID.Up) 287else if (_pushed == ButtonID.Down) 293vsr.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)
61int buttonId = _up ? (int)ButtonID.Up : (int)ButtonID.Down;