C2020-024 Added a more descriptive End Message after Approval is complete.

C2020-039 Populate revision stage list when Approve Some dialog is first opened.
C2020-040 As a procedure is selected in the right panel, place in the left panel of the approve dialog
C2020-044 Rename the “Do Revision Stage” button to “Generate Revision Stage”
C2020-045 Added a On/Off Switch to turn off the pop-ups when the mouse hovers over the items in the right panel list of procedures
This commit is contained in:
2020-11-04 14:09:55 +00:00
parent 6abe915a66
commit df46c0091c
3 changed files with 98 additions and 93 deletions

View File

@@ -1,3 +1,5 @@
using System.Windows.Forms;
namespace VEPROMS
{
partial class dlgApproveProcedure
@@ -52,7 +54,7 @@ namespace VEPROMS
this.cmbRevisionStage2 = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.pnlSelect = new DevComponents.DotNetBar.PanelEx();
this.labelX2 = new DevComponents.DotNetBar.LabelX();
this.lblPhase = new DevComponents.DotNetBar.LabelX();
this.swtbtPopUps = new DevComponents.DotNetBar.Controls.SwitchButton();
this.labelX1 = new DevComponents.DotNetBar.LabelX();
this.swtbtCascade = new DevComponents.DotNetBar.Controls.SwitchButton();
this.btnReportMore = new DevComponents.DotNetBar.ButtonX();
@@ -61,7 +63,6 @@ namespace VEPROMS
this.btnClear = new DevComponents.DotNetBar.ButtonX();
this.btnAll = new DevComponents.DotNetBar.ButtonX();
this.clbMore = new System.Windows.Forms.CheckedListBox();
this.btnOkay = new DevComponents.DotNetBar.ButtonX();
this.lblMore = new DevComponents.DotNetBar.LabelX();
this.sttMore = new DevComponents.DotNetBar.SuperTooltip();
this.expAddProcConChk = new DevComponents.DotNetBar.ExpandablePanel();
@@ -177,7 +178,7 @@ namespace VEPROMS
this.lblViewPDF.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblViewPDF.Location = new System.Drawing.Point(14, 590);
this.lblViewPDF.Name = "lblViewPDF";
this.lblViewPDF.Size = new System.Drawing.Size(70, 23);
this.lblViewPDF.Size = new System.Drawing.Size(68, 23);
this.sttMore.SetSuperTooltip(this.lblViewPDF, new DevComponents.DotNetBar.SuperTooltipInfo("View PDF", "", "When switched ON, the resulting PDF from doing the selected Revision Stage will b" +
"e displayed in your default PDF view.\r\n\r\nNote this option is available when only" +
" one procedure is to be processed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(190, 140)));
@@ -260,14 +261,14 @@ namespace VEPROMS
this.btnApprove2.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnApprove2.Enabled = false;
this.btnApprove2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnApprove2.Location = new System.Drawing.Point(242, 586);
this.btnApprove2.Location = new System.Drawing.Point(187, 587);
this.btnApprove2.Name = "btnApprove2";
this.btnApprove2.Size = new System.Drawing.Size(138, 27);
this.btnApprove2.Size = new System.Drawing.Size(145, 27);
this.btnApprove2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.sttMore.SetSuperTooltip(this.btnApprove2, new DevComponents.DotNetBar.SuperTooltipInfo("Do Revision Stage", "", "This will generate a PDF reflecting the selected Revision Stage on all procedures" +
this.sttMore.SetSuperTooltip(this.btnApprove2, new DevComponents.DotNetBar.SuperTooltipInfo("Generate Revision Stage", "", "This will generate a PDF reflecting the selected Revision Stage on all procedures" +
" listed above.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
this.btnApprove2.TabIndex = 14;
this.btnApprove2.Text = "Do Revision Stage";
this.btnApprove2.Text = "Generate Revision Stage";
this.btnApprove2.Click += new System.EventHandler(this.btnApprove_Click);
//
// btnCancel2
@@ -354,7 +355,7 @@ namespace VEPROMS
// pnlSelect
//
this.pnlSelect.Controls.Add(this.labelX2);
this.pnlSelect.Controls.Add(this.lblPhase);
this.pnlSelect.Controls.Add(this.swtbtPopUps);
this.pnlSelect.Controls.Add(this.labelX1);
this.pnlSelect.Controls.Add(this.swtbtCascade);
this.pnlSelect.Controls.Add(this.btnReportMore);
@@ -363,7 +364,6 @@ namespace VEPROMS
this.pnlSelect.Controls.Add(this.btnClear);
this.pnlSelect.Controls.Add(this.btnAll);
this.pnlSelect.Controls.Add(this.clbMore);
this.pnlSelect.Controls.Add(this.btnOkay);
this.pnlSelect.Controls.Add(this.lblMore);
this.pnlSelect.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlSelect.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -374,34 +374,36 @@ namespace VEPROMS
//
// labelX2
//
this.labelX2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.labelX2.AutoSize = true;
//
//
//
this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labelX2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelX2.Location = new System.Drawing.Point(143, 39);
this.labelX2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelX2.Location = new System.Drawing.Point(250, 530);
this.labelX2.Name = "labelX2";
this.labelX2.Size = new System.Drawing.Size(166, 19);
this.labelX2.Size = new System.Drawing.Size(106, 20);
this.sttMore.SetSuperTooltip(this.labelX2, new DevComponents.DotNetBar.SuperTooltipInfo("Show Pop-Ups", "", "When turned on, a pop-up will appear as the mouse hovers over a procedure in the " +
"Procedure List, displaying the information resulting from running the Consistenc" +
"y Check.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.labelX2.TabIndex = 36;
this.labelX2.Text = "Consistency Scan Count";
this.labelX2.Visible = false;
this.labelX2.Text = "Show Pop-Ups";
//
// lblPhase
// swtbtPopUps
//
//
//
//
this.lblPhase.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblPhase.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblPhase.Location = new System.Drawing.Point(315, 37);
this.lblPhase.Name = "lblPhase";
this.lblPhase.Size = new System.Drawing.Size(31, 23);
this.lblPhase.TabIndex = 35;
this.lblPhase.Text = "0";
this.lblPhase.Visible = false;
this.swtbtPopUps.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.swtbtPopUps.Location = new System.Drawing.Point(362, 532);
this.swtbtPopUps.Name = "swtbtPopUps";
this.swtbtPopUps.Size = new System.Drawing.Size(66, 22);
this.swtbtPopUps.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.sttMore.SetSuperTooltip(this.swtbtPopUps, new DevComponents.DotNetBar.SuperTooltipInfo("Show Pop-Ups", "", "When turned on, a pop-up will appear as the mouse hovers over a procedure in the " +
"Procedure List, displaying the information resulting from running the Consistenc" +
"y Check.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(195, 95)));
this.swtbtPopUps.TabIndex = 35;
this.swtbtPopUps.Value = true;
this.swtbtPopUps.ValueObject = "Y";
//
// labelX1
//
@@ -409,10 +411,10 @@ namespace VEPROMS
//
//
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelX1.Location = new System.Drawing.Point(15, 13);
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelX1.Location = new System.Drawing.Point(16, 530);
this.labelX1.Name = "labelX1";
this.labelX1.Size = new System.Drawing.Size(79, 23);
this.labelX1.Size = new System.Drawing.Size(84, 20);
this.sttMore.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Auto Select", "", "When turned on, procedures that could be affected by the completion of the select" +
"ed Revision Stage, will automatically be selected during the Consistancy Check.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(195, 95)));
this.labelX1.TabIndex = 34;
@@ -424,7 +426,7 @@ namespace VEPROMS
//
//
this.swtbtCascade.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.swtbtCascade.Location = new System.Drawing.Point(100, 14);
this.swtbtCascade.Location = new System.Drawing.Point(106, 532);
this.swtbtCascade.Name = "swtbtCascade";
this.swtbtCascade.Size = new System.Drawing.Size(66, 22);
this.swtbtCascade.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -439,10 +441,10 @@ namespace VEPROMS
this.btnReportMore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnReportMore.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnReportMore.Enabled = false;
this.btnReportMore.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReportMore.Location = new System.Drawing.Point(15, 564);
this.btnReportMore.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReportMore.Location = new System.Drawing.Point(351, 559);
this.btnReportMore.Name = "btnReportMore";
this.btnReportMore.Size = new System.Drawing.Size(77, 23);
this.btnReportMore.Size = new System.Drawing.Size(84, 28);
this.btnReportMore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.sttMore.SetSuperTooltip(this.btnReportMore, new DevComponents.DotNetBar.SuperTooltipInfo("View Report", "", "This will generate a report based on the results of the Consitancy Check. It wil" +
"l show the procedures that are selected and the ones that should be selected.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(195, 100)));
@@ -454,7 +456,7 @@ namespace VEPROMS
//
this.pbMore.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pbMore.Location = new System.Drawing.Point(24, 536);
this.pbMore.Location = new System.Drawing.Point(15, 507);
this.pbMore.Name = "pbMore";
this.pbMore.Size = new System.Drawing.Size(420, 15);
this.pbMore.TabIndex = 29;
@@ -467,9 +469,9 @@ namespace VEPROMS
this.btnCheckMore.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnCheckMore.Enabled = false;
this.btnCheckMore.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCheckMore.Location = new System.Drawing.Point(163, 557);
this.btnCheckMore.Location = new System.Drawing.Point(15, 560);
this.btnCheckMore.Name = "btnCheckMore";
this.btnCheckMore.Size = new System.Drawing.Size(156, 30);
this.btnCheckMore.Size = new System.Drawing.Size(156, 28);
this.btnCheckMore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.sttMore.SetSuperTooltip(this.btnCheckMore, new DevComponents.DotNetBar.SuperTooltipInfo("Run Consistency Check", "", resources.GetString("btnCheckMore.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnCheckMore.TabIndex = 28;
@@ -482,7 +484,7 @@ namespace VEPROMS
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnClear.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnClear.Location = new System.Drawing.Point(363, 39);
this.btnClear.Location = new System.Drawing.Point(363, 7);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(72, 23);
this.btnClear.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -497,7 +499,7 @@ namespace VEPROMS
this.btnAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnAll.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnAll.Location = new System.Drawing.Point(363, 13);
this.btnAll.Location = new System.Drawing.Point(284, 7);
this.btnAll.Name = "btnAll";
this.btnAll.Size = new System.Drawing.Size(72, 23);
this.btnAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -514,30 +516,17 @@ namespace VEPROMS
this.clbMore.CheckOnClick = true;
this.clbMore.FormattingEnabled = true;
this.clbMore.HorizontalScrollbar = true;
this.clbMore.Location = new System.Drawing.Point(24, 68);
this.clbMore.Location = new System.Drawing.Point(15, 36);
this.clbMore.Name = "clbMore";
this.clbMore.Size = new System.Drawing.Size(420, 468);
this.sttMore.SetSuperTooltip(this.clbMore, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Lemon));
this.clbMore.TabIndex = 25;
this.clbMore.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.clbMore_ItemCheck);
this.clbMore.SelectedIndexChanged += new System.EventHandler(this.clbMore_SelectedIndexChanged);
this.clbMore.MouseEnter += new System.EventHandler(this.clbMore_MouseEnter);
this.clbMore.MouseLeave += new System.EventHandler(this.clbMore_MouseLeave);
this.clbMore.MouseMove += new System.Windows.Forms.MouseEventHandler(this.clbMore_MouseMove);
//
// btnOkay
//
this.btnOkay.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnOkay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOkay.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnOkay.Enabled = false;
this.btnOkay.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnOkay.Location = new System.Drawing.Point(378, 564);
this.btnOkay.Name = "btnOkay";
this.btnOkay.Size = new System.Drawing.Size(57, 23);
this.btnOkay.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.sttMore.SetSuperTooltip(this.btnOkay, new DevComponents.DotNetBar.SuperTooltipInfo("OK", "", resources.GetString("btnOkay.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 160)));
this.btnOkay.TabIndex = 14;
this.btnOkay.Text = "OK";
this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click);
//
// lblMore
//
this.lblMore.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -547,9 +536,10 @@ namespace VEPROMS
//
//
this.lblMore.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblMore.Location = new System.Drawing.Point(15, 47);
this.lblMore.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblMore.Location = new System.Drawing.Point(16, 13);
this.lblMore.Name = "lblMore";
this.lblMore.Size = new System.Drawing.Size(80, 16);
this.lblMore.Size = new System.Drawing.Size(86, 17);
this.lblMore.TabIndex = 10;
this.lblMore.Text = "Procedure List";
//
@@ -687,7 +677,6 @@ namespace VEPROMS
private DevComponents.DotNetBar.ButtonX btnIncrement;
private C1.Win.C1FlexGrid.C1FlexGrid fgProcs;
private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
private DevComponents.DotNetBar.ButtonX btnOkay;
private DevComponents.DotNetBar.Controls.SwitchButton swtbtSetAllRevDates;
private DevComponents.DotNetBar.Controls.SwitchButton swtbtViewPDF;
private DevComponents.DotNetBar.LabelX lblSetAllRevDates;
@@ -695,8 +684,8 @@ namespace VEPROMS
private DevComponents.DotNetBar.LabelX labelX1;
private DevComponents.DotNetBar.Controls.SwitchButton swtbtCascade;
private DevComponents.DotNetBar.ExpandablePanel expAddProcConChk;
private DevComponents.DotNetBar.LabelX lblPhase;
private DevComponents.DotNetBar.ExpandableSplitter expandableSplitter1;
private DevComponents.DotNetBar.LabelX labelX2;
private DevComponents.DotNetBar.Controls.SwitchButton swtbtPopUps;
}
}