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); }
public ViewModel() { AlwaysCommand = new AlwaysICommand(); ((AlwaysICommand)AlwaysCommand).Notify += new EventHandler <CommandEventArgs>(OnNotify); IntermittentCommand = new IntermittentICommand(); ((IntermittentICommand)IntermittentCommand).Notify += new EventHandler <CommandEventArgs>(OnNotify); }