static void MessengerControllerBinds_KeyChanged(SwitchBy switchBy, BindPair bindPair) { }
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); }
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; }