private void btnTEST_Click(object sender, RoutedEventArgs e) { TEST test = new TEST(App.bazy.getBazy().ElementAt(lista.SelectedIndex), this); this.Visibility = Visibility.Collapsed; test.Show(); }
private void btnTEST_Click(object sender, RoutedEventArgs e) { TEST test = new TEST(baza, this); test.Left = this.Left + this.Width / 13 + 2; test.Top = this.Top + this.Height / 6; test.Show(); this.Visibility = Visibility.Collapsed; }
private void btnTestZBledow_Click(object sender, RoutedEventArgs e) { if (bledy.Count != 0) { TEST test = new TEST(bazaBledow, window); test.Left = window.Left + this.Width / 13 + 2; test.Top = window.Top + this.Height / 6; test.Show(); window.Visibility = Visibility.Collapsed; } else { MessageBox.Show("Brak błędów"); } }