debugged and fixed many issues in the property pages

This commit is contained in:
John Jenko 2010-06-04 19:23:22 +00:00
parent 19a58f7409
commit d0c1b9d2b2
11 changed files with 1795 additions and 1074 deletions

View File

@ -155,18 +155,18 @@ namespace VEPROMS
this.btnRefObjs = new DevComponents.DotNetBar.ButtonX();
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.tcFolder = new DevComponents.DotNetBar.TabControl();
this.tcpRefObjs = new DevComponents.DotNetBar.TabControlPanel();
this.tiRefObj = 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.tcpEdSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiEditSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpStMsg = new DevComponents.DotNetBar.TabControlPanel();
this.tiStMsg = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiOutputSettings = 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.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.folderConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit();
@ -185,12 +185,12 @@ namespace VEPROMS
this.panButtons.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcFolder)).BeginInit();
this.tcFolder.SuspendLayout();
this.tcpRefObjs.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpFmtSettings.SuspendLayout();
this.tcpEdSettings.SuspendLayout();
this.tcpStMsg.SuspendLayout();
this.tcpOutputSettings.SuspendLayout();
this.tcpFmtSettings.SuspendLayout();
this.tcpRefObjs.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
this.SuspendLayout();
//
@ -269,7 +269,7 @@ namespace VEPROMS
this.ppTxtBxUserID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppTxtBxUserID.Name = "ppTxtBxUserID";
this.ppTxtBxUserID.Size = new System.Drawing.Size(153, 22);
this.ppTxtBxUserID.TabIndex = 10;
this.ppTxtBxUserID.TabIndex = 13;
this.ppTxtBxUserID.Visible = false;
//
// folderConfigBindingSource
@ -296,7 +296,7 @@ namespace VEPROMS
this.ppRTxtName.Multiline = false;
this.ppRTxtName.Name = "ppRTxtName";
this.ppRTxtName.Size = new System.Drawing.Size(436, 22);
this.ppRTxtName.TabIndex = 14;
this.ppRTxtName.TabIndex = 10;
this.ppRTxtName.Text = "";
this.ppRTxtName.Leave += new System.EventHandler(this.ppRTxtName_Leave);
//
@ -308,7 +308,7 @@ namespace VEPROMS
this.ppRTxtTitle.Multiline = false;
this.ppRTxtTitle.Name = "ppRTxtTitle";
this.ppRTxtTitle.Size = new System.Drawing.Size(436, 22);
this.ppRTxtTitle.TabIndex = 13;
this.ppRTxtTitle.TabIndex = 11;
this.ppRTxtTitle.Text = "";
this.ppRTxtTitle.Visible = false;
//
@ -321,7 +321,7 @@ namespace VEPROMS
this.ppBtnDefaultGrphFileExt.Name = "ppBtnDefaultGrphFileExt";
this.ppBtnDefaultGrphFileExt.Size = new System.Drawing.Size(53, 23);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultGrphFileExt, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefaultGrphFileExt.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(265, 155)));
this.ppBtnDefaultGrphFileExt.TabIndex = 27;
this.ppBtnDefaultGrphFileExt.TabIndex = 15;
this.ppBtnDefaultGrphFileExt.Text = "Default";
this.ppBtnDefaultGrphFileExt.ThemeAware = true;
this.ppBtnDefaultGrphFileExt.Click += new System.EventHandler(this.ppBtnDefaultGrfExt_Click);
@ -337,9 +337,9 @@ namespace VEPROMS
this.ppCmbxGrphFileExt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxGrphFileExt.Name = "ppCmbxGrphFileExt";
this.ppCmbxGrphFileExt.Size = new System.Drawing.Size(255, 23);
this.ppCmbxGrphFileExt.TabIndex = 24;
this.ppCmbxGrphFileExt.TabIndex = 14;
this.ppCmbxGrphFileExt.ValueMember = "FormatDescription";
this.ppCmbxGrphFileExt.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxGrphFileExt.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.ppCmbxGrphFileExt.WatermarkText = "Select Graphic File Extension";
this.ppCmbxGrphFileExt.SelectedValueChanged += new System.EventHandler(this.ppCmbxGrphFileExt_SelectedValueChanged);
//
@ -378,10 +378,11 @@ namespace VEPROMS
this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx";
this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(59, 25);
this.superTooltip1.SetSuperTooltip(this.ppBtnDeftDisAutoDuplx, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDeftDisAutoDuplx.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 150)));
this.ppBtnDeftDisAutoDuplx.TabIndex = 56;
this.ppBtnDeftDisAutoDuplx.TabIndex = 39;
this.ppBtnDeftDisAutoDuplx.Text = "Default";
this.ppBtnDeftDisAutoDuplx.ThemeAware = true;
this.ppBtnDeftDisAutoDuplx.Visible = false;
this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click);
//
// ppBtnDefWatermark
//
@ -393,7 +394,7 @@ namespace VEPROMS
this.superTooltip1.SetSuperTooltip(this.ppBtnDefWatermark, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the watermark selection back to using the parent\'s (default) set" +
"ting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" watermark (below" +
" the Watermark selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 145)));
this.ppBtnDefWatermark.TabIndex = 55;
this.ppBtnDefWatermark.TabIndex = 33;
this.ppBtnDefWatermark.Text = "Default";
this.ppBtnDefWatermark.ThemeAware = true;
this.ppBtnDefWatermark.Visible = false;
@ -406,6 +407,7 @@ namespace VEPROMS
this.ppBtnDefPagination.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnDefPagination.Name = "ppBtnDefPagination";
this.ppBtnDefPagination.Size = new System.Drawing.Size(59, 25);
this.ppBtnDefPagination.SubItemsExpandWidth = 31;
this.superTooltip1.SetSuperTooltip(this.ppBtnDefPagination, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the pagination selection back to using the parent\'s (default) se" +
"tting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" Pagination (bel" +
"ow the Pagination selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145)));
@ -421,13 +423,12 @@ namespace VEPROMS
this.ppCmbxWatermark.DisplayMember = "Text";
this.ppCmbxWatermark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxWatermark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxWatermark.FormattingEnabled = true;
this.ppCmbxWatermark.Location = new System.Drawing.Point(424, 21);
this.ppCmbxWatermark.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxWatermark.Name = "ppCmbxWatermark";
this.ppCmbxWatermark.Size = new System.Drawing.Size(163, 23);
this.ppCmbxWatermark.TabIndex = 53;
this.ppCmbxWatermark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxWatermark.TabIndex = 32;
this.ppCmbxWatermark.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.ppCmbxWatermark.WatermarkText = "select watermark option";
this.ppCmbxWatermark.SelectedValueChanged += new System.EventHandler(this.ppCmbxWatermark_SelectedValueChanged);
//
@ -443,8 +444,8 @@ namespace VEPROMS
this.ppCmbxPagination.Name = "ppCmbxPagination";
this.ppCmbxPagination.Size = new System.Drawing.Size(163, 23);
this.superTooltip1.SetSuperTooltip(this.ppCmbxPagination, new DevComponents.DotNetBar.SuperTooltipInfo("Procedure Pagination", "", resources.GetString("ppCmbxPagination.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(400, 220)));
this.ppCmbxPagination.TabIndex = 52;
this.ppCmbxPagination.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxPagination.TabIndex = 30;
this.ppCmbxPagination.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.ppCmbxPagination.WatermarkText = "select pagination option";
this.ppCmbxPagination.SelectedValueChanged += new System.EventHandler(this.ppCmbxPagination_SelectedValueChanged);
//
@ -498,7 +499,7 @@ namespace VEPROMS
this.ppNumUpDwnOvrdPrnPenWidth.Name = "ppNumUpDwnOvrdPrnPenWidth";
this.ppNumUpDwnOvrdPrnPenWidth.Size = new System.Drawing.Size(47, 22);
this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOvrdPrnPenWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Normal Pen Width", "", "This will allow you to override pen width used for normal text and line drawing.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppNumUpDwnOvrdPrnPenWidth.TabIndex = 1;
this.ppNumUpDwnOvrdPrnPenWidth.TabIndex = 34;
//
// label9
//
@ -526,7 +527,7 @@ namespace VEPROMS
this.ppNumUpDwnOverdPrnPenBoldWidth.Name = "ppNumUpDwnOverdPrnPenBoldWidth";
this.ppNumUpDwnOverdPrnPenBoldWidth.Size = new System.Drawing.Size(47, 22);
this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOverdPrnPenBoldWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Bold Pen Width", "", "This will allow you to override the width used for bold text.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppNumUpDwnOverdPrnPenBoldWidth.TabIndex = 3;
this.ppNumUpDwnOverdPrnPenBoldWidth.TabIndex = 35;
//
// ppNumUpDwnOvrdPrnPenULineWidth
//
@ -536,7 +537,7 @@ namespace VEPROMS
this.ppNumUpDwnOvrdPrnPenULineWidth.Name = "ppNumUpDwnOvrdPrnPenULineWidth";
this.ppNumUpDwnOvrdPrnPenULineWidth.Size = new System.Drawing.Size(47, 22);
this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOvrdPrnPenULineWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Underline Thickness", "", "This will allow you to change the thickness of the uderline.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppNumUpDwnOvrdPrnPenULineWidth.TabIndex = 5;
this.ppNumUpDwnOvrdPrnPenULineWidth.TabIndex = 36;
//
// label11
//
@ -561,7 +562,7 @@ namespace VEPROMS
this.ppNumUpDwnAdjPrnStartPos.Size = new System.Drawing.Size(47, 22);
this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnAdjPrnStartPos, new DevComponents.DotNetBar.SuperTooltipInfo("Starting Print Position", "", "Allows you to move the starting point on the page of where text and boarder begin" +
" printing.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppNumUpDwnAdjPrnStartPos.TabIndex = 7;
this.ppNumUpDwnAdjPrnStartPos.TabIndex = 37;
//
// label12
//
@ -583,7 +584,7 @@ namespace VEPROMS
this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(209, 21);
this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " +
"Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, false, new System.Drawing.Size(0, 0)));
this.ppChbxDisAutoDuplex.TabIndex = 47;
this.ppChbxDisAutoDuplex.TabIndex = 38;
this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing";
this.ppChbxDisAutoDuplex.UseVisualStyleBackColor = false;
this.ppChbxDisAutoDuplex.CheckedChanged += new System.EventHandler(this.ppChbxDisAutoDuplex_CheckedChanged);
@ -611,11 +612,16 @@ namespace VEPROMS
// ppChkbxStMsgActive
//
this.ppChkbxStMsgActive.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.ppChkbxStMsgActive.BackgroundStyle.Class = "";
this.ppChkbxStMsgActive.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppChkbxStMsgActive.Location = new System.Drawing.Point(565, 239);
this.ppChkbxStMsgActive.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppChkbxStMsgActive.Name = "ppChkbxStMsgActive";
this.ppChkbxStMsgActive.Size = new System.Drawing.Size(75, 23);
this.ppChkbxStMsgActive.TabIndex = 18;
this.ppChkbxStMsgActive.TabIndex = 47;
this.ppChkbxStMsgActive.Text = "Activate";
//
// ppRTxtStMsg
@ -625,7 +631,7 @@ namespace VEPROMS
this.ppRTxtStMsg.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppRTxtStMsg.Name = "ppRTxtStMsg";
this.ppRTxtStMsg.Size = new System.Drawing.Size(505, 187);
this.ppRTxtStMsg.TabIndex = 17;
this.ppRTxtStMsg.TabIndex = 41;
this.ppRTxtStMsg.Text = "";
this.ppRTxtStMsg.WordWrap = false;
//
@ -636,7 +642,7 @@ namespace VEPROMS
this.ppBtnStMsgPreview.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnStMsgPreview.Name = "ppBtnStMsgPreview";
this.ppBtnStMsgPreview.Size = new System.Drawing.Size(75, 23);
this.ppBtnStMsgPreview.TabIndex = 15;
this.ppBtnStMsgPreview.TabIndex = 45;
this.ppBtnStMsgPreview.Text = "Preview";
//
// ppBtnStMsgSave
@ -646,7 +652,7 @@ namespace VEPROMS
this.ppBtnStMsgSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnStMsgSave.Name = "ppBtnStMsgSave";
this.ppBtnStMsgSave.Size = new System.Drawing.Size(75, 23);
this.ppBtnStMsgSave.TabIndex = 14;
this.ppBtnStMsgSave.TabIndex = 44;
this.ppBtnStMsgSave.Text = "Save";
//
// ppBtnStMsgDelete
@ -657,7 +663,7 @@ namespace VEPROMS
this.ppBtnStMsgDelete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnStMsgDelete.Name = "ppBtnStMsgDelete";
this.ppBtnStMsgDelete.Size = new System.Drawing.Size(75, 23);
this.ppBtnStMsgDelete.TabIndex = 13;
this.ppBtnStMsgDelete.TabIndex = 46;
this.ppBtnStMsgDelete.Text = "Delete";
//
// ppBtnStMsgEdit
@ -667,7 +673,7 @@ namespace VEPROMS
this.ppBtnStMsgEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnStMsgEdit.Name = "ppBtnStMsgEdit";
this.ppBtnStMsgEdit.Size = new System.Drawing.Size(75, 23);
this.ppBtnStMsgEdit.TabIndex = 12;
this.ppBtnStMsgEdit.TabIndex = 43;
this.ppBtnStMsgEdit.Text = "Edit";
//
// ppBtnStMsgNew
@ -677,7 +683,7 @@ namespace VEPROMS
this.ppBtnStMsgNew.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnStMsgNew.Name = "ppBtnStMsgNew";
this.ppBtnStMsgNew.Size = new System.Drawing.Size(75, 23);
this.ppBtnStMsgNew.TabIndex = 11;
this.ppBtnStMsgNew.TabIndex = 42;
this.ppBtnStMsgNew.Text = "New";
//
// ppCmbxStMsgList
@ -689,8 +695,8 @@ namespace VEPROMS
this.ppCmbxStMsgList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxStMsgList.Name = "ppCmbxStMsgList";
this.ppCmbxStMsgList.Size = new System.Drawing.Size(623, 23);
this.ppCmbxStMsgList.TabIndex = 10;
this.ppCmbxStMsgList.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxStMsgList.TabIndex = 40;
this.ppCmbxStMsgList.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.ppCmbxStMsgList.WatermarkText = "select a startup message or press \"new\" to create one";
//
// label5
@ -713,7 +719,7 @@ namespace VEPROMS
this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultChgBar, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the Change Bar selection back to using the parent\'s (default) se" +
"tting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" Change Bar (bel" +
"ow the Change Bars selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145)));
this.ppBtnDefaultChgBar.TabIndex = 47;
this.ppBtnDefaultChgBar.TabIndex = 53;
this.ppBtnDefaultChgBar.Text = "Default";
this.ppBtnDefaultChgBar.ThemeAware = true;
this.ppBtnDefaultChgBar.Visible = false;
@ -730,8 +736,8 @@ namespace VEPROMS
this.ppCmbxChangeBarType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType";
this.ppCmbxChangeBarType.Size = new System.Drawing.Size(237, 23);
this.ppCmbxChangeBarType.TabIndex = 46;
this.ppCmbxChangeBarType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChangeBarType.TabIndex = 52;
this.ppCmbxChangeBarType.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.ppCmbxChangeBarType.WatermarkText = "select change bar setting";
this.ppCmbxChangeBarType.SelectedValueChanged += new System.EventHandler(this.ppCmbxChangeBarType_SelectedValueChanged);
//
@ -745,7 +751,7 @@ namespace VEPROMS
this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultFmt, new DevComponents.DotNetBar.SuperTooltipInfo("Default Button", "", "This will revert the format selection back to using the parent\'s format.\r\n\r\nCheck" +
" \"Show Default Settings\" to display the \"default\" format name (below the format " +
"selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(200, 150)));
this.ppBtnDefaultFmt.TabIndex = 45;
this.ppBtnDefaultFmt.TabIndex = 51;
this.ppBtnDefaultFmt.Text = "Default";
this.ppBtnDefaultFmt.ThemeAware = true;
this.ppBtnDefaultFmt.Visible = false;
@ -762,8 +768,8 @@ namespace VEPROMS
this.ppCmbxFormat.Name = "ppCmbxFormat";
this.ppCmbxFormat.Size = new System.Drawing.Size(577, 23);
this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppCmbxFormat.TabIndex = 44;
this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
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);
//
@ -804,7 +810,7 @@ namespace VEPROMS
this.ppBtnDefCbTxtTyp.Name = "ppBtnDefCbTxtTyp";
this.ppBtnDefCbTxtTyp.Size = new System.Drawing.Size(59, 25);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxtTyp, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxtTyp.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(230, 150)));
this.ppBtnDefCbTxtTyp.TabIndex = 48;
this.ppBtnDefCbTxtTyp.TabIndex = 57;
this.ppBtnDefCbTxtTyp.Text = "Default";
this.ppBtnDefCbTxtTyp.ThemeAware = true;
this.ppBtnDefCbTxtTyp.Visible = false;
@ -818,11 +824,11 @@ namespace VEPROMS
this.ppBtnDefaultCbPos.Name = "ppBtnDefaultCbPos";
this.ppBtnDefaultCbPos.Size = new System.Drawing.Size(59, 25);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultCbPos, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefaultCbPos.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145)));
this.ppBtnDefaultCbPos.TabIndex = 48;
this.ppBtnDefaultCbPos.TabIndex = 55;
this.ppBtnDefaultCbPos.Text = "Default";
this.ppBtnDefaultCbPos.ThemeAware = true;
this.ppBtnDefaultCbPos.Visible = false;
this.ppBtnDefaultCbPos.Click += new System.EventHandler(this.ppCmbxChgBarPos_Click);
this.ppBtnDefaultCbPos.Click += new System.EventHandler(this.ppBtnDefaultCbPos_Click);
//
// ppCmbxChgBarTxtType
//
@ -835,8 +841,8 @@ namespace VEPROMS
this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType";
this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(184, 23);
this.ppCmbxChgBarTxtType.TabIndex = 47;
this.ppCmbxChgBarTxtType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChgBarTxtType.TabIndex = 56;
this.ppCmbxChgBarTxtType.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.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type";
this.ppCmbxChgBarTxtType.SelectedValueChanged += new System.EventHandler(this.ppCmbxChgBarTxtType_SelectedValueChanged);
//
@ -851,8 +857,8 @@ namespace VEPROMS
this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos";
this.ppCmbxChgBarPos.Size = new System.Drawing.Size(184, 23);
this.ppCmbxChgBarPos.TabIndex = 47;
this.ppCmbxChgBarPos.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChgBarPos.TabIndex = 54;
this.ppCmbxChgBarPos.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.ppCmbxChgBarPos.WatermarkText = "select change bar position";
this.ppCmbxChgBarPos.SelectedValueChanged += new System.EventHandler(this.ppCmbxChgBarPos_SelectedValueChanged);
//
@ -890,10 +896,11 @@ namespace VEPROMS
this.ppBtnDefCbTxt2.Name = "ppBtnDefCbTxt2";
this.ppBtnDefCbTxt2.Size = new System.Drawing.Size(59, 25);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxt2, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxt2.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150)));
this.ppBtnDefCbTxt2.TabIndex = 48;
this.ppBtnDefCbTxt2.TabIndex = 61;
this.ppBtnDefCbTxt2.Text = "Default";
this.ppBtnDefCbTxt2.ThemeAware = true;
this.ppBtnDefCbTxt2.Visible = false;
this.ppBtnDefCbTxt2.Click += new System.EventHandler(this.ppBtnDefCbTxt2_Click);
//
// ppBtnDefCbTxt1
//
@ -903,10 +910,11 @@ namespace VEPROMS
this.ppBtnDefCbTxt1.Name = "ppBtnDefCbTxt1";
this.ppBtnDefCbTxt1.Size = new System.Drawing.Size(59, 25);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxt1, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxt1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150)));
this.ppBtnDefCbTxt1.TabIndex = 48;
this.ppBtnDefCbTxt1.TabIndex = 59;
this.ppBtnDefCbTxt1.Text = "Default";
this.ppBtnDefCbTxt1.ThemeAware = true;
this.ppBtnDefCbTxt1.Visible = false;
this.ppBtnDefCbTxt1.Click += new System.EventHandler(this.ppBtnDefCbTxt1_Click);
//
// ppLblChgBarUserMsgTwoDefault
//
@ -915,11 +923,11 @@ namespace VEPROMS
this.ppLblChgBarUserMsgTwoDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.ppLblChgBarUserMsgTwoDefault.Location = new System.Drawing.Point(88, 74);
this.ppLblChgBarUserMsgTwoDefault.Name = "ppLblChgBarUserMsgTwoDefault";
this.ppLblChgBarUserMsgTwoDefault.Size = new System.Drawing.Size(61, 17);
this.ppLblChgBarUserMsgTwoDefault.Size = new System.Drawing.Size(52, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChgBarUserMsgTwoDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Message Line Two", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Messag" +
"e Line Two setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblChgBarUserMsgTwoDefault.TabIndex = 7;
this.ppLblChgBarUserMsgTwoDefault.Text = "(default)";
this.ppLblChgBarUserMsgTwoDefault.Text = "(blank)";
this.ppLblChgBarUserMsgTwoDefault.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// ppLblChgBarUserMsgOneDefault
@ -929,11 +937,11 @@ namespace VEPROMS
this.ppLblChgBarUserMsgOneDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.ppLblChgBarUserMsgOneDefault.Location = new System.Drawing.Point(91, 30);
this.ppLblChgBarUserMsgOneDefault.Name = "ppLblChgBarUserMsgOneDefault";
this.ppLblChgBarUserMsgOneDefault.Size = new System.Drawing.Size(61, 17);
this.ppLblChgBarUserMsgOneDefault.Size = new System.Drawing.Size(52, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChgBarUserMsgOneDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Message Line One", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Messag" +
"e Line One setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblChgBarUserMsgOneDefault.TabIndex = 6;
this.ppLblChgBarUserMsgOneDefault.Text = "(default)";
this.ppLblChgBarUserMsgOneDefault.Text = "(blank)";
this.ppLblChgBarUserMsgOneDefault.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label24
@ -964,7 +972,7 @@ namespace VEPROMS
this.ppTxbxChgBarUserMsgTwo.Name = "ppTxbxChgBarUserMsgTwo";
this.ppTxbxChgBarUserMsgTwo.Size = new System.Drawing.Size(57, 24);
this.superTooltip1.SetSuperTooltip(this.ppTxbxChgBarUserMsgTwo, new DevComponents.DotNetBar.SuperTooltipInfo("User Defined Message", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppTxbxChgBarUserMsgTwo.TabIndex = 2;
this.ppTxbxChgBarUserMsgTwo.TabIndex = 60;
this.ppTxbxChgBarUserMsgTwo.Text = "";
this.ppTxbxChgBarUserMsgTwo.TextChanged += new System.EventHandler(this.ppTxbxChangeBarUserMsgTwo_TextChanged);
//
@ -978,7 +986,7 @@ namespace VEPROMS
this.ppTxbxChangeBarUserMsgOne.Name = "ppTxbxChangeBarUserMsgOne";
this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(57, 24);
this.superTooltip1.SetSuperTooltip(this.ppTxbxChangeBarUserMsgOne, new DevComponents.DotNetBar.SuperTooltipInfo("User DefinedMessage", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppTxbxChangeBarUserMsgOne.TabIndex = 1;
this.ppTxbxChangeBarUserMsgOne.TabIndex = 58;
this.ppTxbxChangeBarUserMsgOne.Text = "";
this.ppTxbxChangeBarUserMsgOne.TextChanged += new System.EventHandler(this.ppTxbxChangeBarUserMsgOne_TextChanged);
//
@ -1229,6 +1237,7 @@ namespace VEPROMS
//
// ppCmbxStpEditorCols
//
this.ppCmbxStpEditorCols.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.folderConfigBindingSource, "Format_Columns", true));
this.ppCmbxStpEditorCols.DisplayMember = "Text";
this.ppCmbxStpEditorCols.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxStpEditorCols.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@ -1240,7 +1249,7 @@ namespace VEPROMS
this.superTooltip1.SetSuperTooltip(this.ppCmbxStpEditorCols, new DevComponents.DotNetBar.SuperTooltipInfo("Step Editor Columns", "", "This will be the default number of columns pre-selected when a new step editor se" +
"ction is created.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppCmbxStpEditorCols.TabIndex = 48;
this.ppCmbxStpEditorCols.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxStpEditorCols.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.ppCmbxStpEditorCols.WatermarkText = "Select Default Columns";
this.ppCmbxStpEditorCols.SelectedValueChanged += new System.EventHandler(this.ppCmbxStpEditorCols_SelectedValueChanged);
//
@ -1347,7 +1356,7 @@ namespace VEPROMS
this.procPropChangeBarPositionCombo.FormattingEnabled = true;
this.procPropChangeBarPositionCombo.Location = new System.Drawing.Point(86, 39);
this.procPropChangeBarPositionCombo.Name = "procPropChangeBarPositionCombo";
this.procPropChangeBarPositionCombo.Size = new System.Drawing.Size(248, 24);
this.procPropChangeBarPositionCombo.Size = new System.Drawing.Size(248, 25);
this.procPropChangeBarPositionCombo.TabIndex = 10;
//
// label18
@ -1364,7 +1373,7 @@ namespace VEPROMS
this.procPropChangeBarTextTypeCombo.FormattingEnabled = true;
this.procPropChangeBarTextTypeCombo.Location = new System.Drawing.Point(86, 82);
this.procPropChangeBarTextTypeCombo.Name = "procPropChangeBarTextTypeCombo";
this.procPropChangeBarTextTypeCombo.Size = new System.Drawing.Size(248, 24);
this.procPropChangeBarTextTypeCombo.Size = new System.Drawing.Size(248, 25);
this.procPropChangeBarTextTypeCombo.TabIndex = 7;
//
// procPropPaginationCombo
@ -1372,7 +1381,7 @@ namespace VEPROMS
this.procPropPaginationCombo.FormattingEnabled = true;
this.procPropPaginationCombo.Location = new System.Drawing.Point(104, 73);
this.procPropPaginationCombo.Name = "procPropPaginationCombo";
this.procPropPaginationCombo.Size = new System.Drawing.Size(165, 24);
this.procPropPaginationCombo.Size = new System.Drawing.Size(165, 25);
this.procPropPaginationCombo.TabIndex = 33;
//
// label19
@ -1389,7 +1398,7 @@ namespace VEPROMS
this.procPropWatermarkCombo.FormattingEnabled = true;
this.procPropWatermarkCombo.Location = new System.Drawing.Point(411, 73);
this.procPropWatermarkCombo.Name = "procPropWatermarkCombo";
this.procPropWatermarkCombo.Size = new System.Drawing.Size(178, 24);
this.procPropWatermarkCombo.Size = new System.Drawing.Size(178, 25);
this.procPropWatermarkCombo.TabIndex = 31;
//
// label20
@ -1406,7 +1415,7 @@ namespace VEPROMS
this.procPropDefaultFormatCombo.FormattingEnabled = true;
this.procPropDefaultFormatCombo.Location = new System.Drawing.Point(10, 26);
this.procPropDefaultFormatCombo.Name = "procPropDefaultFormatCombo";
this.procPropDefaultFormatCombo.Size = new System.Drawing.Size(526, 24);
this.procPropDefaultFormatCombo.Size = new System.Drawing.Size(526, 25);
this.procPropDefaultFormatCombo.TabIndex = 29;
//
// label21
@ -1428,7 +1437,7 @@ namespace VEPROMS
"Override Format Defined Change Bars"});
this.procPropChangeBarTypeCombo.Location = new System.Drawing.Point(103, 118);
this.procPropChangeBarTypeCombo.Name = "procPropChangeBarTypeCombo";
this.procPropChangeBarTypeCombo.Size = new System.Drawing.Size(293, 24);
this.procPropChangeBarTypeCombo.Size = new System.Drawing.Size(293, 25);
this.procPropChangeBarTypeCombo.TabIndex = 27;
//
// label22
@ -1445,11 +1454,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.ForeColor = System.Drawing.Color.MidnightBlue;
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(3, 318);
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17);
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(238, 17);
this.ppLblDefSettingsInfo.TabIndex = 24;
this.ppLblDefSettingsInfo.Text = "* Default values shown in italics";
this.ppLblDefSettingsInfo.Text = "* Default settings are shown in italics";
this.ppLblDefSettingsInfo.Visible = false;
//
// superTooltip1
//
@ -1458,13 +1469,19 @@ namespace VEPROMS
// ppCbShwDefSettings
//
this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
//
//
//
this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(5, 337);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(205, 23);
this.ppCbShwDefSettings.Size = new System.Drawing.Size(236, 23);
this.ppCbShwDefSettings.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005;
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 = 25;
this.ppCbShwDefSettings.TabIndex = 90;
this.ppCbShwDefSettings.Text = "Show Default Settings";
this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter);
//
@ -1500,11 +1517,22 @@ namespace VEPROMS
this.groupPanel2.Style.BorderRightWidth = 1;
this.groupPanel2.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel2.Style.BorderTopWidth = 1;
this.groupPanel2.Style.Class = "";
this.groupPanel2.Style.CornerDiameter = 4;
this.groupPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.groupPanel2.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.groupPanel2.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.groupPanel2.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.groupPanel2.StyleMouseDown.Class = "";
this.groupPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.groupPanel2.StyleMouseOver.Class = "";
this.groupPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.superTooltip1.SetSuperTooltip(this.groupPanel2, new DevComponents.DotNetBar.SuperTooltipInfo("PrinterAdjustments", "", resources.GetString("groupPanel2.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(275, 180)));
this.groupPanel2.TabIndex = 57;
this.groupPanel2.Text = "Printer Adjustments";
@ -1542,11 +1570,22 @@ namespace VEPROMS
this.ppGpbxUserSpecCB.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecCB.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecCB.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecCB.Style.Class = "";
this.ppGpbxUserSpecCB.Style.CornerDiameter = 4;
this.ppGpbxUserSpecCB.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecCB.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUserSpecCB.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUserSpecCB.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseDown.Class = "";
this.ppGpbxUserSpecCB.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseOver.Class = "";
this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.superTooltip1.SetSuperTooltip(this.ppGpbxUserSpecCB, new DevComponents.DotNetBar.SuperTooltipInfo("Custom Change Bar Settings", "", resources.GetString("ppGpbxUserSpecCB.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(240, 155)));
this.ppGpbxUserSpecCB.TabIndex = 48;
this.ppGpbxUserSpecCB.Text = "Custom Change Bar Settings";
@ -1582,11 +1621,22 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecTxt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecTxt.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecTxt.Style.Class = "";
this.ppGpbxUserSpecTxt.Style.CornerDiameter = 4;
this.ppGpbxUserSpecTxt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecTxt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUserSpecTxt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUserSpecTxt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseDown.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseOver.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUserSpecTxt.TabIndex = 0;
this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Message";
//
@ -1619,11 +1669,22 @@ namespace VEPROMS
this.groupPanel6.Style.BorderRightWidth = 1;
this.groupPanel6.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel6.Style.BorderTopWidth = 1;
this.groupPanel6.Style.Class = "";
this.groupPanel6.Style.CornerDiameter = 4;
this.groupPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.groupPanel6.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.groupPanel6.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.groupPanel6.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.groupPanel6.StyleMouseDown.Class = "";
this.groupPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.groupPanel6.StyleMouseOver.Class = "";
this.groupPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.superTooltip1.SetSuperTooltip(this.groupPanel6, new DevComponents.DotNetBar.SuperTooltipInfo("Step Editor Text Color", "", resources.GetString("groupPanel6.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 180)));
this.groupPanel6.TabIndex = 51;
this.groupPanel6.Text = "Step Editor Text Colors";
@ -1658,7 +1719,7 @@ namespace VEPROMS
this.btnEdSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnEdSettings.Name = "btnEdSettings";
this.btnEdSettings.Size = new System.Drawing.Size(160, 23);
this.btnEdSettings.TabIndex = 5;
this.btnEdSettings.TabIndex = 85;
this.btnEdSettings.Text = "Editor Settings";
this.btnEdSettings.Click += new System.EventHandler(this.btnEdSettings_Click);
//
@ -1671,7 +1732,7 @@ namespace VEPROMS
this.btnFormatSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnFormatSettings.Name = "btnFormatSettings";
this.btnFormatSettings.Size = new System.Drawing.Size(160, 23);
this.btnFormatSettings.TabIndex = 4;
this.btnFormatSettings.TabIndex = 84;
this.btnFormatSettings.Text = "Format Settings";
this.btnFormatSettings.Click += new System.EventHandler(this.btnFormatSettings_Click);
//
@ -1684,7 +1745,7 @@ namespace VEPROMS
this.btnStMsg.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnStMsg.Name = "btnStMsg";
this.btnStMsg.Size = new System.Drawing.Size(160, 23);
this.btnStMsg.TabIndex = 3;
this.btnStMsg.TabIndex = 83;
this.btnStMsg.Text = "Startup Message";
this.btnStMsg.Click += new System.EventHandler(this.btnStMsg_Click);
//
@ -1697,7 +1758,7 @@ namespace VEPROMS
this.btnOutputSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnOutputSettings.Name = "btnOutputSettings";
this.btnOutputSettings.Size = new System.Drawing.Size(160, 23);
this.btnOutputSettings.TabIndex = 2;
this.btnOutputSettings.TabIndex = 82;
this.btnOutputSettings.Text = "Output Settings";
this.btnOutputSettings.Click += new System.EventHandler(this.btnOutputSettings_Click);
//
@ -1710,7 +1771,7 @@ namespace VEPROMS
this.btnRefObjs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnRefObjs.Name = "btnRefObjs";
this.btnRefObjs.Size = new System.Drawing.Size(160, 23);
this.btnRefObjs.TabIndex = 1;
this.btnRefObjs.TabIndex = 81;
this.btnRefObjs.Text = "Referenced Objects";
this.btnRefObjs.Click += new System.EventHandler(this.btnRefObjs_Click);
//
@ -1723,7 +1784,7 @@ namespace VEPROMS
this.btnGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnGeneral.Name = "btnGeneral";
this.btnGeneral.Size = new System.Drawing.Size(160, 23);
this.btnGeneral.TabIndex = 0;
this.btnGeneral.TabIndex = 80;
this.btnGeneral.Text = "General";
this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click);
//
@ -1731,14 +1792,14 @@ namespace VEPROMS
//
this.tcFolder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.tcFolder.BackColor = System.Drawing.Color.White;
this.tcFolder.BackColor = System.Drawing.Color.Transparent;
this.tcFolder.CanReorderTabs = true;
this.tcFolder.Controls.Add(this.tcpFmtSettings);
this.tcFolder.Controls.Add(this.tcpEdSettings);
this.tcFolder.Controls.Add(this.tcpGeneral);
this.tcFolder.Controls.Add(this.tcpStMsg);
this.tcFolder.Controls.Add(this.tcpOutputSettings);
this.tcFolder.Controls.Add(this.tcpGeneral);
this.tcFolder.Controls.Add(this.tcpFmtSettings);
this.tcFolder.Controls.Add(this.tcpRefObjs);
this.tcFolder.Controls.Add(this.tcpEdSettings);
this.tcFolder.Location = new System.Drawing.Point(173, 7);
this.tcFolder.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcFolder.Name = "tcFolder";
@ -1757,36 +1818,6 @@ namespace VEPROMS
this.tcFolder.TabsVisible = false;
this.tcFolder.Text = "tabControl2";
//
// tcpRefObjs
//
this.tcpRefObjs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpRefObjs.Controls.Add(this.ppBtnDefaultGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppCmbxGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppLblGrphFileExtDefault);
this.tcpRefObjs.Controls.Add(this.lblGrphFileExt);
this.tcpRefObjs.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefObjs.Location = new System.Drawing.Point(0, 24);
this.tcpRefObjs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpRefObjs.Name = "tcpRefObjs";
this.tcpRefObjs.Padding = new System.Windows.Forms.Padding(1);
this.tcpRefObjs.Size = new System.Drawing.Size(685, 282);
this.tcpRefObjs.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpRefObjs.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpRefObjs.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefObjs.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpRefObjs.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpRefObjs.Style.GradientAngle = 90;
this.tcpRefObjs.TabIndex = 2;
this.tcpRefObjs.TabItem = this.tiRefObj;
this.tcpRefObjs.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiRefObj
//
this.tiRefObj.AttachedControl = this.tcpRefObjs;
this.tiRefObj.Name = "tiRefObj";
this.tiRefObj.Text = "Referenced Objects";
//
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
@ -1820,41 +1851,6 @@ namespace VEPROMS
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.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFmtSettings.Location = new System.Drawing.Point(0, 24);
this.tcpFmtSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpFmtSettings.Name = "tcpFmtSettings";
this.tcpFmtSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpFmtSettings.Size = new System.Drawing.Size(685, 282);
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";
//
// tcpEdSettings
//
this.tcpEdSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
@ -1958,6 +1954,71 @@ namespace VEPROMS
this.tiOutputSettings.Name = "tiOutputSettings";
this.tiOutputSettings.Text = "Output Settings";
//
// 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.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFmtSettings.Location = new System.Drawing.Point(0, 24);
this.tcpFmtSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpFmtSettings.Name = "tcpFmtSettings";
this.tcpFmtSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpFmtSettings.Size = new System.Drawing.Size(685, 282);
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;
this.tcpRefObjs.Controls.Add(this.ppBtnDefaultGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppCmbxGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppLblGrphFileExtDefault);
this.tcpRefObjs.Controls.Add(this.lblGrphFileExt);
this.tcpRefObjs.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefObjs.Location = new System.Drawing.Point(0, 24);
this.tcpRefObjs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpRefObjs.Name = "tcpRefObjs";
this.tcpRefObjs.Padding = new System.Windows.Forms.Padding(1);
this.tcpRefObjs.Size = new System.Drawing.Size(685, 282);
this.tcpRefObjs.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpRefObjs.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpRefObjs.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefObjs.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpRefObjs.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpRefObjs.Style.GradientAngle = 90;
this.tcpRefObjs.TabIndex = 2;
this.tcpRefObjs.TabItem = this.tiRefObj;
this.tcpRefObjs.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiRefObj
//
this.tiRefObj.AttachedControl = this.tcpRefObjs;
this.tiRefObj.Name = "tiRefObj";
this.tiRefObj.Text = "Referenced Objects";
//
// formatInfoListBindingSource
//
this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfoList);
@ -1968,7 +2029,6 @@ namespace VEPROMS
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
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(871, 359);
@ -1979,10 +2039,10 @@ namespace VEPROMS
this.Controls.Add(this.ppBtnCancel);
this.Controls.Add(this.ppBtnOK);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.Name = "frmFolderProperties";
this.ShowIcon = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Folder Properties";
this.Load += new System.EventHandler(this.frmFolderProperties_Load);
@ -2011,18 +2071,18 @@ namespace VEPROMS
this.panButtons.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tcFolder)).EndInit();
this.tcFolder.ResumeLayout(false);
this.tcpRefObjs.ResumeLayout(false);
this.tcpRefObjs.PerformLayout();
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpFmtSettings.ResumeLayout(false);
this.tcpFmtSettings.PerformLayout();
this.tcpEdSettings.ResumeLayout(false);
this.tcpEdSettings.PerformLayout();
this.tcpStMsg.ResumeLayout(false);
this.tcpStMsg.PerformLayout();
this.tcpOutputSettings.ResumeLayout(false);
this.tcpOutputSettings.PerformLayout();
this.tcpFmtSettings.ResumeLayout(false);
this.tcpFmtSettings.PerformLayout();
this.tcpRefObjs.ResumeLayout(false);
this.tcpRefObjs.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();

View File

@ -18,6 +18,11 @@ namespace VEPROMS
{
public partial class frmFolderProperties : DevComponents.DotNetBar.Office2007Form
{
private bool _Initializing = false;
private FolderConfig _FolderConfig;
private bool _IsVepromsNode = false;
private bool _IsDefaultSettingNode = false;
private string _DefaultFormatName = null;
private string _DefaultChgBarType = null;
private string _DefaultChgBarLoc = null;
@ -31,8 +36,6 @@ namespace VEPROMS
private string _DefaultWatermark = null;
private bool _DefaultDisableDuplex = false;
private string _DefaultFormatColumns = null;
private bool _Initializing = false;
private FolderConfig _FolderConfig;
//private string _ROcolor;
//private string _TransColor;
//private string _EditBckgndColor;
@ -41,12 +44,21 @@ namespace VEPROMS
public frmFolderProperties(FolderConfig folderConfig)
{
_FolderConfig = folderConfig;
_IsVepromsNode = !folderConfig.HasParent; // top tree node does not have a parent
if (!_IsVepromsNode)
_IsDefaultSettingNode = _FolderConfig.MyFolder.MyParent.MyParent == null;
_Initializing = true;
InitializeComponent();
btnGeneral.PerformClick(); // always start with General tab or button
_Initializing = false;
// Build window caption
this.Text = string.Format("{0} Properties",folderConfig.Name);
if (_IsDefaultSettingNode)
{
// Change these labels for the first node after the VE-PROMS node.
ppLblDefSettingsInfo.Text = "* Default VE-PROMS settings are shown in italics";
ppCbShwDefSettings.Text = "Show Default VE-PROMS Settings";
}
}
/// <summary>
@ -136,7 +148,11 @@ namespace VEPROMS
// Get the saved settings for this user
//
// This setting tells us if we should display the default values on this property page
ppCbShwDefSettings.Checked = (Settings.Default["ShowDefaultFolderProp"] != null)? Settings.Default.ShowDefaultFolderProp : false;
//ppCbShwDefSettings.Checked = (Settings.Default["ShowDefaultFolderProp"] != null)? Settings.Default.ShowDefaultFolderProp : false;
if (_IsVepromsNode || Settings.Default["ShowDefaultFolderProp"] == null)
ppCbShwDefSettings.Checked = false;
else
ppCbShwDefSettings.Checked = Settings.Default.ShowDefaultFolderProp;
// Get the User's property page style "PropPageStyle" (this is a system wide user setting)
// 1 - Button Dialog (default)
@ -154,7 +170,7 @@ namespace VEPROMS
// Setup as to which "tabs" to display on the property page
// - the first (top) tree node shows different "tabs" than the
// other folder type of tree nodes
if (!_FolderConfig.HasParent)
if (_IsVepromsNode) //(!_FolderConfig.HasParent)
{
// if we are at the top node of the tree, remove the Folder Property page tabs
// that do not pertain to this level (top of tree)
@ -175,9 +191,9 @@ namespace VEPROMS
// Also, for the referenced object tab, the top node (veproms system level) should
// allow setting of the default graphics file extension. No other folder level allows this.
ppCmbxGrphFileExt.Visible = true;
ppLblGrphFileExtDefault.Visible = true;
ppLblGrphFileExtDefault.Visible = false; // true;
lblGrphFileExt.Visible = true;
ppBtnDefaultGrphFileExt.Visible = true;
ppBtnDefaultGrphFileExt.Visible = false; // true;
}
else
{
@ -326,6 +342,7 @@ namespace VEPROMS
if (_DefaultROGraficFileExtension.Equals(_FolderConfig.Graphics_defaultext))
_FolderConfig.Graphics_defaultext = _DefaultROGraficFileExtension;// this will force a database update (write)
ppCmbxGrphFileExt.SelectedIndex = -1; //reset to the default Graphic File Extension setting
//tcpRefObjs.Focus();
}
/// <summary>
@ -381,7 +398,7 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppCmbxPagination_SelectedValueChanged(object sender, EventArgs e)
{
if (!_Initializing)
if (!_Initializing || !_IsDefaultSettingNode)
{
FolderConfig.PrintPagination pgtn = (FolderConfig.PrintPagination)Enum.Parse(typeof(FolderConfig.PrintPagination), _DefaultPagination);
ProcessCmbxSelectionEnumChanged(ppCmbxPagination, pgtn, ppBtnDefPagination, ppLblPaginationDefault);
@ -397,12 +414,14 @@ namespace VEPROMS
/// <param name="e"></param>
private void ppBtnDefPagination_Click(object sender, EventArgs e)
{
Console.WriteLine("ppBtnDefPagination_Click");
// Get the parent setting
FolderConfig.PrintPagination pgtn = (FolderConfig.PrintPagination)Enum.Parse(typeof(FolderConfig.PrintPagination), _DefaultPagination);
// Compare parent setting with current setting
if (pgtn != _FolderConfig.Print_Pagination)
_FolderConfig.Print_Pagination = pgtn; // this will force a database update (write)
ppCmbxPagination.SelectedIndex = -1; //reset to the default Pagination setting
//tcpOutputSettings.Focus();
}
/// <summary>
@ -434,6 +453,7 @@ namespace VEPROMS
if (wtr != _FolderConfig.Print_Watermark)
_FolderConfig.Print_Watermark = wtr; // this will force a database update (write)
ppCmbxWatermark.SelectedIndex = -1; //reset to the default Watermark setting
//tcpOutputSettings.Focus();
}
/// <summary>
@ -445,6 +465,7 @@ namespace VEPROMS
{
if (!_Initializing)
{
_FolderConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked;
ppBtnDeftDisAutoDuplx.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked);
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
}
@ -485,13 +506,14 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
{
//if (!_Initializing)
if (!_Initializing)
ProcessCmbxSelectedValueChange(ppCmbxFormat, _DefaultFormatName, ppBtnDefaultFmt, ppLblFormatDefault);
}
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
{
ppCmbxFormat.SelectedIndex = -1; //reset to the default Format setting
//tcpFmtSettings.Focus();
}
/// <summary>
@ -500,13 +522,18 @@ namespace VEPROMS
/// </summary>
private void setEnabledUserSpecifiedChgBarCombos(FolderConfig.PrintChangeBar pcb)
{
ppGpbxUserSpecCB.Enabled =
ppCmbxChgBarPos.Enabled =
ppCmbxChgBarTxtType.Enabled =
ppBtnDefaultCbPos.Enabled =
ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
ppCmbxChangeBarType.SelectedValue.Equals(FolderConfig.PrintChangeBar.WithUserSpecified)) ||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(FolderConfig.PrintChangeBar.WithUserSpecified));
//ppGpbxUserSpecCB.Enabled =
//ppCmbxChgBarPos.Enabled =
//ppCmbxChgBarTxtType.Enabled =
//ppBtnDefaultCbPos.Enabled =
//ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
//ppCmbxChangeBarType.SelectedValue.Equals(FolderConfig.PrintChangeBar.WithUserSpecified)) ||
//(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(FolderConfig.PrintChangeBar.WithUserSpecified));
ppGpbxUserSpecCB.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
ppCmbxChangeBarType.SelectedValue.Equals(FolderConfig.PrintChangeBar.WithUserSpecified)) ||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(FolderConfig.PrintChangeBar.WithUserSpecified));
}
/// <summary>
@ -533,13 +560,16 @@ namespace VEPROMS
/// <param name="e"></param>
private void ppBtnDefaultChgBar_Click(object sender, EventArgs e)
{
// Get the parent setting
FolderConfig.PrintChangeBar pcb = (FolderConfig.PrintChangeBar)Enum.Parse(typeof(FolderConfig.PrintChangeBar), _DefaultChgBarType);
// Compare parent setting with current setting
if (pcb!= _FolderConfig.Print_ChangeBar)
_FolderConfig.Print_ChangeBar = pcb; // this will force a database update (write)
ppCmbxChangeBarType.SelectedIndex = -1; //reset combo box to the default Change Bar setting
}
// Get the parent setting
FolderConfig.PrintChangeBar pcb = (FolderConfig.PrintChangeBar)Enum.Parse(typeof(FolderConfig.PrintChangeBar), _DefaultChgBarType);
// Compare parent setting with current setting
_Initializing = true;
if (pcb != _FolderConfig.Print_ChangeBar)
_FolderConfig.Print_ChangeBar = pcb; // this will force a database update (write)
ppCmbxChangeBarType.SelectedIndex = -1; //reset combo box to the default Change Bar setting
_Initializing = false;
//tcpFmtSettings.Focus();
}
/// <summary>
/// Selection in Change Bar Position combo box changed.
@ -562,7 +592,7 @@ namespace VEPROMS
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ppCmbxChgBarPos_Click(object sender, EventArgs e)
private void ppBtnDefaultCbPos_Click(object sender, EventArgs e)
{
// Get the parent setting
FolderConfig.PrintChangeBarLoc cbl = (FolderConfig.PrintChangeBarLoc)Enum.Parse(typeof(FolderConfig.PrintChangeBarLoc), _DefaultChgBarLoc);
@ -570,6 +600,7 @@ namespace VEPROMS
if (cbl != _FolderConfig.Print_ChangeBarLoc)
_FolderConfig.Print_ChangeBarLoc = cbl; // this will force a database update (write)
ppCmbxChgBarPos.SelectedIndex = -1; //reset to the default Change Bar Position setting
//tcpFmtSettings.Focus();
}
/// <summary>
@ -584,6 +615,7 @@ namespace VEPROMS
FolderConfig.PrintChangeBarText cbt = (FolderConfig.PrintChangeBarText)Enum.Parse(typeof(FolderConfig.PrintChangeBarText), _DefaultChgBarText);
ProcessCmbxSelectionEnumChanged(ppCmbxChgBarTxtType, cbt, ppBtnDefCbTxtTyp, ppLblChgBarTxtTypeDefault);
setEnabledUserSpecifiedChgBarText();
//tcpFmtSettings.Focus();
}
}
@ -602,6 +634,7 @@ namespace VEPROMS
if (cbt != _FolderConfig.Print_ChangeBarText)
_FolderConfig.Print_ChangeBarText = cbt; // this will force a database update (write)
ppCmbxChgBarTxtType.SelectedIndex = -1; //reset to the default Change Bar Text Type setting
//tcpFmtSettings.Focus();
}
/// <summary>
@ -610,12 +643,19 @@ namespace VEPROMS
/// </summary>
private void setEnabledUserSpecifiedChgBarText()
{
ppGpbxUserSpecTxt.Enabled =
ppTxbxChangeBarUserMsgOne.Enabled =
ppTxbxChgBarUserMsgTwo.Enabled =
ppBtnDefCbTxt1.Enabled =
ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
ppCmbxChgBarTxtType.SelectedValue.Equals(FolderConfig.PrintChangeBarText.UserDef));
//ppGpbxUserSpecTxt.Enabled =
//ppTxbxChangeBarUserMsgOne.Enabled =
//ppTxbxChgBarUserMsgTwo.Enabled =
//ppBtnDefCbTxt1.Enabled =
//ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
//ppCmbxChgBarTxtType.SelectedValue.Equals(FolderConfig.PrintChangeBarText.UserDef));
// This string is used to check against our default setting to see if User Defined Changebar Text is active
string decUserDef = DocVersionConfig.PrintChangeBarText.UserDef.ToString();
ppGpbxUserSpecTxt.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
ppCmbxChgBarTxtType.SelectedValue.Equals(FolderConfig.PrintChangeBarText.UserDef)) ||
(ppCmbxChgBarTxtType.SelectedIndex == -1 && _DefaultChgBarText.Equals(decUserDef));
}
/// <summary>
@ -625,8 +665,10 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e)
{
if (!_Initializing)
ppBtnDefCbTxt1.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppTxbxChangeBarUserMsgOne.Text != null);
//ppBtnDefCbTxt1.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) &&
// ((ppTxbxChangeBarUserMsgOne.Text != null) && !ppTxbxChangeBarUserMsgOne.Text.Equals(_DefaultChgBarUsrMsg1));
ppBtnDefCbTxt1.Visible = ((ppTxbxChangeBarUserMsgOne.Text != null) && !ppTxbxChangeBarUserMsgOne.Text.Equals(_DefaultChgBarUsrMsg1));
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
}
/// <summary>
@ -636,8 +678,10 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppTxbxChangeBarUserMsgTwo_TextChanged(object sender, EventArgs e)
{
if (!_Initializing)
ppBtnDefCbTxt2.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) && (ppTxbxChgBarUserMsgTwo.Text != null);
//ppBtnDefCbTxt2.Visible = (!_FolderConfig.Name.Equals("VEPROMS")) &&
// ((ppTxbxChgBarUserMsgTwo.Text != null) && !ppTxbxChgBarUserMsgTwo.Text.Equals(_DefaultChgBarUsrMsg2));
ppBtnDefCbTxt2.Visible = ((ppTxbxChgBarUserMsgTwo.Text != null) && !ppTxbxChgBarUserMsgTwo.Text.Equals(_DefaultChgBarUsrMsg2));
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
}
#endregion
@ -839,6 +883,7 @@ namespace VEPROMS
if (fcl != _FolderConfig.Format_Columns)
_FolderConfig.Format_Columns = fcl; // this will force a database update (write)
ppCmbxStpEditorCols.SelectedIndex = -1; //reset to the default Step Editor Columns setting
//tcpEdSettings.Focus();
}
#endregion
@ -902,8 +947,9 @@ namespace VEPROMS
{
if (defaultText != null && !(defaultText.Equals("")))
{
lbl.Text = string.Format("({0})", defaultText);
cmbo.WatermarkText = string.Format("{0}", defaultText);
string deftext = string.Format("{0}", defaultText);
lbl.Text = deftext;
cmbo.WatermarkText = deftext;
}
}
@ -912,13 +958,14 @@ namespace VEPROMS
/// </summary>
private void defaultSettingsVisiblity()
{
ppLblChgBarUserMsgOneDefault.Visible =
ppLblChgBarUserMsgTwoDefault.Visible =
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
ppLblGrphFileExtDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultGrphFileExt.Visible;
ppLblGrphFileExtDefault.Visible = (ppCbShwDefSettings.Checked || _IsVepromsNode) && ppBtnDefaultGrphFileExt.Visible;
ppLblWatermarkDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefWatermark.Visible;
ppLblPaginationDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefPagination.Visible;
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
@ -942,7 +989,7 @@ namespace VEPROMS
button.PerformClick();
}
button.Visible = (cmbx.SelectedValue != null);//(!_FolderConfig.Name.Equals("VEPROMS")) && (cmbx.SelectedValue != null);
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
deflabel.Visible = (ppCbShwDefSettings.Checked || _IsVepromsNode) && button.Visible;
}
/// <summary>
@ -954,13 +1001,18 @@ namespace VEPROMS
/// <param name="deflabel">label containing the default</param>
private void ProcessCmbxSelectionEnumChanged(ComboBoxEx cmbx, object enumval, ButtonX button, Label deflabel)
{
if ((cmbx.SelectedIndex != -1) &&
if ((cmbx.SelectedIndex != -1) &&
cmbx.SelectedValue.Equals(enumval))
{
_Initializing = true;
button.Visible = true;
button.Focus();
button.PerformClick();
cmbx.SelectedIndex = -1; // This will hide the Default button
_Initializing = false;
}
button.Visible = ((!_FolderConfig.Name.Equals("VEPROMS")) && (cmbx.SelectedValue != null));
//button.Visible = ((!_FolderConfig.Name.Equals("VEPROMS")) && (cmbx.SelectedValue != null));
button.Visible = (!_IsVepromsNode && (cmbx.SelectedValue != null)&&(cmbx.SelectedIndex >= 0));
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
}
@ -972,9 +1024,7 @@ namespace VEPROMS
private void ProcessButtonClick(TabItem tab, ButtonX button)
{
ClearAllCheckedButtons();
_Initializing = true;
tcFolder.SelectedTab = tab;
_Initializing = false;
button.Checked = true;
}
@ -1004,11 +1054,48 @@ namespace VEPROMS
private void tabpage_Enter(object sender, EventArgs e)
{
// Show or hide the labels containing the default values
if (!_Initializing)
//if (!_Initializing)
defaultSettingsVisiblity();
}
}
#endregion
private void ppBtnDefCbTxt1_Click(object sender, EventArgs e)
{
// Compare default setting with current setting
// Reset with the default and hide the default button and label
if (_DefaultChgBarUsrMsg1 != _FolderConfig.Print_UserCBMess1)
{
//_Initializing = true;
_FolderConfig.Print_UserCBMess1 = _DefaultChgBarUsrMsg1; // this will force a database update (write)
ppLblChgBarUserMsgOneDefault.Visible = false;
ppBtnDefCbTxt1.Visible = false;
//tcpFmtSettings.Focus();
//_Initializing = false;
}
}
private void ppBtnDefCbTxt2_Click(object sender, EventArgs e)
{
// Compare default setting with current setting
// Reset with the default and hide the default button and label
if (_DefaultChgBarUsrMsg2 != _FolderConfig.Print_UserCBMess2)
{
_FolderConfig.Print_UserCBMess2 = _DefaultChgBarUsrMsg2; // this will force a database update (write)
ppLblChgBarUserMsgTwoDefault.Visible = false;
ppBtnDefCbTxt2.Visible = false;
//tcpFmtSettings.Focus();
}
}
private void ppBtnDeftDisAutoDuplx_Click(object sender, EventArgs e)
{
ppChbxDisAutoDuplex.Checked = _DefaultDisableDuplex;
_FolderConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked;
ppBtnDeftDisAutoDuplx.Visible = false;
ppLblAutoDuplexDefault.Visible = false;
//tcpOutputSettings.Focus();
}
}

View File

@ -131,9 +131,6 @@ 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>17, 57</value>
</metadata>
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 57</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.
@ -182,8 +179,8 @@ Check "Show Default Settings" to display the "default" Change Bar Custom Message
<data name="ppBtnChgTextColors.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALCQAA
CwkBEvpHPgAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALAgAA
CwIBm8luNgAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl
lLjS0qEpmpBmNsnhdPRAL1SwpuFwHtO5pbGle3Duwfvf3R7a/bodTGcaBB18j+PPfT/3/X//94sAAOy/
riAgJNrZWUDpShCpLfSR+K0Aqb3jR+oLbnKupjb8vfDnMPPbakKd5qUsDT88biWERJmf/0R4ng9psq0W
vPz2nyAOwH65COHX/ZSt2UG7u9EKgOO1l7K1Ohc0YtPCkMhDmqUpqxKQk8UeytYyFzRCdz5AzTkAeT6X

View File

@ -42,9 +42,7 @@ namespace VEPROMS
this.label21 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.ppRTxtTitle = new System.Windows.Forms.RichTextBox();
this.procedureConfigBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ppRTxtNumber = new System.Windows.Forms.RichTextBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.ppBtnDefaultChgBar = new DevComponents.DotNetBar.ButtonX();
@ -147,22 +145,21 @@ namespace VEPROMS
this.ppGpbxUserSpecCB = new DevComponents.DotNetBar.Controls.GroupPanel();
this.ppGpbxUserSpecTxt = new DevComponents.DotNetBar.Controls.GroupPanel();
this.panProcBtns = new System.Windows.Forms.Panel();
this.btnVwStngs = new DevComponents.DotNetBar.ButtonX();
this.btnOutputStngs = new DevComponents.DotNetBar.ButtonX();
this.btnFmtStngs = new DevComponents.DotNetBar.ButtonX();
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.tcProcProp = new DevComponents.DotNetBar.TabControl();
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiFmtStngs = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.ppProcNumStpRTB = new Volian.Controls.Library.StepRTB(this.components);
this.ppProcTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components);
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.tiFmtStngs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStngs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel();
this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiOutputStngs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStngs = new DevComponents.DotNetBar.TabItem(this.components);
((System.ComponentModel.ISupportInitialize)(this.procedureConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).BeginInit();
@ -178,16 +175,17 @@ namespace VEPROMS
this.panProcBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcProcProp)).BeginInit();
this.tcProcProp.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.tabControlPanel4.SuspendLayout();
this.tabControlPanel3.SuspendLayout();
this.tcpFormatSettings.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpOutputSettings.SuspendLayout();
this.ppGrpbxPrnAdj.SuspendLayout();
this.tabControlPanel4.SuspendLayout();
this.SuspendLayout();
//
// ppBtnCancel
//
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(770, 385);
this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(75, 26);
@ -238,6 +236,7 @@ namespace VEPROMS
this.ppBtnDefEdCols.TabIndex = 54;
this.ppBtnDefEdCols.Text = "Default";
this.ppBtnDefEdCols.ThemeAware = true;
this.ppBtnDefEdCols.Click += new System.EventHandler(this.ppBtnDefEdCols_Click);
//
// ppLblStpEditorColsDefault
//
@ -263,6 +262,7 @@ namespace VEPROMS
//
// ppCmbxStpEditorCols
//
this.ppCmbxStpEditorCols.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.procedureConfigBindingSource, "Format_Columns", true));
this.ppCmbxStpEditorCols.DisplayMember = "Text";
this.ppCmbxStpEditorCols.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxStpEditorCols.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@ -316,31 +316,10 @@ namespace VEPROMS
this.label3.Text = "Last Modified";
this.label3.Visible = false;
//
// ppRTxtTitle
//
this.ppRTxtTitle.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.procedureConfigBindingSource, "Title", true));
this.ppRTxtTitle.Location = new System.Drawing.Point(99, 268);
this.ppRTxtTitle.Name = "ppRTxtTitle";
this.ppRTxtTitle.Size = new System.Drawing.Size(541, 60);
this.ppRTxtTitle.TabIndex = 3;
this.ppRTxtTitle.Text = "";
this.ppRTxtTitle.Visible = false;
//
// procedureConfigBindingSource
//
this.procedureConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.ProcedureConfig);
//
// ppRTxtNumber
//
this.ppRTxtNumber.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.procedureConfigBindingSource, "Number", true));
this.ppRTxtNumber.Location = new System.Drawing.Point(426, 27);
this.ppRTxtNumber.Multiline = false;
this.ppRTxtNumber.Name = "ppRTxtNumber";
this.ppRTxtNumber.Size = new System.Drawing.Size(159, 22);
this.ppRTxtNumber.TabIndex = 2;
this.ppRTxtNumber.Text = "";
this.ppRTxtNumber.Visible = false;
//
// label2
//
this.label2.AutoSize = true;
@ -364,7 +343,7 @@ namespace VEPROMS
// ppBtnDefaultChgBar
//
this.ppBtnDefaultChgBar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(397, 98);
this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(399, 96);
this.ppBtnDefaultChgBar.Name = "ppBtnDefaultChgBar";
this.ppBtnDefaultChgBar.Size = new System.Drawing.Size(50, 23);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultChgBar, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the Change Bar selection back to using the parent\'s (default) se" +
@ -373,6 +352,7 @@ namespace VEPROMS
this.ppBtnDefaultChgBar.TabIndex = 53;
this.ppBtnDefaultChgBar.Text = "Default";
this.ppBtnDefaultChgBar.ThemeAware = true;
this.ppBtnDefaultChgBar.Visible = false;
this.ppBtnDefaultChgBar.Click += new System.EventHandler(this.ppBtnDefaultChgBar_Click);
//
// ppCmbxChangeBarType
@ -386,6 +366,7 @@ namespace VEPROMS
this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType";
this.ppCmbxChangeBarType.Size = new System.Drawing.Size(293, 23);
this.ppCmbxChangeBarType.TabIndex = 50;
this.ppCmbxChangeBarType.Visible = false;
this.ppCmbxChangeBarType.WatermarkText = "select change bar setting";
this.ppCmbxChangeBarType.SelectedValueChanged += new System.EventHandler(this.ppCmbxChangeBarType_SelectedValueChanged);
//
@ -435,6 +416,7 @@ namespace VEPROMS
"to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(270, 70)));
this.ppLblChangeBarTypeDefault.TabIndex = 38;
this.ppLblChangeBarTypeDefault.Text = "(default)";
this.ppLblChangeBarTypeDefault.Visible = false;
//
// ppLblFormatDefault
//
@ -540,6 +522,7 @@ namespace VEPROMS
this.ppBtnDefCbTxt2.TabIndex = 54;
this.ppBtnDefCbTxt2.Text = "Default";
this.ppBtnDefCbTxt2.ThemeAware = true;
this.ppBtnDefCbTxt2.Click += new System.EventHandler(this.ppBtnDefCbTxt2_Click);
//
// ppBtnDefCbTxt1
//
@ -551,6 +534,7 @@ namespace VEPROMS
this.ppBtnDefCbTxt1.TabIndex = 56;
this.ppBtnDefCbTxt1.Text = "Default";
this.ppBtnDefCbTxt1.ThemeAware = true;
this.ppBtnDefCbTxt1.Click += new System.EventHandler(this.ppBtnDefCbTxt1_Click);
//
// ppLblChgBarUserMsgOneDefault
//
@ -597,6 +581,7 @@ namespace VEPROMS
this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(57, 24);
this.ppTxbxChangeBarUserMsgOne.TabIndex = 1;
this.ppTxbxChangeBarUserMsgOne.Text = "";
this.ppTxbxChangeBarUserMsgOne.TextChanged += new System.EventHandler(this.ppTxbxChangeBarUserMsgOne_TextChanged);
//
// label5
//
@ -617,6 +602,7 @@ namespace VEPROMS
this.ppTxbxChgBarUserMsgTwo.Size = new System.Drawing.Size(57, 24);
this.ppTxbxChgBarUserMsgTwo.TabIndex = 2;
this.ppTxbxChgBarUserMsgTwo.Text = "";
this.ppTxbxChgBarUserMsgTwo.TextChanged += new System.EventHandler(this.ppTxbxChgBarUserMsgTwo_TextChanged);
//
// label7
//
@ -657,6 +643,7 @@ namespace VEPROMS
this.label20.Size = new System.Drawing.Size(83, 17);
this.label20.TabIndex = 26;
this.label20.Text = "Change Bar";
this.label20.Visible = false;
//
// ppNumUpDwnOvrdPrnPenWidth
//
@ -730,7 +717,6 @@ namespace VEPROMS
// ppBtnDeftDisAutoDuplx
//
this.ppBtnDeftDisAutoDuplx.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDeftDisAutoDuplx.Enabled = false;
this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(226, 276);
this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx";
this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(58, 24);
@ -739,6 +725,7 @@ namespace VEPROMS
this.ppBtnDeftDisAutoDuplx.Text = "Default";
this.ppBtnDeftDisAutoDuplx.ThemeAware = true;
this.ppBtnDeftDisAutoDuplx.Visible = false;
this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click);
//
// ppLblAutoDuplexDefault
//
@ -758,7 +745,7 @@ namespace VEPROMS
//
this.ppChbxDisAutoDuplex.AutoSize = true;
this.ppChbxDisAutoDuplex.BackColor = System.Drawing.Color.Transparent;
this.ppChbxDisAutoDuplex.Enabled = false;
this.ppChbxDisAutoDuplex.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.procedureConfigBindingSource, "Print_DisableDuplex", true));
this.ppChbxDisAutoDuplex.Location = new System.Drawing.Point(11, 276);
this.ppChbxDisAutoDuplex.Name = "ppChbxDisAutoDuplex";
this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(209, 21);
@ -767,6 +754,7 @@ namespace VEPROMS
this.ppChbxDisAutoDuplex.TabIndex = 61;
this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing";
this.ppChbxDisAutoDuplex.UseVisualStyleBackColor = false;
this.ppChbxDisAutoDuplex.CheckedChanged += new System.EventHandler(this.ppChbxDisAutoDuplex_CheckedChanged);
//
// ppBtnDefWatermark
//
@ -780,6 +768,7 @@ namespace VEPROMS
this.ppBtnDefWatermark.TabIndex = 60;
this.ppBtnDefWatermark.Text = "Default";
this.ppBtnDefWatermark.ThemeAware = true;
this.ppBtnDefWatermark.Click += new System.EventHandler(this.ppBtnDefWatermark_Click_1);
//
// ppBtnDefPagination
//
@ -1114,6 +1103,11 @@ namespace VEPROMS
// ppCbShwDefSettings
//
this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
//
//
//
this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(6, 395);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(152, 23);
@ -1463,14 +1457,26 @@ namespace VEPROMS
this.ppGpbxUserSpecCB.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecCB.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecCB.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecCB.Style.Class = "";
this.ppGpbxUserSpecCB.Style.CornerDiameter = 4;
this.ppGpbxUserSpecCB.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecCB.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUserSpecCB.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUserSpecCB.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseDown.Class = "";
this.ppGpbxUserSpecCB.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseOver.Class = "";
this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.superTooltip1.SetSuperTooltip(this.ppGpbxUserSpecCB, new DevComponents.DotNetBar.SuperTooltipInfo("Custom Change Bar Settings", "", resources.GetString("ppGpbxUserSpecCB.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 155)));
this.ppGpbxUserSpecCB.TabIndex = 54;
this.ppGpbxUserSpecCB.Text = "Custom Change Bar Settings";
this.ppGpbxUserSpecCB.Visible = false;
//
// ppGpbxUserSpecTxt
//
@ -1503,18 +1509,28 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecTxt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecTxt.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecTxt.Style.Class = "";
this.ppGpbxUserSpecTxt.Style.CornerDiameter = 4;
this.ppGpbxUserSpecTxt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecTxt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUserSpecTxt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUserSpecTxt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseDown.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseOver.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUserSpecTxt.TabIndex = 56;
this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Message";
//
// panProcBtns
//
this.panProcBtns.BackColor = System.Drawing.Color.Transparent;
this.panProcBtns.Controls.Add(this.btnVwStngs);
this.panProcBtns.Controls.Add(this.btnOutputStngs);
this.panProcBtns.Controls.Add(this.btnFmtStngs);
this.panProcBtns.Controls.Add(this.btnGeneral);
@ -1523,19 +1539,6 @@ namespace VEPROMS
this.panProcBtns.Size = new System.Drawing.Size(165, 356);
this.panProcBtns.TabIndex = 27;
//
// btnVwStngs
//
this.btnVwStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnVwStngs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnVwStngs.Dock = System.Windows.Forms.DockStyle.Top;
this.btnVwStngs.Location = new System.Drawing.Point(0, 69);
this.btnVwStngs.Name = "btnVwStngs";
this.btnVwStngs.Size = new System.Drawing.Size(165, 23);
this.btnVwStngs.TabIndex = 3;
this.btnVwStngs.Text = "View Settings";
this.btnVwStngs.Visible = false;
this.btnVwStngs.Click += new System.EventHandler(this.btnVwStngs_Click);
//
// btnOutputStngs
//
this.btnOutputStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
@ -1578,10 +1581,10 @@ namespace VEPROMS
| System.Windows.Forms.AnchorStyles.Right)));
this.tcProcProp.BackColor = System.Drawing.Color.Transparent;
this.tcProcProp.CanReorderTabs = true;
this.tcProcProp.Controls.Add(this.tabControlPanel2);
this.tcProcProp.Controls.Add(this.tabControlPanel1);
this.tcProcProp.Controls.Add(this.tcpGeneral);
this.tcProcProp.Controls.Add(this.tcpFormatSettings);
this.tcProcProp.Controls.Add(this.tcpOutputSettings);
this.tcProcProp.Controls.Add(this.tabControlPanel4);
this.tcProcProp.Controls.Add(this.tabControlPanel3);
this.tcProcProp.Location = new System.Drawing.Point(180, 7);
this.tcProcProp.Name = "tcProcProp";
this.tcProcProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
@ -1596,43 +1599,75 @@ namespace VEPROMS
this.tcProcProp.TabsVisible = false;
this.tcProcProp.Text = "tabControl2";
//
// tabControlPanel1
// tcpFormatSettings
//
this.tabControlPanel1.Controls.Add(this.ppProcNumStpRTB);
this.tabControlPanel1.Controls.Add(this.ppProcTitleStpRTB);
this.tabControlPanel1.Controls.Add(this.ppDtTmLastApprv);
this.tabControlPanel1.Controls.Add(this.label1);
this.tabControlPanel1.Controls.Add(this.ppDtTmLastMod);
this.tabControlPanel1.Controls.Add(this.label2);
this.tabControlPanel1.Controls.Add(this.ppBtnDefEdCols);
this.tabControlPanel1.Controls.Add(this.ppRTxtNumber);
this.tabControlPanel1.Controls.Add(this.ppLblStpEditorColsDefault);
this.tabControlPanel1.Controls.Add(this.ppRTxtTitle);
this.tabControlPanel1.Controls.Add(this.label43);
this.tabControlPanel1.Controls.Add(this.label3);
this.tabControlPanel1.Controls.Add(this.ppCmbxStpEditorCols);
this.tabControlPanel1.Controls.Add(this.label4);
this.tabControlPanel1.Controls.Add(this.ppTxtBxUserID);
this.tabControlPanel1.Controls.Add(this.label21);
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel1.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(672, 332);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB);
this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar);
this.tcpFormatSettings.Controls.Add(this.label19);
this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType);
this.tcpFormatSettings.Controls.Add(this.label20);
this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt);
this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat);
this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault);
this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault);
this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFormatSettings.Location = new System.Drawing.Point(0, 24);
this.tcpFormatSettings.Name = "tcpFormatSettings";
this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpFormatSettings.Size = new System.Drawing.Size(672, 332);
this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.tiGeneral;
this.tabControlPanel1.Enter += new System.EventHandler(this.tabpage_Enter);
this.tcpFormatSettings.Style.GradientAngle = 90;
this.tcpFormatSettings.TabIndex = 2;
this.tcpFormatSettings.TabItem = this.tiFmtStngs;
this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiFmtStngs
//
this.tiFmtStngs.AttachedControl = this.tcpFormatSettings;
this.tiFmtStngs.Name = "tiFmtStngs";
this.tiFmtStngs.Text = "Format Settings";
//
// tcpGeneral
//
this.tcpGeneral.Controls.Add(this.ppProcNumStpRTB);
this.tcpGeneral.Controls.Add(this.ppProcTitleStpRTB);
this.tcpGeneral.Controls.Add(this.ppDtTmLastApprv);
this.tcpGeneral.Controls.Add(this.label1);
this.tcpGeneral.Controls.Add(this.ppDtTmLastMod);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Controls.Add(this.ppBtnDefEdCols);
this.tcpGeneral.Controls.Add(this.ppLblStpEditorColsDefault);
this.tcpGeneral.Controls.Add(this.label43);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppCmbxStpEditorCols);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.label21);
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 24);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(672, 332);
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;
this.tcpGeneral.Enter += new System.EventHandler(this.tabpage_Enter);
//
// ppProcNumStpRTB
//
this.ppProcNumStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
this.ppProcNumStpRTB.BeingDisposed = false;
this.ppProcNumStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.ppProcNumStpRTB.CheckAbove = "|?????????";
this.ppProcNumStpRTB.CheckBelow = "|?";
@ -1654,12 +1689,14 @@ namespace VEPROMS
this.ppProcNumStpRTB.Size = new System.Drawing.Size(153, 16);
this.ppProcNumStpRTB.TabIndex = 58;
this.ppProcNumStpRTB.Text = "";
this.ppProcNumStpRTB.ThisContextMenuStrip = null;
this.ppProcNumStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
this.ppProcNumStpRTB.Enter += new System.EventHandler(this.ppProcNumStpRTB_Enter);
//
// ppProcTitleStpRTB
//
this.ppProcTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
this.ppProcTitleStpRTB.BeingDisposed = false;
this.ppProcTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.ppProcTitleStpRTB.CheckAbove = "|?????????";
this.ppProcTitleStpRTB.CheckBelow = "|?";
@ -1682,105 +1719,45 @@ namespace VEPROMS
this.ppProcTitleStpRTB.Size = new System.Drawing.Size(539, 59);
this.ppProcTitleStpRTB.TabIndex = 57;
this.ppProcTitleStpRTB.Text = "";
this.ppProcTitleStpRTB.ThisContextMenuStrip = null;
this.ppProcTitleStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
this.ppProcTitleStpRTB.Enter += new System.EventHandler(this.ppProcTitleStpRTB_Enter);
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tabControlPanel1;
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tabControlPanel2
// tcpOutputSettings
//
this.tabControlPanel2.Controls.Add(this.ppGpbxUserSpecCB);
this.tabControlPanel2.Controls.Add(this.ppBtnDefaultChgBar);
this.tabControlPanel2.Controls.Add(this.label19);
this.tabControlPanel2.Controls.Add(this.ppCmbxChangeBarType);
this.tabControlPanel2.Controls.Add(this.label20);
this.tabControlPanel2.Controls.Add(this.ppBtnDefaultFmt);
this.tabControlPanel2.Controls.Add(this.ppCmbxFormat);
this.tabControlPanel2.Controls.Add(this.ppLblFormatDefault);
this.tabControlPanel2.Controls.Add(this.ppLblChangeBarTypeDefault);
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel2.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(672, 332);
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
this.tcpOutputSettings.Controls.Add(this.ppGrpbxPrnAdj);
this.tcpOutputSettings.Controls.Add(this.label9);
this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx);
this.tcpOutputSettings.Controls.Add(this.label18);
this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault);
this.tcpOutputSettings.Controls.Add(this.ppLblPaginationDefault);
this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex);
this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark);
this.tcpOutputSettings.Controls.Add(this.ppCmbxPagination);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefPagination);
this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark);
this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpOutputSettings.Location = new System.Drawing.Point(0, 24);
this.tcpOutputSettings.Name = "tcpOutputSettings";
this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpOutputSettings.Size = new System.Drawing.Size(672, 332);
this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tiFmtStngs;
this.tabControlPanel2.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiFmtStngs
//
this.tiFmtStngs.AttachedControl = this.tabControlPanel2;
this.tiFmtStngs.Name = "tiFmtStngs";
this.tiFmtStngs.Text = "Format Settings";
//
// tabControlPanel4
//
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
this.tabControlPanel4.Controls.Add(this.label22);
this.tabControlPanel4.Controls.Add(this.ppCbProcView);
this.tabControlPanel4.Controls.Add(this.ppCbDeviationView);
this.tabControlPanel4.Controls.Add(this.ppCbBackView);
this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel4.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel4.Name = "tabControlPanel4";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(672, 332);
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;
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.GradientAngle = 90;
this.tabControlPanel4.TabIndex = 4;
this.tabControlPanel4.TabItem = this.tiViewStngs;
//
// tiViewStngs
//
this.tiViewStngs.AttachedControl = this.tabControlPanel4;
this.tiViewStngs.Name = "tiViewStngs";
this.tiViewStngs.Text = "View Settings";
//
// tabControlPanel3
//
this.tabControlPanel3.Controls.Add(this.ppGrpbxPrnAdj);
this.tabControlPanel3.Controls.Add(this.label9);
this.tabControlPanel3.Controls.Add(this.ppBtnDeftDisAutoDuplx);
this.tabControlPanel3.Controls.Add(this.label18);
this.tabControlPanel3.Controls.Add(this.ppLblAutoDuplexDefault);
this.tabControlPanel3.Controls.Add(this.ppLblPaginationDefault);
this.tabControlPanel3.Controls.Add(this.ppChbxDisAutoDuplex);
this.tabControlPanel3.Controls.Add(this.ppLblWatermarkDefault);
this.tabControlPanel3.Controls.Add(this.ppBtnDefWatermark);
this.tabControlPanel3.Controls.Add(this.ppCmbxPagination);
this.tabControlPanel3.Controls.Add(this.ppBtnDefPagination);
this.tabControlPanel3.Controls.Add(this.ppCmbxWatermark);
this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel3.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel3.Name = "tabControlPanel3";
this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel3.Size = new System.Drawing.Size(672, 332);
this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel3.Style.GradientAngle = 90;
this.tabControlPanel3.TabIndex = 3;
this.tabControlPanel3.TabItem = this.tiOutputStngs;
this.tabControlPanel3.Enter += new System.EventHandler(this.tabpage_Enter);
this.tcpOutputSettings.Style.GradientAngle = 90;
this.tcpOutputSettings.TabIndex = 3;
this.tcpOutputSettings.TabItem = this.tiOutputStngs;
this.tcpOutputSettings.Enter += new System.EventHandler(this.tabpage_Enter);
//
// ppGrpbxPrnAdj
//
@ -1813,25 +1790,67 @@ namespace VEPROMS
this.ppGrpbxPrnAdj.Style.BorderRightWidth = 1;
this.ppGrpbxPrnAdj.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGrpbxPrnAdj.Style.BorderTopWidth = 1;
this.ppGrpbxPrnAdj.Style.Class = "";
this.ppGrpbxPrnAdj.Style.CornerDiameter = 4;
this.ppGrpbxPrnAdj.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGrpbxPrnAdj.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGrpbxPrnAdj.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGrpbxPrnAdj.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGrpbxPrnAdj.StyleMouseDown.Class = "";
this.ppGrpbxPrnAdj.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGrpbxPrnAdj.StyleMouseOver.Class = "";
this.ppGrpbxPrnAdj.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGrpbxPrnAdj.TabIndex = 65;
this.ppGrpbxPrnAdj.Text = "Printer Adjustments";
//
// tiOutputStngs
//
this.tiOutputStngs.AttachedControl = this.tabControlPanel3;
this.tiOutputStngs.AttachedControl = this.tcpOutputSettings;
this.tiOutputStngs.Name = "tiOutputStngs";
this.tiOutputStngs.Text = "Output Settings";
//
// tabControlPanel4
//
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
this.tabControlPanel4.Controls.Add(this.label22);
this.tabControlPanel4.Controls.Add(this.ppCbProcView);
this.tabControlPanel4.Controls.Add(this.ppCbDeviationView);
this.tabControlPanel4.Controls.Add(this.ppCbBackView);
this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel4.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel4.Name = "tabControlPanel4";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(672, 332);
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;
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.GradientAngle = 90;
this.tabControlPanel4.TabIndex = 4;
this.tabControlPanel4.TabItem = this.tiViewStngs;
//
// tiViewStngs
//
this.tiViewStngs.AttachedControl = this.tabControlPanel4;
this.tiViewStngs.Name = "tiViewStngs";
this.tiViewStngs.Text = "View Settings";
//
// frmProcedureProperties
//
this.AcceptButton = this.ppBtnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScroll = true;
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(864, 419);
this.Controls.Add(this.tcProcProp);
@ -1868,16 +1887,16 @@ namespace VEPROMS
this.panProcBtns.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tcProcProp)).EndInit();
this.tcProcProp.ResumeLayout(false);
this.tabControlPanel1.ResumeLayout(false);
this.tabControlPanel1.PerformLayout();
this.tabControlPanel2.ResumeLayout(false);
this.tabControlPanel2.PerformLayout();
this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout();
this.tabControlPanel3.ResumeLayout(false);
this.tabControlPanel3.PerformLayout();
this.tcpFormatSettings.ResumeLayout(false);
this.tcpFormatSettings.PerformLayout();
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpOutputSettings.ResumeLayout(false);
this.tcpOutputSettings.PerformLayout();
this.ppGrpbxPrnAdj.ResumeLayout(false);
this.ppGrpbxPrnAdj.PerformLayout();
this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -1887,8 +1906,6 @@ namespace VEPROMS
private System.Windows.Forms.Button ppBtnCancel;
private System.Windows.Forms.Button ppBtnOK;
private System.Windows.Forms.RichTextBox ppRTxtTitle;
private System.Windows.Forms.RichTextBox ppRTxtNumber;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label4;
@ -2003,11 +2020,11 @@ namespace VEPROMS
private DevComponents.DotNetBar.TabControl tcProcProp;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel4;
private DevComponents.DotNetBar.TabItem tiViewStngs;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel3;
private DevComponents.DotNetBar.TabControlPanel tcpOutputSettings;
private DevComponents.DotNetBar.TabItem tiOutputStngs;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel2;
private DevComponents.DotNetBar.TabControlPanel tcpFormatSettings;
private DevComponents.DotNetBar.TabItem tiFmtStngs;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
private DevComponents.DotNetBar.TabControlPanel tcpGeneral;
private DevComponents.DotNetBar.TabItem tiGeneral;
private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUserSpecCB;
private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUserSpecTxt;
@ -2015,7 +2032,6 @@ namespace VEPROMS
private DevComponents.DotNetBar.ButtonX btnOutputStngs;
private DevComponents.DotNetBar.ButtonX btnFmtStngs;
private DevComponents.DotNetBar.ButtonX btnGeneral;
private DevComponents.DotNetBar.ButtonX btnVwStngs;
private Volian.Controls.Library.StepRTB ppProcTitleStpRTB;
private Volian.Controls.Library.StepRTB ppProcNumStpRTB;
}

View File

@ -25,14 +25,15 @@ namespace VEPROMS
private string _DefaultChgBarUsrMsg1 = null;
private string _DefaultChgBarUsrMsg2 = null;
private string _DefaultFormatColumns = null;
private bool _Initializing;
private bool _DefaultDisableDuplex = false;
private bool _Initializing = false;
private ProcedureConfig _ProcedureConfig;
private StepTabRibbon _MyStepTabRibbon;
public frmProcedureProperties(ProcedureConfig procedureConfig)
{
_ProcedureConfig = procedureConfig;
_Initializing = true;
_Initializing = true;
InitializeComponent();
btnGeneral.PerformClick(); // always start with General tab or button
_Initializing = false;
@ -122,8 +123,14 @@ namespace VEPROMS
// Get the default Format Columns
_DefaultFormatColumns = _ProcedureConfig.Format_Columns.ToString();
Console.WriteLine("_DefaultFormatColumns {0}", _DefaultFormatColumns);
SetupDefault(EnumDescConverter.GetEnumDescription(_ProcedureConfig.Format_Columns), ppLblStpEditorColsDefault, ppCmbxStpEditorCols);
// Get the default Disable Duplex
_DefaultDisableDuplex = _ProcedureConfig.Print_DisableDuplex;
ppLblAutoDuplexDefault.Text = string.Format("(Duplex {0})", (_DefaultDisableDuplex) ? "OFF" : "ON");
_ProcedureConfig.ParentLookup = false;
}
@ -210,14 +217,19 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppCmbxStpEditorCols_SelectedValueChanged(object sender, EventArgs e)
{
ProcedureConfig.FormatColumns fc = (ProcedureConfig.FormatColumns)Enum.Parse(typeof(ProcedureConfig.FormatColumns), _DefaultFormatColumns);
if ((ppCmbxStpEditorCols.SelectedIndex != -1) && ppCmbxStpEditorCols.SelectedValue.Equals(fc))
{
ppBtnDefEdCols.Focus();
ppBtnDefEdCols.PerformClick();
}
ppBtnDefEdCols.Visible = ppCmbxStpEditorCols.SelectedValue != null;
ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
//if (!_Initializing)
//{
ProcedureConfig.FormatColumns fc = (ProcedureConfig.FormatColumns)Enum.Parse(typeof(ProcedureConfig.FormatColumns), _DefaultFormatColumns);
ProcessCmbxSelectionEnumChanged(ppCmbxStpEditorCols, fc, ppBtnDefEdCols, ppLblStpEditorColsDefault);
//if ((ppCmbxStpEditorCols.SelectedIndex != -1) && ppCmbxStpEditorCols.SelectedValue.Equals(fc))
//{
// ppBtnDefEdCols.Focus();
// ppBtnDefEdCols.PerformClick();
//}
//ppBtnDefEdCols.Visible = ppCmbxStpEditorCols.SelectedValue != null;
//ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible;
tcpGeneral.Focus();
//}
}
#endregion
@ -236,6 +248,7 @@ namespace VEPROMS
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
{
ppCmbxFormat.SelectedIndex = -1; //reset to the default Format setting
//tcpFormatSettings.Focus();
}
/// <summary>
@ -254,14 +267,18 @@ namespace VEPROMS
/// </summary>
private void setEnabledUserSpecifiedChgBarCombos(ProcedureConfig.PrintChangeBar pcb)
{
ppGpbxUserSpecCB.Enabled =
ppCmbxChgBarPos.Enabled =
ppCmbxChgBarTxtType.Enabled =
ppBtnDefaultCbPos.Enabled =
ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
ppCmbxChangeBarType.SelectedValue.Equals(ProcedureConfig.PrintChangeBar.WithUserSpecified)) ||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified));
}
//ppGpbxUserSpecCB.Enabled =
//ppCmbxChgBarPos.Enabled =
//ppCmbxChgBarTxtType.Enabled =
//ppBtnDefaultCbPos.Enabled =
//ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
// ppCmbxChangeBarType.SelectedValue.Equals(ProcedureConfig.PrintChangeBar.WithUserSpecified)) ||
// (ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified));
ppGpbxUserSpecCB.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
ppCmbxChangeBarType.SelectedValue.Equals(ProcedureConfig.PrintChangeBar.WithUserSpecified)) ||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(ProcedureConfig.PrintChangeBar.WithUserSpecified));
}
/// <summary>
/// Selection in Change Bar combo box changed.
@ -270,11 +287,13 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppCmbxChangeBarType_SelectedValueChanged(object sender, EventArgs e)
{
//Console.WriteLine("### SelectedValueChanged");
if (!_Initializing)
{
ProcedureConfig.PrintChangeBar pcb = (ProcedureConfig.PrintChangeBar)Enum.Parse(typeof(ProcedureConfig.PrintChangeBar), _DefaultChgBarType);
ProcessCmbxSelectionEnumChanged(ppCmbxChangeBarType, pcb, ppBtnDefaultChgBar, ppLblChangeBarTypeDefault);
setEnabledUserSpecifiedChgBarCombos(pcb);
//tcpFormatSettings.Focus();
}
}
@ -290,9 +309,12 @@ namespace VEPROMS
// Get the parent setting
ProcedureConfig.PrintChangeBar pcb = (ProcedureConfig.PrintChangeBar)Enum.Parse(typeof(ProcedureConfig.PrintChangeBar), _DefaultChgBarType);
// Compare parent setting with current setting
_Initializing = true;
if (pcb != _ProcedureConfig.Print_ChangeBar)
_ProcedureConfig.Print_ChangeBar = pcb; // this will force a database update (write)
ppCmbxChangeBarType.SelectedIndex = -1; //reset to the default Change Bar setting
_Initializing = false;
//tcpFormatSettings.Focus();
}
/// <summary>
@ -306,6 +328,7 @@ namespace VEPROMS
{
ProcedureConfig.PrintChangeBarLoc cbl = (ProcedureConfig.PrintChangeBarLoc)Enum.Parse(typeof(ProcedureConfig.PrintChangeBarLoc), _DefaultChgBarLoc);
ProcessCmbxSelectionEnumChanged(ppCmbxChgBarPos, cbl, ppBtnDefaultCbPos, ppLblChgBarPosDefault);
//tcpFormatSettings.Focus();
}
}
@ -324,6 +347,7 @@ namespace VEPROMS
if (cbl != _ProcedureConfig.Print_ChangeBarLoc)
_ProcedureConfig.Print_ChangeBarLoc = cbl; // this will force a database update (write)
ppCmbxChgBarPos.SelectedIndex = -1; //reset to the default Change Bar Position setting
//tcpFormatSettings.Focus();
}
/// <summary>
@ -338,6 +362,7 @@ namespace VEPROMS
ProcedureConfig.PrintChangeBarText cbt = (ProcedureConfig.PrintChangeBarText)Enum.Parse(typeof(ProcedureConfig.PrintChangeBarText), _DefaultChgBarText);
ProcessCmbxSelectionEnumChanged(ppCmbxChgBarTxtType, cbt, ppBtnDefCbTxtTyp, ppLblChgBarTxtTypeDefault);
setEnabledUserSpecifiedChgBarText();
//tcpFormatSettings.Focus();
}
}
@ -356,6 +381,7 @@ namespace VEPROMS
if (cbt != _ProcedureConfig.Print_ChangeBarText)
_ProcedureConfig.Print_ChangeBarText = cbt; // this will force a database update (write)
ppCmbxChgBarTxtType.SelectedIndex = -1; //reset to the default Change Bar Text Type setting
//tcpFormatSettings.Focus();
}
/// <summary>
@ -364,12 +390,20 @@ namespace VEPROMS
/// </summary>
private void setEnabledUserSpecifiedChgBarText()
{
ppGpbxUserSpecTxt.Enabled =
ppTxbxChangeBarUserMsgOne.Enabled =
ppTxbxChgBarUserMsgTwo.Enabled =
ppBtnDefCbTxt1.Enabled =
ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
ppCmbxChgBarTxtType.SelectedValue.Equals(ProcedureConfig.PrintChangeBarText.UserDef));
//ppGpbxUserSpecTxt.Enabled =
//ppTxbxChangeBarUserMsgOne.Enabled =
//ppTxbxChgBarUserMsgTwo.Enabled =
//ppBtnDefCbTxt1.Enabled =
//ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
//ppCmbxChgBarTxtType.SelectedValue.Equals(ProcedureConfig.PrintChangeBarText.UserDef));
// This string is used to check against our default setting to see if User Defined Changebar Text is active
string decUserDef = ProcedureConfig.PrintChangeBarText.UserDef.ToString();
ppGpbxUserSpecTxt.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
ppCmbxChgBarTxtType.SelectedValue.Equals(ProcedureConfig.PrintChangeBarText.UserDef)) ||
(ppCmbxChgBarTxtType.SelectedIndex == -1 && _DefaultChgBarText.Equals(decUserDef));
}
#endregion
@ -397,6 +431,7 @@ namespace VEPROMS
{
ProcedureConfig.PrintPagination pgtn = (ProcedureConfig.PrintPagination)Enum.Parse(typeof(ProcedureConfig.PrintPagination), _DefaultPagination);
ProcessCmbxSelectionEnumChanged(ppCmbxPagination, pgtn, ppBtnDefPagination, ppLblPaginationDefault);
//tcpOutputSettings.Focus();
}
}
@ -415,6 +450,7 @@ namespace VEPROMS
if (pgtn != _ProcedureConfig.Print_Pagination)
_ProcedureConfig.Print_Pagination = pgtn; // this will force a database update (write)
ppCmbxPagination.SelectedIndex = -1; //reset to the default Pagination setting
//tcpOutputSettings.Focus();
}
/// <summary>
@ -428,6 +464,7 @@ namespace VEPROMS
{
ProcedureConfig.PrintWatermark wtr = (ProcedureConfig.PrintWatermark)Enum.Parse(typeof(ProcedureConfig.PrintWatermark), _DefaultWatermark);
ProcessCmbxSelectionEnumChanged(ppCmbxWatermark, wtr, ppBtnDefWatermark, ppLblWatermarkDefault);
//tcpOutputSettings.Focus();
}
}
@ -452,15 +489,15 @@ namespace VEPROMS
#region View Settings tab
/// <summary>
/// This is the View Settings button used on the button interface design
/// </summary>
/// <param name="sender">object</param>
/// <param name="e">EventArgs</param>
private void btnVwStngs_Click(object sender, EventArgs e)
{
ProcessButtonClick(tiViewStngs, btnVwStngs);
}
///// <summary>
///// This is the View Settings button used on the button interface design
///// </summary>
///// <param name="sender">object</param>
///// <param name="e">EventArgs</param>
//private void btnVwStngs_Click(object sender, EventArgs e)
//{
// ProcessButtonClick(tiViewStngs, btnVwStngs);
//}
#endregion
#region Generic functions used on this property page
@ -481,6 +518,7 @@ namespace VEPROMS
ppLblChgBarTxtTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxtTyp.Visible;
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
}
/// <summary>
@ -506,7 +544,7 @@ namespace VEPROMS
btnGeneral.Checked = false;
btnFmtStngs.Checked = false;
btnOutputStngs.Checked = false;
btnVwStngs.Checked = false;
//btnVwStngs.Checked = false;
}
/// <summary>
@ -519,7 +557,7 @@ namespace VEPROMS
private void tabpage_Enter(object sender, EventArgs e)
{
// Show or hide the labels containing the default values
if (!_Initializing)
//if (!_Initializing)
defaultSettingsVisiblity();
}
@ -533,8 +571,9 @@ namespace VEPROMS
{
if (defaultText != null && !(defaultText.Equals("")))
{
lbl.Text = string.Format("({0})", defaultText);
cmbo.WatermarkText = string.Format("{0}", defaultText);
string deftext = string.Format("{0}", defaultText);
lbl.Text = deftext;
cmbo.WatermarkText = deftext;
}
}
@ -550,8 +589,12 @@ namespace VEPROMS
if ((cmbx.SelectedIndex != -1) &&
cmbx.SelectedValue.Equals(enumval))
{
_Initializing = true;
button.Visible = true;
button.Focus();
button.PerformClick();
cmbx.SelectedIndex = -1; // This will hide the Default button
_Initializing = false;
}
button.Visible = (cmbx.SelectedValue != null);
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
@ -567,6 +610,7 @@ namespace VEPROMS
{
if ((cmbx.SelectedIndex != -1) && defstr != null && defstr.Equals(cmbx.SelectedValue))
{
button.Visible = true;
button.Focus();
button.PerformClick();
}
@ -584,5 +628,89 @@ namespace VEPROMS
{
_MyStepTabRibbon.MyStepRTB = ppProcNumStpRTB;
}
private void ppBtnDefCbTxt1_Click(object sender, EventArgs e)
{
// Compare default setting with current setting
// Reset with the default and hide the default button and label
if (_DefaultChgBarUsrMsg1 != _ProcedureConfig.Print_UserCBMess1)
{
_ProcedureConfig.Print_UserCBMess1 = _DefaultChgBarUsrMsg1;
ppLblChgBarUserMsgOneDefault.Visible = false;
ppBtnDefCbTxt1.Visible = false;
//tcpFormatSettings.Focus();
}
}
private void ppBtnDefCbTxt2_Click(object sender, EventArgs e)
{
// Compare default setting with current setting
// Reset with the default and hide the default button and label
if (_DefaultChgBarUsrMsg2 != _ProcedureConfig.Print_UserCBMess2)
{
_ProcedureConfig.Print_UserCBMess2 = _DefaultChgBarUsrMsg2;
ppLblChgBarUserMsgTwoDefault.Visible = false;
ppBtnDefCbTxt2.Visible = false;
//tcpFormatSettings.Focus();
}
}
private void ppBtnDefEdCols_Click(object sender, EventArgs e)
{
// Get the parent setting
ProcedureConfig.FormatColumns fc = (ProcedureConfig.FormatColumns)Enum.Parse(typeof(ProcedureConfig.FormatColumns), _DefaultFormatColumns);
if (fc != _ProcedureConfig.Format_Columns)
_ProcedureConfig.Format_Columns = fc; // this will force a database update (write)
ppCmbxStpEditorCols.SelectedIndex = -1; //reset to the default
//tcpGeneral.Focus();
}
private void ppBtnDefWatermark_Click_1(object sender, EventArgs e)
{
// Get the parent setting
ProcedureConfig.PrintWatermark wtr = (ProcedureConfig.PrintWatermark)Enum.Parse(typeof(ProcedureConfig.PrintWatermark), _DefaultWatermark);
// Compare parent setting with current setting
if (wtr != _ProcedureConfig.Print_Watermark)
_ProcedureConfig.Print_Watermark = wtr; // this will force a database update (write)
ppCmbxWatermark.SelectedIndex = -1;
//tcpOutputSettings.Focus();
}
private void ppBtnDeftDisAutoDuplx_Click(object sender, EventArgs e)
{
ppChbxDisAutoDuplex.Checked = _DefaultDisableDuplex;
_ProcedureConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked;
ppBtnDeftDisAutoDuplx.Visible = false;
ppLblAutoDuplexDefault.Visible = false;
//tcpOutputSettings.Focus();
}
private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e)
{
ppBtnDefCbTxt1.Visible = ((ppTxbxChangeBarUserMsgOne.Text != null) && !ppTxbxChangeBarUserMsgOne.Text.Equals(_DefaultChgBarUsrMsg1));
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
//tcpOutputSettings.Focus();
}
private void ppTxbxChgBarUserMsgTwo_TextChanged(object sender, EventArgs e)
{
ppBtnDefCbTxt2.Visible = ((ppTxbxChgBarUserMsgTwo.Text != null) && !ppTxbxChgBarUserMsgTwo.Text.Equals(_DefaultChgBarUsrMsg2));
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
//tcpOutputSettings.Focus();
}
private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e)
{
if (!_Initializing)
{
_ProcedureConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked;
ppBtnDeftDisAutoDuplx.Visible = _DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked;
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
//tcpOutputSettings.Focus();
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -8,17 +8,23 @@ using System.Windows.Forms;
using VEPROMS.CSLA.Library;
using VEPROMS.Properties;
using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Controls;
using Volian.Controls.Library;
using DescriptiveEnum;
namespace VEPROMS
{
public partial class frmSectionProperties : DevComponents.DotNetBar.Office2007Form
{
private string _DefaultFormatName = null;
private string _DefaultNumColumns = null;
private string _DefaultPaginationStyle = null;
private string _DefaultPrintSize = null;
private bool _Initializing;
private SectionConfig _SectionConfig;
private Document _DocumentToDelete = null;
private StepTabRibbon _MyStepTabRibbon;
private bool _isStepSection = true;
public frmSectionProperties(SectionConfig sectionConfig)
{
@ -50,10 +56,13 @@ namespace VEPROMS
_MyStepTabRibbon.Name = "displayTabRibbon1";
_MyStepTabRibbon.Visible = false;
// if creating a new section, enable the StepSect and WordSect radio buttons
rbStepSect.Enabled = rbWordSect.Enabled = !(ii.HasWordContent || ii.HasStepContent);
// set up some of the format tab:
cbIsStepSection.Enabled = !(ii.HasWordContent || ii.HasStepContent);
SetupPpCmbxSectionType();
ShowAvailableOptionsForSectionType();
// check type of section from document styles to determine if the stepsection checkbox should
// be checked.
int secindx = (int)sectionConfig.SectionType;
@ -63,7 +72,10 @@ namespace VEPROMS
{
if (pf.DocStyles.DocStyleList[i].Index == secindx)
{
cbIsStepSection.Checked = pf.DocStyles.DocStyleList[i].IsStepSection;
//_isStepSection = pf.DocStyles.DocStyleList[i].IsStepSection;
//SetupPpCmbxSectionType();
//ShowAvailableOptionsForSectionType();
rbStepSect.Checked = pf.DocStyles.DocStyleList[i].IsStepSection;
}
}
}
@ -108,14 +120,41 @@ namespace VEPROMS
_SectionConfig.ParentLookup = true;
// Get the default format name
_DefaultFormatName = _SectionConfig.DefaultFormatSelection;
if (_DefaultFormatName != null && !(_DefaultFormatName.Equals("")))
{
ppLblFormatDefault.Text = string.Format("({0})", _DefaultFormatName);
ppCmbxFormat.WatermarkText = string.Format("{0}", _DefaultFormatName);
}
SetupDefault(_DefaultFormatName, ppLblFormatDefault, ppCmbxFormat);
//if (_DefaultFormatName != null && !(_DefaultFormatName.Equals("")))
//{
// string defName = string.Format("{0}", _DefaultFormatName);
// ppLblFormatDefault.Text = defName;
// ppCmbxFormat.WatermarkText = defName;
//}
_DefaultNumColumns = _SectionConfig.Section_ColumnMode.ToString();
SetupDefault(EnumDescConverter.GetEnumDescription(_SectionConfig.Section_ColumnMode), ppLblDefaultNumColumns, ppCmbxNumColumns);
_DefaultPaginationStyle = _SectionConfig.Section_Pagination.ToString();
SetupDefault(EnumDescConverter.GetEnumDescription(_SectionConfig.Section_Pagination), ppLblDefPaginationStyle, ppCmbxSectPagination);
//_DefaultPrintSize = _SectionConfig.Section_AttachmentPrintSize.ToString();
//SetupDefault(EnumDescConverter.GetEnumDescription(_SectionConfig.Section_AttachmentPrintSize), ppLblDefaultPrintSize, ppCmbxAccPgPrintSize);
_SectionConfig.ParentLookup = false;
}
/// <summary>
/// Set the watermark and default label
/// </summary>
/// <param name="defaultText">The default text</param>
/// <param name="lbl">Label that displays the current default when view defaults is set</param>
/// <param name="cmboEx">Combo box with a watermark property</param>
private static void SetupDefault(string defaultText, Label lbl, ComboBoxEx cmbo)
{
if (defaultText != null && !(defaultText.Equals("")))
{
string deftext = string.Format("{0}", defaultText);
lbl.Text = deftext;
cmbo.WatermarkText = deftext;
}
}
private void frmSectionProperties_Load(object sender, EventArgs e)
{
_Initializing = true;
@ -156,7 +195,16 @@ namespace VEPROMS
ppCmbxNumColumns.ValueMember = "EValue";
ppCmbxNumColumns.SelectedIndex = -1;
if (!cbIsStepSection.Enabled) ppCmbxLibDocFill();
//ppCmbxAccPgPrintSize.DataSource = EnumDetail<SectionConfig.AttPrintSize>.Details();
//ppCmbxAccPgPrintSize.DisplayMember = "Description";
//ppCmbxAccPgPrintSize.ValueMember = "Evalue";
//ppCmbxAccPgPrintSize.SelectedIndex = -1;
if (!_isStepSection)
ppCmbxLibDocFill();
ShowAvailableOptionsForSectionType();
_Initializing = false;
}
@ -229,17 +277,17 @@ namespace VEPROMS
/// </summary>
/// <param name="sender">object</param>
/// <param name="e">EventArgs</param>
private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
{
if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName != null && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
{
ppBtnDefaultFmt.Focus();
ppBtnDefaultFmt.PerformClick();
}
ppBtnDefaultFmt.Visible = (ppCmbxFormat.SelectedValue != null);
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
SetupPpCmbxSectionType();
}
//private void ppCmbxFormat_SelectedValueChanged(object sender, EventArgs e)
//{
// if ((ppCmbxFormat.SelectedIndex != -1) && _DefaultFormatName != null && _DefaultFormatName.Equals(ppCmbxFormat.SelectedValue))
// {
// ppBtnDefaultFmt.Focus();
// ppBtnDefaultFmt.PerformClick();
// }
// ppBtnDefaultFmt.Visible = (ppCmbxFormat.SelectedValue != null);
// ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
// SetupPpCmbxSectionType();
//}
private void SetupPpCmbxSectionType()
{
@ -255,19 +303,57 @@ namespace VEPROMS
// a word section, only list word section styles. If neither content types has been defined,
// list both.
DocStyleList locDocStyles = new DocStyleList(null);
ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID);
//ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID);
int selindx = -1;
for (int i = 0; i < pf.DocStyles.DocStyleList.Count; i++)
{
if (cbIsStepSection.Checked && pf.DocStyles.DocStyleList[i].IsStepSection) locDocStyles.Add(pf.DocStyles.DocStyleList[i]);
else if (!cbIsStepSection.Checked && !pf.DocStyles.DocStyleList[i].IsStepSection) locDocStyles.Add(pf.DocStyles.DocStyleList[i]);
if (_isStepSection && pf.DocStyles.DocStyleList[i].IsStepSection)
locDocStyles.Add(pf.DocStyles.DocStyleList[i]); // add only step section types
else if (!_isStepSection && !pf.DocStyles.DocStyleList[i].IsStepSection)
locDocStyles.Add(pf.DocStyles.DocStyleList[i]); // add only accessory (MS Word) section types
if (_SectionConfig.SectionType == pf.DocStyles.DocStyleList[i].Index) selindx = locDocStyles.Count - 1;
}
ppCmbxStyleSectionType.DataSource = locDocStyles;
ppCmbxStyleSectionType.SelectedIndex = selindx;
if (!cbIsStepSection.Checked) ppCmbxLibDocFill();
if (!_isStepSection)
ppCmbxLibDocFill();
_Initializing = myInit;
if (_isStepSection)
SetupCheckoffsDropdowns();
}
private void SetupCheckoffsDropdowns()
{
if (!_isStepSection) return; // not needed for accessory pages (word attachments)
bool myInit = _Initializing;
_Initializing = true;
PlantFormat pf = _SectionConfig.MyDefaultFormat.PlantFormat;
CheckOffList chkoffList = pf.FormatData.ProcData.CheckOffData.CheckOffList;
CheckOffHeaderList chkoffHeaderList = pf.FormatData.ProcData.CheckOffData.CheckOffHeaderList;
if (chkoffList != null && chkoffList.Count > 0)
{
ppGpbxSignoffCheckoff.Enabled = true;
ppCmbxCheckoffType.DataSource = chkoffList;
ppCmbxCheckoffType.SelectedIndex = _SectionConfig.Section_CheckoffListSelection;
}
else
{
ppGpbxSignoffCheckoff.Enabled = false;
}
if (chkoffHeaderList != null && chkoffHeaderList.Count > 0)
{
lblCheckoffHeading.Enabled = true;
ppCmbxCheckoffHeading.Enabled = true;
ppCmbxCheckoffHeading.DataSource = chkoffHeaderList;
ppCmbxCheckoffHeading.SelectedIndex = _SectionConfig.Section_CheckoffHeaderSelection;
}
else
{
lblCheckoffHeading.Enabled = false;
ppCmbxCheckoffHeading.Enabled = false;
}
_Initializing = myInit;
}
@ -295,11 +381,6 @@ namespace VEPROMS
if (ppCmbxStyleSectionType.SelectedValue != null)
_SectionConfig.SectionType = (int)(ppCmbxStyleSectionType.SelectedValue);
}
private void cbIsStepSection_CheckedChanged(object sender, EventArgs e)
{
if (_Initializing) return;
SetupPpCmbxSectionType();
}
#endregion
@ -317,7 +398,7 @@ namespace VEPROMS
private void ppBtnCvrtToLibDoc_Click(object sender, EventArgs e)
{
// Double Check that this is not a step section, if so just return.
if (cbIsStepSection.Checked) return;
if (_isStepSection) return;
// If current section is library document, user selected to convert to non-library document. If
// this is the case, data from lib doc must be copied to new document and the section must point
// to id.
@ -424,9 +505,9 @@ namespace VEPROMS
/// </summary>
/// <param name="sender">object</param>
/// <param name="e">EventArgs</param>
private void btnViewStngs_Click(object sender, EventArgs e)
private void btnAutomation_Click(object sender, EventArgs e)
{
ProcessButtonClick(tiViewStnns, btnViewStngs);
ProcessButtonClick(tiAutomation, btnAutomation);
}
#endregion
@ -440,6 +521,10 @@ namespace VEPROMS
{
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
ppLblDefaultNumColumns.Visible = _isStepSection && ppCbShwDefSettings.Checked && ppBtnDefaultNumColumns.Visible;
ppLblDefPaginationStyle.Visible = _isStepSection && ppCbShwDefSettings.Checked && ppBtnDefaultPaginationStyle.Visible;
//ppLblDefaultPrintSize.Visible = !_isStepSection && ppCbShwDefSettings.Checked && ppBtnDefaultPrintSize.Visible;
}
/// <summary>
@ -453,7 +538,7 @@ namespace VEPROMS
btnGeneral.Checked = false;
btnFormat.Checked = false;
btnLibDocs.Checked = false;
btnViewStngs.Checked = false;
btnAutomation.Checked = false;
}
/// <summary>
@ -481,6 +566,47 @@ namespace VEPROMS
if (!_Initializing)
defaultSettingsVisiblity();
}
/// <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;
}
/// <summary>
/// Process a change in the enum combo box selection
/// </summary>
/// <param name="cmbx">Combo Box Name</param>
/// <param name="defstr">the default enum value</param>
/// <param name="button">button to reset to default value</param>
/// <param name="deflabel">label containing the default</param>
private void ProcessCmbxSelectionEnumChanged(ComboBoxEx cmbx, object enumval, ButtonX button, Label deflabel)
{
if ((cmbx.SelectedIndex != -1) &&
cmbx.SelectedValue.Equals(enumval))
{
_Initializing = true;
button.Visible = true;
button.Focus();
button.PerformClick();
cmbx.SelectedIndex = -1; // This will hide the Default button
_Initializing = false;
}
//button.Visible = ((!_FolderConfig.Name.Equals("VEPROMS")) && (cmbx.SelectedValue != null));
button.Visible = ((cmbx.SelectedValue != null) && (cmbx.SelectedIndex >= 0));
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
}
#endregion
private void ppSectNumberStpRTB_Enter(object sender, EventArgs e)
@ -492,7 +618,77 @@ namespace VEPROMS
{
_MyStepTabRibbon.MyStepRTB = ppSectTitleStpRTB;
}
private void ShowAvailableOptionsForSectionType()
{
lblColumns.Visible = _isStepSection;
ppCmbxNumColumns.Visible = _isStepSection;
lblPagination.Visible = _isStepSection;
ppCmbxSectPagination.Visible = _isStepSection;
//lblPrintSize.Visible = !_isStepSection;
//ppCmbxAccPgPrintSize.Visible = !_isStepSection;
ppGpbxSignoffCheckoff.Visible = _isStepSection;
}
private void rbStepSect_CheckedChanged(object sender, EventArgs e)
{
_isStepSection = rbStepSect.Checked;
rbWordSect.Checked = !rbStepSect.Checked;
SetupPpCmbxSectionType();
ShowAvailableOptionsForSectionType();
}
private void ppCmbxSectPagination_SelectedValueChanged(object sender, EventArgs e)
{
SectionConfig.SectionPagination secpgn = (SectionConfig.SectionPagination)Enum.Parse(typeof(SectionConfig.SectionPagination), _DefaultPaginationStyle);
ProcessCmbxSelectionEnumChanged(ppCmbxSectPagination, secpgn, ppBtnDefaultPaginationStyle, ppLblDefPaginationStyle);
tcpFormat.Focus();
}
private void ppCmbxNumColumns_SelectedValueChanged(object sender, EventArgs e)
{
SectionConfig.SectionColumnMode seccols = (SectionConfig.SectionColumnMode)Enum.Parse(typeof(SectionConfig.SectionColumnMode), _DefaultNumColumns);
ProcessCmbxSelectionEnumChanged(ppCmbxNumColumns, seccols, ppBtnDefaultNumColumns, ppLblDefaultNumColumns);
tcpFormat.Focus();
}
//private void ppCmbxAccPgPrintSize_SelectedValueChanged(object sender, EventArgs e)
//{
// SectionConfig.AttPrintSize attsize = (SectionConfig.AttPrintSize)Enum.Parse(typeof(SectionConfig.AttPrintSize), _DefaultPrintSize);
// ProcessCmbxSelectionEnumChanged(ppCmbxAccPgPrintSize, attsize, ppBtnDefaultPrintSize, ppLblDefaultPrintSize);
//}
private void ppBtnDefaultPaginationStyle_Click(object sender, EventArgs e)
{
// Get the parent setting
SectionConfig.SectionPagination secpgn = (SectionConfig.SectionPagination)Enum.Parse(typeof(SectionConfig.SectionPagination), _DefaultPaginationStyle);
// Compare parent setting with current setting
if (secpgn != _SectionConfig.Section_Pagination)
_SectionConfig.Section_Pagination = secpgn; // this will force a database update (write)
ppCmbxSectPagination.SelectedIndex = -1;//reset to the default Section Pagination Style setting
tcpFormat.Focus();
}
private void ppBtnDefaultNumColumns_Click(object sender, EventArgs e)
{
// Get the parent setting
SectionConfig.SectionColumnMode seccols = (SectionConfig.SectionColumnMode)Enum.Parse(typeof(SectionConfig.SectionColumnMode), _DefaultNumColumns);
// Compare parent setting with current setting
if (seccols != _SectionConfig.Section_ColumnMode)
_SectionConfig.Section_ColumnMode = seccols; // this will force a database update (write)
ppCmbxNumColumns.SelectedIndex = -1;//reset to the default Number of Columns setting
tcpFormat.Focus();
}
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
//{
// // Get the parent setting
// SectionConfig.AttPrintSize attsize = (SectionConfig.AttPrintSize)Enum.Parse(typeof(SectionConfig.AttPrintSize), _DefaultPrintSize);
// // Compare parent setting with current setting
// if (attsize != _SectionConfig.Section_AttachmentPrintSize)
// _SectionConfig.Section_AttachmentPrintSize = attsize; // this will force a database update (write)
// ppCmbxAccPgPrintSize.SelectedIndex = -1;//reset to the default Accessory page Print Size setting
// tcpFormat.Focus();
//}
}
}

View File

@ -123,12 +123,6 @@
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>571, 19</value>
</metadata>
<metadata name="sectionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>128, 18</value>
</metadata>
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>571, 19</value>
</metadata>
<data name="ppCmbxSectPagination.SuperTooltip" xml:space="preserve">
<value>Select how this section is handled during pagination.

View File

@ -36,10 +36,8 @@ namespace VEPROMS
this.ppBtnOK = new System.Windows.Forms.Button();
this.ppBtnDefaultChgBar = new DevComponents.DotNetBar.ButtonX();
this.ppCmbxChangeBarType = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.docVersionConfigBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ppBtnDefaultFmt = new DevComponents.DotNetBar.ButtonX();
this.ppCmbxFormat = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ppLblChangeBarTypeDefault = new System.Windows.Forms.Label();
this.ppLblFormatDefault = new System.Windows.Forms.Label();
this.ppBtnDefCbTxtTyp = new DevComponents.DotNetBar.ButtonX();
@ -96,7 +94,6 @@ namespace VEPROMS
this.ppChbxDisAutoDuplex = new System.Windows.Forms.CheckBox();
this.label16 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.documentInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.ppGpbxUserSpecCB = new DevComponents.DotNetBar.Controls.GroupPanel();
@ -104,25 +101,23 @@ namespace VEPROMS
this.ppLblDefSettingsInfo = new System.Windows.Forms.Label();
this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog();
this.tcVersions = new DevComponents.DotNetBar.TabControl();
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel();
this.ppGrdLibDocList = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.libTitleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel();
this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel();
this.tbRoDb = new System.Windows.Forms.TextBox();
this.ppBtnRoDbBrowse = new System.Windows.Forms.Button();
this.btnRoDbProperties = new DevComponents.DotNetBar.ButtonX();
this.cmbRoDb = new System.Windows.Forms.ComboBox();
this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.panVerBtns = new System.Windows.Forms.Panel();
this.btnLibDocs = new DevComponents.DotNetBar.ButtonX();
this.btnFmtSettings = new DevComponents.DotNetBar.ButtonX();
@ -131,28 +126,33 @@ namespace VEPROMS
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.ROPrefixBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.PDFLocationBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
this.docVersionConfigBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.libTitleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.documentInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOverdPrnPenBoldWidth)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenULineWidth)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnAdjPrnStartPos)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit();
this.ppGpbxUserSpecCB.SuspendLayout();
this.ppGpbxUserSpecTxt.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit();
this.tcVersions.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.tabControlPanel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).BeginInit();
this.tabControlPanel4.SuspendLayout();
this.tabControlPanel3.SuspendLayout();
this.tcpFormatSettings.SuspendLayout();
this.tcpOutputSettings.SuspendLayout();
this.ppGrpbxPrnAdj.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.tcpRefereceObjects.SuspendLayout();
this.ppGpbxUpROvals.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.panVerBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
this.SuspendLayout();
//
// ppBtnCancel
@ -208,14 +208,10 @@ namespace VEPROMS
this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType";
this.ppCmbxChangeBarType.Size = new System.Drawing.Size(223, 23);
this.ppCmbxChangeBarType.TabIndex = 47;
this.ppCmbxChangeBarType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChangeBarType.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.ppCmbxChangeBarType.WatermarkText = "select change bar setting";
this.ppCmbxChangeBarType.SelectedValueChanged += new System.EventHandler(this.ppCmbxChangeBarType_SelectedValueChanged);
//
// docVersionConfigBindingSource
//
this.docVersionConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocVersionConfig);
//
// ppBtnDefaultFmt
//
this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
@ -227,7 +223,7 @@ namespace VEPROMS
" \"Show Default Settings\" to display the \"default\" format name (below the format " +
"selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppBtnDefaultFmt.TabIndex = 46;
this.ppBtnDefaultFmt.Text = "Reset";
this.ppBtnDefaultFmt.Text = "Default";
this.ppBtnDefaultFmt.ThemeAware = true;
this.ppBtnDefaultFmt.Click += new System.EventHandler(this.ppBtnDefaultFmt_Click);
//
@ -243,14 +239,10 @@ namespace VEPROMS
this.ppCmbxFormat.Size = new System.Drawing.Size(561, 23);
this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppCmbxFormat.TabIndex = 28;
this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
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);
//
// formatInfoListBindingSource
//
this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfo);
//
// ppLblChangeBarTypeDefault
//
this.ppLblChangeBarTypeDefault.AutoSize = true;
@ -319,7 +311,7 @@ namespace VEPROMS
this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType";
this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(180, 23);
this.ppCmbxChgBarTxtType.TabIndex = 48;
this.ppCmbxChgBarTxtType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChgBarTxtType.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.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type";
this.ppCmbxChgBarTxtType.SelectedValueChanged += new System.EventHandler(this.ppCmbxChgBarTxtType_SelectedValueChanged);
//
@ -335,7 +327,7 @@ namespace VEPROMS
this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos";
this.ppCmbxChgBarPos.Size = new System.Drawing.Size(179, 23);
this.ppCmbxChgBarPos.TabIndex = 48;
this.ppCmbxChgBarPos.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChgBarPos.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.ppCmbxChgBarPos.WatermarkText = "select change bar position";
this.ppCmbxChgBarPos.SelectedValueChanged += new System.EventHandler(this.ppCmbxChgBarPos_SelectedValueChanged);
//
@ -377,6 +369,7 @@ namespace VEPROMS
this.ppBtnDefCbTxt2.Text = "Default";
this.ppBtnDefCbTxt2.ThemeAware = true;
this.ppBtnDefCbTxt2.Visible = false;
this.ppBtnDefCbTxt2.Click += new System.EventHandler(this.ppBtnDefCbTxt2_Click);
//
// ppBtnDefCbTxt1
//
@ -390,6 +383,7 @@ namespace VEPROMS
this.ppBtnDefCbTxt1.Text = "Default";
this.ppBtnDefCbTxt1.ThemeAware = true;
this.ppBtnDefCbTxt1.Visible = false;
this.ppBtnDefCbTxt1.Click += new System.EventHandler(this.ppBtnDefCbTxt1_Click);
//
// ppLblChgBarUserMsgTwoDefault
//
@ -754,6 +748,7 @@ namespace VEPROMS
this.ppBtnDeftDisAutoDuplx.Text = "Default";
this.ppBtnDeftDisAutoDuplx.ThemeAware = true;
this.ppBtnDeftDisAutoDuplx.Visible = false;
this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click);
//
// ppBtnDefWatermark
//
@ -799,7 +794,7 @@ namespace VEPROMS
this.ppCmbxWatermark.Name = "ppCmbxWatermark";
this.ppCmbxWatermark.Size = new System.Drawing.Size(167, 23);
this.ppCmbxWatermark.TabIndex = 59;
this.ppCmbxWatermark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxWatermark.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.ppCmbxWatermark.WatermarkText = "select watermark option";
this.ppCmbxWatermark.SelectedValueChanged += new System.EventHandler(this.ppCmbxWatermark_SelectedValueChanged);
//
@ -816,7 +811,7 @@ namespace VEPROMS
this.ppCmbxPagination.Size = new System.Drawing.Size(163, 23);
this.superTooltip1.SetSuperTooltip(this.ppCmbxPagination, new DevComponents.DotNetBar.SuperTooltipInfo("Procedure Pagination", "", resources.GetString("ppCmbxPagination.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(400, 220)));
this.ppCmbxPagination.TabIndex = 58;
this.ppCmbxPagination.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxPagination.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.ppCmbxPagination.WatermarkText = "select pagination option";
this.ppCmbxPagination.SelectedValueChanged += new System.EventHandler(this.ppCmbxPagination_SelectedValueChanged);
//
@ -917,10 +912,6 @@ namespace VEPROMS
this.label17.TabIndex = 27;
this.label17.Text = "Watermark";
//
// documentInfoListBindingSource
//
this.documentInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocumentInfo);
//
// superTooltip1
//
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
@ -928,6 +919,11 @@ namespace VEPROMS
// ppCbShwDefSettings
//
this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
//
//
//
this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(12, 382);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
@ -971,11 +967,22 @@ namespace VEPROMS
this.ppGpbxUserSpecCB.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecCB.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecCB.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecCB.Style.Class = "";
this.ppGpbxUserSpecCB.Style.CornerDiameter = 4;
this.ppGpbxUserSpecCB.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecCB.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUserSpecCB.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUserSpecCB.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseDown.Class = "";
this.ppGpbxUserSpecCB.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseOver.Class = "";
this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.superTooltip1.SetSuperTooltip(this.ppGpbxUserSpecCB, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar Override Settings", "", resources.GetString("ppGpbxUserSpecCB.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 155)));
this.ppGpbxUserSpecCB.TabIndex = 49;
this.ppGpbxUserSpecCB.Text = "Change Bar Override Settings";
@ -1011,11 +1018,22 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecTxt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecTxt.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecTxt.Style.Class = "";
this.ppGpbxUserSpecTxt.Style.CornerDiameter = 4;
this.ppGpbxUserSpecTxt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecTxt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUserSpecTxt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUserSpecTxt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseDown.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseOver.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUserSpecTxt.TabIndex = 51;
this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Message";
//
@ -1040,11 +1058,11 @@ namespace VEPROMS
| System.Windows.Forms.AnchorStyles.Right)));
this.tcVersions.BackColor = System.Drawing.Color.Transparent;
this.tcVersions.CanReorderTabs = true;
this.tcVersions.Controls.Add(this.tabControlPanel4);
this.tcVersions.Controls.Add(this.tabControlPanel3);
this.tcVersions.Controls.Add(this.tabControlPanel2);
this.tcVersions.Controls.Add(this.tabControlPanel1);
this.tcVersions.Controls.Add(this.tcpOutputSettings);
this.tcVersions.Controls.Add(this.tcpRefereceObjects);
this.tcVersions.Controls.Add(this.tcpGeneral);
this.tcVersions.Controls.Add(this.tabControlPanel5);
this.tcVersions.Controls.Add(this.tcpFormatSettings);
this.tcVersions.Location = new System.Drawing.Point(173, 4);
this.tcVersions.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcVersions.Name = "tcVersions";
@ -1062,41 +1080,6 @@ namespace VEPROMS
this.tcVersions.TabsVisible = false;
this.tcVersions.Text = "tabControl1";
//
// tabControlPanel1
//
this.tabControlPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tabControlPanel1.Controls.Add(this.ppCmbxProcSetType);
this.tabControlPanel1.Controls.Add(this.ppRTxtName);
this.tabControlPanel1.Controls.Add(this.label9);
this.tabControlPanel1.Controls.Add(this.label4);
this.tabControlPanel1.Controls.Add(this.label3);
this.tabControlPanel1.Controls.Add(this.ppRTxtTitle);
this.tabControlPanel1.Controls.Add(this.ppTxtBxUserID);
this.tabControlPanel1.Controls.Add(this.ppDTPicker);
this.tabControlPanel1.Controls.Add(this.label2);
this.tabControlPanel1.Controls.Add(this.label1);
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel1.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(657, 321);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tabControlPanel1;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tabControlPanel5
//
this.tabControlPanel5.AutoScroll = true;
@ -1107,15 +1090,16 @@ namespace VEPROMS
this.tabControlPanel5.Name = "tabControlPanel5";
this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel5.Size = new System.Drawing.Size(657, 321);
this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195)))));
this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel5.Style.GradientAngle = 90;
this.tabControlPanel5.TabIndex = 5;
this.tabControlPanel5.TabItem = this.tiLibDocs;
this.tabControlPanel5.Enter += new System.EventHandler(this.tabpage_Enter);
//
// ppGrdLibDocList
//
@ -1145,97 +1129,79 @@ namespace VEPROMS
this.ppGrdLibDocList.Size = new System.Drawing.Size(647, 300);
this.ppGrdLibDocList.TabIndex = 1;
//
// documentEntryCountDataGridViewTextBoxColumn
//
this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages";
this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn";
this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true;
this.documentEntryCountDataGridViewTextBoxColumn.Width = 95;
//
// libTitleDataGridViewTextBoxColumn
//
this.libTitleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.libTitleDataGridViewTextBoxColumn.DataPropertyName = "LibTitle";
this.libTitleDataGridViewTextBoxColumn.HeaderText = "Library Document Title";
this.libTitleDataGridViewTextBoxColumn.Name = "libTitleDataGridViewTextBoxColumn";
this.libTitleDataGridViewTextBoxColumn.ReadOnly = true;
//
// tiLibDocs
//
this.tiLibDocs.AttachedControl = this.tabControlPanel5;
this.tiLibDocs.Name = "tiLibDocs";
this.tiLibDocs.Text = "Library Documents";
//
// tabControlPanel4
// tcpFormatSettings
//
this.tabControlPanel4.Controls.Add(this.ppGpbxUserSpecCB);
this.tabControlPanel4.Controls.Add(this.ppBtnDefaultChgBar);
this.tabControlPanel4.Controls.Add(this.ppCmbxFormat);
this.tabControlPanel4.Controls.Add(this.ppCmbxChangeBarType);
this.tabControlPanel4.Controls.Add(this.label11);
this.tabControlPanel4.Controls.Add(this.ppBtnDefaultFmt);
this.tabControlPanel4.Controls.Add(this.label10);
this.tabControlPanel4.Controls.Add(this.ppLblChangeBarTypeDefault);
this.tabControlPanel4.Controls.Add(this.ppLblFormatDefault);
this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel4.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel4.Name = "tabControlPanel4";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(657, 321);
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;
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB);
this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar);
this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat);
this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType);
this.tcpFormatSettings.Controls.Add(this.label11);
this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt);
this.tcpFormatSettings.Controls.Add(this.label10);
this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault);
this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault);
this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFormatSettings.Location = new System.Drawing.Point(0, 24);
this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpFormatSettings.Name = "tcpFormatSettings";
this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpFormatSettings.Size = new System.Drawing.Size(657, 321);
this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195)))));
this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.GradientAngle = 90;
this.tabControlPanel4.TabIndex = 4;
this.tabControlPanel4.TabItem = this.tiFmtSettings;
this.tabControlPanel4.Click += new System.EventHandler(this.tabpage_Enter);
this.tcpFormatSettings.Style.GradientAngle = 90;
this.tcpFormatSettings.TabIndex = 4;
this.tcpFormatSettings.TabItem = this.tiFmtSettings;
this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiFmtSettings
//
this.tiFmtSettings.AttachedControl = this.tabControlPanel4;
this.tiFmtSettings.AttachedControl = this.tcpFormatSettings;
this.tiFmtSettings.Name = "tiFmtSettings";
this.tiFmtSettings.Text = "Format Settings";
//
// tabControlPanel3
// tcpOutputSettings
//
this.tabControlPanel3.Controls.Add(this.ppGrpbxPrnAdj);
this.tabControlPanel3.Controls.Add(this.ppBtnPDFLoc);
this.tabControlPanel3.Controls.Add(this.label18);
this.tabControlPanel3.Controls.Add(this.label17);
this.tabControlPanel3.Controls.Add(this.ppBtnDeftDisAutoDuplx);
this.tabControlPanel3.Controls.Add(this.label16);
this.tabControlPanel3.Controls.Add(this.ppBtnDefWatermark);
this.tabControlPanel3.Controls.Add(this.ppChbxDisAutoDuplex);
this.tabControlPanel3.Controls.Add(this.ppBtnDefPagination);
this.tabControlPanel3.Controls.Add(this.ppLblAutoDuplexDefault);
this.tabControlPanel3.Controls.Add(this.ppCmbxWatermark);
this.tabControlPanel3.Controls.Add(this.ppTxtBxPDFLoc);
this.tabControlPanel3.Controls.Add(this.ppCmbxPagination);
this.tabControlPanel3.Controls.Add(this.ppLblPaginationDefault);
this.tabControlPanel3.Controls.Add(this.ppLblWatermarkDefault);
this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel3.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel3.Name = "tabControlPanel3";
this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel3.Size = new System.Drawing.Size(657, 321);
this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
this.tcpOutputSettings.Controls.Add(this.ppGrpbxPrnAdj);
this.tcpOutputSettings.Controls.Add(this.ppBtnPDFLoc);
this.tcpOutputSettings.Controls.Add(this.label18);
this.tcpOutputSettings.Controls.Add(this.label17);
this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx);
this.tcpOutputSettings.Controls.Add(this.label16);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark);
this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefPagination);
this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault);
this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark);
this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFLoc);
this.tcpOutputSettings.Controls.Add(this.ppCmbxPagination);
this.tcpOutputSettings.Controls.Add(this.ppLblPaginationDefault);
this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault);
this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpOutputSettings.Location = new System.Drawing.Point(0, 24);
this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpOutputSettings.Name = "tcpOutputSettings";
this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpOutputSettings.Size = new System.Drawing.Size(657, 321);
this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195)))));
this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel3.Style.GradientAngle = 90;
this.tabControlPanel3.TabIndex = 3;
this.tabControlPanel3.TabItem = this.tiOutputSettings;
this.tabControlPanel3.Click += new System.EventHandler(this.tabpage_Enter);
this.tcpOutputSettings.Style.GradientAngle = 90;
this.tcpOutputSettings.TabIndex = 3;
this.tcpOutputSettings.TabItem = this.tiOutputSettings;
this.tcpOutputSettings.Enter += new System.EventHandler(this.tabpage_Enter);
//
// ppGrpbxPrnAdj
//
@ -1269,44 +1235,55 @@ namespace VEPROMS
this.ppGrpbxPrnAdj.Style.BorderRightWidth = 1;
this.ppGrpbxPrnAdj.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGrpbxPrnAdj.Style.BorderTopWidth = 1;
this.ppGrpbxPrnAdj.Style.Class = "";
this.ppGrpbxPrnAdj.Style.CornerDiameter = 4;
this.ppGrpbxPrnAdj.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGrpbxPrnAdj.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGrpbxPrnAdj.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGrpbxPrnAdj.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGrpbxPrnAdj.StyleMouseDown.Class = "";
this.ppGrpbxPrnAdj.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGrpbxPrnAdj.StyleMouseOver.Class = "";
this.ppGrpbxPrnAdj.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGrpbxPrnAdj.TabIndex = 65;
this.ppGrpbxPrnAdj.Text = "Printer Adjustments";
//
// tiOutputSettings
//
this.tiOutputSettings.AttachedControl = this.tabControlPanel3;
this.tiOutputSettings.AttachedControl = this.tcpOutputSettings;
this.tiOutputSettings.Name = "tiOutputSettings";
this.tiOutputSettings.Text = "Output Settings";
//
// tabControlPanel2
// tcpRefereceObjects
//
this.tabControlPanel2.Controls.Add(this.tbRoDb);
this.tabControlPanel2.Controls.Add(this.ppBtnRoDbBrowse);
this.tabControlPanel2.Controls.Add(this.btnRoDbProperties);
this.tabControlPanel2.Controls.Add(this.cmbRoDb);
this.tabControlPanel2.Controls.Add(this.ppGpbxUpROvals);
this.tabControlPanel2.Controls.Add(this.label6);
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel2.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(657, 321);
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
this.tcpRefereceObjects.Controls.Add(this.tbRoDb);
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoDbBrowse);
this.tcpRefereceObjects.Controls.Add(this.btnRoDbProperties);
this.tcpRefereceObjects.Controls.Add(this.cmbRoDb);
this.tcpRefereceObjects.Controls.Add(this.ppGpbxUpROvals);
this.tcpRefereceObjects.Controls.Add(this.label6);
this.tcpRefereceObjects.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefereceObjects.Location = new System.Drawing.Point(0, 24);
this.tcpRefereceObjects.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpRefereceObjects.Name = "tcpRefereceObjects";
this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(1);
this.tcpRefereceObjects.Size = new System.Drawing.Size(657, 321);
this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195)))));
this.tcpRefereceObjects.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.tcpRefereceObjects.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tiRefObjs;
this.tabControlPanel2.Click += new System.EventHandler(this.tabpage_Enter);
this.tcpRefereceObjects.Style.GradientAngle = 90;
this.tcpRefereceObjects.TabIndex = 2;
this.tcpRefereceObjects.TabItem = this.tiRefObjs;
this.tcpRefereceObjects.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tbRoDb
//
@ -1318,7 +1295,7 @@ namespace VEPROMS
//
// ppBtnRoDbBrowse
//
this.ppBtnRoDbBrowse.Location = new System.Drawing.Point(543, 12);
this.ppBtnRoDbBrowse.Location = new System.Drawing.Point(542, 42);
this.ppBtnRoDbBrowse.Name = "ppBtnRoDbBrowse";
this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(68, 24);
this.ppBtnRoDbBrowse.TabIndex = 49;
@ -1372,20 +1349,66 @@ namespace VEPROMS
this.ppGpbxUpROvals.Style.BorderRightWidth = 1;
this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderTopWidth = 1;
this.ppGpbxUpROvals.Style.Class = "";
this.ppGpbxUpROvals.Style.CornerDiameter = 4;
this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUpROvals.StyleMouseDown.Class = "";
this.ppGpbxUpROvals.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUpROvals.StyleMouseOver.Class = "";
this.ppGpbxUpROvals.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUpROvals.TabIndex = 46;
this.ppGpbxUpROvals.Text = "RO Values";
//
// tiRefObjs
//
this.tiRefObjs.AttachedControl = this.tabControlPanel2;
this.tiRefObjs.AttachedControl = this.tcpRefereceObjects;
this.tiRefObjs.Name = "tiRefObjs";
this.tiRefObjs.Text = "Referenced Objects";
//
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label9);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Controls.Add(this.label1);
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 24);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(657, 321);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// panVerBtns
//
this.panVerBtns.BackColor = System.Drawing.Color.Transparent;
@ -1465,11 +1488,42 @@ namespace VEPROMS
this.btnGeneral.Text = "General";
this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click);
//
// docVersionConfigBindingSource
//
this.docVersionConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocVersionConfig);
//
// documentEntryCountDataGridViewTextBoxColumn
//
this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages";
this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn";
this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true;
this.documentEntryCountDataGridViewTextBoxColumn.Width = 95;
//
// libTitleDataGridViewTextBoxColumn
//
this.libTitleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.libTitleDataGridViewTextBoxColumn.DataPropertyName = "LibTitle";
this.libTitleDataGridViewTextBoxColumn.HeaderText = "Library Document Title";
this.libTitleDataGridViewTextBoxColumn.Name = "libTitleDataGridViewTextBoxColumn";
this.libTitleDataGridViewTextBoxColumn.ReadOnly = true;
//
// documentInfoListBindingSource
//
this.documentInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocumentInfo);
//
// formatInfoListBindingSource
//
this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfo);
//
// frmVersionsProperties
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
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(837, 402);
this.Controls.Add(this.panVerBtns);
@ -1486,35 +1540,35 @@ namespace VEPROMS
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Versions Properties";
this.Load += new System.EventHandler(this.frmVersionsProperties_Load);
((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOverdPrnPenBoldWidth)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenULineWidth)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnAdjPrnStartPos)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit();
this.ppGpbxUserSpecCB.ResumeLayout(false);
this.ppGpbxUserSpecCB.PerformLayout();
this.ppGpbxUserSpecTxt.ResumeLayout(false);
this.ppGpbxUserSpecTxt.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit();
this.tcVersions.ResumeLayout(false);
this.tabControlPanel1.ResumeLayout(false);
this.tabControlPanel1.PerformLayout();
this.tabControlPanel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit();
this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout();
this.tabControlPanel3.ResumeLayout(false);
this.tabControlPanel3.PerformLayout();
this.tcpFormatSettings.ResumeLayout(false);
this.tcpFormatSettings.PerformLayout();
this.tcpOutputSettings.ResumeLayout(false);
this.tcpOutputSettings.PerformLayout();
this.ppGrpbxPrnAdj.ResumeLayout(false);
this.ppGrpbxPrnAdj.PerformLayout();
this.tabControlPanel2.ResumeLayout(false);
this.tabControlPanel2.PerformLayout();
this.tcpRefereceObjects.ResumeLayout(false);
this.tcpRefereceObjects.PerformLayout();
this.ppGpbxUpROvals.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.panVerBtns.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -1592,15 +1646,15 @@ namespace VEPROMS
private DevComponents.DotNetBar.ButtonX ppBtnDefCbTxtTyp;
private System.Windows.Forms.FolderBrowserDialog dlgROFolder;
private DevComponents.DotNetBar.TabControl tcVersions;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel2;
private DevComponents.DotNetBar.TabControlPanel tcpRefereceObjects;
private DevComponents.DotNetBar.TabItem tiRefObjs;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
private DevComponents.DotNetBar.TabControlPanel tcpGeneral;
private DevComponents.DotNetBar.TabItem tiGeneral;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel5;
private DevComponents.DotNetBar.TabItem tiLibDocs;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel4;
private DevComponents.DotNetBar.TabControlPanel tcpFormatSettings;
private DevComponents.DotNetBar.TabItem tiFmtSettings;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel3;
private DevComponents.DotNetBar.TabControlPanel tcpOutputSettings;
private DevComponents.DotNetBar.TabItem tiOutputSettings;
private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUpROvals;
private DevComponents.DotNetBar.Controls.GroupPanel ppGrpbxPrnAdj;

View File

@ -17,6 +17,9 @@ namespace VEPROMS
{
public partial class frmVersionsProperties : DevComponents.DotNetBar.Office2007Form
{
private bool _Initializing = false;
private DocVersionConfig _DocVersionConfig;
// Default values
private string _DefaultFormatName = null;
private string _DefaultROPrefix = null;
@ -29,6 +32,7 @@ namespace VEPROMS
private string _DefaultChgBarUsrMsg1 = null;
private string _DefaultChgBarUsrMsg2 = null;
private bool _DefaultDisableDuplex = false;
// For the initial release, we are assuming there will be only one rofst for a docversion. Changes
// will be needed here if more than 1.
private ROFstInfo _SelectedROFst;
@ -46,8 +50,6 @@ namespace VEPROMS
set { _SelectedROFst = value; }
}
//
private bool _Initializing;
private DocVersionConfig _DocVersionConfig;
public frmVersionsProperties(DocVersionConfig docVersionConfig)
{
@ -157,6 +159,7 @@ namespace VEPROMS
private void frmVersionsProperties_Load(object sender, EventArgs e)
{
_Initializing = true;
docVersionConfigBindingSource.DataSource = _DocVersionConfig;
//formatInfoListBindingSource.DataSource = FormatInfoList.Get();
@ -220,6 +223,8 @@ namespace VEPROMS
ppBtnRoDbBrowse.Visible = cmbRoDb.Visible = _DocVersionConfig.MyDocVersion.DocVersionAssociationCount == 0;
btnRoDbProperties.Visible = tbRoDb.Visible = !(_DocVersionConfig.MyDocVersion.DocVersionAssociationCount == 0);
ppBtnUpRoVals.Enabled = !(_DocVersionConfig.MyDocVersion.DocVersionAssociationCount == 0); // only allow update if association
_Initializing = false;
}
#region General tab
@ -291,6 +296,7 @@ namespace VEPROMS
if (pgtn != _DocVersionConfig.Print_Pagination)
_DocVersionConfig.Print_Pagination = pgtn; // this will force a database update (write)
ppCmbxPagination.SelectedIndex = -1;
//tcpOutputSettings.Focus();
}
/// <summary>
@ -322,6 +328,7 @@ namespace VEPROMS
if (wtr != _DocVersionConfig.Print_Watermark)
_DocVersionConfig.Print_Watermark = wtr; // this will force a database update (write)
ppCmbxWatermark.SelectedIndex = -1;
//tcpOutputSettings.Focus();
}
#endregion
@ -341,6 +348,7 @@ namespace VEPROMS
private void ppBtnDefaultFmt_Click(object sender, EventArgs e)
{
ppCmbxFormat.SelectedIndex = -1;
//tcpFormatSettings.Focus();
}
/// <summary>
@ -352,6 +360,7 @@ namespace VEPROMS
{
if (!_Initializing)
{
_DocVersionConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked;
ppBtnDeftDisAutoDuplx.Visible = (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked);
ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible;
}
@ -374,13 +383,18 @@ namespace VEPROMS
/// </summary>
private void setEnabledUserSpecifiedChgBarCombos(DocVersionConfig.PrintChangeBar pcb)
{
ppGpbxUserSpecCB.Enabled =
ppCmbxChgBarPos.Enabled =
ppCmbxChgBarTxtType.Enabled =
ppBtnDefaultCbPos.Enabled =
ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
//ppGpbxUserSpecCB.Enabled =
//ppCmbxChgBarPos.Enabled =
//ppCmbxChgBarTxtType.Enabled =
//ppBtnDefaultCbPos.Enabled =
//ppBtnDefCbTxtTyp.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
//ppCmbxChangeBarType.SelectedValue.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified)) ||
//(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified));
ppGpbxUserSpecCB.Enabled = (ppCmbxChangeBarType.SelectedValue != null &&
ppCmbxChangeBarType.SelectedValue.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified)) ||
(ppCmbxChangeBarType.SelectedValue == null && pcb.Equals(DocVersionConfig.PrintChangeBar.WithUserSpecified));
}
/// <summary>
@ -413,6 +427,7 @@ namespace VEPROMS
if (pcb != _DocVersionConfig.Print_ChangeBar)
_DocVersionConfig.Print_ChangeBar = pcb; // this will force a database update (write)
ppCmbxChangeBarType.SelectedIndex = -1; //reset combo box to the default Change Bar setting
//tcpFormatSettings.Focus();
}
/// <summary>
@ -444,6 +459,7 @@ namespace VEPROMS
if (cbl != _DocVersionConfig.Print_ChangeBarLoc)
_DocVersionConfig.Print_ChangeBarLoc = cbl; // this will force a database update (write)
ppCmbxChgBarPos.SelectedIndex = -1;
//tcpFormatSettings.Focus();
}
/// <summary>
@ -452,12 +468,22 @@ namespace VEPROMS
/// </summary>
private void setEnabledUserSpecifiedChgBarText()
{
ppGpbxUserSpecTxt.Enabled =
ppTxbxChangeBarUserMsgOne.Enabled =
ppTxbxChangeBarUserMsgTwo.Enabled =
ppBtnDefCbTxt1.Enabled =
ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
ppCmbxChgBarTxtType.SelectedValue.Equals(DocVersionConfig.PrintChangeBarText.UserDef));
//ppGpbxUserSpecTxt.Enabled =
//ppTxbxChangeBarUserMsgOne.Enabled =
//ppTxbxChangeBarUserMsgTwo.Enabled =
//ppBtnDefCbTxt1.Enabled =
//ppBtnDefCbTxt2.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
//ppCmbxChgBarTxtType.SelectedValue.Equals(DocVersionConfig.PrintChangeBarText.UserDef));
//string decUserDef = EnumDescConverter.GetEnumDescription(DocVersionConfig.PrintChangeBarText.UserDef);
// This string is used to check against our default setting to see if User Defined Changebar Text is active
string decUserDef = DocVersionConfig.PrintChangeBarText.UserDef.ToString();
ppGpbxUserSpecTxt.Enabled = (ppCmbxChgBarTxtType.SelectedValue != null &&
ppCmbxChgBarTxtType.SelectedValue.Equals(DocVersionConfig.PrintChangeBarText.UserDef)) ||
(ppCmbxChgBarTxtType.SelectedIndex == -1 && _DefaultChgBarText.Equals(decUserDef));
}
/// <summary>
@ -490,6 +516,7 @@ namespace VEPROMS
if (cbt != _DocVersionConfig.Print_ChangeBarText)
_DocVersionConfig.Print_ChangeBarText = cbt; // this will force a database update (write)
ppCmbxChgBarTxtType.SelectedIndex = -1;
//tcpFormatSettings.Focus();
}
/// <summary>
@ -499,8 +526,8 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e)
{
if (!_Initializing)
ppBtnDefCbTxt1.Visible = (ppTxbxChangeBarUserMsgOne.Text != null);
ppBtnDefCbTxt1.Visible = ((ppTxbxChangeBarUserMsgOne.Text != null) && !ppTxbxChangeBarUserMsgOne.Text.Equals(_DefaultChgBarUsrMsg1));
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
}
/// <summary>
@ -510,8 +537,8 @@ namespace VEPROMS
/// <param name="e">EventArgs</param>
private void ppTxbxChangeBarUserMsgTwo_TextChanged(object sender, EventArgs e)
{
if (!_Initializing)
ppBtnDefCbTxt2.Visible = (ppTxbxChangeBarUserMsgTwo.Text != null);
ppBtnDefCbTxt2.Visible = ((ppTxbxChangeBarUserMsgTwo.Text != null) && !ppTxbxChangeBarUserMsgTwo.Text.Equals(_DefaultChgBarUsrMsg2));
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
}
#endregion
@ -542,7 +569,7 @@ namespace VEPROMS
private void tabpage_Enter(object sender, EventArgs e)
{
// Show or hide the labels containing the default values
if (!_Initializing)
//if (!_Initializing)
defaultSettingsVisiblity();
}
@ -551,10 +578,11 @@ namespace VEPROMS
/// </summary>
private void defaultSettingsVisiblity()
{
ppLblChgBarUserMsgOneDefault.Visible =
ppLblChgBarUserMsgTwoDefault.Visible =
ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked;
ppLblChgBarUserMsgOneDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt1.Visible;
ppLblChgBarUserMsgTwoDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefCbTxt2.Visible;
ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible;
ppLblChangeBarTypeDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultChgBar.Visible;
ppLblChgBarPosDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultCbPos.Visible;
@ -603,8 +631,12 @@ namespace VEPROMS
if ((cmbx.SelectedIndex != -1) &&
cmbx.SelectedValue.Equals(enumval))
{
_Initializing = true;
button.Visible = true;
button.Focus();
button.PerformClick();
cmbx.SelectedIndex = -1; // This will hide the Default button
_Initializing = false;
}
button.Visible = (cmbx.SelectedValue != null);
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
@ -621,6 +653,7 @@ namespace VEPROMS
{
if ((cmbx.SelectedIndex != -1) && defstr != null && defstr.Equals(cmbx.SelectedValue))
{
button.Visible = true;
button.Focus();
button.PerformClick();
}
@ -637,8 +670,9 @@ namespace VEPROMS
{
if (defaultText != null && !(defaultText.Equals("")))
{
lbl.Text = string.Format("({0})", defaultText);
cmbo.WatermarkText = string.Format("{0}", defaultText);
string deftext = string.Format("{0}", defaultText);
lbl.Text = deftext;
cmbo.WatermarkText = deftext;
}
}
@ -751,6 +785,41 @@ namespace VEPROMS
ppTxtBxPDFLoc.Text = PDFLocationBrowserDialog.SelectedPath;
}
private void ppBtnDefCbTxt1_Click(object sender, EventArgs e)
{
// Compare default setting with current setting
// Reset with the default and hide the default button and label
if (_DefaultChgBarUsrMsg1 != _DocVersionConfig.Print_UserCBMess1)
{
_DocVersionConfig.Print_UserCBMess1 = _DefaultChgBarUsrMsg1;
ppLblChgBarUserMsgOneDefault.Visible = false;
ppBtnDefCbTxt1.Visible = false;
//tcpFormatSettings.Focus();
}
}
private void ppBtnDefCbTxt2_Click(object sender, EventArgs e)
{
// Compare default setting with current setting
// Reset with the default and hide the default button and label
if (_DefaultChgBarUsrMsg2 != _DocVersionConfig.Print_UserCBMess2)
{
_DocVersionConfig.Print_UserCBMess2 = _DefaultChgBarUsrMsg2;
ppLblChgBarUserMsgTwoDefault.Visible = false;
ppBtnDefCbTxt2.Visible = false;
//tcpFormatSettings.Focus();
}
}
private void ppBtnDeftDisAutoDuplx_Click(object sender, EventArgs e)
{
ppChbxDisAutoDuplex.Checked = _DefaultDisableDuplex;
_DocVersionConfig.Print_DisableDuplex = ppChbxDisAutoDuplex.Checked;
ppBtnDeftDisAutoDuplx.Visible = false;
ppLblAutoDuplexDefault.Visible = false;
//tcpOutputSettings.Focus();
}
}
}

View File

@ -133,9 +133,6 @@ When a format other than the inherited one is selected, a button labeled "Defaul
Pressing the "Default" button will revert back to using the inherited format.
</value>
</data>
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>883, 17</value>
</metadata>
<data name="ppBtnDefCbTxtTyp.SuperTooltip" xml:space="preserve">
<value>This will revert the Change Bar Text Type selection back to using the parent's (default) setting.
@ -163,8 +160,8 @@ Check "Show Default Settings" to display the "default" Change Bar Custom Message
<data name="ppBtnPDFLoc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALAQAA
CwEBNnBPWwAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK/AAA
CvwBmdu77wAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b
1G06daVibuqaOq0sxbBCKBSJ0PJCialZUFSKqaGSt1//TbIsww8deOBwznl+5zkv71kHiP5rGAFrKb1Q
5ypR6bmaVU6m2kCiXJv007Om2XgwJEaNT4QiyDi/GF9mKRVgsWkav+CYQkR1utwAQfypphqZ4l/JIhOL
jvtGKfCOyDMB6O/WMjNea9L3MT1zIxoM5QrqdWnS1SA+kUq8w1V4hhUgqq1QMj1WtcK88KmIud5oqsqy
@ -192,9 +189,6 @@ Fixed - pagination is done only when you select to do so. This information is s
Auto - pagination is done when VE-PROMS senses a change was made to the procedure since the last time the procedure was repaginated.</value>
</data>
<metadata name="documentInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>418, 60</value>
</metadata>
<data name="ppGpbxUserSpecCB.SuperTooltip" xml:space="preserve">
<value>- Select the position of the change bar with respect to the changed text
@ -208,8 +202,8 @@ Auto - pagination is done when VE-PROMS senses a change was made to the procedur
<data name="btnRoDbProperties.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALAwAA
CwMBSY6M0gAAAg9JREFUOE+lk91LU2EAxo9/QV4kgSiBXYggXhS7sBIUiUgHCd4UZTG0u9Ka9sEuumgS
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK/gAA
Cv4B5iV4ZgAAAg9JREFUOE+lk91LU2EAxo9/QV4kgSiBXYggXhS7sBIUiUgHCd4UZTG0u9Ka9sEuumgS
homLcOwcTqGuc5bh59lcM1K3VNoqERoIFjnaVNwEB0sGDbfH933nhLlTBA0eDpzD7/c8nLM3DwD3Xz8q
UMvwq95KEgwNPIUkdqHfbIRgeghzt4HGILp4yJ7Rv8Pxn0ZksvP9PmJfb2BJuc4kFBb8z3MFmWYK6q9U
M0EGjvoasDV7BmFnGYzSPTxwN4GzOb+ARp78BHl8GnQ2hW7r6tm1/fJZ1pyB15RSLFuL0NrXgpuORnDy
@ -221,10 +215,16 @@ Auto - pagination is done when VE-PROMS senses a change was made to the procedur
vkpiAWfjAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="documentInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>418, 60</value>
</metadata>
<metadata name="ROPrefixBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="PDFLocationBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>647, 17</value>
</metadata>
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>883, 17</value>
</metadata>
</root>