private void LazlapReszlet_Click(object sender, RoutedEventArgs e) { if (LazlapListBox.SelectedItem == null || LazlapListBox.IsEnabled == false) { MessageBox.Show("Nincs kijelölt lázlap"); } else { ApoloLazlapWindow alw = new ApoloLazlapWindow ((Lazlap)LazlapListBox.SelectedItem, sessionUser, mungoSystem); alw.ShowDialog(); } mungoSystem.SaveChanges(); }
private void buttonLazlapMod_Click(object sender, RoutedEventArgs e) { if (SelfLazlapListBox.SelectedItem == null) { MessageBox.Show("Nincs kijelölt lázlap!"); } else { ApoloLazlapWindow alw = new ApoloLazlapWindow ((Lazlap)SelfLazlapListBox.SelectedItem, sessionUser, mungoSystem); alw.ShowDialog(); } mungoSystem.SaveChanges(); }
private void LazlapReszlet_Click(object sender, RoutedEventArgs e) { if (LazlapListBox.SelectedItem==null || LazlapListBox.IsEnabled==false) { MessageBox.Show("Nincs kijelölt lázlap"); } else { ApoloLazlapWindow alw = new ApoloLazlapWindow ((Lazlap)LazlapListBox.SelectedItem, sessionUser, mungoSystem); alw.ShowDialog(); } mungoSystem.SaveChanges(); }
private void buttonLazlapMod_Click(object sender, RoutedEventArgs e) { if (SelfLazlapListBox.SelectedItem==null) { MessageBox.Show("Nincs kijelölt lázlap!"); } else { ApoloLazlapWindow alw = new ApoloLazlapWindow ((Lazlap)SelfLazlapListBox.SelectedItem, sessionUser, mungoSystem); alw.ShowDialog(); } mungoSystem.SaveChanges(); }