public override void DownButton() { if (UserEdit) { ParseEditText (); } Value = Math.Max (minimum, unchecked (dvalue - increment)); // UIA Framework Event: DownButton Click OnUIADownButtonClick (EventArgs.Empty); }
protected override void OnClick(EventArgs e) { base.OnClick(e); if (upButton) { owner.UpButton(); } else { owner.DownButton(); } }