public override void UpButton() { if (UserEdit) { ParseEditText (); } Value = Math.Min (maximum, unchecked (dvalue + increment)); // UIA Framework Event: UpButton Click OnUIAUpButtonClick (EventArgs.Empty); } #endregion // Public Instance Methods
protected override void OnClick(EventArgs e) { base.OnClick(e); if (upButton) { owner.UpButton(); } else { owner.DownButton(); } }