Beispiel #1
0
        protected void OnCommandStateChange(long command, ref bool enable)
        {
            EventHandler <CommandStateChangeEventArgs> h = CommandStateChange;
            CommandStateChangeEventArgs args             = new CommandStateChangeEventArgs(command, ref enable);

            if (null != h)
            {
                h(this, args);
            }
        }
Beispiel #2
0
 protected void OnCommandStateChange(long command, ref bool enable)
 {
     EventHandler<CommandStateChangeEventArgs> h = CommandStateChange;
     CommandStateChangeEventArgs args = new CommandStateChangeEventArgs(command, ref enable);
     if (null != h)
     {
         h(this, args);
     }
 }