예제 #1
0
파일: BIButton.cs 프로젝트: zhtw2013/KeyKey
        //@}

        #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;
        }
예제 #2
0
파일: BIForm.cs 프로젝트: zhtw2013/KeyKey
 public void InvisibleShow()
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new MethodInvoker(this.InvisibleShow));
     }
     else
     {
         Win32FunctionHelper.ShowWindow(
             base.Handle, Win32FunctionHelper.CmdShow.SW_HIDE);
     }
 }