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

            wind.Show();
            this.Hide();
            this.Close();
        }
Esempio n. 2
0
        private void CreateRoom_Click(object sender, RoutedEventArgs e)
        {
            this.isForcedClosing = false;
            CreateRoomWindow crw = new CreateRoomWindow(this.client);

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