Beispiel #1
0
 public RuleManagerView(string documentGuid)
 {
     InitializeComponent();
     RuleManagerViewModel = new RuleManagerViewModel(documentGuid);
     DataContext          = RuleManagerViewModel;
     // Gives us the ability to close the window with the Esc kay
     PreviewKeyDown += (s, e) =>
     {
         if (e.Key == Key.Escape)
         {
             Close();
         }
     };
     RegularApp.DialogShowing = true;
 }
 public MoveRuleUpCommand(RuleManagerViewModel ruleManagerViewModel)
 {
     this.ruleManagerViewModel = ruleManagerViewModel;
 }
Beispiel #3
0
 public DuplicateRuleCommand(RuleManagerViewModel ruleManagerViewModel)
 {
     this.ruleManagerViewModel = ruleManagerViewModel;
 }
 public ExportReportCommand(RuleManagerViewModel ruleManagerViewModel)
 {
     this.ruleManagerViewModel = ruleManagerViewModel;
 }
 public EditRuleCommand(RuleManagerViewModel ruleManagerViewModel)
 {
     this.ruleManagerViewModel = ruleManagerViewModel;
 }
Beispiel #6
0
 public ExecuteRuleCommand(RuleManagerViewModel ruleManagerViewModel)
 {
     this.ruleManagerViewModel = ruleManagerViewModel;
 }