void MyHotKeyManager_ChordPressed(object sender, ChordHotKeyEventArgs e) { switch (e.HotKey.Name.ToLower()) { case "chotplay": PlayPause(); break; case "chotstop": Stop(); break; case "chotfile": File(); break; } }
void MyHotKeyManager_ChordPressed(object sender, ChordHotKeyEventArgs e) { System.Diagnostics.Process.Start((e.HotKey.Tag as string)); LogEvents(e.HotKey); }