Volian.Base.Library & Baseline
This commit is contained in:
@@ -205,7 +205,7 @@ namespace Volian.Controls.Library
|
||||
System.IO.FileStream fs = MyDSOFile.MyFile.Create();
|
||||
fs.Write(myDoc.DocContent, 0, myDoc.DocContent.Length);
|
||||
fs.Close();
|
||||
MyDSOFile.SaveFile(0, "", _ItemInfo, false, StatusChanged); // B2017-219 save the restored document to database
|
||||
MyDSOFile.SaveFile("", _ItemInfo, false, StatusChanged); // B2017-219 save the restored document to database
|
||||
this._MyEdWord = null; // B2017-219 Set MyEdWord to null - we will check for this in the calling functions
|
||||
return;
|
||||
}
|
||||
@@ -216,7 +216,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
System.IO.FileStream fs = MyDSOFile.MyFile.Create();
|
||||
fs.Close();
|
||||
MyDSOFile.SaveFile(0, "", _ItemInfo, false, StatusChanged); // B2017-219 save the blank document to database
|
||||
MyDSOFile.SaveFile("", _ItemInfo, false, StatusChanged); // B2017-219 save the blank document to database
|
||||
MessageBox.Show("Reverting to Blank Document", "Error in MS Word section",
|
||||
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
this._MyEdWord = null; // B2017-219 Set MyEdWord to null - we will check for this in the calling functions
|
||||
@@ -357,7 +357,7 @@ namespace Volian.Controls.Library
|
||||
if (ans == DialogResult.No) cvtLibDoc = true;
|
||||
}
|
||||
}
|
||||
MyDSOFile.SaveFile(doc.Length, doc.Ascii, MyDisplayTabItem.MyItemInfo, cvtLibDoc, StatusChanged);
|
||||
MyDSOFile.SaveFile(doc.Ascii, MyDisplayTabItem.MyItemInfo, cvtLibDoc, StatusChanged);
|
||||
if (cvtLibDoc)
|
||||
{
|
||||
MyDisplayTabItem.Text = MyDisplayTabItem.MyItemInfo.TabTitle;
|
||||
|
||||
Reference in New Issue
Block a user