/// <summary>
 /// Handles the event raised when the room manager is enabled or disabled
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void roomManager_RoomManagerStateChanged(object sender, RoomManagerStateChangedEventArgs e)
 {
     Console.WriteLine("Room Manager state changed. New state is: " + e.NewState.ToString());
 }
Пример #2
0
 /// <summary>
 /// Handles the event raised if the state of the RoomManager changes.
 /// Response to state change i
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void roomManager_RoomManagerStateChanged(object sender, RoomManagerStateChangedEventArgs e)
 {
     //Invoke a delegate on UI thread to enable or disable room query start button
     StartQuery_Button.Invoke(new EnableDisableStartQueryButtonDelegate(EnableDisableStartQueryButton));
 }