Exemple #1
0
 private void DeleteCommandHandler(object sender, ExecutedRoutedEventArgs e)
 {
     if (listBox_Main.SelectedItem != null)
     {
         V4Data data = (V4Data)listBox_Main.SelectedItem;
         MainColl.Remove(data.MInfo, data.FInfo);
     }
 }
Exemple #2
0
 private void Item_Remove_Click(object sender, RoutedEventArgs e)
 {
     if (listBox_Main.SelectedItem != null)
     {
         V4Data data = (V4Data)listBox_Main.SelectedItem;
         MainColl.Remove(data.MInfo, data.FInfo);
     }
 }