Exemple #1
0
 internal void RaiseOnCommandStateChange(object sender, CommandStateChangeEventArgs e) 
 {
     if ((this.CommandStateChange != null)) 
     {
         this.CommandStateChange(sender, e);
     }
 }
Exemple #2
0
 public virtual void CommandStateChange(int command, bool enable) 
 {
     CommandStateChangeEventArgs commandstatechangeEvent = new CommandStateChangeEventArgs(command, enable);
     this.parent.RaiseOnCommandStateChange(this.parent, commandstatechangeEvent);
 }