public ViewModel()
 {
     AlwaysCommand = new AlwaysICommand();
     ((AlwaysICommand)AlwaysCommand).Notify += OnNotify;
     IntermittentCommand = new IntermittentICommand();
     ((IntermittentICommand)IntermittentCommand).Notify += OnNotify;
 }
 public ViewModel()
 {
     AlwaysCommand = new AlwaysICommand();
     ((AlwaysICommand)AlwaysCommand).Notify += new EventHandler<CommandEventArgs>(OnNotify);
     IntermittentCommand = new IntermittentICommand();
     ((IntermittentICommand)IntermittentCommand).Notify += new EventHandler<CommandEventArgs>(OnNotify);
 }
Пример #3
0
 public ViewModel()
 {
     AlwaysCommand = new AlwaysICommand();
     ((AlwaysICommand)AlwaysCommand).Notify += OnNotify;
     IntermittentCommand = new IntermittentICommand();
     ((IntermittentICommand)IntermittentCommand).Notify += OnNotify;
 }
 public ViewModel()
 {
     AlwaysCommand = new AlwaysICommand();
     ((AlwaysICommand)AlwaysCommand).Notify += new EventHandler <CommandEventArgs>(OnNotify);
     IntermittentCommand = new IntermittentICommand();
     ((IntermittentICommand)IntermittentCommand).Notify += new EventHandler <CommandEventArgs>(OnNotify);
 }