コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 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();
 }
コード例 #4
0
 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();
 }