예제 #1
0
 static void MessengerControllerBinds_KeyChanged(SwitchBy switchBy, BindPair bindPair)
 {
 }
예제 #2
0
 static void PropertyChanged(object sender, PropertyChangedEventArgs e, SwitchBy switchBy)
 {
     if (e.PropertyName == "Key")
         KeyChanged(switchBy, sender as BindPair);
     if (e.PropertyName == "Mods")
         ModsChanged(switchBy, sender as BindPair);
 }
예제 #3
0
 public static BindPair DefineBindPair(SwitchBy switchBy)
 {
     switch (switchBy)
     {
         case SwitchBy.Recent:
             return LastUsed;
         case SwitchBy.Activity:
             return MostNew;
         case SwitchBy.Queue:
             return Order;
     }
     return null;
 }