Fixed problem where the “Unit Number for Cover and Header page printing” setting was automatically being changed when something on a different property page tab was changed. We needed to un-bind the text box from the working draft config and allow the changes to this text box be handled in our code.

This commit is contained in:
John Jenko 2014-08-27 15:30:20 +00:00
parent 2bfc220948
commit 9825ea8ff9

View File

@ -103,6 +103,8 @@ namespace VEPROMS
this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); this.ppLblDefSettingsInfo = new System.Windows.Forms.Label();
this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog(); this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog();
this.tcVersions = new DevComponents.DotNetBar.TabControl(); this.tcVersions = new DevComponents.DotNetBar.TabControl();
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel();
this.btnPhoneList = new DevComponents.DotNetBar.ButtonX(); this.btnPhoneList = new DevComponents.DotNetBar.ButtonX();
this.ppLblUnitNum = new System.Windows.Forms.Label(); this.ppLblUnitNum = new System.Windows.Forms.Label();
@ -158,8 +160,6 @@ namespace VEPROMS
this.cmbRoDb = new System.Windows.Forms.ComboBox(); this.cmbRoDb = new System.Windows.Forms.ComboBox();
this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel(); this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components); this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.panVerBtns = new System.Windows.Forms.Panel(); this.panVerBtns = new System.Windows.Forms.Panel();
this.btnApplicability = new DevComponents.DotNetBar.ButtonX(); this.btnApplicability = new DevComponents.DotNetBar.ButtonX();
this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); this.btnLibDocs = new DevComponents.DotNetBar.ButtonX();
@ -180,6 +180,7 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.SuspendLayout(); this.ppGpbxUserSpecTxt.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit();
this.tcVersions.SuspendLayout(); this.tcVersions.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpFormatSettings.SuspendLayout(); this.tcpFormatSettings.SuspendLayout();
this.tcpApplicability.SuspendLayout(); this.tcpApplicability.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsMiniApple)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsMiniApple)).BeginInit();
@ -193,7 +194,6 @@ namespace VEPROMS
this.ppGrpbxPrnAdj.SuspendLayout(); this.ppGrpbxPrnAdj.SuspendLayout();
this.tcpRefereceObjects.SuspendLayout(); this.tcpRefereceObjects.SuspendLayout();
this.ppGpbxUpROvals.SuspendLayout(); this.ppGpbxUpROvals.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.panVerBtns.SuspendLayout(); this.panVerBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
@ -203,7 +203,7 @@ namespace VEPROMS
// //
this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.ppBtnCancel.Location = new System.Drawing.Point(589, 347); this.ppBtnCancel.Location = new System.Drawing.Point(589, 344);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2); this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); this.ppBtnCancel.Size = new System.Drawing.Size(56, 21);
@ -215,7 +215,7 @@ namespace VEPROMS
// ppBtnOK // ppBtnOK
// //
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnOK.Location = new System.Drawing.Point(517, 347); this.ppBtnOK.Location = new System.Drawing.Point(517, 344);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2); this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(56, 21); this.ppBtnOK.Size = new System.Drawing.Size(56, 21);
@ -967,7 +967,7 @@ namespace VEPROMS
// //
// //
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(17, 396); this.ppCbShwDefSettings.Location = new System.Drawing.Point(17, 411);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2); this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(154, 20); this.ppCbShwDefSettings.Size = new System.Drawing.Size(154, 20);
@ -1096,7 +1096,6 @@ namespace VEPROMS
// //
// ppTxbxUnitNum // ppTxbxUnitNum
// //
this.ppTxbxUnitNum.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_UnitNumberForPageList", true));
this.ppTxbxUnitNum.Location = new System.Drawing.Point(256, 275); this.ppTxbxUnitNum.Location = new System.Drawing.Point(256, 275);
this.ppTxbxUnitNum.Margin = new System.Windows.Forms.Padding(2); this.ppTxbxUnitNum.Margin = new System.Windows.Forms.Padding(2);
this.ppTxbxUnitNum.Multiline = false; this.ppTxbxUnitNum.Multiline = false;
@ -1111,7 +1110,7 @@ namespace VEPROMS
this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ppLblDefSettingsInfo.AutoSize = true; this.ppLblDefSettingsInfo.AutoSize = true;
this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(11, 377); this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(11, 392);
this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13); this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13);
@ -1151,6 +1150,42 @@ namespace VEPROMS
this.tcVersions.TabsVisible = false; this.tcVersions.TabsVisible = false;
this.tcVersions.Text = "tabControl1"; this.tcVersions.Text = "tabControl1";
// //
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label9);
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Controls.Add(this.label1);
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(488, 315);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpFormatSettings // tcpFormatSettings
// //
this.tcpFormatSettings.Controls.Add(this.btnPhoneList); this.tcpFormatSettings.Controls.Add(this.btnPhoneList);
@ -1880,42 +1915,6 @@ namespace VEPROMS
this.tiRefObjs.Name = "tiRefObjs"; this.tiRefObjs.Name = "tiRefObjs";
this.tiRefObjs.Text = "Referenced Objects"; this.tiRefObjs.Text = "Referenced Objects";
// //
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label9);
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Controls.Add(this.label1);
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(488, 315);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// panVerBtns // panVerBtns
// //
this.panVerBtns.BackColor = System.Drawing.Color.Transparent; this.panVerBtns.BackColor = System.Drawing.Color.Transparent;
@ -2020,7 +2019,7 @@ namespace VEPROMS
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.CancelButton = this.ppBtnCancel; this.CancelButton = this.ppBtnCancel;
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ClientSize = new System.Drawing.Size(672, 369); this.ClientSize = new System.Drawing.Size(656, 368);
this.ControlBox = false; this.ControlBox = false;
this.Controls.Add(this.panVerBtns); this.Controls.Add(this.panVerBtns);
this.Controls.Add(this.tcVersions); this.Controls.Add(this.tcVersions);
@ -2050,6 +2049,8 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.PerformLayout(); this.ppGpbxUserSpecTxt.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit();
this.tcVersions.ResumeLayout(false); this.tcVersions.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpFormatSettings.ResumeLayout(false); this.tcpFormatSettings.ResumeLayout(false);
this.tcpFormatSettings.PerformLayout(); this.tcpFormatSettings.PerformLayout();
this.tcpApplicability.ResumeLayout(false); this.tcpApplicability.ResumeLayout(false);
@ -2068,8 +2069,6 @@ namespace VEPROMS
this.tcpRefereceObjects.ResumeLayout(false); this.tcpRefereceObjects.ResumeLayout(false);
this.tcpRefereceObjects.PerformLayout(); this.tcpRefereceObjects.PerformLayout();
this.ppGpbxUpROvals.ResumeLayout(false); this.ppGpbxUpROvals.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.panVerBtns.ResumeLayout(false); this.panVerBtns.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();