예제 #1
0
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        Keys k = Keys.A | Keys.Control;

        WindowsShell.RegisterHotKey(this, k);
    }
예제 #2
0
        private void MainClass_Load(object sender, EventArgs e)
        {
            const Keys k = Keys.Space | Keys.Control | Keys.Alt;

            WindowsShell.RegisterHotKey(this, k);
        }