public Command(string text, string name, params InputGesture[] keys) : base(text, name, typeof(Window))
 {
     InputGestures.AddRange(keys);
 }
 public Command(string text, string name, BitmapImage icon, params InputGesture[] keys) : base(text, name, typeof(Window))
 {
     Icon = icon;
     InputGestures.AddRange(keys);
 }