/// <summary> /// Method is called if a remote service switches to inactive /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void OnRemoteInactive(object sender, RemoteService e) { UIData.SynchronizeServices(); }
private void RegisterService_OnServiceRegistered(object sender, RemoteService e) { e.OnInactive += OnRemoteInactive; UIData.SynchronizeServices(); }