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(); } }