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