Exemple #1
0
 private void buttonDelete_Click(object sender, RoutedEventArgs e)
 {
     if (ExplorerTree.SelectedItem != null)
     {
         controller.DeleteDocument((TreeViewItem)ExplorerTree.SelectedItem, ExplorerTree.Items);
     }
 }