Beispiel #1
0
        private void UpButton_Clicked(object sender, EventArgs e)
        {
            if (Value + Increment > Maximum)
            {
                Value = Maximum;
            }
            else
            {
                Value += Increment;
            }

            UpButtonClicked?.Invoke(this, EventArgs.Empty);
        }
Beispiel #2
0
 public override void UpButton()
 {
     UpButtonClicked?.Invoke(this, new EventArgs());
 }
Beispiel #3
0
 public override void UpButton()
 {
     UpButtonClicked?.Invoke(this, EventArgs.Empty);
 }