private void frmDashboard_Load(object sender, EventArgs e) { btnAutoclicker.PerformClick(); button2.Focus(); button2.Select(); ghk.Register(); }
private void Magnifiner_Load(object sender, EventArgs e) { if (ghk.Register()) { Console.WriteLine("Hotkey registered."); } else { Console.WriteLine("Hotkey failed to register"); } }