Пример #1
0
 private void RemoteToolsControl_HostOnlineStatus(object sender, bool e)
 {
     // If OnlineStatusChanged handle is not null, Invoke it.
     OnlineStatusChanged?.Invoke(this, e);
 }
Пример #2
0
        private void OnOnlineStatusChanged(bool state)
        {
            _pbsUnit.States.Online = state;

            OnlineStatusChanged?.Invoke(state);
        }