Save File Last Write UTC as Document.DTS
Eliminate unused variables Use settings for Format Load Output status of Formats being loaded Save File Last Write UTC as Document.DTS added History_OriginalFileName to DocumentConfig Use settings rather than local variables Only use the first 12 characters of a ROID for DROUsage Lookup
This commit is contained in:
@@ -33,7 +33,6 @@ namespace VEPROMS.CSLA.Library
|
||||
public class FormatEventArgs
|
||||
{
|
||||
private string _Status;
|
||||
|
||||
public string Status
|
||||
{
|
||||
get { return _Status; }
|
||||
@@ -110,7 +109,8 @@ namespace VEPROMS.CSLA.Library
|
||||
foreach (FileInfo sfi in sfis)
|
||||
{
|
||||
string nm = sfi.Name.Substring(0, sfi.Name.Length - 7);
|
||||
Console.WriteLine("Processing {0}", sfi.Name);
|
||||
OnFormatLoaded(null, new FormatEventArgs("Loading Format " + sfi.Name));
|
||||
//Console.WriteLine("Processing {0}", sfi.Name);
|
||||
//frmMain.Status = string.Format("Processing Format {0}", sfi.Name);
|
||||
try
|
||||
{
|
||||
@@ -159,7 +159,7 @@ namespace VEPROMS.CSLA.Library
|
||||
string genmacdata = null;
|
||||
XmlDocument xd = null;
|
||||
|
||||
OnFormatLoaded(null, new FormatEventArgs("Loading "+format));
|
||||
OnFormatLoaded(null, new FormatEventArgs("Loading Format "+format));
|
||||
//string path = "c:\\development\\fmtall\\" + format + "all.xml";
|
||||
string path = fmtPath + "\\" + format + "all.xml";
|
||||
if (File.Exists(path))
|
||||
|
Reference in New Issue
Block a user