Show Progress bar when Printing all procedures
Added Cancel button for printing all procedures Added Timer for automatic processes
This commit is contained in:
@@ -35,6 +35,7 @@ namespace VEPROMS
|
||||
this.tmrRun = new System.Windows.Forms.Timer(this.components);
|
||||
this.btnOpenFolder = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnOpenPDF = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblStatus
|
||||
@@ -42,11 +43,11 @@ namespace VEPROMS
|
||||
//
|
||||
//
|
||||
//
|
||||
this.lblStatus.BackgroundStyle.Class = "";
|
||||
this.lblStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.lblStatus.Location = new System.Drawing.Point(12, 21);
|
||||
this.lblStatus.Location = new System.Drawing.Point(9, 17);
|
||||
this.lblStatus.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.lblStatus.Name = "lblStatus";
|
||||
this.lblStatus.Size = new System.Drawing.Size(304, 23);
|
||||
this.lblStatus.Size = new System.Drawing.Size(228, 19);
|
||||
this.lblStatus.TabIndex = 0;
|
||||
this.lblStatus.Text = "Ready";
|
||||
//
|
||||
@@ -55,11 +56,11 @@ namespace VEPROMS
|
||||
//
|
||||
//
|
||||
//
|
||||
this.pb.BackgroundStyle.Class = "";
|
||||
this.pb.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.pb.Location = new System.Drawing.Point(12, 65);
|
||||
this.pb.Location = new System.Drawing.Point(9, 53);
|
||||
this.pb.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.pb.Name = "pb";
|
||||
this.pb.Size = new System.Drawing.Size(721, 23);
|
||||
this.pb.Size = new System.Drawing.Size(541, 19);
|
||||
this.pb.TabIndex = 1;
|
||||
this.pb.TextVisible = true;
|
||||
//
|
||||
@@ -71,9 +72,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnOpenFolder.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOpenFolder.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnOpenFolder.Location = new System.Drawing.Point(658, 28);
|
||||
this.btnOpenFolder.Location = new System.Drawing.Point(494, 23);
|
||||
this.btnOpenFolder.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnOpenFolder.Name = "btnOpenFolder";
|
||||
this.btnOpenFolder.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOpenFolder.Size = new System.Drawing.Size(56, 19);
|
||||
this.btnOpenFolder.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOpenFolder.TabIndex = 2;
|
||||
this.btnOpenFolder.Text = "Open Folder";
|
||||
@@ -84,25 +86,42 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnOpenPDF.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOpenPDF.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnOpenPDF.Location = new System.Drawing.Point(568, 28);
|
||||
this.btnOpenPDF.Location = new System.Drawing.Point(426, 23);
|
||||
this.btnOpenPDF.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnOpenPDF.Name = "btnOpenPDF";
|
||||
this.btnOpenPDF.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOpenPDF.Size = new System.Drawing.Size(56, 19);
|
||||
this.btnOpenPDF.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOpenPDF.TabIndex = 3;
|
||||
this.btnOpenPDF.Text = "Open PDF";
|
||||
this.btnOpenPDF.Visible = false;
|
||||
this.btnOpenPDF.Click += new System.EventHandler(this.btnOpenPDF_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancel.Location = new System.Drawing.Point(475, 21);
|
||||
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(77, 19);
|
||||
this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCancel.TabIndex = 4;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
this.btnCancel.Visible = false;
|
||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||
//
|
||||
// frmPDFStatusForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(745, 104);
|
||||
this.ClientSize = new System.Drawing.Size(559, 84);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.btnOpenPDF);
|
||||
this.Controls.Add(this.btnOpenFolder);
|
||||
this.Controls.Add(this.pb);
|
||||
this.Controls.Add(this.lblStatus);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Name = "frmPDFStatusForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "frmPDFStatusForm";
|
||||
@@ -119,5 +138,6 @@ namespace VEPROMS
|
||||
private System.Windows.Forms.Timer tmrRun;
|
||||
private DevComponents.DotNetBar.ButtonX btnOpenFolder;
|
||||
private DevComponents.DotNetBar.ButtonX btnOpenPDF;
|
||||
private DevComponents.DotNetBar.ButtonX btnCancel;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user