protected override void OnLoad(EventArgs e) { base.OnLoad(e); Keys k = Keys.A | Keys.Control; WindowsShell.RegisterHotKey(this, k); }
private void MainClass_Load(object sender, EventArgs e) { const Keys k = Keys.Space | Keys.Control | Keys.Alt; WindowsShell.RegisterHotKey(this, k); }