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