// 改變可操縱視窗狀態並保存目前狀態,由按鍵狀態的改變來致能 (None -> Down or Down -> None)
        private void ToggleManipulateWindow(KeyStates inKeyStates)
        {
            if (inKeyStates != gKeyStates)
            {
                canManipulateWindow = !canManipulateWindow;

                WindowsServices.SetWindowExTransparent(hwnd);

                gKeyStates = inKeyStates;
            }
        }
 public void Init(IntPtr hwnd)
 {
     this.hwnd = hwnd;
     WindowsServices.SaveOriginStyle(hwnd);
 }