corrected jcb server name in database connection strings
allow watermarks from approval process handlers for vlnTreeView events supporting approval process approval process dialog
This commit is contained in:
parent
d654beddc0
commit
662af0e334
@ -90,9 +90,9 @@
|
||||
<add name="VEPROMS_LOCAL" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VEPROMS;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_RMARK_DEBUG" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_RMARK_DEMO" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=JCB-HP;Initial Catalog=VEPROMS;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=JCB-HP;Initial Catalog=VEPROMS;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=VOLIAN;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=VOLIAN;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<userSettings>
|
||||
<VEPROMS.Properties.Settings>
|
||||
<setting name="ShowDefaultFolderProp" serializeAs="String">
|
||||
|
632
PROMS/VEPROMS User Interface/dlgApproveProcedure.Designer.cs
generated
Normal file
632
PROMS/VEPROMS User Interface/dlgApproveProcedure.Designer.cs
generated
Normal file
@ -0,0 +1,632 @@
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class dlgApproveProcedure
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dlgApproveProcedure));
|
||||
this.approvalInfoBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.stageInfoBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.revTypeBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.chkViewPDF = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.pnlApprove = new System.Windows.Forms.Panel();
|
||||
this.btnIncrement = new DevComponents.DotNetBar.ButtonX();
|
||||
this.chkSetAllDates = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.btnModifyList = new DevComponents.DotNetBar.ButtonX();
|
||||
this.fgProcs = new C1.Win.C1FlexGrid.C1FlexGrid();
|
||||
this.approvalProcedureBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.chkCascade2 = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.btnCheck2 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.ssMsg2 = new System.Windows.Forms.StatusStrip();
|
||||
this.tsslMsg2 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.btnApprove2 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnCancel2 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.labelX14 = new DevComponents.DotNetBar.LabelX();
|
||||
this.txtRevisionNotes2 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.labelX16 = new DevComponents.DotNetBar.LabelX();
|
||||
this.cmbRevisionType2 = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.cmbRevisionStage2 = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.labelX17 = new DevComponents.DotNetBar.LabelX();
|
||||
this.pnlSelect = new System.Windows.Forms.Panel();
|
||||
this.lblPhase = new DevComponents.DotNetBar.LabelX();
|
||||
this.chkCascadeMore = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.btnReportMore = new DevComponents.DotNetBar.ButtonX();
|
||||
this.pbMore = new System.Windows.Forms.ProgressBar();
|
||||
this.btnCheckMore = new DevComponents.DotNetBar.ButtonX();
|
||||
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.btnCancelMore = new DevComponents.DotNetBar.ButtonX();
|
||||
this.lblMore = new DevComponents.DotNetBar.LabelX();
|
||||
this.sttMore = new DevComponents.DotNetBar.SuperTooltip();
|
||||
this.pnlRogue = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.approvalInfoBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.stageInfoBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.revTypeBindingSource)).BeginInit();
|
||||
this.pnlApprove.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fgProcs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.approvalProcedureBindingSource)).BeginInit();
|
||||
this.ssMsg2.SuspendLayout();
|
||||
this.pnlSelect.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// approvalInfoBindingSource
|
||||
//
|
||||
this.approvalInfoBindingSource.AllowNew = false;
|
||||
this.approvalInfoBindingSource.DataSource = typeof(VEPROMS.ApprovalInfo);
|
||||
//
|
||||
// stageInfoBindingSource
|
||||
//
|
||||
this.stageInfoBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.StageInfo);
|
||||
//
|
||||
// revTypeBindingSource
|
||||
//
|
||||
this.revTypeBindingSource.DataSource = typeof(VEPROMS.RevType);
|
||||
//
|
||||
// chkViewPDF
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.chkViewPDF.BackgroundStyle.Class = "";
|
||||
this.chkViewPDF.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkViewPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.approvalInfoBindingSource, "ViewPDF", true));
|
||||
this.chkViewPDF.Location = new System.Drawing.Point(279, 150);
|
||||
this.chkViewPDF.Name = "chkViewPDF";
|
||||
this.chkViewPDF.Size = new System.Drawing.Size(76, 23);
|
||||
this.chkViewPDF.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkViewPDF.TabIndex = 19;
|
||||
this.chkViewPDF.Text = "View PDFs";
|
||||
//
|
||||
// pnlApprove
|
||||
//
|
||||
this.pnlApprove.Controls.Add(this.btnIncrement);
|
||||
this.pnlApprove.Controls.Add(this.chkSetAllDates);
|
||||
this.pnlApprove.Controls.Add(this.btnModifyList);
|
||||
this.pnlApprove.Controls.Add(this.fgProcs);
|
||||
this.pnlApprove.Controls.Add(this.chkCascade2);
|
||||
this.pnlApprove.Controls.Add(this.btnCheck2);
|
||||
this.pnlApprove.Controls.Add(this.ssMsg2);
|
||||
this.pnlApprove.Controls.Add(this.btnApprove2);
|
||||
this.pnlApprove.Controls.Add(this.chkViewPDF);
|
||||
this.pnlApprove.Controls.Add(this.btnCancel2);
|
||||
this.pnlApprove.Controls.Add(this.labelX14);
|
||||
this.pnlApprove.Controls.Add(this.txtRevisionNotes2);
|
||||
this.pnlApprove.Controls.Add(this.labelX16);
|
||||
this.pnlApprove.Controls.Add(this.cmbRevisionType2);
|
||||
this.pnlApprove.Controls.Add(this.cmbRevisionStage2);
|
||||
this.pnlApprove.Controls.Add(this.labelX17);
|
||||
this.pnlApprove.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pnlApprove.Location = new System.Drawing.Point(522, 0);
|
||||
this.pnlApprove.Name = "pnlApprove";
|
||||
this.pnlApprove.Size = new System.Drawing.Size(450, 574);
|
||||
this.pnlApprove.TabIndex = 23;
|
||||
this.pnlApprove.LocationChanged += new System.EventHandler(this.Panel_LocationChanged);
|
||||
//
|
||||
// btnIncrement
|
||||
//
|
||||
this.btnIncrement.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnIncrement.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnIncrement.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnIncrement.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.approvalInfoBindingSource, "CanApprove", true));
|
||||
this.btnIncrement.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnIncrement.Location = new System.Drawing.Point(11, 121);
|
||||
this.btnIncrement.Name = "btnIncrement";
|
||||
this.btnIncrement.Size = new System.Drawing.Size(90, 23);
|
||||
this.btnIncrement.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnIncrement.TabIndex = 33;
|
||||
this.btnIncrement.Text = "Increment All";
|
||||
this.btnIncrement.Click += new System.EventHandler(this.btnIncrement_Click);
|
||||
//
|
||||
// chkSetAllDates
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.chkSetAllDates.BackgroundStyle.Class = "";
|
||||
this.chkSetAllDates.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkSetAllDates.Location = new System.Drawing.Point(11, 150);
|
||||
this.chkSetAllDates.Name = "chkSetAllDates";
|
||||
this.chkSetAllDates.Size = new System.Drawing.Size(100, 23);
|
||||
this.chkSetAllDates.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkSetAllDates.TabIndex = 32;
|
||||
this.chkSetAllDates.Text = "Set All Dates";
|
||||
//
|
||||
// btnModifyList
|
||||
//
|
||||
this.btnModifyList.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnModifyList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnModifyList.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnModifyList.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnModifyList.Location = new System.Drawing.Point(11, 179);
|
||||
this.btnModifyList.Name = "btnModifyList";
|
||||
this.btnModifyList.Size = new System.Drawing.Size(128, 23);
|
||||
this.btnModifyList.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnModifyList.TabIndex = 31;
|
||||
this.btnModifyList.Text = "Change Selection";
|
||||
this.btnModifyList.Click += new System.EventHandler(this.btnModifyList_Click);
|
||||
//
|
||||
// fgProcs
|
||||
//
|
||||
this.fgProcs.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)));
|
||||
this.fgProcs.AutoGenerateColumns = false;
|
||||
this.fgProcs.ColumnInfo = resources.GetString("fgProcs.ColumnInfo");
|
||||
this.fgProcs.DataSource = this.approvalProcedureBindingSource;
|
||||
this.fgProcs.ExtendLastCol = true;
|
||||
this.fgProcs.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.fgProcs.Location = new System.Drawing.Point(11, 208);
|
||||
this.fgProcs.Name = "fgProcs";
|
||||
this.fgProcs.Rows.Count = 1;
|
||||
this.fgProcs.Rows.DefaultSize = 19;
|
||||
this.fgProcs.SelectionMode = C1.Win.C1FlexGrid.SelectionModeEnum.Cell;
|
||||
this.fgProcs.Size = new System.Drawing.Size(425, 341);
|
||||
this.fgProcs.TabIndex = 30;
|
||||
this.fgProcs.ComboCloseUp += new C1.Win.C1FlexGrid.RowColEventHandler(this.fgProcs_AfterEdit);
|
||||
this.fgProcs.AfterEdit += new C1.Win.C1FlexGrid.RowColEventHandler(this.fgProcs_AfterEdit);
|
||||
//
|
||||
// approvalProcedureBindingSource
|
||||
//
|
||||
this.approvalProcedureBindingSource.DataSource = typeof(VEPROMS.ApprovalProcedure);
|
||||
//
|
||||
// chkCascade2
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.chkCascade2.BackgroundStyle.Class = "";
|
||||
this.chkCascade2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkCascade2.Location = new System.Drawing.Point(147, 150);
|
||||
this.chkCascade2.Name = "chkCascade2";
|
||||
this.chkCascade2.Size = new System.Drawing.Size(76, 23);
|
||||
this.chkCascade2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkCascade2.TabIndex = 26;
|
||||
this.chkCascade2.Text = "Cascade";
|
||||
this.chkCascade2.CheckedChanged += new System.EventHandler(this.CascadeChecksUpdated);
|
||||
//
|
||||
// btnCheck2
|
||||
//
|
||||
this.btnCheck2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCheck2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCheck2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCheck2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCheck2.Location = new System.Drawing.Point(147, 179);
|
||||
this.btnCheck2.Name = "btnCheck2";
|
||||
this.btnCheck2.Size = new System.Drawing.Size(127, 23);
|
||||
this.btnCheck2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCheck2.TabIndex = 23;
|
||||
this.btnCheck2.Text = "Consistency Check";
|
||||
this.btnCheck2.Click += new System.EventHandler(this.btnCheck_Click);
|
||||
//
|
||||
// ssMsg2
|
||||
//
|
||||
this.ssMsg2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsslMsg2});
|
||||
this.ssMsg2.Location = new System.Drawing.Point(0, 552);
|
||||
this.ssMsg2.Name = "ssMsg2";
|
||||
this.ssMsg2.Size = new System.Drawing.Size(450, 22);
|
||||
this.ssMsg2.TabIndex = 22;
|
||||
//
|
||||
// tsslMsg2
|
||||
//
|
||||
this.tsslMsg2.Name = "tsslMsg2";
|
||||
this.tsslMsg2.Size = new System.Drawing.Size(0, 17);
|
||||
//
|
||||
// btnApprove2
|
||||
//
|
||||
this.btnApprove2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnApprove2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnApprove2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnApprove2.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.approvalInfoBindingSource, "CanApprove", true));
|
||||
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(280, 179);
|
||||
this.btnApprove2.Name = "btnApprove2";
|
||||
this.btnApprove2.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnApprove2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnApprove2.TabIndex = 14;
|
||||
this.btnApprove2.Text = "Approve";
|
||||
this.btnApprove2.Click += new System.EventHandler(this.btnApprove_Click);
|
||||
//
|
||||
// btnCancel2
|
||||
//
|
||||
this.btnCancel2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCancel2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancel2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCancel2.Location = new System.Drawing.Point(361, 179);
|
||||
this.btnCancel2.Name = "btnCancel2";
|
||||
this.btnCancel2.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCancel2.TabIndex = 13;
|
||||
this.btnCancel2.Text = "Cancel";
|
||||
//
|
||||
// labelX14
|
||||
//
|
||||
this.labelX14.AutoSize = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX14.BackgroundStyle.Class = "";
|
||||
this.labelX14.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX14.Location = new System.Drawing.Point(21, 64);
|
||||
this.labelX14.Name = "labelX14";
|
||||
this.labelX14.Size = new System.Drawing.Size(80, 15);
|
||||
this.labelX14.TabIndex = 18;
|
||||
this.labelX14.Text = "Revision Notes:";
|
||||
//
|
||||
// txtRevisionNotes2
|
||||
//
|
||||
this.txtRevisionNotes2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtRevisionNotes2.Border.Class = "TextBoxBorder";
|
||||
this.txtRevisionNotes2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtRevisionNotes2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.approvalInfoBindingSource, "RevNote", true));
|
||||
this.txtRevisionNotes2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.txtRevisionNotes2.Location = new System.Drawing.Point(107, 64);
|
||||
this.txtRevisionNotes2.Multiline = true;
|
||||
this.txtRevisionNotes2.Name = "txtRevisionNotes2";
|
||||
this.txtRevisionNotes2.Size = new System.Drawing.Size(327, 80);
|
||||
this.txtRevisionNotes2.TabIndex = 17;
|
||||
//
|
||||
// labelX16
|
||||
//
|
||||
this.labelX16.AutoSize = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX16.BackgroundStyle.Class = "";
|
||||
this.labelX16.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX16.Location = new System.Drawing.Point(21, 38);
|
||||
this.labelX16.Name = "labelX16";
|
||||
this.labelX16.Size = new System.Drawing.Size(80, 15);
|
||||
this.labelX16.TabIndex = 16;
|
||||
this.labelX16.Text = "Revision Stage:";
|
||||
//
|
||||
// cmbRevisionType2
|
||||
//
|
||||
this.cmbRevisionType2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbRevisionType2.DataSource = this.revTypeBindingSource;
|
||||
this.cmbRevisionType2.DisplayMember = "TypeName";
|
||||
this.cmbRevisionType2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmbRevisionType2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRevisionType2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cmbRevisionType2.FormattingEnabled = true;
|
||||
this.cmbRevisionType2.ItemHeight = 14;
|
||||
this.cmbRevisionType2.Location = new System.Drawing.Point(107, 12);
|
||||
this.cmbRevisionType2.Name = "cmbRevisionType2";
|
||||
this.cmbRevisionType2.Size = new System.Drawing.Size(327, 20);
|
||||
this.cmbRevisionType2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbRevisionType2.TabIndex = 11;
|
||||
this.cmbRevisionType2.ValueMember = "TypeID";
|
||||
this.cmbRevisionType2.SelectedIndexChanged += new System.EventHandler(this.cmbRevisionType_SelectedIndexChanged);
|
||||
//
|
||||
// cmbRevisionStage2
|
||||
//
|
||||
this.cmbRevisionStage2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbRevisionStage2.DataSource = this.stageInfoBindingSource;
|
||||
this.cmbRevisionStage2.DisplayMember = "Name";
|
||||
this.cmbRevisionStage2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmbRevisionStage2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRevisionStage2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cmbRevisionStage2.FormattingEnabled = true;
|
||||
this.cmbRevisionStage2.ItemHeight = 14;
|
||||
this.cmbRevisionStage2.Location = new System.Drawing.Point(107, 38);
|
||||
this.cmbRevisionStage2.Name = "cmbRevisionStage2";
|
||||
this.cmbRevisionStage2.Size = new System.Drawing.Size(327, 20);
|
||||
this.cmbRevisionStage2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbRevisionStage2.TabIndex = 15;
|
||||
this.cmbRevisionStage2.ValueMember = "StageID";
|
||||
this.cmbRevisionStage2.SelectedIndexChanged += new System.EventHandler(this.cmbRevisionStage_SelectedIndexChanged);
|
||||
//
|
||||
// labelX17
|
||||
//
|
||||
this.labelX17.AutoSize = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX17.BackgroundStyle.Class = "";
|
||||
this.labelX17.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX17.Location = new System.Drawing.Point(21, 12);
|
||||
this.labelX17.Name = "labelX17";
|
||||
this.labelX17.Size = new System.Drawing.Size(75, 15);
|
||||
this.labelX17.TabIndex = 10;
|
||||
this.labelX17.Text = "Revision Type:";
|
||||
//
|
||||
// pnlSelect
|
||||
//
|
||||
this.pnlSelect.Controls.Add(this.lblPhase);
|
||||
this.pnlSelect.Controls.Add(this.chkCascadeMore);
|
||||
this.pnlSelect.Controls.Add(this.btnReportMore);
|
||||
this.pnlSelect.Controls.Add(this.pbMore);
|
||||
this.pnlSelect.Controls.Add(this.btnCheckMore);
|
||||
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.btnCancelMore);
|
||||
this.pnlSelect.Controls.Add(this.lblMore);
|
||||
this.pnlSelect.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pnlSelect.Location = new System.Drawing.Point(72, 0);
|
||||
this.pnlSelect.Name = "pnlSelect";
|
||||
this.pnlSelect.Size = new System.Drawing.Size(450, 574);
|
||||
this.pnlSelect.TabIndex = 24;
|
||||
this.pnlSelect.LocationChanged += new System.EventHandler(this.Panel_LocationChanged);
|
||||
//
|
||||
// lblPhase
|
||||
//
|
||||
this.lblPhase.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.lblPhase.BackgroundStyle.Class = "";
|
||||
this.lblPhase.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.lblPhase.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblPhase.Location = new System.Drawing.Point(300, 20);
|
||||
this.lblPhase.Name = "lblPhase";
|
||||
this.lblPhase.Size = new System.Drawing.Size(35, 38);
|
||||
this.lblPhase.TabIndex = 32;
|
||||
this.lblPhase.TextAlignment = System.Drawing.StringAlignment.Center;
|
||||
//
|
||||
// chkCascadeMore
|
||||
//
|
||||
this.chkCascadeMore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.chkCascadeMore.BackgroundStyle.Class = "";
|
||||
this.chkCascadeMore.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkCascadeMore.Location = new System.Drawing.Point(131, 510);
|
||||
this.chkCascadeMore.Name = "chkCascadeMore";
|
||||
this.chkCascadeMore.Size = new System.Drawing.Size(89, 23);
|
||||
this.chkCascadeMore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkCascadeMore.TabIndex = 31;
|
||||
this.chkCascadeMore.Text = "Cascade";
|
||||
this.chkCascadeMore.CheckedChanged += new System.EventHandler(this.CascadeChecksUpdated);
|
||||
//
|
||||
// btnReportMore
|
||||
//
|
||||
this.btnReportMore.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnReportMore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
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, 539);
|
||||
this.btnReportMore.Name = "btnReportMore";
|
||||
this.btnReportMore.Size = new System.Drawing.Size(110, 23);
|
||||
this.btnReportMore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnReportMore.TabIndex = 30;
|
||||
this.btnReportMore.Text = "View Report";
|
||||
this.btnReportMore.Click += new System.EventHandler(this.btnReportMore_Click);
|
||||
//
|
||||
// pbMore
|
||||
//
|
||||
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(15, 35);
|
||||
this.pbMore.Name = "pbMore";
|
||||
this.pbMore.Size = new System.Drawing.Size(279, 23);
|
||||
this.pbMore.TabIndex = 29;
|
||||
this.pbMore.Visible = false;
|
||||
//
|
||||
// btnCheckMore
|
||||
//
|
||||
this.btnCheckMore.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCheckMore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCheckMore.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCheckMore.Enabled = false;
|
||||
this.btnCheckMore.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCheckMore.Location = new System.Drawing.Point(131, 539);
|
||||
this.btnCheckMore.Name = "btnCheckMore";
|
||||
this.btnCheckMore.Size = new System.Drawing.Size(145, 23);
|
||||
this.btnCheckMore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCheckMore.TabIndex = 28;
|
||||
this.btnCheckMore.Text = "Consistency Check";
|
||||
this.btnCheckMore.Click += new System.EventHandler(this.btnCheckMore_Click);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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(341, 38);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(97, 23);
|
||||
this.btnClear.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClear.TabIndex = 27;
|
||||
this.btnClear.Text = "Clear All";
|
||||
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
||||
//
|
||||
// btnAll
|
||||
//
|
||||
this.btnAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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(341, 12);
|
||||
this.btnAll.Name = "btnAll";
|
||||
this.btnAll.Size = new System.Drawing.Size(97, 23);
|
||||
this.btnAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnAll.TabIndex = 26;
|
||||
this.btnAll.Text = "Select All";
|
||||
this.btnAll.Click += new System.EventHandler(this.btnAll_Click);
|
||||
//
|
||||
// clbMore
|
||||
//
|
||||
this.clbMore.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)));
|
||||
this.clbMore.CheckOnClick = true;
|
||||
this.clbMore.FormattingEnabled = true;
|
||||
this.clbMore.HorizontalScrollbar = true;
|
||||
this.clbMore.Location = new System.Drawing.Point(15, 68);
|
||||
this.clbMore.Name = "clbMore";
|
||||
this.clbMore.Size = new System.Drawing.Size(423, 439);
|
||||
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.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.Top | 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(282, 539);
|
||||
this.btnOkay.Name = "btnOkay";
|
||||
this.btnOkay.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOkay.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOkay.TabIndex = 14;
|
||||
this.btnOkay.Text = "Okay";
|
||||
this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click);
|
||||
//
|
||||
// btnCancelMore
|
||||
//
|
||||
this.btnCancelMore.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancelMore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCancelMore.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancelMore.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCancelMore.Location = new System.Drawing.Point(363, 539);
|
||||
this.btnCancelMore.Name = "btnCancelMore";
|
||||
this.btnCancelMore.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancelMore.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCancelMore.TabIndex = 13;
|
||||
this.btnCancelMore.Text = "Cancel";
|
||||
this.btnCancelMore.Click += new System.EventHandler(this.btnCancelMore_Click);
|
||||
//
|
||||
// lblMore
|
||||
//
|
||||
this.lblMore.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblMore.AutoSize = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.lblMore.BackgroundStyle.Class = "";
|
||||
this.lblMore.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.lblMore.Location = new System.Drawing.Point(15, 12);
|
||||
this.lblMore.Name = "lblMore";
|
||||
this.lblMore.Size = new System.Drawing.Size(148, 15);
|
||||
this.lblMore.TabIndex = 10;
|
||||
this.lblMore.Text = "Select Procedures to Approve";
|
||||
//
|
||||
// sttMore
|
||||
//
|
||||
this.sttMore.CheckTooltipPosition = false;
|
||||
this.sttMore.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
this.sttMore.PositionBelowControl = false;
|
||||
//
|
||||
// pnlRogue
|
||||
//
|
||||
this.pnlRogue.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pnlRogue.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlRogue.Name = "pnlRogue";
|
||||
this.pnlRogue.Size = new System.Drawing.Size(72, 574);
|
||||
this.pnlRogue.TabIndex = 25;
|
||||
//
|
||||
// dlgApproveProcedure
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1029, 574);
|
||||
this.Controls.Add(this.pnlApprove);
|
||||
this.Controls.Add(this.pnlSelect);
|
||||
this.Controls.Add(this.pnlRogue);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "dlgApproveProcedure";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Select Procedures to Approve";
|
||||
((System.ComponentModel.ISupportInitialize)(this.approvalInfoBindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.stageInfoBindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.revTypeBindingSource)).EndInit();
|
||||
this.pnlApprove.ResumeLayout(false);
|
||||
this.pnlApprove.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fgProcs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.approvalProcedureBindingSource)).EndInit();
|
||||
this.ssMsg2.ResumeLayout(false);
|
||||
this.ssMsg2.PerformLayout();
|
||||
this.pnlSelect.ResumeLayout(false);
|
||||
this.pnlSelect.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.BindingSource stageInfoBindingSource;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkViewPDF;
|
||||
private System.Windows.Forms.Panel pnlApprove;
|
||||
private System.Windows.Forms.StatusStrip ssMsg2;
|
||||
private System.Windows.Forms.ToolStripStatusLabel tsslMsg2;
|
||||
private DevComponents.DotNetBar.ButtonX btnApprove2;
|
||||
private DevComponents.DotNetBar.ButtonX btnCancel2;
|
||||
private DevComponents.DotNetBar.LabelX labelX14;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtRevisionNotes2;
|
||||
private DevComponents.DotNetBar.LabelX labelX16;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbRevisionType2;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbRevisionStage2;
|
||||
private DevComponents.DotNetBar.LabelX labelX17;
|
||||
private System.Windows.Forms.BindingSource approvalInfoBindingSource;
|
||||
private System.Windows.Forms.BindingSource revTypeBindingSource;
|
||||
private DevComponents.DotNetBar.ButtonX btnCheck2;
|
||||
private System.Windows.Forms.Panel pnlSelect;
|
||||
private System.Windows.Forms.CheckedListBox clbMore;
|
||||
private DevComponents.DotNetBar.ButtonX btnOkay;
|
||||
private DevComponents.DotNetBar.ButtonX btnCancelMore;
|
||||
private DevComponents.DotNetBar.LabelX lblMore;
|
||||
private DevComponents.DotNetBar.ButtonX btnClear;
|
||||
private DevComponents.DotNetBar.ButtonX btnAll;
|
||||
private DevComponents.DotNetBar.SuperTooltip sttMore;
|
||||
private DevComponents.DotNetBar.ButtonX btnCheckMore;
|
||||
private System.Windows.Forms.ProgressBar pbMore;
|
||||
private DevComponents.DotNetBar.ButtonX btnReportMore;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkCascade2;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkCascadeMore;
|
||||
private DevComponents.DotNetBar.LabelX lblPhase;
|
||||
private System.Windows.Forms.BindingSource approvalProcedureBindingSource;
|
||||
private System.Windows.Forms.Panel pnlRogue;
|
||||
private DevComponents.DotNetBar.ButtonX btnModifyList;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkSetAllDates;
|
||||
private DevComponents.DotNetBar.ButtonX btnIncrement;
|
||||
private C1.Win.C1FlexGrid.C1FlexGrid fgProcs;
|
||||
}
|
||||
}
|
1131
PROMS/VEPROMS User Interface/dlgApproveProcedure.cs
Normal file
1131
PROMS/VEPROMS User Interface/dlgApproveProcedure.cs
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,11 @@ namespace VEPROMS
|
||||
this.Text = "Creating PDF of " + myItem.DisplayNumber;
|
||||
_NewLocation = newLocation;
|
||||
}
|
||||
public bool AllowAllWatermarks
|
||||
{
|
||||
get { return MyPromsPrinter.AllowAllWatermarks; }
|
||||
set { MyPromsPrinter.AllowAllWatermarks = value; }
|
||||
}
|
||||
void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
|
||||
{
|
||||
if (args.Type == PromsPrinterStatusType.ProgressSetup)
|
||||
|
@ -195,14 +195,63 @@ namespace VEPROMS
|
||||
displaySearch1.PrintRequest += new DisplaySearchEvent(displaySearch1_PrintRequest);
|
||||
displayHistory.ChronologyPrintRequest += new DisplayHistoryReportEvent(displayHistory_ChronologyPrintRequest);
|
||||
displayHistory.SummaryPrintRequest += new DisplayHistoryReportEvent(displayHistory_SummaryPrintRequest);
|
||||
displayHistory.AnnotationRestored += new AnnotationRestoredHandler(displayHistory_AnnotationRestored);
|
||||
this.Activated += new EventHandler(frmVEPROMS_Activated);
|
||||
VlnSettings.StepTypeToolType = Settings.Default.StepTypeToolTip;
|
||||
displayLibDocs.PrintRequest += new DisplayLibDocEvent(displayLibDocs_PrintRequest);
|
||||
ContentInfo.InfoChanged += new ContentInfoEvent(RefreshDisplayHistory);
|
||||
AnnotationInfo.InfoChanged += new AnnotationInfoEvent(RefreshDisplayHistory);
|
||||
ItemInfo.InfoRestored += new ItemInfoEvent(RefreshDisplayHistory);
|
||||
ItemInfo.ItemDeleted += new ItemInfoEvent(RefreshDisplayHistory);
|
||||
tv.PrintProcedure += new vlnTreeViewEvent(tv_PrintProcedure);
|
||||
tv.PrintAllProcedures += new vlnTreeViewEvent(tv_PrintAllProcedures);
|
||||
tv.ApproveProcedure += new vlnTreeViewEvent(tv_ApproveProcedure);
|
||||
tv.ApproveAllProcedures += new vlnTreeViewEvent(tv_ApproveAllProcedures);
|
||||
tv.ApproveSomeProcedures += new vlnTreeViewEvent(tv_ApproveSomeProcedures);
|
||||
tv.ReportAllProceduresInconsistencies += new vlnTreeViewEvent(tv_ReportAllProceduresInconsistencies);
|
||||
}
|
||||
|
||||
void displayHistory_AnnotationRestored(AnnotationInfo restoredAnnotationInfo, ItemInfo currentItem)
|
||||
{
|
||||
ctrlAnnotationDetails.UpdateAnnotationGrid(currentItem);
|
||||
}
|
||||
|
||||
void tv_ReportAllProceduresInconsistencies(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
DocVersionInfo dvi = (args.Node as VETreeNode).VEObject as DocVersionInfo;
|
||||
if (dvi == null) return;
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
ItemInfoList iil = ItemInfoList.GetAllInconsistencies(dvi.VersionID);
|
||||
Volian.Print.Library.PDFConsistencyCheckReport rpt = new Volian.Print.Library.PDFConsistencyCheckReport(Volian.Base.Library.VlnSettings.TemporaryFolder + @"\AllInconsistencies.pdf", iil);
|
||||
rpt.BuildAllReport(dvi);
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
void tv_ApproveSomeProcedures(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
DocVersionInfo dvi = (args.Node as VETreeNode).VEObject as DocVersionInfo;
|
||||
if (dvi == null) return;
|
||||
dlgApproveProcedure dlg = new dlgApproveProcedure(dvi, true);
|
||||
dlg.ShowDialog(this);
|
||||
displayHistory.RefreshList();
|
||||
}
|
||||
|
||||
void tv_ApproveAllProcedures(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
DocVersionInfo dvi = (args.Node as VETreeNode).VEObject as DocVersionInfo;
|
||||
if (dvi == null) return;
|
||||
dlgApproveProcedure dlg = new dlgApproveProcedure(dvi);
|
||||
dlg.ShowDialog(this);
|
||||
displayHistory.RefreshList();
|
||||
}
|
||||
|
||||
void tv_ApproveProcedure(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo;
|
||||
if (pi == null) return;
|
||||
dlgApproveProcedure dlg = new dlgApproveProcedure(pi);
|
||||
dlg.ShowDialog(this);
|
||||
displayHistory.RefreshList();
|
||||
}
|
||||
|
||||
void tv_PrintAllProcedures(object sender, vlnTreeEventArgs args)
|
||||
@ -1125,7 +1174,7 @@ namespace VEPROMS
|
||||
_CurrentItem = null;
|
||||
ctrlAnnotationDetails.CurrentAnnotation = null;
|
||||
ctrlAnnotationDetails.Annotations = null;
|
||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = false;
|
||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = infotabHistory.Visible = false;
|
||||
// When infotabTags is set to InVisible, the matching panel also needs to be set to invisible
|
||||
infotabControlPanelTags.Visible = false;
|
||||
displayTags.Visible = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user