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