private void DeleteTable(object sender, RoutedEventArgs e) { if (Reporter.ToUser(eUserMsgKey.DeleteRepositoryItemAreYouSure, DSTableDetails.GetNameForFileName()) == Amdocs.Ginger.Common.eUserMsgSelection.Yes) { DeleteTreeItem(); } }
private void DeleteTable(object sender, RoutedEventArgs e) { if (Reporter.ToUser(eUserMsgKey.DeleteRepositoryItemAreYouSure, DSTableDetails.GetNameForFileName()) == Amdocs.Ginger.Common.eUserMsgSelection.Yes) { mTreeView.Tree.DeleteItemAndSelectParent(this); DSDetails.DSTableList.Remove(DSTableDetails); DSTableDetails.DSC.DeleteTable(DSTableDetails.Name); } }