Пример #1
0
        private void DownButton_Clicked(object sender, EventArgs e)
        {
            if (Value - Increment < Minimum)
            {
                Value = Minimum;
            }
            else
            {
                Value -= Increment;
            }

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