Beispiel #1
0
        private void letter_MouseDown(object sender, MouseButtonEventArgs e)
        {
            LetterView lv = new LetterView(((Image)sender).Name);

            lv.Show();
            this.Close();
        }
Beispiel #2
0
        private void nextButton_Click(object sender, RoutedEventArgs e)
        {
            if (currentIndex + 1 > 32)
            {
                return;
            }
            LetterView next = new LetterView(Convert.ToString(alph[currentIndex + 1]));

            next.Show();
            this.Close();
        }
Beispiel #3
0
 private void nextButton_Click(object sender, RoutedEventArgs e)
 {
     if (MainMenu.CurrentAcc.Level_Avalible == 0)
     {
         LetterView lv = new LetterView(alph[MainMenu.CurrentAcc.Task_Avalible].ToString().ToUpperInvariant());
         lv.Show();
     }
     else
     {
         MessageBox.Show("Вы уже прошли все задания данного уровня!");
     }
     this.Close();
 }