예제 #1
0
        private void OkeyBT_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            var windowGame = new WindowGame();

            windowGame.ThemeL.Text = SelectTehmeCB.SelectedValue.ToString();
            windowGame.ShowDialog();
            this.Show();
        }
예제 #2
0
 private void SelectTehmeCB_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         this.Hide();
         var windowGame = new WindowGame();
         windowGame.ThemeL.Text = SelectTehmeCB.SelectedValue.ToString();
         windowGame.ShowDialog();
         this.Show();
     }
 }