Show Progress bar when Printing all procedures
Added Cancel button for printing all procedures Added Timer for automatic processes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user