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:
Rich
2011-05-09 20:38:01 +00:00
parent 58d3fcc524
commit 0b3693fef8
5 changed files with 26 additions and 3 deletions

View File

@@ -70,6 +70,7 @@ namespace DataLoader
ConfigInfo ci = new ConfigInfo(null);
string title = null; // for docname, remove the '.lib', i.e. substring(0,8)
DateTime dts = DateTime.Now;
ci.AddItem("Edit", "Initialized", "true");
string tmpRtfFileName = GetLibDocData(fi, ci, ref title);
int Docid = SaveWordDoc(tmpRtfFileName, title, null, ci, string.Empty);
File.Delete(tmpRtfFileName);