Esempio n. 1
0
        private void Btn_joinRoom_Click(object sender, RoutedEventArgs e)
        {
            JoinRoomWindow wind = new JoinRoomWindow(this.username);  //new JoinRoomWindow

            wind.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void JoinRoom_Click(object sender, RoutedEventArgs e)
        {
            this.isForcedClosing = false;
            JoinRoomWindow jrw = new JoinRoomWindow(this.client);

            this.Close();
            jrw.Show();
        }