private void UpButton_Clicked(object sender, EventArgs e) { if (Value + Increment > Maximum) { Value = Maximum; } else { Value += Increment; } UpButtonClicked?.Invoke(this, EventArgs.Empty); }
public override void UpButton() { UpButtonClicked?.Invoke(this, new EventArgs()); }
public override void UpButton() { UpButtonClicked?.Invoke(this, EventArgs.Empty); }