private void Button_Click(object sender, RoutedEventArgs e)
        {
            HostPage HostPage = new HostPage();

            HostPage.Show();
            this.Close();
        }
示例#2
0
        public void startClient(TcpClient inClientSocket, string clientNo, Hashtable cList, Dictionary <string, bool> playerReadyDic, HostPage h)
        {
            this.h            = h;
            this.clientSocket = inClientSocket;
            this.clNo         = clientNo;
            this.clientList   = cList;
            this.playerReady  = playerReadyDic;
            Thread ctThread = new Thread(doChat);

            ctThread.Start();
        }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     HostPage HostPage = new HostPage();
     HostPage.Show();
     this.Close();
 }
示例#4
0
 public void startClient(TcpClient inClientSocket, string clientNo, Hashtable cList, Dictionary<string,bool> playerReadyDic, HostPage h)
 {
     this.h = h;
     this.clientSocket = inClientSocket;
     this.clNo = clientNo;
     this.clientList = cList;
     this.playerReady = playerReadyDic;
     Thread ctThread = new Thread(doChat);
     ctThread.Start();
 }