コード例 #1
0
        private bool IsRegisterCallback(object sender, HuionKeyEventArgs hotKey)
        {
            bool flag = KeyboardUtils.CheckHotkey(Fixer4Main.MainForm.Handle, hotKey);

            if (sender == this.tvOpenMainForm)
            {
                this.pbOpenMainForm.Visible = !flag;
            }
            return(flag);
        }
コード例 #2
0
 public static bool CheckHotkey(IntPtr handle)
 {
     return(KeyboardUtils.CheckHotkey(handle, ShowUIShortcut));
 }