Added a IsBeingDeleted flag to the event arguments for closing a Word Document
Added a IsBeingDeleted argument to the CloseWordItem method Added a IsBeingDeleted Property to the DSOTabPanel so that it does not ask if it should save changes if the section is being deleted.
This commit is contained in:
@@ -839,7 +839,7 @@ namespace VEPROMS
|
||||
}
|
||||
private void tv_SectionShouldClose(object sender, vlnTreeSectionInfoEventArgs args)
|
||||
{
|
||||
if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo);
|
||||
if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo,args.IsDeleting);
|
||||
}
|
||||
private void tv_WordSectionDeleted(object sender, WordSectionEventArgs args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user