Show Progress bar when Printing all procedures
Added Cancel button for printing all procedures Added Timer for automatic processes
This commit is contained in:
@@ -88,6 +88,7 @@ namespace VEPROMS
|
||||
this.cbxOrPgBrk = new System.Windows.Forms.CheckBox();
|
||||
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
||||
this.cbxCmpPRMSpfd = new System.Windows.Forms.CheckBox();
|
||||
this.pbPDFsStatus = new DevComponents.DotNetBar.Controls.ProgressBarX();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabControlPanel3.SuspendLayout();
|
||||
@@ -104,8 +105,8 @@ namespace VEPROMS
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tabControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
|
||||
this.tabControl1.CanReorderTabs = true;
|
||||
this.tabControl1.Controls.Add(this.tabControlPanel3);
|
||||
@@ -128,6 +129,7 @@ namespace VEPROMS
|
||||
// tabControlPanel3
|
||||
//
|
||||
this.tabControlPanel3.AutoScroll = true;
|
||||
this.tabControlPanel3.Controls.Add(this.pbPDFsStatus);
|
||||
this.tabControlPanel3.Controls.Add(this.gpnlDebug);
|
||||
this.tabControlPanel3.Controls.Add(this.grpDateSelector);
|
||||
this.tabControlPanel3.Controls.Add(this.txbReviewDate);
|
||||
@@ -153,7 +155,7 @@ namespace VEPROMS
|
||||
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel3.Style.GradientAngle = 90;
|
||||
this.tabControlPanel3.TabIndex = 3;
|
||||
this.tabControlPanel3.TabItem = this.tbGeneral;
|
||||
@@ -342,7 +344,7 @@ namespace VEPROMS
|
||||
// txbPDFLocation
|
||||
//
|
||||
this.txbPDFLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -457,7 +459,7 @@ namespace VEPROMS
|
||||
// txbPDFName
|
||||
//
|
||||
this.txbPDFName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -531,7 +533,7 @@ namespace VEPROMS
|
||||
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel1.Style.GradientAngle = 90;
|
||||
this.tabControlPanel1.TabIndex = 5;
|
||||
this.tabControlPanel1.TabItem = this.tbSettings;
|
||||
@@ -555,7 +557,7 @@ namespace VEPROMS
|
||||
// txbPdfLocationS
|
||||
//
|
||||
this.txbPdfLocationS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -574,7 +576,6 @@ namespace VEPROMS
|
||||
this.btnPdfLocation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnPdfLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnPdfLocation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnPdfLocation.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnPdfLocation.Image = ((System.Drawing.Image)(resources.GetObject("btnPdfLocation.Image")));
|
||||
this.btnPdfLocation.Location = new System.Drawing.Point(519, 3);
|
||||
this.btnPdfLocation.Name = "btnPdfLocation";
|
||||
@@ -604,7 +605,6 @@ namespace VEPROMS
|
||||
this.btnWaterMarkOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnWaterMarkOff.Checked = true;
|
||||
this.btnWaterMarkOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnWaterMarkOff.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnWaterMarkOff.Location = new System.Drawing.Point(164, 84);
|
||||
this.btnWaterMarkOff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnWaterMarkOff.Name = "btnWaterMarkOff";
|
||||
@@ -619,7 +619,6 @@ namespace VEPROMS
|
||||
this.btnChgBarOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnChgBarOff.Checked = true;
|
||||
this.btnChgBarOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnChgBarOff.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnChgBarOff.Location = new System.Drawing.Point(164, 58);
|
||||
this.btnChgBarOff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnChgBarOff.Name = "btnChgBarOff";
|
||||
@@ -634,7 +633,6 @@ namespace VEPROMS
|
||||
this.btnDuplxOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnDuplxOff.Checked = true;
|
||||
this.btnDuplxOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnDuplxOff.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnDuplxOff.Location = new System.Drawing.Point(164, 111);
|
||||
this.btnDuplxOff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnDuplxOff.Name = "btnDuplxOff";
|
||||
@@ -664,7 +662,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnDuplxOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnDuplxOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnDuplxOn.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnDuplxOn.Location = new System.Drawing.Point(123, 111);
|
||||
this.btnDuplxOn.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnDuplxOn.Name = "btnDuplxOn";
|
||||
@@ -678,7 +675,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnWaterMarkOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnWaterMarkOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnWaterMarkOn.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnWaterMarkOn.Location = new System.Drawing.Point(123, 84);
|
||||
this.btnWaterMarkOn.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnWaterMarkOn.Name = "btnWaterMarkOn";
|
||||
@@ -724,7 +720,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnChgBarOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnChgBarOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnChgBarOn.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnChgBarOn.Location = new System.Drawing.Point(123, 58);
|
||||
this.btnChgBarOn.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnChgBarOn.Name = "btnChgBarOn";
|
||||
@@ -756,7 +751,7 @@ namespace VEPROMS
|
||||
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel2.Style.GradientAngle = 90;
|
||||
this.tabControlPanel2.TabIndex = 2;
|
||||
this.tabControlPanel2.TabItem = this.tbChangeBars;
|
||||
@@ -1026,7 +1021,6 @@ namespace VEPROMS
|
||||
this.btnCreatePDF.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnCreatePDF.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnCreatePDF.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCreatePDF.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnCreatePDF.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCreatePDF.Location = new System.Drawing.Point(5, 281);
|
||||
this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(2);
|
||||
@@ -1044,7 +1038,6 @@ namespace VEPROMS
|
||||
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.FocusOnLeftMouseButtonDown = true;
|
||||
this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCancel.Location = new System.Drawing.Point(450, 281);
|
||||
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
|
||||
@@ -1110,6 +1103,19 @@ namespace VEPROMS
|
||||
this.cbxCmpPRMSpfd.UseVisualStyleBackColor = false;
|
||||
this.cbxCmpPRMSpfd.Visible = false;
|
||||
//
|
||||
// pbPDFsStatus
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.pbPDFsStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.pbPDFsStatus.Location = new System.Drawing.Point(7, 220);
|
||||
this.pbPDFsStatus.Name = "pbPDFsStatus";
|
||||
this.pbPDFsStatus.Size = new System.Drawing.Size(539, 23);
|
||||
this.pbPDFsStatus.TabIndex = 87;
|
||||
this.pbPDFsStatus.Text = "Procedures Converted to PDF";
|
||||
this.pbPDFsStatus.Visible = false;
|
||||
//
|
||||
// DlgPrintProcedure
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@@ -1214,5 +1220,6 @@ namespace VEPROMS
|
||||
private System.Windows.Forms.CheckBox cbxOrPgBrk;
|
||||
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
|
||||
private System.Windows.Forms.CheckBox cbxCmpPRMSpfd;
|
||||
private DevComponents.DotNetBar.Controls.ProgressBarX pbPDFsStatus;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user