protected override void OnHandleDestroyed(EventArgs e) { base.OnHandleDestroyed(e); if (this._upDownButtonNativeWindow == null) return; this._upDownButtonNativeWindow.Dispose(); this._upDownButtonNativeWindow = (UITabControl.UpDownButtonNativeWindow)null; }
protected override void OnSizeChanged(EventArgs e) { base.OnSizeChanged(e); if (!(this.UpDownButtonHandle != IntPtr.Zero) || this._upDownButtonNativeWindow != null) return; this._upDownButtonNativeWindow = new UITabControl.UpDownButtonNativeWindow(this); }
protected override void OnCreateControl() { base.OnCreateControl(); if (!(this.UpDownButtonHandle != IntPtr.Zero) || this._upDownButtonNativeWindow != null) return; this._upDownButtonNativeWindow = new UITabControl.UpDownButtonNativeWindow(this); }