示例#1
0
        private void Student_Click(object sender, RoutedEventArgs e)
        {
            Window4 win4 = new Window4();

            win4.Owner = this;
            win4.ShowDialog();
        }
示例#2
0
        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            Hide();
            Window4 Готово = new Window4();

            Готово.Show();
            Close();
        }
示例#3
0
 private void click_Click(object sender, RoutedEventArgs e)
 {
     if ((var1.IsChecked == true) && (nomer1.IsChecked == true))
     {
         Hide();
         Window4 Готово = new Window4();
         Готово.Show();
         Close();
     }
     else
     {
         Close();
         Hide();
     }
 }
示例#4
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("Ви вже використали максимальну кільскість проходів");
     }
 }
 public void AddManualDonation(object sender, RoutedEventArgs e)
 {
     if (my_user_id == 0)
     {
         MessageBox.Show("Please connect to Twitch using the 'Launch' button first to add a manual donation.");
     }
     else
     {
         List <string> bidwarOptions = new List <string>();
         foreach (object child in TextBoxes.Children)
         {
             var textbox = (TextBox)child;
             if (textbox.Text != "")
             {
                 bidwarOptions.Add(textbox.Text);
             }
         }
         Window4 window4 = new Window4(bidwarOptions, my_user_id);
         window4.Show();
     }
 }
示例#6
0
        private void buttonTemplate_Click(object sender, RoutedEventArgs e)
        {
            Window4 window = new Window4();

            window.ShowDialog();
        }
示例#7
0
        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            Window4 window4 = new Window4();

            window4.Show();
        }