Ejemplo n.º 1
0
        //@}

        #region The shadowed Show()
        public new void Show()
        {
            if (this.Handle == IntPtr.Zero)
                base.CreateControl();

            Win32FunctionHelper.SetParent(base.Handle, IntPtr.Zero);
            Win32FunctionHelper.ShowWindow(
                base.Handle, Win32FunctionHelper.CmdShow.SW_SHOWNOACTIVATE);
            this.Visible = true;
        }
Ejemplo n.º 2
0
 public void InvisibleShow()
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new MethodInvoker(this.InvisibleShow));
     }
     else
     {
         Win32FunctionHelper.ShowWindow(
             base.Handle, Win32FunctionHelper.CmdShow.SW_HIDE);
     }
 }