C2017-004 when defaulting to the default format, position format dropdown to the default format
This commit is contained in:
parent
75b71ce40e
commit
41a135864f
@ -157,6 +157,10 @@ namespace VEPROMS
|
||||
this.btnRefObjs = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
|
||||
this.tcFolder = new DevComponents.DotNetBar.TabControl();
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpFmtSettings = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.btnAnnoTypeApply = new DevComponents.DotNetBar.ButtonX();
|
||||
this.txbxRemoveMsg = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
@ -167,10 +171,6 @@ namespace VEPROMS
|
||||
this.tbxAnnotationDescription = new System.Windows.Forms.TextBox();
|
||||
this.lbAnnotationTypes = new System.Windows.Forms.ListBox();
|
||||
this.tiAnnoTypes = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpFmtSettings = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpRefObjs = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiRefObj = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpEdSettings = new DevComponents.DotNetBar.TabControlPanel();
|
||||
@ -207,9 +207,9 @@ namespace VEPROMS
|
||||
this.panButtons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcFolder)).BeginInit();
|
||||
this.tcFolder.SuspendLayout();
|
||||
this.tabControlPanel1.SuspendLayout();
|
||||
this.tcpGeneral.SuspendLayout();
|
||||
this.tcpFmtSettings.SuspendLayout();
|
||||
this.tabControlPanel1.SuspendLayout();
|
||||
this.tcpRefObjs.SuspendLayout();
|
||||
this.tcpEdSettings.SuspendLayout();
|
||||
this.tcpStMsg.SuspendLayout();
|
||||
@ -223,7 +223,7 @@ namespace VEPROMS
|
||||
// ppBtnOK
|
||||
//
|
||||
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ppBtnOK.Location = new System.Drawing.Point(530, 274);
|
||||
this.ppBtnOK.Location = new System.Drawing.Point(525, 268);
|
||||
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnOK.Name = "ppBtnOK";
|
||||
this.ppBtnOK.Size = new System.Drawing.Size(56, 25);
|
||||
@ -236,7 +236,7 @@ namespace VEPROMS
|
||||
//
|
||||
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.Location = new System.Drawing.Point(601, 274);
|
||||
this.ppBtnCancel.Location = new System.Drawing.Point(596, 268);
|
||||
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnCancel.Name = "ppBtnCancel";
|
||||
this.ppBtnCancel.Size = new System.Drawing.Size(56, 25);
|
||||
@ -765,7 +765,9 @@ namespace VEPROMS
|
||||
this.ppCmbxFormat.TabIndex = 50;
|
||||
this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ppCmbxFormat.WatermarkText = "Select a Format";
|
||||
this.ppCmbxFormat.SelectedValueChanged += new System.EventHandler(this.ppCmbxFormat_SelectedValueChanged);
|
||||
this.ppCmbxFormat.DropDown += new System.EventHandler(this.ppCmbxFormat_DropDown);
|
||||
this.ppCmbxFormat.SelectedIndexChanged += new System.EventHandler(this.ppCmbxFormat_SelectedIndexChanged);
|
||||
this.ppCmbxFormat.DropDownClosed += new System.EventHandler(this.ppCmbxFormat_DropDownClosed);
|
||||
//
|
||||
// ppLblChangeBarTypeDefault
|
||||
//
|
||||
@ -1483,7 +1485,7 @@ namespace VEPROMS
|
||||
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.ForeColor = System.Drawing.Color.MidnightBlue;
|
||||
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(1, 339);
|
||||
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(1, 348);
|
||||
this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
|
||||
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(179, 13);
|
||||
@ -1503,7 +1505,7 @@ namespace VEPROMS
|
||||
//
|
||||
//
|
||||
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppCbShwDefSettings.Location = new System.Drawing.Point(3, 354);
|
||||
this.ppCbShwDefSettings.Location = new System.Drawing.Point(3, 363);
|
||||
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
|
||||
this.ppCbShwDefSettings.Size = new System.Drawing.Size(177, 19);
|
||||
@ -1910,15 +1912,15 @@ namespace VEPROMS
|
||||
this.tcFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tcFolder.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tcFolder.CanReorderTabs = true;
|
||||
this.tcFolder.Controls.Add(this.tcpFmtSettings);
|
||||
this.tcFolder.Controls.Add(this.tcpGeneral);
|
||||
this.tcFolder.Controls.Add(this.tabControlPanel1);
|
||||
this.tcFolder.Controls.Add(this.tcpFmtSettings);
|
||||
this.tcFolder.Controls.Add(this.tcpRefObjs);
|
||||
this.tcFolder.Controls.Add(this.tcpEdSettings);
|
||||
this.tcFolder.Controls.Add(this.tcpStMsg);
|
||||
this.tcFolder.Controls.Add(this.tcpOutputSettings);
|
||||
this.tcFolder.Controls.Add(this.tabControlPanel2);
|
||||
this.tcFolder.Location = new System.Drawing.Point(147, 6);
|
||||
this.tcFolder.Location = new System.Drawing.Point(142, 6);
|
||||
this.tcFolder.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcFolder.Name = "tcFolder";
|
||||
this.tcFolder.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
|
||||
@ -1938,6 +1940,76 @@ namespace VEPROMS
|
||||
this.tcFolder.TabsVisible = false;
|
||||
this.tcFolder.Text = "tabControl2";
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
|
||||
this.tcpGeneral.Controls.Add(this.ppDTPicker);
|
||||
this.tcpGeneral.Controls.Add(this.label3);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtHeading);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtName);
|
||||
this.tcpGeneral.Controls.Add(this.label4);
|
||||
this.tcpGeneral.Controls.Add(this.lblHeading);
|
||||
this.tcpGeneral.Controls.Add(this.label2);
|
||||
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(510, 236);
|
||||
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";
|
||||
//
|
||||
// tcpFmtSettings
|
||||
//
|
||||
this.tcpFmtSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.tcpFmtSettings.Controls.Add(this.ppGpbxUserSpecCB);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppBtnDefaultChgBar);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppCmbxChangeBarType);
|
||||
this.tcpFmtSettings.Controls.Add(this.label23);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppBtnDefaultFmt);
|
||||
this.tcpFmtSettings.Controls.Add(this.label30);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppCmbxFormat);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppLblChangeBarTypeDefault);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppLblFormatDefault);
|
||||
this.tcpFmtSettings.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpFmtSettings.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpFmtSettings.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpFmtSettings.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpFmtSettings.Name = "tcpFmtSettings";
|
||||
this.tcpFmtSettings.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpFmtSettings.Size = new System.Drawing.Size(510, 236);
|
||||
this.tcpFmtSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpFmtSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpFmtSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpFmtSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpFmtSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpFmtSettings.Style.GradientAngle = 90;
|
||||
this.tcpFmtSettings.TabIndex = 5;
|
||||
this.tcpFmtSettings.TabItem = this.tiFmtSettings;
|
||||
this.tcpFmtSettings.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// tiFmtSettings
|
||||
//
|
||||
this.tiFmtSettings.AttachedControl = this.tcpFmtSettings;
|
||||
this.tiFmtSettings.Name = "tiFmtSettings";
|
||||
this.tiFmtSettings.Text = "Format Settings";
|
||||
//
|
||||
// tabControlPanel1
|
||||
//
|
||||
this.tabControlPanel1.Controls.Add(this.txbPrntLoc);
|
||||
@ -2082,76 +2154,6 @@ namespace VEPROMS
|
||||
this.tiAnnoTypes.Text = "AnnotationTypes";
|
||||
this.tiAnnoTypes.Click += new System.EventHandler(this.tiAnnoTypes_Click);
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
|
||||
this.tcpGeneral.Controls.Add(this.ppDTPicker);
|
||||
this.tcpGeneral.Controls.Add(this.label3);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtHeading);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtName);
|
||||
this.tcpGeneral.Controls.Add(this.label4);
|
||||
this.tcpGeneral.Controls.Add(this.lblHeading);
|
||||
this.tcpGeneral.Controls.Add(this.label2);
|
||||
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(510, 236);
|
||||
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";
|
||||
//
|
||||
// tcpFmtSettings
|
||||
//
|
||||
this.tcpFmtSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.tcpFmtSettings.Controls.Add(this.ppGpbxUserSpecCB);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppBtnDefaultChgBar);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppCmbxChangeBarType);
|
||||
this.tcpFmtSettings.Controls.Add(this.label23);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppBtnDefaultFmt);
|
||||
this.tcpFmtSettings.Controls.Add(this.label30);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppCmbxFormat);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppLblChangeBarTypeDefault);
|
||||
this.tcpFmtSettings.Controls.Add(this.ppLblFormatDefault);
|
||||
this.tcpFmtSettings.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpFmtSettings.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpFmtSettings.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpFmtSettings.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpFmtSettings.Name = "tcpFmtSettings";
|
||||
this.tcpFmtSettings.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpFmtSettings.Size = new System.Drawing.Size(510, 236);
|
||||
this.tcpFmtSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpFmtSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpFmtSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpFmtSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpFmtSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpFmtSettings.Style.GradientAngle = 90;
|
||||
this.tcpFmtSettings.TabIndex = 5;
|
||||
this.tcpFmtSettings.TabItem = this.tiFmtSettings;
|
||||
this.tcpFmtSettings.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// tiFmtSettings
|
||||
//
|
||||
this.tiFmtSettings.AttachedControl = this.tcpFmtSettings;
|
||||
this.tiFmtSettings.Name = "tiFmtSettings";
|
||||
this.tiFmtSettings.Text = "Format Settings";
|
||||
//
|
||||
// tcpRefObjs
|
||||
//
|
||||
this.tcpRefObjs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
@ -2452,7 +2454,7 @@ namespace VEPROMS
|
||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
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.ClientSize = new System.Drawing.Size(668, 302);
|
||||
this.ClientSize = new System.Drawing.Size(663, 299);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.tcFolder);
|
||||
this.Controls.Add(this.panButtons);
|
||||
@ -2496,12 +2498,12 @@ namespace VEPROMS
|
||||
this.panButtons.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcFolder)).EndInit();
|
||||
this.tcFolder.ResumeLayout(false);
|
||||
this.tabControlPanel1.ResumeLayout(false);
|
||||
this.tabControlPanel1.PerformLayout();
|
||||
this.tcpGeneral.ResumeLayout(false);
|
||||
this.tcpGeneral.PerformLayout();
|
||||
this.tcpFmtSettings.ResumeLayout(false);
|
||||
this.tcpFmtSettings.PerformLayout();
|
||||
this.tabControlPanel1.ResumeLayout(false);
|
||||
this.tabControlPanel1.PerformLayout();
|
||||
this.tcpRefObjs.ResumeLayout(false);
|
||||
this.tcpRefObjs.PerformLayout();
|
||||
this.tcpEdSettings.ResumeLayout(false);
|
||||
|
@ -668,18 +668,21 @@ namespace VEPROMS
|
||||
private void btnFormatSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ProcessButtonClick(tiFmtSettings, btnFormatSettings);
|
||||
// added for code change C2017-004 - select default format in dropdown list
|
||||
if (_InitialIndex < -1) _InitialIndex = ppCmbxFormat.SelectedIndex; // save the current format selection (happens here when current section is set to the default format)
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Selection in Format combo box changed.
|
||||
/// </summary>
|
||||
/// <param name="sender">object</param>
|
||||
/// <param name="e">EventArgs</param>
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_Initializing)
|
||||
ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
|
||||
}
|
||||
// commented out as part of code change C2017-004. this also makes it consistent with section properties
|
||||
///// <summary>
|
||||
///// Selection in Format combo box changed.
|
||||
///// </summary>
|
||||
///// <param name="sender">object</param>
|
||||
///// <param name="e">EventArgs</param>
|
||||
//private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_Initializing)
|
||||
// ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
|
||||
//}
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -1690,7 +1693,46 @@ namespace VEPROMS
|
||||
RefreshAnnotationTypeList();
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDown(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
// C2017-004 - if using the default format, position the dropdown to the default format
|
||||
if (ppCmbxFormat.SelectedIndex == -1)
|
||||
ppCmbxFormat.SelectedValue = _DefaultFormatName;
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
// upon exit of the dropdown if the default format is selected - click the Default button
|
||||
if ((string)(ppCmbxFormat.SelectedValue) == _DefaultFormatName)
|
||||
{
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
btnFormatSettings.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
// added as part of code change C2017-004. this also makes it consistent with section properties
|
||||
int _InitialIndex = -2;
|
||||
private void ppCmbxFormat_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (_Initializing)
|
||||
{
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
return;
|
||||
}
|
||||
if (_InitialIndex < -1) _InitialIndex = ppCmbxFormat.SelectedIndex; // save the current format selection (happens here when current section format is not the default section)
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName != null && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
}
|
||||
public partial class LocalStageInfo
|
||||
{
|
||||
|
@ -131,6 +131,9 @@ Check "Show Default Settings" to display the "default" graphic file extension se
|
||||
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>665, 17</value>
|
||||
</metadata>
|
||||
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>665, 17</value>
|
||||
</metadata>
|
||||
<data name="ppBtnDeftDisAutoDuplx.SuperTooltip" xml:space="preserve">
|
||||
<value>This will revert the Disable Automatic Duplexing selection back to using the parent's (default) setting.
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -273,6 +273,8 @@ namespace VEPROMS
|
||||
private void btnFmtStngs_Click(object sender, EventArgs e)
|
||||
{
|
||||
ProcessButtonClick(tiFmtStngs, btnFmtStngs);
|
||||
// added for code change C2017-004 - select default format in dropdown list
|
||||
if (_InitialIndex < -1) _InitialIndex = ppCmbxFormat.SelectedIndex; // save the current format selection (happens here when current section is set to the default format)
|
||||
}
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
@ -281,15 +283,16 @@ namespace VEPROMS
|
||||
//tcpFormatSettings.Focus();
|
||||
}
|
||||
|
||||
// Commented out as part of code change C2017-004. this also makes it consistent with section properties
|
||||
/// <summary>
|
||||
/// Selection in Format combo box changed.
|
||||
/// </summary>
|
||||
/// <param name="sender">object</param>
|
||||
/// <param name="e">EventArgs</param>
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
|
||||
}
|
||||
//private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// Enable or disable the user specified change bar options base on the type
|
||||
@ -629,24 +632,25 @@ namespace VEPROMS
|
||||
button.Visible = (cmbx.SelectedValue != null);
|
||||
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
|
||||
}
|
||||
/// <summary>
|
||||
/// Process a change in the combo box selection
|
||||
/// </summary>
|
||||
/// <param name="cmbx">Combo Box Name</param>
|
||||
/// <param name="defstr">string containing default text</param>
|
||||
/// <param name="button">button to reset to default value</param>
|
||||
/// <param name="deflabel">label containing the default</param>
|
||||
private void ProcessCmbxSelectedValueChange(ComboBoxEx cmbx, string defstr, ButtonX button, Label deflabel)
|
||||
{
|
||||
if ((cmbx.SelectedIndex != -1) && defstr != null && defstr.Equals(cmbx.SelectedValue))
|
||||
{
|
||||
button.Visible = true;
|
||||
button.Focus();
|
||||
button.PerformClick();
|
||||
}
|
||||
button.Visible = cmbx.SelectedValue != null;
|
||||
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
|
||||
}
|
||||
// Commented out as part of code change C2017-004 - select default format on dropdown
|
||||
///// <summary>
|
||||
///// Process a change in the combo box selection
|
||||
///// </summary>
|
||||
///// <param name="cmbx">Combo Box Name</param>
|
||||
///// <param name="defstr">string containing default text</param>
|
||||
///// <param name="button">button to reset to default value</param>
|
||||
///// <param name="deflabel">label containing the default</param>
|
||||
//private void ProcessCmbxSelectedValueChange(ComboBoxEx cmbx, string defstr, ButtonX button, Label deflabel)
|
||||
//{
|
||||
// if ((cmbx.SelectedIndex != -1) && defstr != null && defstr.Equals(cmbx.SelectedValue))
|
||||
// {
|
||||
// button.Visible = true;
|
||||
// button.Focus();
|
||||
// button.PerformClick();
|
||||
// }
|
||||
// button.Visible = cmbx.SelectedValue != null;
|
||||
// deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
|
||||
//}
|
||||
#endregion
|
||||
|
||||
private void ppProcTitleStpRTB_Enter(object sender, EventArgs e)
|
||||
@ -747,5 +751,47 @@ namespace VEPROMS
|
||||
ppProcNumStpRTB.Focus();
|
||||
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDown(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
// C2017-004 - if using the default format, position the dropdown to the default format
|
||||
if (ppCmbxFormat.SelectedIndex == -1)
|
||||
ppCmbxFormat.SelectedValue = _DefaultFormatName;
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
// upon exit of the dropdown if the default format is selected - click the Default button
|
||||
if ((string)(ppCmbxFormat.SelectedValue) == _DefaultFormatName)
|
||||
{
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
btnFmtStngs.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
// added as part of code change C2017-004. this also makes it consistent with section properties
|
||||
int _InitialIndex = -2;
|
||||
private void ppCmbxFormat_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (_Initializing)
|
||||
{
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
return;
|
||||
}
|
||||
if (_InitialIndex < -1) _InitialIndex = ppCmbxFormat.SelectedIndex; // save the current format selection (happens here when current section format is not the default section)
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName != null && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -61,7 +61,6 @@ namespace VEPROMS
|
||||
this.ppBtnCancel = new System.Windows.Forms.Button();
|
||||
this.ppBtnOK = new System.Windows.Forms.Button();
|
||||
this.ppLblDefSettingsInfo = new System.Windows.Forms.Label();
|
||||
this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
@ -80,12 +79,28 @@ namespace VEPROMS
|
||||
this.ppCbDefaultStepSection = new System.Windows.Forms.CheckBox();
|
||||
this.txbxTOC_Group_Title = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.ppBtnConvertToDocX = new DevComponents.DotNetBar.ButtonX();
|
||||
this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.panSectBtns = new System.Windows.Forms.Panel();
|
||||
this.btnAutomation = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnLibDocs = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnFormat = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
|
||||
this.tcSectionProp = new DevComponents.DotNetBar.TabControl();
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppCbAutoIndent = new System.Windows.Forms.CheckBox();
|
||||
this.ppCbEditableData = new System.Windows.Forms.CheckBox();
|
||||
this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox();
|
||||
this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||||
this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox();
|
||||
this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.gpTOC = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
@ -97,35 +112,19 @@ namespace VEPROMS
|
||||
this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox();
|
||||
this.ppCbIncTOC = new System.Windows.Forms.CheckBox();
|
||||
this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppCbAutoIndent = new System.Windows.Forms.CheckBox();
|
||||
this.ppCbEditableData = new System.Windows.Forms.CheckBox();
|
||||
this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox();
|
||||
this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||||
this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox();
|
||||
this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit();
|
||||
this.panSectBtns.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit();
|
||||
this.tcSectionProp.SuspendLayout();
|
||||
this.tcpGeneral.SuspendLayout();
|
||||
this.tcpFormat.SuspendLayout();
|
||||
this.ppGpbxSignoffCheckoff.SuspendLayout();
|
||||
this.tcpLibDoc.SuspendLayout();
|
||||
this.tcpAutomation.SuspendLayout();
|
||||
this.gpTOC.SuspendLayout();
|
||||
this.grpLnkEnh.SuspendLayout();
|
||||
this.tcpGeneral.SuspendLayout();
|
||||
this.tcpLibDoc.SuspendLayout();
|
||||
this.tcpFormat.SuspendLayout();
|
||||
this.ppGpbxSignoffCheckoff.SuspendLayout();
|
||||
this.tabControlPanel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@ -229,7 +228,7 @@ namespace VEPROMS
|
||||
this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(84, 89);
|
||||
this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType";
|
||||
this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(383, 22);
|
||||
this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(427, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.ppCmbxStyleSectionType, new DevComponents.DotNetBar.SuperTooltipInfo("Section Type", "", "This is a list of the possible section types as they are defined in the selected " +
|
||||
"format.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
|
||||
this.ppCmbxStyleSectionType.TabIndex = 24;
|
||||
@ -241,7 +240,7 @@ namespace VEPROMS
|
||||
//
|
||||
this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.ppBtnDefaultFmt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ppBtnDefaultFmt.Location = new System.Drawing.Point(471, 18);
|
||||
this.ppBtnDefaultFmt.Location = new System.Drawing.Point(515, 18);
|
||||
this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt";
|
||||
this.ppBtnDefaultFmt.Size = new System.Drawing.Size(48, 21);
|
||||
@ -265,12 +264,14 @@ namespace VEPROMS
|
||||
this.ppCmbxFormat.Location = new System.Drawing.Point(10, 18);
|
||||
this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCmbxFormat.Name = "ppCmbxFormat";
|
||||
this.ppCmbxFormat.Size = new System.Drawing.Size(457, 22);
|
||||
this.ppCmbxFormat.Size = new System.Drawing.Size(501, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System));
|
||||
this.ppCmbxFormat.TabIndex = 20;
|
||||
this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ppCmbxFormat.WatermarkText = "select a format";
|
||||
this.ppCmbxFormat.DropDown += new System.EventHandler(this.ppCmbxFormat_DropDown);
|
||||
this.ppCmbxFormat.SelectedIndexChanged += new System.EventHandler(this.ppCmbxFormat_SelectedIndexChanged);
|
||||
this.ppCmbxFormat.DropDownClosed += new System.EventHandler(this.ppCmbxFormat_DropDownClosed);
|
||||
//
|
||||
// sectionConfigBindingSource
|
||||
//
|
||||
@ -416,7 +417,7 @@ namespace VEPROMS
|
||||
this.ppCmbxLibDoc.Location = new System.Drawing.Point(18, 24);
|
||||
this.ppCmbxLibDoc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCmbxLibDoc.Name = "ppCmbxLibDoc";
|
||||
this.ppCmbxLibDoc.Size = new System.Drawing.Size(428, 22);
|
||||
this.ppCmbxLibDoc.Size = new System.Drawing.Size(479, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.ppCmbxLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Link to Selected Library Document button", "", "This allows you to select a library document to reference for this section.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 76)));
|
||||
this.ppCmbxLibDoc.TabIndex = 40;
|
||||
this.ppCmbxLibDoc.WatermarkText = "no library document selected";
|
||||
@ -502,7 +503,7 @@ namespace VEPROMS
|
||||
//
|
||||
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.Location = new System.Drawing.Point(617, 379);
|
||||
this.ppBtnCancel.Location = new System.Drawing.Point(671, 388);
|
||||
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnCancel.Name = "ppBtnCancel";
|
||||
this.ppBtnCancel.Size = new System.Drawing.Size(56, 21);
|
||||
@ -514,7 +515,7 @@ namespace VEPROMS
|
||||
// ppBtnOK
|
||||
//
|
||||
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ppBtnOK.Location = new System.Drawing.Point(556, 379);
|
||||
this.ppBtnOK.Location = new System.Drawing.Point(610, 388);
|
||||
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnOK.Name = "ppBtnOK";
|
||||
this.ppBtnOK.Size = new System.Drawing.Size(56, 21);
|
||||
@ -528,30 +529,13 @@ namespace VEPROMS
|
||||
this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
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.Location = new System.Drawing.Point(7, 362);
|
||||
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(7, 368);
|
||||
this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
|
||||
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13);
|
||||
this.ppLblDefSettingsInfo.TabIndex = 25;
|
||||
this.ppLblDefSettingsInfo.Text = "* Default values shown in italics";
|
||||
//
|
||||
// ppCbShwDefSettings
|
||||
//
|
||||
this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 437);
|
||||
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
|
||||
this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.ppCbShwDefSettings, new DevComponents.DotNetBar.SuperTooltipInfo("Show Default Settings", "", "When checked, the default (parent\'s) setting will appear below the overridden sel" +
|
||||
"ection.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
|
||||
this.ppCbShwDefSettings.TabIndex = 92;
|
||||
this.ppCbShwDefSettings.Text = "Show Default Settings";
|
||||
this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
@ -752,12 +736,12 @@ namespace VEPROMS
|
||||
"all will be grouped under this title.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.txbxTOC_Group_Title.TabIndex = 54;
|
||||
//
|
||||
// btnConvertToDocX
|
||||
// ppBtnConvertToDocX
|
||||
//
|
||||
this.ppBtnConvertToDocX.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.ppBtnConvertToDocX.Location = new System.Drawing.Point(17, 271);
|
||||
this.ppBtnConvertToDocX.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnConvertToDocX.Name = "btnConvertToDocX";
|
||||
this.ppBtnConvertToDocX.Name = "ppBtnConvertToDocX";
|
||||
this.ppBtnConvertToDocX.Size = new System.Drawing.Size(209, 36);
|
||||
this.superTooltip1.SetSuperTooltip(this.ppBtnConvertToDocX, new DevComponents.DotNetBar.SuperTooltipInfo("Convert MSWord DocX Format", "",
|
||||
"This button will convert the current section to MSWord DocX Format which should save space in the database.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 76)));
|
||||
@ -765,6 +749,23 @@ namespace VEPROMS
|
||||
this.ppBtnConvertToDocX.Text = "Convert to DocX";
|
||||
this.ppBtnConvertToDocX.Click += new System.EventHandler(this.ppBtnConvertToDocX_Click);
|
||||
//
|
||||
// ppCbShwDefSettings
|
||||
//
|
||||
this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppCbShwDefSettings.Location = new System.Drawing.Point(10, 388);
|
||||
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
|
||||
this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 22);
|
||||
this.superTooltip1.SetSuperTooltip(this.ppCbShwDefSettings, new DevComponents.DotNetBar.SuperTooltipInfo("Show Default Settings", "", "When checked, the default (parent\'s) setting will appear below the overridden sel" +
|
||||
"ection.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
|
||||
this.ppCbShwDefSettings.TabIndex = 92;
|
||||
this.ppCbShwDefSettings.Text = "Show Default Settings";
|
||||
this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// panSectBtns
|
||||
//
|
||||
this.panSectBtns.BackColor = System.Drawing.Color.Transparent;
|
||||
@ -835,17 +836,17 @@ namespace VEPROMS
|
||||
this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tcSectionProp.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tcSectionProp.CanReorderTabs = true;
|
||||
this.tcSectionProp.Controls.Add(this.tcpAutomation);
|
||||
this.tcSectionProp.Controls.Add(this.tcpGeneral);
|
||||
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
|
||||
this.tcSectionProp.Controls.Add(this.tcpFormat);
|
||||
this.tcSectionProp.Controls.Add(this.tcpGeneral);
|
||||
this.tcSectionProp.Controls.Add(this.tcpAutomation);
|
||||
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
|
||||
this.tcSectionProp.Controls.Add(this.tabControlPanel4);
|
||||
this.tcSectionProp.Location = new System.Drawing.Point(158, 8);
|
||||
this.tcSectionProp.Location = new System.Drawing.Point(162, 8);
|
||||
this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcSectionProp.Name = "tcSectionProp";
|
||||
this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
|
||||
this.tcSectionProp.SelectedTabIndex = 0;
|
||||
this.tcSectionProp.Size = new System.Drawing.Size(521, 340);
|
||||
this.tcSectionProp.Size = new System.Drawing.Size(565, 340);
|
||||
this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock;
|
||||
this.tcSectionProp.TabIndex = 29;
|
||||
this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
|
||||
@ -856,6 +857,332 @@ namespace VEPROMS
|
||||
this.tcSectionProp.TabsVisible = false;
|
||||
this.tcSectionProp.Text = "tabControl2";
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.Controls.Add(this.ppCbAutoIndent);
|
||||
this.tcpGeneral.Controls.Add(this.ppCbEditableData);
|
||||
this.tcpGeneral.Controls.Add(this.ppCbPrnSecNumTitle);
|
||||
this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB);
|
||||
this.tcpGeneral.Controls.Add(this.ppSectTitleStpRTB);
|
||||
this.tcpGeneral.Controls.Add(this.ppDtTmLastMod);
|
||||
this.tcpGeneral.Controls.Add(this.lblSectNumber);
|
||||
this.tcpGeneral.Controls.Add(this.lblSectTitle);
|
||||
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
|
||||
this.tcpGeneral.Controls.Add(this.lblUserID);
|
||||
this.tcpGeneral.Controls.Add(this.lblLastModDate);
|
||||
this.tcpGeneral.Controls.Add(this.ppBtnConvertToDocX);
|
||||
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(565, 318);
|
||||
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;
|
||||
//
|
||||
// ppCbAutoIndent
|
||||
//
|
||||
this.ppCbAutoIndent.AutoSize = true;
|
||||
this.ppCbAutoIndent.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbAutoIndent.Location = new System.Drawing.Point(268, 180);
|
||||
this.ppCbAutoIndent.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbAutoIndent.Name = "ppCbAutoIndent";
|
||||
this.ppCbAutoIndent.Size = new System.Drawing.Size(106, 17);
|
||||
this.ppCbAutoIndent.TabIndex = 56;
|
||||
this.ppCbAutoIndent.Text = "Automatic Indent";
|
||||
this.ppCbAutoIndent.UseVisualStyleBackColor = false;
|
||||
this.ppCbAutoIndent.CheckedChanged += new System.EventHandler(this.ppCbAutoIndent_CheckedChanged);
|
||||
//
|
||||
// ppCbEditableData
|
||||
//
|
||||
this.ppCbEditableData.AutoSize = true;
|
||||
this.ppCbEditableData.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbEditableData.Location = new System.Drawing.Point(268, 152);
|
||||
this.ppCbEditableData.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbEditableData.Name = "ppCbEditableData";
|
||||
this.ppCbEditableData.Size = new System.Drawing.Size(90, 17);
|
||||
this.ppCbEditableData.TabIndex = 55;
|
||||
this.ppCbEditableData.Text = "Editable Data";
|
||||
this.ppCbEditableData.UseVisualStyleBackColor = false;
|
||||
this.ppCbEditableData.CheckedChanged += new System.EventHandler(this.ppCbEditableData_CheckedChanged);
|
||||
//
|
||||
// ppCbPrnSecNumTitle
|
||||
//
|
||||
this.ppCbPrnSecNumTitle.AutoSize = true;
|
||||
this.ppCbPrnSecNumTitle.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbPrnSecNumTitle.Location = new System.Drawing.Point(268, 121);
|
||||
this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle";
|
||||
this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(170, 17);
|
||||
this.ppCbPrnSecNumTitle.TabIndex = 54;
|
||||
this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title";
|
||||
this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false;
|
||||
this.ppCbPrnSecNumTitle.CheckedChanged += new System.EventHandler(this.ppCbPrnSecNumTitle_CheckedChanged);
|
||||
//
|
||||
// ppSectNumberStpRTB
|
||||
//
|
||||
this.ppSectNumberStpRTB.ActiveMode = false;
|
||||
this.ppSectNumberStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
|
||||
this.ppSectNumberStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.ppSectNumberStpRTB.CheckAbove = "|?????????";
|
||||
this.ppSectNumberStpRTB.CheckBelow = "|?";
|
||||
this.ppSectNumberStpRTB.CheckLeft = "-?????????";
|
||||
this.ppSectNumberStpRTB.CheckRight = "-??";
|
||||
this.ppSectNumberStpRTB.Closed = false;
|
||||
this.ppSectNumberStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 12, 159, 16);
|
||||
this.ppSectNumberStpRTB.DetectUrls = false;
|
||||
this.ppSectNumberStpRTB.EditMode = true;
|
||||
this.ppSectNumberStpRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
|
||||
this.ppSectNumberStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
|
||||
this.ppSectNumberStpRTB.ImageWidth = 0;
|
||||
this.ppSectNumberStpRTB.IsExperimenting = false;
|
||||
this.ppSectNumberStpRTB.LastRtf = "";
|
||||
this.ppSectNumberStpRTB.Location = new System.Drawing.Point(64, 10);
|
||||
this.ppSectNumberStpRTB.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppSectNumberStpRTB.MinimumSize = new System.Drawing.Size(119, 15);
|
||||
this.ppSectNumberStpRTB.MyClassName = "RichEdit20W";
|
||||
this.ppSectNumberStpRTB.MyItemInfo = null;
|
||||
this.ppSectNumberStpRTB.MyLinkText = null;
|
||||
this.ppSectNumberStpRTB.Name = "ppSectNumberStpRTB";
|
||||
this.ppSectNumberStpRTB.OrigDisplayText = null;
|
||||
this.ppSectNumberStpRTB.OrigRTF = null;
|
||||
this.ppSectNumberStpRTB.ProcessKeystrokes = true;
|
||||
this.ppSectNumberStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
|
||||
this.ppSectNumberStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||||
this.ppSectNumberStpRTB.ShowDebug = false;
|
||||
this.ppSectNumberStpRTB.Size = new System.Drawing.Size(406, 15);
|
||||
this.ppSectNumberStpRTB.TabIndex = 10;
|
||||
this.ppSectNumberStpRTB.Text = "";
|
||||
this.ppSectNumberStpRTB.ThisContextMenuStrip = null;
|
||||
this.ppSectNumberStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
|
||||
this.ppSectNumberStpRTB.Enter += new System.EventHandler(this.ppSectNumberStpRTB_Enter);
|
||||
//
|
||||
// ppSectTitleStpRTB
|
||||
//
|
||||
this.ppSectTitleStpRTB.ActiveMode = false;
|
||||
this.ppSectTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
|
||||
this.ppSectTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.ppSectTitleStpRTB.CheckAbove = "|?????????";
|
||||
this.ppSectTitleStpRTB.CheckBelow = "|?";
|
||||
this.ppSectTitleStpRTB.CheckLeft = "-?????????";
|
||||
this.ppSectTitleStpRTB.CheckRight = "-??";
|
||||
this.ppSectTitleStpRTB.Closed = false;
|
||||
this.ppSectTitleStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 60, 541, 16);
|
||||
this.ppSectTitleStpRTB.DetectUrls = false;
|
||||
this.ppSectTitleStpRTB.EditMode = true;
|
||||
this.ppSectTitleStpRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
|
||||
this.ppSectTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
|
||||
this.ppSectTitleStpRTB.ImageWidth = 0;
|
||||
this.ppSectTitleStpRTB.IsExperimenting = false;
|
||||
this.ppSectTitleStpRTB.LastRtf = "";
|
||||
this.ppSectTitleStpRTB.Location = new System.Drawing.Point(64, 49);
|
||||
this.ppSectTitleStpRTB.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppSectTitleStpRTB.MinimumSize = new System.Drawing.Size(406, 50);
|
||||
this.ppSectTitleStpRTB.MyClassName = "RichEdit20W";
|
||||
this.ppSectTitleStpRTB.MyItemInfo = null;
|
||||
this.ppSectTitleStpRTB.MyLinkText = null;
|
||||
this.ppSectTitleStpRTB.Name = "ppSectTitleStpRTB";
|
||||
this.ppSectTitleStpRTB.OrigDisplayText = null;
|
||||
this.ppSectTitleStpRTB.OrigRTF = null;
|
||||
this.ppSectTitleStpRTB.ProcessKeystrokes = true;
|
||||
this.ppSectTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
|
||||
this.ppSectTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||||
this.ppSectTitleStpRTB.ShowDebug = false;
|
||||
this.ppSectTitleStpRTB.Size = new System.Drawing.Size(406, 50);
|
||||
this.ppSectTitleStpRTB.TabIndex = 11;
|
||||
this.ppSectTitleStpRTB.Text = "";
|
||||
this.ppSectTitleStpRTB.ThisContextMenuStrip = null;
|
||||
this.ppSectTitleStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
|
||||
this.ppSectTitleStpRTB.Enter += new System.EventHandler(this.ppSectTitleStpRTB_Enter);
|
||||
//
|
||||
// tiGeneral
|
||||
//
|
||||
this.tiGeneral.AttachedControl = this.tcpGeneral;
|
||||
this.tiGeneral.Name = "tiGeneral";
|
||||
this.tiGeneral.Text = "General";
|
||||
//
|
||||
// tcpFormat
|
||||
//
|
||||
this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
|
||||
this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.rbWordSect);
|
||||
this.tcpFormat.Controls.Add(this.rbStepSect);
|
||||
this.tcpFormat.Controls.Add(this.ppGpbxSignoffCheckoff);
|
||||
this.tcpFormat.Controls.Add(this.lblFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.lblColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxSectPagination);
|
||||
this.tcpFormat.Controls.Add(this.lblSectType);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxStyleSectionType);
|
||||
this.tcpFormat.Controls.Add(this.lblPagination);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
|
||||
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpFormat.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpFormat.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpFormat.Name = "tcpFormat";
|
||||
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpFormat.Size = new System.Drawing.Size(565, 318);
|
||||
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpFormat.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpFormat.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpFormat.Style.GradientAngle = 90;
|
||||
this.tcpFormat.TabIndex = 2;
|
||||
this.tcpFormat.TabItem = this.tiFormat;
|
||||
this.tcpFormat.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// cbKeepWordDocMargins
|
||||
//
|
||||
this.cbKeepWordDocMargins.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.cbKeepWordDocMargins.AutoSize = true;
|
||||
this.cbKeepWordDocMargins.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbKeepWordDocMargins.Location = new System.Drawing.Point(14, 290);
|
||||
this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbKeepWordDocMargins.Name = "cbKeepWordDocMargins";
|
||||
this.cbKeepWordDocMargins.Size = new System.Drawing.Size(250, 17);
|
||||
this.cbKeepWordDocMargins.TabIndex = 59;
|
||||
this.cbKeepWordDocMargins.Text = "Keep Word Document Margins (and Page Size)";
|
||||
this.cbKeepWordDocMargins.UseVisualStyleBackColor = false;
|
||||
this.cbKeepWordDocMargins.Visible = false;
|
||||
this.cbKeepWordDocMargins.CheckedChanged += new System.EventHandler(this.cbKeepWordDocMargins_CheckedChanged);
|
||||
//
|
||||
// rbWordSect
|
||||
//
|
||||
this.rbWordSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbWordSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbWordSect.Location = new System.Drawing.Point(247, 60);
|
||||
this.rbWordSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbWordSect.Name = "rbWordSect";
|
||||
this.rbWordSect.Size = new System.Drawing.Size(88, 19);
|
||||
this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbWordSect.TabIndex = 23;
|
||||
this.rbWordSect.TabStop = false;
|
||||
this.rbWordSect.Text = "Word Section";
|
||||
//
|
||||
// rbStepSect
|
||||
//
|
||||
this.rbStepSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbStepSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbStepSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbStepSect.Checked = true;
|
||||
this.rbStepSect.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.rbStepSect.CheckValue = "Y";
|
||||
this.rbStepSect.FocusCuesEnabled = false;
|
||||
this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbStepSect.Location = new System.Drawing.Point(138, 60);
|
||||
this.rbStepSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbStepSect.Name = "rbStepSect";
|
||||
this.rbStepSect.Size = new System.Drawing.Size(86, 19);
|
||||
this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbStepSect.TabIndex = 22;
|
||||
this.rbStepSect.TabStop = false;
|
||||
this.rbStepSect.Text = "Step Section";
|
||||
this.rbStepSect.CheckedChanged += new System.EventHandler(this.rbStepSect_CheckedChanged);
|
||||
//
|
||||
// ppGpbxSignoffCheckoff
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123);
|
||||
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
|
||||
this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppGpbxSignoffCheckoff.TabIndex = 51;
|
||||
this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs";
|
||||
//
|
||||
// tiFormat
|
||||
//
|
||||
this.tiFormat.AttachedControl = this.tcpFormat;
|
||||
this.tiFormat.Name = "tiFormat";
|
||||
this.tiFormat.Text = "Format";
|
||||
//
|
||||
// tcpLibDoc
|
||||
//
|
||||
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc);
|
||||
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument);
|
||||
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc);
|
||||
this.tcpLibDoc.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpLibDoc.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpLibDoc.Name = "tcpLibDoc";
|
||||
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpLibDoc.Size = new System.Drawing.Size(565, 318);
|
||||
this.tcpLibDoc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpLibDoc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpLibDoc.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpLibDoc.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpLibDoc.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpLibDoc.Style.GradientAngle = 90;
|
||||
this.tcpLibDoc.TabIndex = 3;
|
||||
this.tcpLibDoc.TabItem = this.tiLibDoc;
|
||||
//
|
||||
// tiLibDoc
|
||||
//
|
||||
this.tiLibDoc.AttachedControl = this.tcpLibDoc;
|
||||
this.tiLibDoc.Name = "tiLibDoc";
|
||||
this.tiLibDoc.Text = "Library Document";
|
||||
//
|
||||
// tcpAutomation
|
||||
//
|
||||
this.tcpAutomation.Controls.Add(this.gpTOC);
|
||||
@ -869,7 +1196,7 @@ namespace VEPROMS
|
||||
this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpAutomation.Name = "tcpAutomation";
|
||||
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpAutomation.Size = new System.Drawing.Size(521, 318);
|
||||
this.tcpAutomation.Size = new System.Drawing.Size(565, 318);
|
||||
this.tcpAutomation.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpAutomation.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpAutomation.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
@ -1065,332 +1392,6 @@ namespace VEPROMS
|
||||
this.tiAutomation.Name = "tiAutomation";
|
||||
this.tiAutomation.Text = "Automation";
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.Controls.Add(this.ppCbAutoIndent);
|
||||
this.tcpGeneral.Controls.Add(this.ppCbEditableData);
|
||||
this.tcpGeneral.Controls.Add(this.ppCbPrnSecNumTitle);
|
||||
this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB);
|
||||
this.tcpGeneral.Controls.Add(this.ppSectTitleStpRTB);
|
||||
this.tcpGeneral.Controls.Add(this.ppDtTmLastMod);
|
||||
this.tcpGeneral.Controls.Add(this.lblSectNumber);
|
||||
this.tcpGeneral.Controls.Add(this.lblSectTitle);
|
||||
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
|
||||
this.tcpGeneral.Controls.Add(this.lblUserID);
|
||||
this.tcpGeneral.Controls.Add(this.lblLastModDate);
|
||||
this.tcpGeneral.Controls.Add(this.ppBtnConvertToDocX);
|
||||
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(521, 318);
|
||||
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;
|
||||
//
|
||||
// ppCbAutoIndent
|
||||
//
|
||||
this.ppCbAutoIndent.AutoSize = true;
|
||||
this.ppCbAutoIndent.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbAutoIndent.Location = new System.Drawing.Point(268, 180);
|
||||
this.ppCbAutoIndent.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbAutoIndent.Name = "ppCbAutoIndent";
|
||||
this.ppCbAutoIndent.Size = new System.Drawing.Size(106, 17);
|
||||
this.ppCbAutoIndent.TabIndex = 56;
|
||||
this.ppCbAutoIndent.Text = "Automatic Indent";
|
||||
this.ppCbAutoIndent.UseVisualStyleBackColor = false;
|
||||
this.ppCbAutoIndent.CheckedChanged += new System.EventHandler(this.ppCbAutoIndent_CheckedChanged);
|
||||
//
|
||||
// ppCbEditableData
|
||||
//
|
||||
this.ppCbEditableData.AutoSize = true;
|
||||
this.ppCbEditableData.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbEditableData.Location = new System.Drawing.Point(268, 152);
|
||||
this.ppCbEditableData.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbEditableData.Name = "ppCbEditableData";
|
||||
this.ppCbEditableData.Size = new System.Drawing.Size(90, 17);
|
||||
this.ppCbEditableData.TabIndex = 55;
|
||||
this.ppCbEditableData.Text = "Editable Data";
|
||||
this.ppCbEditableData.UseVisualStyleBackColor = false;
|
||||
this.ppCbEditableData.CheckedChanged += new System.EventHandler(this.ppCbEditableData_CheckedChanged);
|
||||
//
|
||||
// ppCbPrnSecNumTitle
|
||||
//
|
||||
this.ppCbPrnSecNumTitle.AutoSize = true;
|
||||
this.ppCbPrnSecNumTitle.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppCbPrnSecNumTitle.Location = new System.Drawing.Point(268, 121);
|
||||
this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle";
|
||||
this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(170, 17);
|
||||
this.ppCbPrnSecNumTitle.TabIndex = 54;
|
||||
this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title";
|
||||
this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false;
|
||||
this.ppCbPrnSecNumTitle.CheckedChanged += new System.EventHandler(this.ppCbPrnSecNumTitle_CheckedChanged);
|
||||
//
|
||||
// ppSectNumberStpRTB
|
||||
//
|
||||
this.ppSectNumberStpRTB.ActiveMode = false;
|
||||
this.ppSectNumberStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
|
||||
this.ppSectNumberStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.ppSectNumberStpRTB.CheckAbove = "|?????????";
|
||||
this.ppSectNumberStpRTB.CheckBelow = "|?";
|
||||
this.ppSectNumberStpRTB.CheckLeft = "-?????????";
|
||||
this.ppSectNumberStpRTB.CheckRight = "-??";
|
||||
this.ppSectNumberStpRTB.Closed = false;
|
||||
this.ppSectNumberStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 12, 159, 16);
|
||||
this.ppSectNumberStpRTB.DetectUrls = false;
|
||||
this.ppSectNumberStpRTB.EditMode = true;
|
||||
this.ppSectNumberStpRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
|
||||
this.ppSectNumberStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
|
||||
this.ppSectNumberStpRTB.ImageWidth = 0;
|
||||
this.ppSectNumberStpRTB.IsExperimenting = false;
|
||||
this.ppSectNumberStpRTB.LastRtf = "";
|
||||
this.ppSectNumberStpRTB.Location = new System.Drawing.Point(64, 10);
|
||||
this.ppSectNumberStpRTB.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppSectNumberStpRTB.MinimumSize = new System.Drawing.Size(119, 15);
|
||||
this.ppSectNumberStpRTB.MyClassName = "RichEdit20W";
|
||||
this.ppSectNumberStpRTB.MyItemInfo = null;
|
||||
this.ppSectNumberStpRTB.MyLinkText = null;
|
||||
this.ppSectNumberStpRTB.Name = "ppSectNumberStpRTB";
|
||||
this.ppSectNumberStpRTB.OrigDisplayText = null;
|
||||
this.ppSectNumberStpRTB.OrigRTF = null;
|
||||
this.ppSectNumberStpRTB.ProcessKeystrokes = true;
|
||||
this.ppSectNumberStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
|
||||
this.ppSectNumberStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||||
this.ppSectNumberStpRTB.ShowDebug = false;
|
||||
this.ppSectNumberStpRTB.Size = new System.Drawing.Size(406, 15);
|
||||
this.ppSectNumberStpRTB.TabIndex = 10;
|
||||
this.ppSectNumberStpRTB.Text = "";
|
||||
this.ppSectNumberStpRTB.ThisContextMenuStrip = null;
|
||||
this.ppSectNumberStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
|
||||
this.ppSectNumberStpRTB.Enter += new System.EventHandler(this.ppSectNumberStpRTB_Enter);
|
||||
//
|
||||
// ppSectTitleStpRTB
|
||||
//
|
||||
this.ppSectTitleStpRTB.ActiveMode = false;
|
||||
this.ppSectTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
|
||||
this.ppSectTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.ppSectTitleStpRTB.CheckAbove = "|?????????";
|
||||
this.ppSectTitleStpRTB.CheckBelow = "|?";
|
||||
this.ppSectTitleStpRTB.CheckLeft = "-?????????";
|
||||
this.ppSectTitleStpRTB.CheckRight = "-??";
|
||||
this.ppSectTitleStpRTB.Closed = false;
|
||||
this.ppSectTitleStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 60, 541, 16);
|
||||
this.ppSectTitleStpRTB.DetectUrls = false;
|
||||
this.ppSectTitleStpRTB.EditMode = true;
|
||||
this.ppSectTitleStpRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
|
||||
this.ppSectTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
|
||||
this.ppSectTitleStpRTB.ImageWidth = 0;
|
||||
this.ppSectTitleStpRTB.IsExperimenting = false;
|
||||
this.ppSectTitleStpRTB.LastRtf = "";
|
||||
this.ppSectTitleStpRTB.Location = new System.Drawing.Point(64, 49);
|
||||
this.ppSectTitleStpRTB.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppSectTitleStpRTB.MinimumSize = new System.Drawing.Size(406, 50);
|
||||
this.ppSectTitleStpRTB.MyClassName = "RichEdit20W";
|
||||
this.ppSectTitleStpRTB.MyItemInfo = null;
|
||||
this.ppSectTitleStpRTB.MyLinkText = null;
|
||||
this.ppSectTitleStpRTB.Name = "ppSectTitleStpRTB";
|
||||
this.ppSectTitleStpRTB.OrigDisplayText = null;
|
||||
this.ppSectTitleStpRTB.OrigRTF = null;
|
||||
this.ppSectTitleStpRTB.ProcessKeystrokes = true;
|
||||
this.ppSectTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
|
||||
this.ppSectTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||||
this.ppSectTitleStpRTB.ShowDebug = false;
|
||||
this.ppSectTitleStpRTB.Size = new System.Drawing.Size(406, 50);
|
||||
this.ppSectTitleStpRTB.TabIndex = 11;
|
||||
this.ppSectTitleStpRTB.Text = "";
|
||||
this.ppSectTitleStpRTB.ThisContextMenuStrip = null;
|
||||
this.ppSectTitleStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
|
||||
this.ppSectTitleStpRTB.Enter += new System.EventHandler(this.ppSectTitleStpRTB_Enter);
|
||||
//
|
||||
// tiGeneral
|
||||
//
|
||||
this.tiGeneral.AttachedControl = this.tcpGeneral;
|
||||
this.tiGeneral.Name = "tiGeneral";
|
||||
this.tiGeneral.Text = "General";
|
||||
//
|
||||
// tcpLibDoc
|
||||
//
|
||||
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc);
|
||||
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument);
|
||||
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc);
|
||||
this.tcpLibDoc.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpLibDoc.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpLibDoc.Name = "tcpLibDoc";
|
||||
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpLibDoc.Size = new System.Drawing.Size(521, 318);
|
||||
this.tcpLibDoc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpLibDoc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpLibDoc.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpLibDoc.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpLibDoc.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpLibDoc.Style.GradientAngle = 90;
|
||||
this.tcpLibDoc.TabIndex = 3;
|
||||
this.tcpLibDoc.TabItem = this.tiLibDoc;
|
||||
//
|
||||
// tiLibDoc
|
||||
//
|
||||
this.tiLibDoc.AttachedControl = this.tcpLibDoc;
|
||||
this.tiLibDoc.Name = "tiLibDoc";
|
||||
this.tiLibDoc.Text = "Library Document";
|
||||
//
|
||||
// tcpFormat
|
||||
//
|
||||
this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
|
||||
this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppLblDefPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultPaginationStyle);
|
||||
this.tcpFormat.Controls.Add(this.rbWordSect);
|
||||
this.tcpFormat.Controls.Add(this.rbStepSect);
|
||||
this.tcpFormat.Controls.Add(this.ppGpbxSignoffCheckoff);
|
||||
this.tcpFormat.Controls.Add(this.lblFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxNumColumns);
|
||||
this.tcpFormat.Controls.Add(this.lblColumns);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxSectPagination);
|
||||
this.tcpFormat.Controls.Add(this.lblSectType);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxStyleSectionType);
|
||||
this.tcpFormat.Controls.Add(this.lblPagination);
|
||||
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
|
||||
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
|
||||
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
|
||||
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpFormat.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpFormat.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpFormat.Name = "tcpFormat";
|
||||
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tcpFormat.Size = new System.Drawing.Size(521, 318);
|
||||
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpFormat.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpFormat.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpFormat.Style.GradientAngle = 90;
|
||||
this.tcpFormat.TabIndex = 2;
|
||||
this.tcpFormat.TabItem = this.tiFormat;
|
||||
this.tcpFormat.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// cbKeepWordDocMargins
|
||||
//
|
||||
this.cbKeepWordDocMargins.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.cbKeepWordDocMargins.AutoSize = true;
|
||||
this.cbKeepWordDocMargins.BackColor = System.Drawing.Color.Transparent;
|
||||
this.cbKeepWordDocMargins.Location = new System.Drawing.Point(14, 290);
|
||||
this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbKeepWordDocMargins.Name = "cbKeepWordDocMargins";
|
||||
this.cbKeepWordDocMargins.Size = new System.Drawing.Size(250, 17);
|
||||
this.cbKeepWordDocMargins.TabIndex = 59;
|
||||
this.cbKeepWordDocMargins.Text = "Keep Word Document Margins (and Page Size)";
|
||||
this.cbKeepWordDocMargins.UseVisualStyleBackColor = false;
|
||||
this.cbKeepWordDocMargins.Visible = false;
|
||||
this.cbKeepWordDocMargins.CheckedChanged += new System.EventHandler(this.cbKeepWordDocMargins_CheckedChanged);
|
||||
//
|
||||
// rbWordSect
|
||||
//
|
||||
this.rbWordSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbWordSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbWordSect.Location = new System.Drawing.Point(247, 60);
|
||||
this.rbWordSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbWordSect.Name = "rbWordSect";
|
||||
this.rbWordSect.Size = new System.Drawing.Size(88, 19);
|
||||
this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbWordSect.TabIndex = 23;
|
||||
this.rbWordSect.TabStop = false;
|
||||
this.rbWordSect.Text = "Word Section";
|
||||
//
|
||||
// rbStepSect
|
||||
//
|
||||
this.rbStepSect.BackColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.rbStepSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.rbStepSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.rbStepSect.Checked = true;
|
||||
this.rbStepSect.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.rbStepSect.CheckValue = "Y";
|
||||
this.rbStepSect.FocusCuesEnabled = false;
|
||||
this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rbStepSect.Location = new System.Drawing.Point(138, 60);
|
||||
this.rbStepSect.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.rbStepSect.Name = "rbStepSect";
|
||||
this.rbStepSect.Size = new System.Drawing.Size(86, 19);
|
||||
this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.rbStepSect.TabIndex = 22;
|
||||
this.rbStepSect.TabStop = false;
|
||||
this.rbStepSect.Text = "Step Section";
|
||||
this.rbStepSect.CheckedChanged += new System.EventHandler(this.rbStepSect_CheckedChanged);
|
||||
//
|
||||
// ppGpbxSignoffCheckoff
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
|
||||
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
|
||||
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123);
|
||||
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
|
||||
this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90;
|
||||
this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4;
|
||||
this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxSignoffCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppGpbxSignoffCheckoff.TabIndex = 51;
|
||||
this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs";
|
||||
//
|
||||
// tiFormat
|
||||
//
|
||||
this.tiFormat.AttachedControl = this.tcpFormat;
|
||||
this.tiFormat.Name = "tiFormat";
|
||||
this.tiFormat.Text = "Format";
|
||||
//
|
||||
// tabControlPanel4
|
||||
//
|
||||
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
|
||||
@ -1404,7 +1405,7 @@ namespace VEPROMS
|
||||
this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tabControlPanel4.Name = "tabControlPanel4";
|
||||
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel4.Size = new System.Drawing.Size(521, 318);
|
||||
this.tabControlPanel4.Size = new System.Drawing.Size(565, 318);
|
||||
this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
@ -1421,31 +1422,15 @@ namespace VEPROMS
|
||||
this.tiViewStnns.Name = "tiViewStnns";
|
||||
this.tiViewStnns.Text = "View Settings";
|
||||
//
|
||||
// checkBoxX1
|
||||
//
|
||||
this.checkBoxX1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.checkBoxX1.Location = new System.Drawing.Point(9, 378);
|
||||
this.checkBoxX1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.checkBoxX1.Name = "checkBoxX1";
|
||||
this.checkBoxX1.Size = new System.Drawing.Size(145, 22);
|
||||
this.checkBoxX1.TabIndex = 92;
|
||||
this.checkBoxX1.Text = "Show Default Settings";
|
||||
this.checkBoxX1.CheckedChanged += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// frmSectionProperties
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
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(681, 405);
|
||||
this.ClientSize = new System.Drawing.Size(738, 413);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.tcSectionProp);
|
||||
this.Controls.Add(this.panSectBtns);
|
||||
this.Controls.Add(this.checkBoxX1);
|
||||
this.Controls.Add(this.ppCbShwDefSettings);
|
||||
this.Controls.Add(this.ppLblDefSettingsInfo);
|
||||
this.Controls.Add(this.ppBtnCancel);
|
||||
@ -1466,19 +1451,19 @@ namespace VEPROMS
|
||||
this.panSectBtns.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit();
|
||||
this.tcSectionProp.ResumeLayout(false);
|
||||
this.tcpGeneral.ResumeLayout(false);
|
||||
this.tcpGeneral.PerformLayout();
|
||||
this.tcpFormat.ResumeLayout(false);
|
||||
this.tcpFormat.PerformLayout();
|
||||
this.ppGpbxSignoffCheckoff.ResumeLayout(false);
|
||||
this.ppGpbxSignoffCheckoff.PerformLayout();
|
||||
this.tcpLibDoc.ResumeLayout(false);
|
||||
this.tcpLibDoc.PerformLayout();
|
||||
this.tcpAutomation.ResumeLayout(false);
|
||||
this.tcpAutomation.PerformLayout();
|
||||
this.gpTOC.ResumeLayout(false);
|
||||
this.grpLnkEnh.ResumeLayout(false);
|
||||
this.grpLnkEnh.PerformLayout();
|
||||
this.tcpGeneral.ResumeLayout(false);
|
||||
this.tcpGeneral.PerformLayout();
|
||||
this.tcpLibDoc.ResumeLayout(false);
|
||||
this.tcpLibDoc.PerformLayout();
|
||||
this.tcpFormat.ResumeLayout(false);
|
||||
this.tcpFormat.PerformLayout();
|
||||
this.ppGpbxSignoffCheckoff.ResumeLayout(false);
|
||||
this.ppGpbxSignoffCheckoff.PerformLayout();
|
||||
this.tabControlPanel4.ResumeLayout(false);
|
||||
this.tabControlPanel4.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
@ -1510,7 +1495,7 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxCheckoffHeading;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxCheckoffType;
|
||||
private System.Windows.Forms.Label ppLblDefSettingsInfo;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX ppCbShwDefSettings;
|
||||
//private DevComponents.DotNetBar.Controls.CheckBoxX ppCbShwDefSettings;
|
||||
private System.Windows.Forms.Label lblLibraryDocument;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxLibDoc;
|
||||
private DevComponents.DotNetBar.ButtonX ppBtnCvrtToLibDoc;
|
||||
@ -1563,7 +1548,7 @@ namespace VEPROMS
|
||||
private System.Windows.Forms.CheckBox ppCbAutoIndent;
|
||||
private System.Windows.Forms.CheckBox cbKeepWordDocMargins;
|
||||
private System.Windows.Forms.CheckBox ppCbPhoneList;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX1;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX ppCbShwDefSettings;
|
||||
private System.Windows.Forms.CheckBox ppCbDefaultStepSection;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel grpLnkEnh;
|
||||
private System.Windows.Forms.RadioButton rbEnhLnkContents;
|
||||
@ -1574,4 +1559,4 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txbxTOC_Group_Title;
|
||||
private DevComponents.DotNetBar.ButtonX ppBtnConvertToDocX;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ namespace VEPROMS
|
||||
private string _DefaultPrintSize = null;
|
||||
private bool _Initializing;
|
||||
private SectionConfig _SectionConfig;
|
||||
private Document _DocumentToDelete = null;
|
||||
private Document _DocumentToDelete = null;
|
||||
private StepTabRibbon _MyStepTabRibbon;
|
||||
private bool _isStepSection = true;
|
||||
private bool _hasSectionCheckoffDefault = false;
|
||||
@ -732,12 +732,10 @@ namespace VEPROMS
|
||||
_Initializing = false;
|
||||
return;
|
||||
}
|
||||
bool didDefault = false;
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName != null && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
didDefault = true;
|
||||
}
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
@ -976,7 +974,7 @@ namespace VEPROMS
|
||||
private void tabpage_Enter(object sender, EventArgs e)
|
||||
{
|
||||
// Show or hide the labels containing the default values
|
||||
if (!_Initializing)
|
||||
//if (!_Initializing) // jsj 1-23-2017 was not showing default check upon property page entry
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
/// <summary>
|
||||
@ -1215,6 +1213,26 @@ namespace VEPROMS
|
||||
ppBtnConvertToDocX.Visible = false; // Hide the button after the execution is complete.
|
||||
//}
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDown(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
// C2017-004 - if using the default format, position the dropdown to the default format
|
||||
if (ppCmbxFormat.SelectedIndex == -1)
|
||||
ppCmbxFormat.SelectedValue = _DefaultFormatName;
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
// upon exit of the dropdown if the default format is selected - click the Default button
|
||||
if ((string)(ppCmbxFormat.SelectedValue) == _DefaultFormatName)
|
||||
{
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
ppCmbxStyleSectionType.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// // Get the parent setting
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -725,6 +725,8 @@ namespace VEPROMS
|
||||
private void btnFmtSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
ProcessButtonClick(tiFmtSettings, btnFmtSettings);
|
||||
// added for code change C2017-004 - select default format in dropdown list
|
||||
if (_InitialIndex < -1) _InitialIndex = ppCmbxFormat.SelectedIndex; // save the current format selection (happens here when current section is set to the default format)
|
||||
}
|
||||
|
||||
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
|
||||
@ -749,16 +751,17 @@ namespace VEPROMS
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Selection in Format combo box changed.
|
||||
/// </summary>
|
||||
/// <param name="sender">object</param>
|
||||
/// <param name="e">EventArgs</param>
|
||||
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_Initializing)
|
||||
ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
|
||||
}
|
||||
// commented out as part of code change C2017-004. this also makes it consistent with section properties
|
||||
///// <summary>
|
||||
///// Selection in Format combo box changed.
|
||||
///// </summary>
|
||||
///// <param name="sender">object</param>
|
||||
///// <param name="e">EventArgs</param>
|
||||
//private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_Initializing)
|
||||
// ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// Enable or disable the user specified change bar options base on the type
|
||||
@ -1451,6 +1454,47 @@ namespace VEPROMS
|
||||
_EnhNeedToUnlink = true; // do the unlink when 'OK' button is selected
|
||||
}
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDown(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
// C2017-004 - if using the default format, position the dropdown to the default format
|
||||
if (ppCmbxFormat.SelectedIndex == -1)
|
||||
ppCmbxFormat.SelectedValue = _DefaultFormatName;
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
private void ppCmbxFormat_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
// upon exit of the dropdown if the default format is selected - click the Default button
|
||||
if ((string)(ppCmbxFormat.SelectedValue) == _DefaultFormatName)
|
||||
{
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
ppCmbxChangeBarType.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
// added as part of code change C2017-004. this also makes it consistent with section properties
|
||||
int _InitialIndex = -2;
|
||||
private void ppCmbxFormat_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (_Initializing)
|
||||
{
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
return;
|
||||
}
|
||||
if (_InitialIndex < -1) _InitialIndex = ppCmbxFormat.SelectedIndex; // save the current format selection (happens here when current section format is not the default section)
|
||||
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName != null && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
|
||||
{
|
||||
ppBtnDefaultFmt.Focus();
|
||||
ppBtnDefaultFmt.PerformClick();
|
||||
}
|
||||
// determine if the default button and the default description text should visable
|
||||
ppBtnDefaultFmt.Visible = !(ppCmbxFormat.SelectedValue == null || ppCmbxFormat.SelectedIndex == -1);
|
||||
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
|
||||
}
|
||||
}
|
||||
[XmlRoot("Enhanced")]
|
||||
public class EnhancedMiniConfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user