This commit is contained in:
Kathy Ruffing 2012-04-25 15:06:31 +00:00
parent 85f6d57d57
commit dd9b0ec0f0

View File

@ -1133,7 +1133,15 @@ namespace VEPROMS
}
private void tv_SectionShouldClose(object sender, vlnTreeSectionInfoEventArgs args)
{
if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo,args.IsDeleting);
if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo, args.IsDeleting);
else
{
if (tc == null) return;
StepTabPanel tp = tc.GetProcedureTabPanel(args.MySectionInfo as ItemInfo);
if (tp == null) return;
DisplayTabItem ti = tp.MyDisplayTabItem;
tc.CloseTabItem(ti);
}
}
private void tv_WordSectionDeleted(object sender, WordSectionEventArgs args)
{