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