Exemple #1
0
 private void OnConnectedChanged(ConnectedChangedEventArgs e)
 {
     if (ConnectedChanged != null)
     {
         ConnectedChanged(this, e);
     }
 }
Exemple #2
0
        private void OnConnectedChanged(ConnectedChangedEventArgs e)
        {
            var handler = ConnectedChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #3
0
 private void OnConnectedChanged(ConnectedChangedEventArgs e)
 {
     if (ConnectedChanged != null)
      {
     ConnectedChanged(this, e);
      }
 }
Exemple #4
0
 private void FahClientConnectedChanged(object sender, ConnectedChangedEventArgs e)
 {
     if (!e.Connected)
      {
     // clear the local log buffer
     _logText.Length = 0;
     // reset messages
     _messages.Reset();
     // refresh (clear) the slots
     RefreshSlots();
      }
 }
 private void ConnectedChanged(ConnectedChangedEventArgs e)
 {
    _settingsView.SetConnectButtonEnabled(!e.Connected);
    if (e.Connected)
    {
       _messageConnection.SendCommand("slot-info");
    }
 }
Exemple #6
0
 private void OnConnectedChanged(ConnectedChangedEventArgs e)
 {
     ConnectedChanged?.Invoke(this, e);
 }
Exemple #7
0
 private void OnConnectedChanged(ConnectedChangedEventArgs e)
 {
    var handler = ConnectedChanged;
    if (handler != null)
    {
       handler(this, e);
    }
 }