Exemplo n.º 1
0
        public void disconnected(string message, int type)
        {
            stopListening();
            parent.changeStatus("Not connected!");
            GUIWindows.GUIDisconnected disconnectWindow = new GUIWindows.GUIDisconnected(message, type);
            disconnectWindow.ShowDialog();

            parent.loadLogIn();
        }
 public void weGotDisconnected(string message, int type)
 {
     stopListening();
     spanelLogIn.IsEnabled = false;
     txtUsername.Clear();
     passwordBox.Clear();
     parent.changeStatus("Not connected!");
     GUIWindows.GUIDisconnected disconnectWindow = new GUIWindows.GUIDisconnected(message, type);
     disconnectWindow.ShowDialog();
     tryConnect();
 }