-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathScreenGrabCommands.cs
33 lines (25 loc) · 1.47 KB
/
ScreenGrabCommands.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Windows.Input;
namespace ScreenGrab{
public static class ScreenGrabCommands{
private static RoutedUICommand _highlightActivateCommand = new RoutedUICommand("Activate the highlight ability", "HighlightActivateCommand ", typeof(ScreenGrabCommands));
private static readonly RoutedUICommand _newScreenGrab = new RoutedUICommand("Get a new screen grab", "NewScreenGrab", typeof(ScreenGrabCommands));
private static readonly RoutedUICommand _redoScreenGrab = new RoutedUICommand("Redo the selected screen grab", "RedoScreenGrab", typeof(ScreenGrabCommands));
private static readonly RoutedUICommand _clearHighlights = new RoutedUICommand("Clear the highlights", "ClearHighlights", typeof(ScreenGrabCommands));
private static readonly RoutedUICommand _userPreferences = new RoutedUICommand("User Preferences", "UserPreferences", typeof(ScreenGrabCommands));
public static RoutedUICommand ClearHighlights{
get { return _clearHighlights; }
}
public static RoutedUICommand NewScreenGrab {
get { return _newScreenGrab; }
}
public static RoutedUICommand RedoScreenGrab {
get { return _redoScreenGrab; }
}
public static RoutedUICommand HighlightActivateCommand{
get { return _highlightActivateCommand; }
}
public static RoutedUICommand UserPreferences {
get { return _userPreferences; }
}
}
}