Added code to support Updating RO Values for multiple working drafts as a batch process

Added code to support feedback on updating of RO values during the batch process
This commit is contained in:
Rich
2015-02-12 03:24:02 +00:00
parent bcfd5578c1
commit f24b475f7c
2 changed files with 202 additions and 50 deletions

View File

@@ -174,6 +174,8 @@ namespace VEPROMS
}
InitializeComponent();
bottomProgBar.ValueChanged += new EventHandler(bottomProgBar_ValueChanged);
// When creating an XY Plot, a System.Drawing.Graphics is needed and it requires a form. Use the main
// form.
if (VlnSettings.DebugMode)
@@ -287,6 +289,12 @@ namespace VEPROMS
tv.PrintTransitionReport += new vlnTreeViewEvent(tv_PrintTransitionReport);
}
void bottomProgBar_ValueChanged(object sender, EventArgs e)
{
if (bottomProgBar.Value < 10 && bottomProgBar.ColorTable != eProgressBarItemColor.Normal)
bottomProgBar.ColorTable = eProgressBarItemColor.Normal;
}
string tv_GetChangeId(object sender, vlnTreeItemInfoEventArgs args)
{
tc.HandleChangeId(args.MyItemInfo, null);
@@ -1029,6 +1037,7 @@ namespace VEPROMS
void btnBatchRefresh_Click(object sender, EventArgs e)
{
frmBatchRefresh frm = new frmBatchRefresh();
frm.ProgressBar = bottomProgBar;
frm.MySessionInfo = MySessionInfo;
frm.Show(this);
}