示例#1
0
        void MyHotKeyManager_ChordPressed(object sender, ChordHotKeyEventArgs e)
        {
            switch (e.HotKey.Name.ToLower())
            {
            case "chotplay":
                PlayPause();
                break;

            case "chotstop":
                Stop();
                break;

            case "chotfile":
                File();
                break;
            }
        }
示例#2
0
 void MyHotKeyManager_ChordPressed(object sender, ChordHotKeyEventArgs e)
 {
     System.Diagnostics.Process.Start((e.HotKey.Tag as string));
     LogEvents(e.HotKey);
 }