System.Windows.Forms.NumericUpDown.UpButton C# (CSharp) Method

UpButton() public method

public UpButton ( ) : void
return void
		public override void UpButton() {
			if (UserEdit) {
				ParseEditText ();
			}

			Value = Math.Min (maximum, unchecked (dvalue + increment));

			// UIA Framework Event: UpButton Click
			OnUIAUpButtonClick (EventArgs.Empty);
		}
		#endregion	// Public Instance Methods

Usage Example

Example #1
0
            protected override void OnClick(EventArgs e)
            {
                base.OnClick(e);

                if (upButton)
                {
                    owner.UpButton();
                }
                else
                {
                    owner.DownButton();
                }
            }
All Usage Examples Of System.Windows.Forms.NumericUpDown::UpButton