Beispiel #1
0
 private void NetworkSettingsEvent(Object sender, EventArgs e)
 {
     if (_context != null)
     {
         Synchronise(this.NetworkSettingsMainThread, e);
     }
     else
     {
         OnNetworkUpdate?.Invoke(sender, e);
     }
 }
Beispiel #2
0
 private void NetworkSettingsMainThread(object obj)
 {
     OnNetworkUpdate?.Invoke(this, (EventArgs)obj);
 }