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:
Rich
2012-07-16 17:34:32 +00:00
parent d13a0f0fb5
commit 872ce3286e
5 changed files with 120 additions and 24 deletions

View File

@@ -375,6 +375,7 @@ namespace DataLoader
frmMain.UpdateLabels(0, 0, 0);
dicSetfileEntries = new Dictionary<string, string>(); // used to check for duplicate SET file info - jsj 2/11/10
int i = 0;
frmMain.ShowSections = convertProcedures;
foreach (DataRow dr in ds.Tables[0].Rows)
{
if (++i > frmMain.SkipProcedures)
@@ -387,6 +388,7 @@ namespace DataLoader
List<int> cachePdfInfo = PdfInfo.CacheList;
List<int> cacheDocVersionInfo = DocVersionInfo.CacheList;
List<int> cachePartInfo = PartInfo.CacheList;
frmMain.pbStepValue = 0;//Reset Step Count
FrItm = MigrateProcedure(cn, dr, FrItm, pth, docver, convertProcedures, activeFormat);
if (FirstItm == null) FirstItm = FrItm;
//frmMain.MyInfo = string.Format("Before Restore {0}", GC.GetTotalMemory(true));