コード例 #1
0
        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            Hide();
            Window4 Готово = new Window4();

            Готово.Show();
            Close();
        }
コード例 #2
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();
     }
 }
コード例 #3
0
 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();
     }
 }
コード例 #4
0
        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            Window4 window4 = new Window4();

            window4.Show();
        }