private void OnServerConnected()
 {
     IsServerConnected = true;
     ServerConnected.RaiseEvent();
 }