コード例 #1
0
        private void frmDashboard_Load(object sender, EventArgs e)
        {
            btnAutoclicker.PerformClick();
            button2.Focus();
            button2.Select();

            ghk.Register();
        }
コード例 #2
0
 private void Magnifiner_Load(object sender, EventArgs e)
 {
     if (ghk.Register())
     {
         Console.WriteLine("Hotkey registered.");
     }
     else
     {
         Console.WriteLine("Hotkey failed to register");
     }
 }