private void Student_Click(object sender, RoutedEventArgs e) { Window4 win4 = new Window4(); win4.Owner = this; win4.ShowDialog(); }
private void Button_Click_4(object sender, RoutedEventArgs e) { Hide(); Window4 Готово = new Window4(); Готово.Show(); Close(); }
private void click_Click(object sender, RoutedEventArgs e) { if ((var1.IsChecked == true) && (nomer1.IsChecked == true)) { Hide(); Window4 Готово = new Window4(); Готово.Show(); Close(); } else { Close(); Hide(); } }
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(); } }
private void buttonTemplate_Click(object sender, RoutedEventArgs e) { Window4 window = new Window4(); window.ShowDialog(); }
private void Button_Click_3(object sender, RoutedEventArgs e) { Window4 window4 = new Window4(); window4.Show(); }