This commit is contained in:
parent
9ac1ce9e37
commit
eaa0dd1ada
@ -77,6 +77,7 @@ namespace VEPROMS
|
|||||||
this.btnCreatePDF = new DevComponents.DotNetBar.ButtonX();
|
this.btnCreatePDF = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.DlgBrowseFolder = new System.Windows.Forms.FolderBrowserDialog();
|
this.DlgBrowseFolder = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
|
this.cbxDebug = new System.Windows.Forms.CheckBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.tabControlPanel3.SuspendLayout();
|
this.tabControlPanel3.SuspendLayout();
|
||||||
@ -884,12 +885,31 @@ namespace VEPROMS
|
|||||||
this.btnCancel.Text = "Cancel";
|
this.btnCancel.Text = "Cancel";
|
||||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||||
//
|
//
|
||||||
|
// cbxDebug
|
||||||
|
//
|
||||||
|
this.cbxDebug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.cbxDebug.AutoSize = true;
|
||||||
|
this.cbxDebug.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.cbxDebug.Checked = true;
|
||||||
|
this.cbxDebug.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
|
this.cbxDebug.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
|
||||||
|
this.cbxDebug.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.cbxDebug.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
|
this.cbxDebug.Location = new System.Drawing.Point(213, 320);
|
||||||
|
this.cbxDebug.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
|
this.cbxDebug.Name = "cbxDebug";
|
||||||
|
this.cbxDebug.Size = new System.Drawing.Size(73, 22);
|
||||||
|
this.cbxDebug.TabIndex = 98;
|
||||||
|
this.cbxDebug.Text = "Debug";
|
||||||
|
this.cbxDebug.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
// DlgPrintProcedure
|
// DlgPrintProcedure
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.CancelButton = this.btnCancel;
|
this.CancelButton = this.btnCancel;
|
||||||
this.ClientSize = new System.Drawing.Size(675, 343);
|
this.ClientSize = new System.Drawing.Size(675, 343);
|
||||||
|
this.Controls.Add(this.cbxDebug);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnCreatePDF);
|
this.Controls.Add(this.btnCreatePDF);
|
||||||
this.Controls.Add(this.tabControl1);
|
this.Controls.Add(this.tabControl1);
|
||||||
@ -919,6 +939,7 @@ namespace VEPROMS
|
|||||||
this.tabControlPanel1.ResumeLayout(false);
|
this.tabControlPanel1.ResumeLayout(false);
|
||||||
this.tabControlPanel1.PerformLayout();
|
this.tabControlPanel1.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -971,5 +992,6 @@ namespace VEPROMS
|
|||||||
private System.Windows.Forms.BindingSource docVersionConfigBindingSource;
|
private System.Windows.Forms.BindingSource docVersionConfigBindingSource;
|
||||||
private DevComponents.DotNetBar.Controls.TextBoxX txbPDFLocation;
|
private DevComponents.DotNetBar.Controls.TextBoxX txbPDFLocation;
|
||||||
private DevComponents.DotNetBar.LabelX lblStatus;
|
private DevComponents.DotNetBar.LabelX lblStatus;
|
||||||
|
private System.Windows.Forms.CheckBox cbxDebug;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -310,7 +310,7 @@ namespace VEPROMS
|
|||||||
//this.Cursor = Cursors.WaitCursor;
|
//this.Cursor = Cursors.WaitCursor;
|
||||||
//ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
|
//ProcedureConfig.PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark;
|
||||||
PrintWatermark pw = (PrintWatermark)cbxWaterMark.SelectedValue;
|
PrintWatermark pw = (PrintWatermark)cbxWaterMark.SelectedValue;
|
||||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate.ToShortDateString(), pw.ToString(), true, @"C:\TEMP\16Bit", cbxOpenAfterCreate2.Checked, PDFPath);
|
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate.ToShortDateString(), pw.ToString(), cbxDebug.Checked, @"C:\TEMP\16Bit", cbxOpenAfterCreate2.Checked, PDFPath);
|
||||||
frmStatus.Show();
|
frmStatus.Show();
|
||||||
this.Close();
|
this.Close();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user