Ejemplo n.º 1
0
 static public void AddInputBinding(this FrameworkElement item, FunctionSyncro function_syncro, MouseAction mouse_action, ModifierKeys modifiers)
 {
     item.AddInputBinding(function_syncro, new MouseGesture(mouse_action, modifiers));
 }
Ejemplo n.º 2
0
 static public void AddInputBinding(this FrameworkElement item, FunctionSyncro function_syncro, Key key, ModifierKeys modifiers)
 {
     item.AddInputBinding(function_syncro, new KeyGesture(key, modifiers));
 }
Ejemplo n.º 3
0
 static public void AddInputBinding(this FrameworkElement item, FunctionSyncro function_syncro, InputGesture gesture)
 {
     item.AddInputBinding(function_syncro.GetCommand(), gesture);
 }