예제 #1
0
 private void nextButton_Click(object sender, RoutedEventArgs e)
 {
     if (currentIndex < 9)
     {
         Level3 l = new Level3(currentIndex + 1);
         l.Show();
         this.Close();
     }
 }
예제 #2
0
 private void nextButton_Click(object sender, RoutedEventArgs e)
 {
     if (MainMenu.CurrentAcc.Level_Avalible == 3)
     {
         if (MainMenu.CurrentAcc.Task_Avalible > 9)
         {
             MessageBox.Show("Вы прошли все задания!");
             return;
         }
         Level3 l = new Level3(MainMenu.CurrentAcc.Task_Avalible);
         l.Show();
     }
     else
     {
         MessageBox.Show("Вы уже прошли все задания данного уровня!");
     }
     this.Close();
 }
예제 #3
0
 private void letter_MouseDown(object sender, MouseButtonEventArgs e)
 {
     Level3 l = new Level3(Convert.ToInt16(((Image)sender).Name.Substring(6)));
     l.Show();
     this.Close();
 }