private void NewTir(object sender, RoutedEventArgs e) { NewEditTir tirWindow = new NewEditTir(false); tirWindow.ShowDialog(); fillTirList(); }
private void EditTir() { NewEditTir tirWindow = new NewEditTir(true); tirWindow.ShowDialog(); fillTirList(); tirList.ItemsSource = new Queries().findTir(TirSearching.Text); //Potencjalne źródło problemów? }