private void Button_Click_5(object sender, RoutedEventArgs e) { Hide(); Window5 Готово = new Window5(); Готово.Show(); Close(); }
private void Click_Click(object sender, RoutedEventArgs e) { int a = ListBox1.SelectedIndex; int c = ListView1.SelectedIndex; if ((a == 1) && (c == 6)) { Hide(); Window5 Готово = new Window5(); Готово.Show(); Close(); } else { Hide(); Close(); } }
private void buttonStyles_Click(object sender, RoutedEventArgs e) { Window5 window = new Window5(); window.ShowDialog(); }