protected virtual void OnModeChanged(ConnectionModeChangedEventArgs e)
 {
     Mode = e.Connected;
     EventHandler<ConnectionModeChangedEventArgs> handler = ModeChanged;
     if (handler != null) handler(this, e);
 }
Exemplo n.º 2
0
 protected virtual void OnUnitIdChanged(ConnectionModeChangedEventArgs e)
 {
     EventHandler<ConnectionModeChangedEventArgs> handler = UnitIdChanged;
     if (handler != null) handler(this, e);
 }