Added procedure set rev property to docversion properties dialog box
This commit is contained in:
parent
4f9a67464b
commit
1b09d64a7f
@ -66,6 +66,10 @@ namespace VEPROMS
|
||||
this.ppCmbxProcSetType = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.ppRTxtName = new System.Windows.Forms.RichTextBox();
|
||||
//added jcb for procedure set rev
|
||||
this.lblProcSetRev = new System.Windows.Forms.Label();
|
||||
this.ppRTxtProcSetRev = new System.Windows.Forms.RichTextBox();
|
||||
//end added jcb for procedure set rev
|
||||
this.ppRTxtTitle = new System.Windows.Forms.RichTextBox();
|
||||
this.ppDTPicker = new System.Windows.Forms.DateTimePicker();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
@ -623,6 +627,30 @@ namespace VEPROMS
|
||||
this.ppRTxtName.TabIndex = 0;
|
||||
this.ppRTxtName.Text = "";
|
||||
this.ppRTxtName.Leave += new System.EventHandler(this.ppRTxtName_Leave);
|
||||
//added jcb for procedure set rev
|
||||
//
|
||||
// lblProcSetRev
|
||||
//
|
||||
this.lblProcSetRev.AutoSize = true;
|
||||
this.lblProcSetRev.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblProcSetRev.Location = new System.Drawing.Point(24, 204);
|
||||
this.lblProcSetRev.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblProcSetRev.Name = "lblProcSetRev";
|
||||
this.lblProcSetRev.Size = new System.Drawing.Size(145, 13);
|
||||
this.lblProcSetRev.TabIndex = 66;
|
||||
this.lblProcSetRev.Text = "Procedure Set Revision";
|
||||
//
|
||||
// ppRTxtProcSetRev
|
||||
//
|
||||
this.ppRTxtProcSetRev.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "ProcedureSetRev", true));
|
||||
this.ppRTxtProcSetRev.Location = new System.Drawing.Point(175, 201);
|
||||
this.ppRTxtProcSetRev.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppRTxtProcSetRev.Multiline = false;
|
||||
this.ppRTxtProcSetRev.Name = "ppRTxtProcSetRev";
|
||||
this.ppRTxtProcSetRev.Size = new System.Drawing.Size(210, 19);
|
||||
this.ppRTxtProcSetRev.TabIndex = 0;
|
||||
this.ppRTxtProcSetRev.Text = "";
|
||||
//end added jcb for procedure set rev
|
||||
//
|
||||
// ppRTxtTitle
|
||||
//
|
||||
@ -1094,6 +1122,10 @@ namespace VEPROMS
|
||||
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtName);
|
||||
this.tcpGeneral.Controls.Add(this.label9);
|
||||
//added jcb for procedure set rev
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
|
||||
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
|
||||
//end added jcb for procedure set rev
|
||||
this.tcpGeneral.Controls.Add(this.label4);
|
||||
this.tcpGeneral.Controls.Add(this.label3);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
|
||||
@ -1978,6 +2010,10 @@ namespace VEPROMS
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.RichTextBox ppRTxtName;
|
||||
//added jcb for procedure set rev
|
||||
private System.Windows.Forms.Label lblProcSetRev;
|
||||
private System.Windows.Forms.RichTextBox ppRTxtProcSetRev;
|
||||
//end added jcb for procedure set rev
|
||||
private System.Windows.Forms.RichTextBox ppRTxtTitle;
|
||||
private System.Windows.Forms.DateTimePicker ppDTPicker;
|
||||
private System.Windows.Forms.Label label1;
|
||||
|
@ -343,6 +343,7 @@ namespace VEPROMS
|
||||
}
|
||||
ppTxtBxPDFLoc.TextChanged += new EventHandler(ppTxtBxPDFLoc_TextChanged);
|
||||
//end add new applicability stuff
|
||||
lblProcSetRev.Visible = ppRTxtProcSetRev.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionPrintData.UseXtraRevNumber;
|
||||
_Initializing = false;
|
||||
}
|
||||
// The following code was added to fix Bug B2013-117
|
||||
|
@ -107,6 +107,21 @@ namespace VEPROMS.CSLA.Library
|
||||
set { if (_DocVersion != null) _DocVersion.Name = value; }
|
||||
}
|
||||
[Category("General")]
|
||||
[DisplayName("Procedure Set Revision")]
|
||||
[Description("Westinghouse Owners Group Revision")]
|
||||
public string ProcedureSetRev
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Xp["ProcedureSet", "Revision"];
|
||||
}
|
||||
set
|
||||
{
|
||||
_Xp["ProcedureSet", "Revision"] = value;
|
||||
OnPropertyChanged("ProcedureSet_Revision");
|
||||
}
|
||||
}
|
||||
[Category("General")]
|
||||
//PROPGRID: Hide Title
|
||||
[Browsable(false)]
|
||||
[DisplayName("Title")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user