Esempio n. 1
0
        private void Student_Click(object sender, RoutedEventArgs e)
        {
            Window4 win4 = new Window4();

            win4.Owner = this;
            win4.ShowDialog();
        }
Esempio n. 2
0
 private void Student_Click(object sender, RoutedEventArgs e)
 {
     if (counterr <= 3)
     {
         Window4 win4 = new Window4();
         win4.Owner = this;
         win4.ShowDialog();
         MessageBox.Show($"Спроба № {counterr}");
         counterr++;
     }
     else
     {
         MessageBox.Show("Ви вже використали максимальну кільскість проходів");
     }
 }
Esempio n. 3
0
        private void buttonTemplate_Click(object sender, RoutedEventArgs e)
        {
            Window4 window = new Window4();

            window.ShowDialog();
        }