Show Progress bar when Printing all procedures

Added Cancel button for printing all procedures
Added Timer for automatic processes
This commit is contained in:
Rich
2012-09-17 19:14:29 +00:00
parent ffcffcc5ba
commit 41c9f223b0
7 changed files with 113 additions and 40 deletions

View File

@@ -532,7 +532,7 @@ namespace VEPROMS
tmrShutDown.Enabled = true;
}
else
RunAutomatic();
tmrAutomatic.Enabled = true;
// Shutoff UpdateFormats for Production Mode
if (Volian.Base.Library.VlnSettings.ProductionMode)
btnAdmin.Visible = false;
@@ -600,7 +600,12 @@ namespace VEPROMS
}
}
}
if(ranAuto) this.Close();
if (ranAuto)
{
Volian.Base.Library.DebugPagination.Close();
Volian.Base.Library.DebugText.Close();
this.Close();
}
}
private bool _RunNext = false;
//void prnDlg_FormClosed(object sender, FormClosedEventArgs e)
@@ -835,6 +840,11 @@ namespace VEPROMS
tv.Enabled = true;
if (giveTvFocus) tv.Focus();
}
private void tmrAutomatic_Tick(object sender, EventArgs e)
{
tmrAutomatic.Enabled = false; // Timer has now fired
RunAutomatic();
}
private void tv_BeforeExpand(object sender, TreeViewCancelEventArgs e)
{
VETreeNode tn = ((VETreeNode)e.Node);