Esempio n. 1
0
        private void letter_MouseDown(object sender, MouseButtonEventArgs e)
        {
            Level1 l = new Level1(Convert.ToInt16(((Image)sender).Name.Substring(6)));

            l.Show();
            this.Close();
        }
Esempio n. 2
0
 private void nextButton_Click(object sender, RoutedEventArgs e)
 {
     if (currentIndex < images.Length)
     {
         Level1 l = new Level1(currentIndex + 1);
         l.Show();
         this.Close();
     }
 }
Esempio n. 3
0
 private void nextButton_Click(object sender, RoutedEventArgs e)
 {
     if (MainMenu.CurrentAcc.Level_Avalible == 1)
     {
         Level1 l = new Level1(MainMenu.CurrentAcc.Task_Avalible);
         l.Show();
     }
     else
     {
         MessageBox.Show("Вы уже прошли все задания данного уровня!");
     }
     this.Close();
 }