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

            UpButtonClicked?.Invoke(this, EventArgs.Empty);
        }
Пример #2
0
 public override void UpButton()
 {
     UpButtonClicked?.Invoke(this, new EventArgs());
 }
Пример #3
0
 public override void UpButton()
 {
     UpButtonClicked?.Invoke(this, EventArgs.Empty);
 }