Show processing time from beginning
Hide Section and Step Progress when just processing Procedures Add a Progress Bar for Formats Add backup after individual phases Adjusted status labels to show processed/total counts Adjusted size of labels to allow for processed/total counts Use flag to control if Sections and Steps are shown in progress Reset Step count when going to a new procedure Eliminate reset of Step by Section Add a total count to events to setup progress bar
This commit is contained in:
@@ -161,7 +161,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// (for example, AEP_00.xml) skip it in main loop, it's handled for each format.
|
||||
DirectoryInfo di = new DirectoryInfo(fmtPath); //(@"c:\development\fmtall");
|
||||
FileInfo[] fis = di.GetFiles("*.xml");
|
||||
|
||||
OnFormatLoaded(null, new FormatEventArgs(fis.Length.ToString() + " Formats to Load"));
|
||||
foreach (FileInfo fi in fis)
|
||||
{
|
||||
//if (fi.Name.ToUpper() == "WCN2ALL.XML"|| fi.Name.ToUpper() == "OHLPALL.XML")
|
||||
@@ -183,7 +183,7 @@ namespace VEPROMS.CSLA.Library
|
||||
foreach (FileInfo sfi in sfis)
|
||||
{
|
||||
string nm = sfi.Name.Substring(0, sfi.Name.Length - 7);
|
||||
OnFormatLoaded(null, new FormatEventArgs("Loading Format " + sfi.Name));
|
||||
OnFormatLoaded(null, new FormatEventArgs("Loading SubFormat " + sfi.Name));
|
||||
//Console.WriteLine("Processing {0}", sfi.Name);
|
||||
//frmMain.Status = string.Format("Processing Format {0}", sfi.Name);
|
||||
try
|
||||
|
Reference in New Issue
Block a user