Added Edit/Initialized config to the Documents
Check to see if MSWord changes should be saved if PROMS is closing
This commit is contained in:
@@ -350,6 +350,8 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!IsBeingDeleted)
|
||||
SaveDirty();
|
||||
this.Enter -= new EventHandler(DSOTabPanel_Enter);
|
||||
// this.Leave -= new EventHandler(DSOTabPanel_Leave);
|
||||
// SaveDirty(); // SaveDirty happens in CloseDSO(bool)
|
||||
@@ -415,6 +417,7 @@ namespace Volian.Controls.Library
|
||||
try
|
||||
{
|
||||
_MyDSOFramer.Save();
|
||||
_MyDSOFramer_OnSaveCompleted(this, null);
|
||||
// These are handled in the method above
|
||||
//LBDocumentClass doc = new LBDocumentClass(_MyDSOFramer.ActiveDocument);
|
||||
//MyDSOFile.FullName = GetReflectiveProperty(_MyDSOFramer.ActiveDocument, "FullName");
|
||||
@@ -476,8 +479,6 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (_MyDSOFramer != null)
|
||||
{
|
||||
if(!IsBeingDeleted)
|
||||
SaveDirty();
|
||||
_MyDSOFramer.Close();
|
||||
Controls.Remove(_MyDSOFramer);
|
||||
components.Remove(_MyDSOFramer);
|
||||
|
Reference in New Issue
Block a user