diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.cs index c8cd594a..b7bbd913 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.cs @@ -247,6 +247,7 @@ namespace VEPROMS // Save whether we should display the default values on this property page Settings.Default.ShowDefaultFolderProp = ppCbShwDefSettings.Checked; Settings.Default.Save(); + _FolderConfig.MyFolder.Save().Dispose(); this.Close(); } diff --git a/PROMS/VEPROMS User Interface/frmProcedureProperties.cs b/PROMS/VEPROMS User Interface/frmProcedureProperties.cs index 1be099e7..b39459e7 100644 --- a/PROMS/VEPROMS User Interface/frmProcedureProperties.cs +++ b/PROMS/VEPROMS User Interface/frmProcedureProperties.cs @@ -38,17 +38,18 @@ namespace VEPROMS this.Text = string.Format("{0} {1} Properties", procedureConfig.Number, procedureConfig.Title); } - private void ppBtnOK_Click(object sender, EventArgs e) - { - DialogResult = DialogResult.OK; - procedureConfigBindingSource.EndEdit(); - // Save Default settings for User - // - // Save whether we should display the default values on this property page - Settings.Default.ShowDefaultProcedureProp = ppCbShwDefSettings.Checked; - Settings.Default.Save(); - this.Close(); - } + private void ppBtnOK_Click(object sender, EventArgs e) + { + DialogResult = DialogResult.OK; + procedureConfigBindingSource.EndEdit(); + // Save Default settings for User + // + // Save whether we should display the default values on this property page + Settings.Default.ShowDefaultProcedureProp = ppCbShwDefSettings.Checked; + Settings.Default.Save(); + _ProcedureConfig.MyProcedure.Save().Dispose(); + this.Close(); + } private void ppBtnCancel_Click(object sender, EventArgs e) { diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs index d5abe0bf..ed1b11ed 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs @@ -28,972 +28,960 @@ namespace VEPROMS /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSectionProperties)); - this.ppDtTmLastMod = new System.Windows.Forms.DateTimePicker(); - this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox(); - this.sectionConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); - this.ppTxtBxUserID = new System.Windows.Forms.TextBox(); - this.label21 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.ppRTxtTitle = new System.Windows.Forms.RichTextBox(); - this.ppRTxtNumber = new System.Windows.Forms.RichTextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.ppCmbxAccPgPrintSize = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppCmbxNumColumns = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppCmbxSectPagination = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppCmbxStyleSectionType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppBtnDefaultFmt = new DevComponents.DotNetBar.ButtonX(); - this.ppCmbxFormat = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppLblFormatDefault = new System.Windows.Forms.Label(); - this.ppCmbxCheckoffHeading = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.ppCmbxCheckoffType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.label12 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.ppBtnCvrtToLibDoc = new DevComponents.DotNetBar.ButtonX(); - this.ppCmbxLibDoc = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.label4 = new System.Windows.Forms.Label(); - this.ppCkLstApplicabilityDesinations = new System.Windows.Forms.CheckedListBox(); - this.ppCbProcView = new System.Windows.Forms.CheckBox(); - this.label9 = new System.Windows.Forms.Label(); - this.ppCbDeviationView = new System.Windows.Forms.CheckBox(); - this.ppCbBackView = new System.Windows.Forms.CheckBox(); - this.ppBtnCancel = new System.Windows.Forms.Button(); - this.ppBtnOK = new System.Windows.Forms.Button(); - this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); - this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.label10 = new System.Windows.Forms.Label(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.label13 = new System.Windows.Forms.Label(); - this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.richTextBox2 = new System.Windows.Forms.RichTextBox(); - this.label14 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); - this.panSectBtns = new System.Windows.Forms.Panel(); - this.btnViewStngs = new DevComponents.DotNetBar.ButtonX(); - this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); - this.btnFormat = new DevComponents.DotNetBar.ButtonX(); - this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); - this.tcSectionProp = new DevComponents.DotNetBar.TabControl(); - this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); - this.cbIsStepSection = new System.Windows.Forms.CheckBox(); - this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); - this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); - this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); - this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components); - ((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit(); - this.panSectBtns.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit(); - this.tcSectionProp.SuspendLayout(); - this.tabControlPanel2.SuspendLayout(); - this.ppGpbxSignoffCheckoff.SuspendLayout(); - this.tabControlPanel1.SuspendLayout(); - this.tabControlPanel3.SuspendLayout(); - this.tabControlPanel4.SuspendLayout(); - this.SuspendLayout(); - // - // ppDtTmLastMod - // - this.ppDtTmLastMod.CustomFormat = "MM\'/\'dd\'/\'yyyy hh\':\'mm:ss tt"; - this.ppDtTmLastMod.Enabled = false; - this.ppDtTmLastMod.Format = System.Windows.Forms.DateTimePickerFormat.Custom; - this.ppDtTmLastMod.Location = new System.Drawing.Point(87, 120); - this.ppDtTmLastMod.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppDtTmLastMod.Name = "ppDtTmLastMod"; - this.ppDtTmLastMod.Size = new System.Drawing.Size(130, 20); - this.ppDtTmLastMod.TabIndex = 24; - this.ppDtTmLastMod.Visible = false; - // - // ppCbPrnSecNumTitle - // - this.ppCbPrnSecNumTitle.AutoSize = true; - this.ppCbPrnSecNumTitle.BackColor = System.Drawing.Color.Transparent; - this.ppCbPrnSecNumTitle.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_TOC", true)); - this.ppCbPrnSecNumTitle.Location = new System.Drawing.Point(303, 212); - this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle"; - this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(170, 17); - this.ppCbPrnSecNumTitle.TabIndex = 23; - this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title"; - this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false; - this.ppCbPrnSecNumTitle.Visible = false; - // - // sectionConfigBindingSource - // - this.sectionConfigBindingSource.AllowNew = false; - this.sectionConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.SectionConfig); - // - // ppCbIncTOC - // - this.ppCbIncTOC.AutoSize = true; - this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent; - this.ppCbIncTOC.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_TOC", true)); - this.ppCbIncTOC.Location = new System.Drawing.Point(303, 190); - this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbIncTOC.Name = "ppCbIncTOC"; - this.ppCbIncTOC.Size = new System.Drawing.Size(165, 17); - this.ppCbIncTOC.TabIndex = 22; - this.ppCbIncTOC.Text = "Include on Table Of Contents"; - this.ppCbIncTOC.UseVisualStyleBackColor = false; - this.ppCbIncTOC.Visible = false; - // - // ppTxtBxUserID - // - this.ppTxtBxUserID.AcceptsReturn = true; - this.ppTxtBxUserID.Enabled = false; - this.ppTxtBxUserID.Location = new System.Drawing.Point(87, 160); - this.ppTxtBxUserID.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppTxtBxUserID.Name = "ppTxtBxUserID"; - this.ppTxtBxUserID.Size = new System.Drawing.Size(116, 20); - this.ppTxtBxUserID.TabIndex = 12; - this.ppTxtBxUserID.Visible = false; - // - // label21 - // - this.label21.AutoSize = true; - this.label21.BackColor = System.Drawing.Color.Transparent; - this.label21.Location = new System.Drawing.Point(41, 162); - this.label21.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(43, 13); - this.label21.TabIndex = 11; - this.label21.Text = "User ID"; - this.label21.Visible = false; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.BackColor = System.Drawing.Color.Transparent; - this.label3.Location = new System.Drawing.Point(14, 123); - this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(70, 13); - this.label3.TabIndex = 4; - this.label3.Text = "Last Modified"; - this.label3.Visible = false; - // - // ppRTxtTitle - // - this.ppRTxtTitle.AcceptsTab = true; - this.ppRTxtTitle.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Title", true)); - this.ppRTxtTitle.Location = new System.Drawing.Point(64, 49); - this.ppRTxtTitle.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppRTxtTitle.Name = "ppRTxtTitle"; - this.ppRTxtTitle.Size = new System.Drawing.Size(407, 50); - this.ppRTxtTitle.TabIndex = 3; - this.ppRTxtTitle.Text = ""; - // - // ppRTxtNumber - // - this.ppRTxtNumber.AcceptsTab = true; - this.ppRTxtNumber.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Number", true)); - this.ppRTxtNumber.Location = new System.Drawing.Point(64, 7); - this.ppRTxtNumber.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppRTxtNumber.Multiline = false; - this.ppRTxtNumber.Name = "ppRTxtNumber"; - this.ppRTxtNumber.Size = new System.Drawing.Size(120, 19); - this.ppRTxtNumber.TabIndex = 2; - this.ppRTxtNumber.Text = ""; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.BackColor = System.Drawing.Color.Transparent; - this.label2.Location = new System.Drawing.Point(34, 49); - this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(27, 13); - this.label2.TabIndex = 1; - this.label2.Text = "Title"; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.BackColor = System.Drawing.Color.Transparent; - this.label1.Location = new System.Drawing.Point(16, 10); - this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(44, 13); - this.label1.TabIndex = 0; - this.label1.Text = "Number"; - // - // ppCmbxAccPgPrintSize - // - this.ppCmbxAccPgPrintSize.DisplayMember = "Text"; - this.ppCmbxAccPgPrintSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxAccPgPrintSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxAccPgPrintSize.FormattingEnabled = true; - this.ppCmbxAccPgPrintSize.Location = new System.Drawing.Point(36, 188); - this.ppCmbxAccPgPrintSize.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxAccPgPrintSize.Name = "ppCmbxAccPgPrintSize"; - this.ppCmbxAccPgPrintSize.Size = new System.Drawing.Size(161, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxAccPgPrintSize, new DevComponents.DotNetBar.SuperTooltipInfo("Print Size", "", "This is used only for non-step editor sections.\r\n\r\nSelect the printing aspects fo" + - "r this section", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppCmbxAccPgPrintSize.TabIndex = 6; - this.ppCmbxAccPgPrintSize.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxAccPgPrintSize.WatermarkText = "select print size"; - // - // ppCmbxNumColumns - // - this.ppCmbxNumColumns.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "Section_ColumnMode", true)); - this.ppCmbxNumColumns.DisplayMember = "Text"; - this.ppCmbxNumColumns.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxNumColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxNumColumns.FormattingEnabled = true; - this.ppCmbxNumColumns.Location = new System.Drawing.Point(74, 141); - this.ppCmbxNumColumns.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxNumColumns.Name = "ppCmbxNumColumns"; - this.ppCmbxNumColumns.Size = new System.Drawing.Size(92, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxNumColumns, new DevComponents.DotNetBar.SuperTooltipInfo("Columns", "", "This is used only for procedure step editor sections.\r\n\r\nSelect the number of co" + - "lumns for this section", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(175, 130))); - this.ppCmbxNumColumns.TabIndex = 6; - this.ppCmbxNumColumns.WatermarkText = "select columns"; - // - // ppCmbxSectPagination - // - this.ppCmbxSectPagination.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "Section_Pagination", true)); - this.ppCmbxSectPagination.DisplayMember = "Text"; - this.ppCmbxSectPagination.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxSectPagination.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxSectPagination.FormattingEnabled = true; - this.ppCmbxSectPagination.Location = new System.Drawing.Point(74, 100); - this.ppCmbxSectPagination.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxSectPagination.Name = "ppCmbxSectPagination"; - this.ppCmbxSectPagination.Size = new System.Drawing.Size(131, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxSectPagination, new DevComponents.DotNetBar.SuperTooltipInfo("Section Pagination", "", resources.GetString("ppCmbxSectPagination.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(300, 190))); - this.ppCmbxSectPagination.TabIndex = 50; - this.ppCmbxSectPagination.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxSectPagination.WatermarkText = "select section pagination"; - // - // ppCmbxStyleSectionType - // - this.ppCmbxStyleSectionType.DisplayMember = "Text"; - this.ppCmbxStyleSectionType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxStyleSectionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxStyleSectionType.FormattingEnabled = true; - this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(86, 75); - this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType"; - this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(384, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxStyleSectionType, new DevComponents.DotNetBar.SuperTooltipInfo("Section Type", "", "This is a list of the possible section types as they are defined in the selected " + - "format.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppCmbxStyleSectionType.TabIndex = 49; - this.ppCmbxStyleSectionType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxStyleSectionType.WatermarkText = "select section type"; - this.ppCmbxStyleSectionType.SelectedValueChanged += new System.EventHandler(this.ppCmbxStyleSectionType_SelectedValueChanged); - // - // ppBtnDefaultFmt - // - this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultFmt.Location = new System.Drawing.Point(440, 18); - this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; - this.ppBtnDefaultFmt.Size = new System.Drawing.Size(38, 19); - 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)); - this.ppBtnDefaultFmt.TabIndex = 48; - this.ppBtnDefaultFmt.Text = "Default"; - this.ppBtnDefaultFmt.ThemeAware = true; - this.ppBtnDefaultFmt.Click += new System.EventHandler(this.ppBtnDefaultFmt_Click); - // - // ppCmbxFormat - // - this.ppCmbxFormat.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "FormatSelection", true)); - this.ppCmbxFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxFormat.FormattingEnabled = true; - this.ppCmbxFormat.Location = new System.Drawing.Point(10, 18); - this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxFormat.Name = "ppCmbxFormat"; - this.ppCmbxFormat.Size = new System.Drawing.Size(427, 21); - 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.WatermarkText = "select a format"; - this.ppCmbxFormat.SelectedIndexChanged += new System.EventHandler(this.ppCmbxFormat_SelectedIndexChanged); - // - // ppLblFormatDefault - // - this.ppLblFormatDefault.AutoSize = true; - this.ppLblFormatDefault.BackColor = System.Drawing.Color.Transparent; - this.ppLblFormatDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblFormatDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblFormatDefault.Location = new System.Drawing.Point(10, 39); - this.ppLblFormatDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.ppLblFormatDefault.Name = "ppLblFormatDefault"; - this.ppLblFormatDefault.Size = new System.Drawing.Size(45, 13); - this.superTooltip1.SetSuperTooltip(this.ppLblFormatDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Format setting", "", "Pressing the Default Button (to the right)\r\nwill set the format setting back to t" + - "his.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(260, 70))); - this.ppLblFormatDefault.TabIndex = 43; - this.ppLblFormatDefault.Text = "(default)"; - // - // ppCmbxCheckoffHeading - // - this.ppCmbxCheckoffHeading.DisplayMember = "Text"; - this.ppCmbxCheckoffHeading.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxCheckoffHeading.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxCheckoffHeading.FormattingEnabled = true; - this.ppCmbxCheckoffHeading.Location = new System.Drawing.Point(28, 76); - this.ppCmbxCheckoffHeading.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxCheckoffHeading.Name = "ppCmbxCheckoffHeading"; - this.ppCmbxCheckoffHeading.Size = new System.Drawing.Size(191, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxCheckoffHeading, new DevComponents.DotNetBar.SuperTooltipInfo("Signoff / Checkoff Heading", "", "Places a column heading for the signoff/checkoff.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppCmbxCheckoffHeading.TabIndex = 7; - this.ppCmbxCheckoffHeading.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxCheckoffHeading.WatermarkText = "select checkoff / signoff heading"; - // - // ppCmbxCheckoffType - // - this.ppCmbxCheckoffType.DisplayMember = "Text"; - this.ppCmbxCheckoffType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxCheckoffType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxCheckoffType.FormattingEnabled = true; - this.ppCmbxCheckoffType.Location = new System.Drawing.Point(28, 29); - this.ppCmbxCheckoffType.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxCheckoffType.Name = "ppCmbxCheckoffType"; - this.ppCmbxCheckoffType.Size = new System.Drawing.Size(191, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxCheckoffType, new DevComponents.DotNetBar.SuperTooltipInfo("Signoffs / Checkoffs Type", "", "This will automatically assign a signoff/checkoff as defined by the selected form" + - "at.\r\n\r\nThis is considered a default and it can be overridden in the step editor." + - "", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppCmbxCheckoffType.TabIndex = 6; - this.ppCmbxCheckoffType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxCheckoffType.WatermarkText = "select checkoff / signoff"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.BackColor = System.Drawing.Color.Transparent; - this.label12.Location = new System.Drawing.Point(12, 58); - this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(47, 13); - this.label12.TabIndex = 4; - this.label12.Text = "Heading"; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.BackColor = System.Drawing.Color.Transparent; - this.label11.Location = new System.Drawing.Point(12, 11); - this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(31, 13); - this.label11.TabIndex = 2; - this.label11.Text = "Type"; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.BackColor = System.Drawing.Color.Transparent; - this.label8.Location = new System.Drawing.Point(19, 170); - this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(51, 13); - this.label8.TabIndex = 36; - this.label8.Text = "Print Size"; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.BackColor = System.Drawing.Color.Transparent; - this.label7.Location = new System.Drawing.Point(14, 100); - this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(57, 13); - this.label7.TabIndex = 34; - this.label7.Text = "Pagination"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.BackColor = System.Drawing.Color.Transparent; - this.label6.Location = new System.Drawing.Point(14, 75); - this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(70, 13); - this.label6.TabIndex = 32; - this.label6.Text = "Section Type"; - // - // label5 - // - this.label5.AutoSize = true; - this.label5.BackColor = System.Drawing.Color.Transparent; - this.label5.Location = new System.Drawing.Point(23, 141); - this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(47, 13); - this.label5.TabIndex = 30; - this.label5.Text = "Columns"; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.BackColor = System.Drawing.Color.Transparent; - this.label19.Location = new System.Drawing.Point(19, 1); - this.label19.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(39, 13); - this.label19.TabIndex = 28; - this.label19.Text = "Format"; - // - // ppBtnCvrtToLibDoc - // - this.ppBtnCvrtToLibDoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnCvrtToLibDoc.Location = new System.Drawing.Point(16, 210); - this.ppBtnCvrtToLibDoc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppBtnCvrtToLibDoc.Name = "ppBtnCvrtToLibDoc"; - this.ppBtnCvrtToLibDoc.Size = new System.Drawing.Size(209, 19); - this.superTooltip1.SetSuperTooltip(this.ppBtnCvrtToLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Convert To Library Document button", "", "This button will convert the current section to a library document, allowing it t" + - "o be shared with other procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 76))); - this.ppBtnCvrtToLibDoc.TabIndex = 32; - this.ppBtnCvrtToLibDoc.Text = "Convert This Section To a Library Document"; - // - // ppCmbxLibDoc - // - this.ppCmbxLibDoc.DisplayMember = "Text"; - this.ppCmbxLibDoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxLibDoc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxLibDoc.FormattingEnabled = true; - this.ppCmbxLibDoc.Location = new System.Drawing.Point(18, 24); - this.ppCmbxLibDoc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCmbxLibDoc.Name = "ppCmbxLibDoc"; - this.ppCmbxLibDoc.Size = new System.Drawing.Size(428, 21); - this.superTooltip1.SetSuperTooltip(this.ppCmbxLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Select Library Document", "", "This allows you to select a library document to reference for this section.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 76))); - this.ppCmbxLibDoc.TabIndex = 30; - this.ppCmbxLibDoc.WatermarkText = "not using a library document"; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.BackColor = System.Drawing.Color.Transparent; - this.label4.Location = new System.Drawing.Point(16, 8); - this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(90, 13); - this.label4.TabIndex = 31; - this.label4.Text = "Library Document"; - // - // ppCkLstApplicabilityDesinations - // - this.ppCkLstApplicabilityDesinations.FormattingEnabled = true; - this.ppCkLstApplicabilityDesinations.Items.AddRange(new object[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSectionProperties)); + this.ppDtTmLastMod = new System.Windows.Forms.DateTimePicker(); + this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox(); + this.sectionConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); + this.ppTxtBxUserID = new System.Windows.Forms.TextBox(); + this.label21 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.ppRTxtTitle = new System.Windows.Forms.RichTextBox(); + this.ppRTxtNumber = new System.Windows.Forms.RichTextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.ppCmbxAccPgPrintSize = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.ppCmbxNumColumns = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.ppCmbxSectPagination = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.ppCmbxStyleSectionType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.ppBtnDefaultFmt = new DevComponents.DotNetBar.ButtonX(); + this.ppCmbxFormat = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.ppLblFormatDefault = new System.Windows.Forms.Label(); + this.ppCmbxCheckoffHeading = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.ppCmbxCheckoffType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.label12 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.ppBtnCvrtToLibDoc = new DevComponents.DotNetBar.ButtonX(); + this.ppCmbxLibDoc = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.lblLibraryDocument = new System.Windows.Forms.Label(); + this.ppCkLstApplicabilityDesinations = new System.Windows.Forms.CheckedListBox(); + this.ppCbProcView = new System.Windows.Forms.CheckBox(); + this.label9 = new System.Windows.Forms.Label(); + this.ppCbDeviationView = new System.Windows.Forms.CheckBox(); + this.ppCbBackView = new System.Windows.Forms.CheckBox(); + this.ppBtnCancel = new System.Windows.Forms.Button(); + this.ppBtnOK = new System.Windows.Forms.Button(); + this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); + this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.richTextBox2 = new System.Windows.Forms.RichTextBox(); + this.label14 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); + this.panSectBtns = new System.Windows.Forms.Panel(); + this.btnViewStngs = new DevComponents.DotNetBar.ButtonX(); + this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); + this.btnFormat = new DevComponents.DotNetBar.ButtonX(); + this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); + this.tcSectionProp = new DevComponents.DotNetBar.TabControl(); + this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); + this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); + this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); + this.cbIsStepSection = new System.Windows.Forms.CheckBox(); + this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); + this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components); + ((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit(); + this.panSectBtns.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit(); + this.tcSectionProp.SuspendLayout(); + this.tabControlPanel3.SuspendLayout(); + this.tabControlPanel1.SuspendLayout(); + this.tabControlPanel2.SuspendLayout(); + this.ppGpbxSignoffCheckoff.SuspendLayout(); + this.tabControlPanel4.SuspendLayout(); + this.SuspendLayout(); + // + // ppDtTmLastMod + // + this.ppDtTmLastMod.CustomFormat = "MM\'/\'dd\'/\'yyyy hh\':\'mm:ss tt"; + this.ppDtTmLastMod.Enabled = false; + this.ppDtTmLastMod.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.ppDtTmLastMod.Location = new System.Drawing.Point(116, 148); + this.ppDtTmLastMod.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppDtTmLastMod.Name = "ppDtTmLastMod"; + this.ppDtTmLastMod.Size = new System.Drawing.Size(172, 22); + this.ppDtTmLastMod.TabIndex = 24; + this.ppDtTmLastMod.Visible = false; + // + // ppCbPrnSecNumTitle + // + this.ppCbPrnSecNumTitle.AutoSize = true; + this.ppCbPrnSecNumTitle.BackColor = System.Drawing.Color.Transparent; + this.ppCbPrnSecNumTitle.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_TOC", true)); + this.ppCbPrnSecNumTitle.Location = new System.Drawing.Point(404, 261); + this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle"; + this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(223, 21); + this.ppCbPrnSecNumTitle.TabIndex = 23; + this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title"; + this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false; + this.ppCbPrnSecNumTitle.Visible = false; + // + // sectionConfigBindingSource + // + this.sectionConfigBindingSource.AllowNew = false; + this.sectionConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.SectionConfig); + // + // ppCbIncTOC + // + this.ppCbIncTOC.AutoSize = true; + this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent; + this.ppCbIncTOC.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_TOC", true)); + this.ppCbIncTOC.Location = new System.Drawing.Point(404, 234); + this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCbIncTOC.Name = "ppCbIncTOC"; + this.ppCbIncTOC.Size = new System.Drawing.Size(214, 21); + this.ppCbIncTOC.TabIndex = 22; + this.ppCbIncTOC.Text = "Include on Table Of Contents"; + this.ppCbIncTOC.UseVisualStyleBackColor = false; + this.ppCbIncTOC.Visible = false; + // + // ppTxtBxUserID + // + this.ppTxtBxUserID.AcceptsReturn = true; + this.ppTxtBxUserID.Enabled = false; + this.ppTxtBxUserID.Location = new System.Drawing.Point(116, 197); + 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 = 12; + this.ppTxtBxUserID.Visible = false; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.BackColor = System.Drawing.Color.Transparent; + this.label21.Location = new System.Drawing.Point(55, 199); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(55, 17); + this.label21.TabIndex = 11; + this.label21.Text = "User ID"; + this.label21.Visible = false; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.BackColor = System.Drawing.Color.Transparent; + this.label3.Location = new System.Drawing.Point(19, 151); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(92, 17); + this.label3.TabIndex = 4; + this.label3.Text = "Last Modified"; + this.label3.Visible = false; + // + // ppRTxtTitle + // + this.ppRTxtTitle.AcceptsTab = true; + this.ppRTxtTitle.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Title", true)); + this.ppRTxtTitle.Location = new System.Drawing.Point(85, 60); + this.ppRTxtTitle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppRTxtTitle.Name = "ppRTxtTitle"; + this.ppRTxtTitle.Size = new System.Drawing.Size(541, 61); + this.ppRTxtTitle.TabIndex = 3; + this.ppRTxtTitle.Text = ""; + // + // ppRTxtNumber + // + this.ppRTxtNumber.AcceptsTab = true; + this.ppRTxtNumber.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Number", true)); + this.ppRTxtNumber.Location = new System.Drawing.Point(85, 9); + this.ppRTxtNumber.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppRTxtNumber.Multiline = false; + this.ppRTxtNumber.Name = "ppRTxtNumber"; + this.ppRTxtNumber.Size = new System.Drawing.Size(159, 22); + this.ppRTxtNumber.TabIndex = 2; + this.ppRTxtNumber.Text = ""; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Location = new System.Drawing.Point(45, 60); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(35, 17); + this.label2.TabIndex = 1; + this.label2.Text = "Title"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Location = new System.Drawing.Point(21, 12); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(58, 17); + this.label1.TabIndex = 0; + this.label1.Text = "Number"; + // + // ppCmbxAccPgPrintSize + // + this.ppCmbxAccPgPrintSize.DisplayMember = "Text"; + this.ppCmbxAccPgPrintSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxAccPgPrintSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxAccPgPrintSize.FormattingEnabled = true; + this.ppCmbxAccPgPrintSize.Location = new System.Drawing.Point(48, 231); + this.ppCmbxAccPgPrintSize.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxAccPgPrintSize.Name = "ppCmbxAccPgPrintSize"; + this.ppCmbxAccPgPrintSize.Size = new System.Drawing.Size(213, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxAccPgPrintSize, new DevComponents.DotNetBar.SuperTooltipInfo("Print Size", "", "This is used only for non-step editor sections.\r\n\r\nSelect the printing aspects fo" + + "r this section", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + this.ppCmbxAccPgPrintSize.TabIndex = 6; + this.ppCmbxAccPgPrintSize.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppCmbxAccPgPrintSize.WatermarkText = "select print size"; + // + // ppCmbxNumColumns + // + this.ppCmbxNumColumns.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "Section_ColumnMode", true)); + this.ppCmbxNumColumns.DisplayMember = "Text"; + this.ppCmbxNumColumns.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxNumColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxNumColumns.FormattingEnabled = true; + this.ppCmbxNumColumns.Location = new System.Drawing.Point(99, 174); + this.ppCmbxNumColumns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxNumColumns.Name = "ppCmbxNumColumns"; + this.ppCmbxNumColumns.Size = new System.Drawing.Size(121, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxNumColumns, new DevComponents.DotNetBar.SuperTooltipInfo("Columns", "", "This is used only for procedure step editor sections.\r\n\r\nSelect the number of co" + + "lumns for this section", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(175, 130))); + this.ppCmbxNumColumns.TabIndex = 6; + this.ppCmbxNumColumns.WatermarkText = "select columns"; + // + // ppCmbxSectPagination + // + this.ppCmbxSectPagination.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "Section_Pagination", true)); + this.ppCmbxSectPagination.DisplayMember = "Text"; + this.ppCmbxSectPagination.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxSectPagination.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxSectPagination.FormattingEnabled = true; + this.ppCmbxSectPagination.Location = new System.Drawing.Point(99, 123); + this.ppCmbxSectPagination.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxSectPagination.Name = "ppCmbxSectPagination"; + this.ppCmbxSectPagination.Size = new System.Drawing.Size(173, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxSectPagination, new DevComponents.DotNetBar.SuperTooltipInfo("Section Pagination", "", resources.GetString("ppCmbxSectPagination.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(300, 190))); + this.ppCmbxSectPagination.TabIndex = 50; + this.ppCmbxSectPagination.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppCmbxSectPagination.WatermarkText = "select section pagination"; + // + // ppCmbxStyleSectionType + // + this.ppCmbxStyleSectionType.DisplayMember = "Text"; + this.ppCmbxStyleSectionType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxStyleSectionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxStyleSectionType.FormattingEnabled = true; + this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(115, 92); + this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType"; + this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(511, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxStyleSectionType, new DevComponents.DotNetBar.SuperTooltipInfo("Section Type", "", "This is a list of the possible section types as they are defined in the selected " + + "format.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + this.ppCmbxStyleSectionType.TabIndex = 49; + this.ppCmbxStyleSectionType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppCmbxStyleSectionType.WatermarkText = "select section type"; + this.ppCmbxStyleSectionType.SelectedValueChanged += new System.EventHandler(this.ppCmbxStyleSectionType_SelectedValueChanged); + // + // ppBtnDefaultFmt + // + this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.ppBtnDefaultFmt.Location = new System.Drawing.Point(587, 22); + this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; + this.ppBtnDefaultFmt.Size = new System.Drawing.Size(51, 23); + 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)); + this.ppBtnDefaultFmt.TabIndex = 48; + this.ppBtnDefaultFmt.Text = "Default"; + this.ppBtnDefaultFmt.ThemeAware = true; + this.ppBtnDefaultFmt.Click += new System.EventHandler(this.ppBtnDefaultFmt_Click); + // + // ppCmbxFormat + // + this.ppCmbxFormat.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "FormatSelection", true)); + this.ppCmbxFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxFormat.FormattingEnabled = true; + this.ppCmbxFormat.Location = new System.Drawing.Point(13, 22); + this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxFormat.Name = "ppCmbxFormat"; + this.ppCmbxFormat.Size = new System.Drawing.Size(568, 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.WatermarkText = "select a format"; + this.ppCmbxFormat.SelectedIndexChanged += new System.EventHandler(this.ppCmbxFormat_SelectedIndexChanged); + // + // ppLblFormatDefault + // + this.ppLblFormatDefault.AutoSize = true; + this.ppLblFormatDefault.BackColor = System.Drawing.Color.Transparent; + this.ppLblFormatDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppLblFormatDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.ppLblFormatDefault.Location = new System.Drawing.Point(13, 48); + this.ppLblFormatDefault.Name = "ppLblFormatDefault"; + this.ppLblFormatDefault.Size = new System.Drawing.Size(61, 17); + this.superTooltip1.SetSuperTooltip(this.ppLblFormatDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Format setting", "", "Pressing the Default Button (to the right)\r\nwill set the format setting back to t" + + "his.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(260, 70))); + this.ppLblFormatDefault.TabIndex = 43; + this.ppLblFormatDefault.Text = "(default)"; + // + // ppCmbxCheckoffHeading + // + this.ppCmbxCheckoffHeading.DisplayMember = "Text"; + this.ppCmbxCheckoffHeading.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxCheckoffHeading.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxCheckoffHeading.FormattingEnabled = true; + this.ppCmbxCheckoffHeading.Location = new System.Drawing.Point(37, 94); + this.ppCmbxCheckoffHeading.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxCheckoffHeading.Name = "ppCmbxCheckoffHeading"; + this.ppCmbxCheckoffHeading.Size = new System.Drawing.Size(253, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxCheckoffHeading, new DevComponents.DotNetBar.SuperTooltipInfo("Signoff / Checkoff Heading", "", "Places a column heading for the signoff/checkoff.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + this.ppCmbxCheckoffHeading.TabIndex = 7; + this.ppCmbxCheckoffHeading.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppCmbxCheckoffHeading.WatermarkText = "select checkoff / signoff heading"; + // + // ppCmbxCheckoffType + // + this.ppCmbxCheckoffType.DisplayMember = "Text"; + this.ppCmbxCheckoffType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxCheckoffType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxCheckoffType.FormattingEnabled = true; + this.ppCmbxCheckoffType.Location = new System.Drawing.Point(37, 36); + this.ppCmbxCheckoffType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxCheckoffType.Name = "ppCmbxCheckoffType"; + this.ppCmbxCheckoffType.Size = new System.Drawing.Size(253, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxCheckoffType, new DevComponents.DotNetBar.SuperTooltipInfo("Signoffs / Checkoffs Type", "", "This will automatically assign a signoff/checkoff as defined by the selected form" + + "at.\r\n\r\nThis is considered a default and it can be overridden in the step editor." + + "", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + this.ppCmbxCheckoffType.TabIndex = 6; + this.ppCmbxCheckoffType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppCmbxCheckoffType.WatermarkText = "select checkoff / signoff"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.BackColor = System.Drawing.Color.Transparent; + this.label12.Location = new System.Drawing.Point(16, 71); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(61, 17); + this.label12.TabIndex = 4; + this.label12.Text = "Heading"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.BackColor = System.Drawing.Color.Transparent; + this.label11.Location = new System.Drawing.Point(16, 14); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(40, 17); + this.label11.TabIndex = 2; + this.label11.Text = "Type"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.BackColor = System.Drawing.Color.Transparent; + this.label8.Location = new System.Drawing.Point(25, 209); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(68, 17); + this.label8.TabIndex = 36; + this.label8.Text = "Print Size"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.BackColor = System.Drawing.Color.Transparent; + this.label7.Location = new System.Drawing.Point(19, 123); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(75, 17); + this.label7.TabIndex = 34; + this.label7.Text = "Pagination"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.BackColor = System.Drawing.Color.Transparent; + this.label6.Location = new System.Drawing.Point(19, 92); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(91, 17); + this.label6.TabIndex = 32; + this.label6.Text = "Section Type"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Location = new System.Drawing.Point(31, 174); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(62, 17); + this.label5.TabIndex = 30; + this.label5.Text = "Columns"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.BackColor = System.Drawing.Color.Transparent; + this.label19.Location = new System.Drawing.Point(25, 1); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(52, 17); + this.label19.TabIndex = 28; + this.label19.Text = "Format"; + // + // ppBtnCvrtToLibDoc + // + this.ppBtnCvrtToLibDoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.ppBtnCvrtToLibDoc.Location = new System.Drawing.Point(21, 237); + this.ppBtnCvrtToLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppBtnCvrtToLibDoc.Name = "ppBtnCvrtToLibDoc"; + this.ppBtnCvrtToLibDoc.Size = new System.Drawing.Size(279, 44); + this.superTooltip1.SetSuperTooltip(this.ppBtnCvrtToLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Convert To Library Document button", "", "This button will convert the current section to a library document, allowing it t" + + "o be shared with other procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 76))); + this.ppBtnCvrtToLibDoc.TabIndex = 32; + this.ppBtnCvrtToLibDoc.Text = "Convert This Section To a Library Document"; + this.ppBtnCvrtToLibDoc.Click += new System.EventHandler(this.ppBtnCvrtToLibDoc_Click); + // + // ppCmbxLibDoc + // + this.ppCmbxLibDoc.DisplayMember = "Text"; + this.ppCmbxLibDoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxLibDoc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxLibDoc.FormattingEnabled = true; + this.ppCmbxLibDoc.Location = new System.Drawing.Point(24, 30); + this.ppCmbxLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxLibDoc.Name = "ppCmbxLibDoc"; + this.ppCmbxLibDoc.Size = new System.Drawing.Size(569, 23); + this.superTooltip1.SetSuperTooltip(this.ppCmbxLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Select Library Document", "", "This allows you to select a library document to reference for this section.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 76))); + this.ppCmbxLibDoc.TabIndex = 30; + this.ppCmbxLibDoc.WatermarkText = "no library document selected"; + this.ppCmbxLibDoc.SelectedIndexChanged += new System.EventHandler(this.ppCmbxLibDoc_SelectedIndexChanged); + // + // lblLibraryDocument + // + this.lblLibraryDocument.AutoSize = true; + this.lblLibraryDocument.BackColor = System.Drawing.Color.Transparent; + this.lblLibraryDocument.Location = new System.Drawing.Point(21, 10); + this.lblLibraryDocument.Name = "lblLibraryDocument"; + this.lblLibraryDocument.Size = new System.Drawing.Size(120, 17); + this.lblLibraryDocument.TabIndex = 31; + this.lblLibraryDocument.Text = "Library Document"; + // + // ppCkLstApplicabilityDesinations + // + this.ppCkLstApplicabilityDesinations.FormattingEnabled = true; + this.ppCkLstApplicabilityDesinations.Items.AddRange(new object[] { "Unit One", "Unit Two", "Unit Three", "Unit Four"}); - this.ppCkLstApplicabilityDesinations.Location = new System.Drawing.Point(20, 44); - this.ppCkLstApplicabilityDesinations.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCkLstApplicabilityDesinations.Name = "ppCkLstApplicabilityDesinations"; - this.ppCkLstApplicabilityDesinations.Size = new System.Drawing.Size(200, 49); - this.ppCkLstApplicabilityDesinations.TabIndex = 35; - // - // ppCbProcView - // - this.ppCbProcView.AutoSize = true; - this.ppCbProcView.BackColor = System.Drawing.Color.Transparent; - this.ppCbProcView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); - this.ppCbProcView.Location = new System.Drawing.Point(23, 158); - this.ppCbProcView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbProcView.Name = "ppCbProcView"; - this.ppCbProcView.Size = new System.Drawing.Size(150, 17); - this.ppCbProcView.TabIndex = 36; - this.ppCbProcView.Text = "Include in Procedure View"; - this.ppCbProcView.UseVisualStyleBackColor = false; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.BackColor = System.Drawing.Color.Transparent; - this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label9.Location = new System.Drawing.Point(20, 24); - this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(123, 13); - this.label9.TabIndex = 34; - this.label9.Text = "Applicability Destinations"; - // - // ppCbDeviationView - // - this.ppCbDeviationView.AutoSize = true; - this.ppCbDeviationView.BackColor = System.Drawing.Color.Transparent; - this.ppCbDeviationView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); - this.ppCbDeviationView.Location = new System.Drawing.Point(23, 202); - this.ppCbDeviationView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbDeviationView.Name = "ppCbDeviationView"; - this.ppCbDeviationView.Size = new System.Drawing.Size(146, 17); - this.ppCbDeviationView.TabIndex = 33; - this.ppCbDeviationView.Text = "Include in Deviation View"; - this.ppCbDeviationView.UseVisualStyleBackColor = false; - // - // ppCbBackView - // - this.ppCbBackView.AutoSize = true; - this.ppCbBackView.BackColor = System.Drawing.Color.Transparent; - this.ppCbBackView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); - this.ppCbBackView.Location = new System.Drawing.Point(23, 180); - this.ppCbBackView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbBackView.Name = "ppCbBackView"; - this.ppCbBackView.Size = new System.Drawing.Size(159, 17); - this.ppCbBackView.TabIndex = 32; - this.ppCbBackView.Text = "Include in Background View"; - this.ppCbBackView.UseVisualStyleBackColor = false; - // - // 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(576, 287); - this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppBtnCancel.Name = "ppBtnCancel"; - this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); - this.ppBtnCancel.TabIndex = 24; - this.ppBtnCancel.Text = "Cancel"; - this.ppBtnCancel.UseVisualStyleBackColor = true; - this.ppBtnCancel.Click += new System.EventHandler(this.btnSectPropCancel_Click); - // - // ppBtnOK - // - this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.ppBtnOK.Location = new System.Drawing.Point(503, 287); - this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppBtnOK.Name = "ppBtnOK"; - this.ppBtnOK.Size = new System.Drawing.Size(56, 21); - this.ppBtnOK.TabIndex = 23; - this.ppBtnOK.Text = "OK"; - this.ppBtnOK.UseVisualStyleBackColor = true; - this.ppBtnOK.Click += new System.EventHandler(this.btnSectPropOK_Click); - // - // ppLblDefSettingsInfo - // - this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ppLblDefSettingsInfo.AutoSize = true; - this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(8, 281); - this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; - this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13); - this.ppLblDefSettingsInfo.TabIndex = 25; - this.ppLblDefSettingsInfo.Text = "* Default values shown in italics"; - // - // ppCbShwDefSettings - // - this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ppCbShwDefSettings.Location = new System.Drawing.Point(9, 297); - this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; - this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 19); - 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 = 27; - this.ppCbShwDefSettings.Text = "Show Default Settings"; - this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter); - // - // checkBox1 - // - this.checkBox1.AutoSize = true; - this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_TOC", true)); - this.checkBox1.Location = new System.Drawing.Point(13, 272); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(214, 21); - this.checkBox1.TabIndex = 22; - this.checkBox1.Text = "Include on Table Of Contents"; - this.checkBox1.UseVisualStyleBackColor = true; - // - // textBox1 - // - this.textBox1.AcceptsReturn = true; - this.textBox1.Location = new System.Drawing.Point(113, 218); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(154, 20); - this.textBox1.TabIndex = 12; - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(52, 221); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(55, 17); - this.label10.TabIndex = 11; - this.label10.Text = "User ID"; - // - // textBox2 - // - this.textBox2.Location = new System.Drawing.Point(113, 172); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(202, 20); - this.textBox2.TabIndex = 5; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(15, 172); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(92, 17); - this.label13.TabIndex = 4; - this.label13.Text = "Last Modified"; - // - // richTextBox1 - // - this.richTextBox1.AcceptsTab = true; - this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Title", true)); - this.richTextBox1.Location = new System.Drawing.Point(83, 81); - this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.Size = new System.Drawing.Size(541, 60); - this.richTextBox1.TabIndex = 3; - this.richTextBox1.Text = ""; - // - // richTextBox2 - // - this.richTextBox2.AcceptsTab = true; - this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Number", true)); - this.richTextBox2.Location = new System.Drawing.Point(83, 30); - this.richTextBox2.Multiline = false; - this.richTextBox2.Name = "richTextBox2"; - this.richTextBox2.Size = new System.Drawing.Size(159, 22); - this.richTextBox2.TabIndex = 2; - this.richTextBox2.Text = ""; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(42, 81); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(35, 17); - this.label14.TabIndex = 1; - this.label14.Text = "Title"; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(19, 33); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(58, 17); - this.label15.TabIndex = 0; - this.label15.Text = "Number"; - // - // superTooltip1 - // - this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - // - // panSectBtns - // - this.panSectBtns.BackColor = System.Drawing.Color.Transparent; - this.panSectBtns.Controls.Add(this.btnViewStngs); - this.panSectBtns.Controls.Add(this.btnLibDocs); - this.panSectBtns.Controls.Add(this.btnFormat); - this.panSectBtns.Controls.Add(this.btnGeneral); - this.panSectBtns.Location = new System.Drawing.Point(10, 8); - this.panSectBtns.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.panSectBtns.Name = "panSectBtns"; - this.panSectBtns.Size = new System.Drawing.Size(144, 264); - this.panSectBtns.TabIndex = 28; - // - // btnViewStngs - // - this.btnViewStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnViewStngs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnViewStngs.Dock = System.Windows.Forms.DockStyle.Top; - this.btnViewStngs.Location = new System.Drawing.Point(0, 57); - this.btnViewStngs.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.btnViewStngs.Name = "btnViewStngs"; - this.btnViewStngs.Size = new System.Drawing.Size(144, 19); - this.btnViewStngs.TabIndex = 3; - this.btnViewStngs.Text = "View Settings"; - this.btnViewStngs.Visible = false; - this.btnViewStngs.Click += new System.EventHandler(this.btnViewStngs_Click); - // - // btnLibDocs - // - this.btnLibDocs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnLibDocs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnLibDocs.Dock = System.Windows.Forms.DockStyle.Top; - this.btnLibDocs.Location = new System.Drawing.Point(0, 38); - this.btnLibDocs.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.btnLibDocs.Name = "btnLibDocs"; - this.btnLibDocs.Size = new System.Drawing.Size(144, 19); - this.btnLibDocs.TabIndex = 2; - this.btnLibDocs.Text = "Library Documents"; - this.btnLibDocs.Click += new System.EventHandler(this.btnLibDocs_Click); - // - // btnFormat - // - this.btnFormat.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnFormat.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnFormat.Dock = System.Windows.Forms.DockStyle.Top; - this.btnFormat.Location = new System.Drawing.Point(0, 19); - this.btnFormat.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.btnFormat.Name = "btnFormat"; - this.btnFormat.Size = new System.Drawing.Size(144, 19); - this.btnFormat.TabIndex = 1; - this.btnFormat.Text = "Format"; - this.btnFormat.Click += new System.EventHandler(this.btnFormat_Click); - // - // btnGeneral - // - this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; - this.btnGeneral.Location = new System.Drawing.Point(0, 0); - this.btnGeneral.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.btnGeneral.Name = "btnGeneral"; - this.btnGeneral.Size = new System.Drawing.Size(144, 19); - this.btnGeneral.TabIndex = 0; - this.btnGeneral.Text = "General"; - this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click); - // - // tcSectionProp - // - this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Right))); - this.tcSectionProp.BackColor = System.Drawing.Color.Transparent; - this.tcSectionProp.CanReorderTabs = true; - this.tcSectionProp.Controls.Add(this.tabControlPanel1); - this.tcSectionProp.Controls.Add(this.tabControlPanel2); - this.tcSectionProp.Controls.Add(this.tabControlPanel3); - this.tcSectionProp.Controls.Add(this.tabControlPanel4); - this.tcSectionProp.Location = new System.Drawing.Point(162, 8); - this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tcSectionProp.Name = "tcSectionProp"; - this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); - this.tcSectionProp.SelectedTabIndex = 0; - this.tcSectionProp.Size = new System.Drawing.Size(486, 264); - this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock; - this.tcSectionProp.TabIndex = 29; - this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; - this.tcSectionProp.Tabs.Add(this.tiGeneral); - this.tcSectionProp.Tabs.Add(this.tiFormat); - this.tcSectionProp.Tabs.Add(this.tiLibDoc); - this.tcSectionProp.TabsVisible = false; - this.tcSectionProp.Text = "tabControl2"; - // - // tabControlPanel2 - // - this.tabControlPanel2.Controls.Add(this.cbIsStepSection); - this.tabControlPanel2.Controls.Add(this.ppGpbxSignoffCheckoff); - this.tabControlPanel2.Controls.Add(this.ppCmbxAccPgPrintSize); - this.tabControlPanel2.Controls.Add(this.label19); - this.tabControlPanel2.Controls.Add(this.ppCmbxNumColumns); - this.tabControlPanel2.Controls.Add(this.label5); - this.tabControlPanel2.Controls.Add(this.ppCmbxSectPagination); - this.tabControlPanel2.Controls.Add(this.label6); - this.tabControlPanel2.Controls.Add(this.ppCmbxStyleSectionType); - this.tabControlPanel2.Controls.Add(this.label7); - this.tabControlPanel2.Controls.Add(this.ppBtnDefaultFmt); - this.tabControlPanel2.Controls.Add(this.label8); - this.tabControlPanel2.Controls.Add(this.ppCmbxFormat); - this.tabControlPanel2.Controls.Add(this.ppLblFormatDefault); - this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel2.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tabControlPanel2.Name = "tabControlPanel2"; - this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(486, 242); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - this.tabControlPanel2.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.tiFormat; - this.tabControlPanel2.Enter += new System.EventHandler(this.tabpage_Enter); - // - // cbIsStepSection - // - this.cbIsStepSection.AutoSize = true; - this.cbIsStepSection.Location = new System.Drawing.Point(86, 47); - this.cbIsStepSection.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.cbIsStepSection.Name = "cbIsStepSection"; - this.cbIsStepSection.Size = new System.Drawing.Size(98, 17); - this.cbIsStepSection.TabIndex = 52; - this.cbIsStepSection.Text = "Is Step Section"; - this.cbIsStepSection.UseVisualStyleBackColor = true; - this.cbIsStepSection.CheckedChanged += new System.EventHandler(this.cbIsStepSection_CheckedChanged); - // - // ppGpbxSignoffCheckoff - // - this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent; - this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading); - this.ppGpbxSignoffCheckoff.Controls.Add(this.label11); - this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType); - this.ppGpbxSignoffCheckoff.Controls.Add(this.label12); - this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(236, 100); - this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff"; - this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(234, 131); - // - // - // - this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90; - this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1; - this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1; - this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1; - this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1; - this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4; - this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - this.ppGpbxSignoffCheckoff.TabIndex = 51; - this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs"; - // - // tiFormat - // - this.tiFormat.AttachedControl = this.tabControlPanel2; - this.tiFormat.Name = "tiFormat"; - this.tiFormat.Text = "Format"; - // - // tabControlPanel1 - // - this.tabControlPanel1.Controls.Add(this.ppDtTmLastMod); - this.tabControlPanel1.Controls.Add(this.label1); - this.tabControlPanel1.Controls.Add(this.ppCbPrnSecNumTitle); - this.tabControlPanel1.Controls.Add(this.label2); - this.tabControlPanel1.Controls.Add(this.ppCbIncTOC); - this.tabControlPanel1.Controls.Add(this.ppRTxtNumber); - this.tabControlPanel1.Controls.Add(this.ppTxtBxUserID); - this.tabControlPanel1.Controls.Add(this.ppRTxtTitle); - this.tabControlPanel1.Controls.Add(this.label21); - this.tabControlPanel1.Controls.Add(this.label3); - this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel1.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tabControlPanel1.Name = "tabControlPanel1"; - this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel1.Size = new System.Drawing.Size(486, 242); - this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - 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"; - // - // tabControlPanel3 - // - this.tabControlPanel3.Controls.Add(this.ppBtnCvrtToLibDoc); - this.tabControlPanel3.Controls.Add(this.label4); - this.tabControlPanel3.Controls.Add(this.ppCmbxLibDoc); - this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel3.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tabControlPanel3.Name = "tabControlPanel3"; - this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel3.Size = new System.Drawing.Size(486, 242); - this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - 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.tiLibDoc; - // - // tiLibDoc - // - this.tiLibDoc.AttachedControl = this.tabControlPanel3; - this.tiLibDoc.Name = "tiLibDoc"; - this.tiLibDoc.Text = "Library Document"; - // - // tabControlPanel4 - // - this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations); - this.tabControlPanel4.Controls.Add(this.label9); - this.tabControlPanel4.Controls.Add(this.ppCbProcView); - this.tabControlPanel4.Controls.Add(this.ppCbBackView); - this.tabControlPanel4.Controls.Add(this.ppCbDeviationView); - this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel4.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tabControlPanel4.Name = "tabControlPanel4"; - this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel4.Size = new System.Drawing.Size(486, 242); - this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - 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.tiViewStnns; - // - // tiViewStnns - // - this.tiViewStnns.AttachedControl = this.tabControlPanel4; - this.tiViewStnns.Name = "tiViewStnns"; - this.tiViewStnns.Text = "View Settings"; - // - // frmSectionProperties - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ClientSize = new System.Drawing.Size(655, 318); - this.Controls.Add(this.tcSectionProp); - this.Controls.Add(this.panSectBtns); - this.Controls.Add(this.ppCbShwDefSettings); - this.Controls.Add(this.ppLblDefSettingsInfo); - this.Controls.Add(this.ppBtnCancel); - this.Controls.Add(this.ppBtnOK); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.Name = "frmSectionProperties"; - this.ShowIcon = false; - this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "Section Properties"; - this.Load += new System.EventHandler(this.frmSectionProperties_Load); - ((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).EndInit(); - this.panSectBtns.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit(); - this.tcSectionProp.ResumeLayout(false); - this.tabControlPanel2.ResumeLayout(false); - this.tabControlPanel2.PerformLayout(); - this.ppGpbxSignoffCheckoff.ResumeLayout(false); - this.ppGpbxSignoffCheckoff.PerformLayout(); - this.tabControlPanel1.ResumeLayout(false); - this.tabControlPanel1.PerformLayout(); - this.tabControlPanel3.ResumeLayout(false); - this.tabControlPanel3.PerformLayout(); - this.tabControlPanel4.ResumeLayout(false); - this.tabControlPanel4.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); + this.ppCkLstApplicabilityDesinations.Location = new System.Drawing.Point(27, 54); + this.ppCkLstApplicabilityDesinations.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCkLstApplicabilityDesinations.Name = "ppCkLstApplicabilityDesinations"; + this.ppCkLstApplicabilityDesinations.Size = new System.Drawing.Size(265, 55); + this.ppCkLstApplicabilityDesinations.TabIndex = 35; + // + // ppCbProcView + // + this.ppCbProcView.AutoSize = true; + this.ppCbProcView.BackColor = System.Drawing.Color.Transparent; + this.ppCbProcView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); + this.ppCbProcView.Location = new System.Drawing.Point(31, 194); + this.ppCbProcView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCbProcView.Name = "ppCbProcView"; + this.ppCbProcView.Size = new System.Drawing.Size(193, 21); + this.ppCbProcView.TabIndex = 36; + this.ppCbProcView.Text = "Include in Procedure View"; + this.ppCbProcView.UseVisualStyleBackColor = false; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.BackColor = System.Drawing.Color.Transparent; + this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.Location = new System.Drawing.Point(27, 30); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(164, 17); + this.label9.TabIndex = 34; + this.label9.Text = "Applicability Destinations"; + // + // ppCbDeviationView + // + this.ppCbDeviationView.AutoSize = true; + this.ppCbDeviationView.BackColor = System.Drawing.Color.Transparent; + this.ppCbDeviationView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); + this.ppCbDeviationView.Location = new System.Drawing.Point(31, 249); + this.ppCbDeviationView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCbDeviationView.Name = "ppCbDeviationView"; + this.ppCbDeviationView.Size = new System.Drawing.Size(186, 21); + this.ppCbDeviationView.TabIndex = 33; + this.ppCbDeviationView.Text = "Include in Deviation View"; + this.ppCbDeviationView.UseVisualStyleBackColor = false; + // + // ppCbBackView + // + this.ppCbBackView.AutoSize = true; + this.ppCbBackView.BackColor = System.Drawing.Color.Transparent; + this.ppCbBackView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); + this.ppCbBackView.Location = new System.Drawing.Point(31, 222); + this.ppCbBackView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCbBackView.Name = "ppCbBackView"; + this.ppCbBackView.Size = new System.Drawing.Size(203, 21); + this.ppCbBackView.TabIndex = 32; + this.ppCbBackView.Text = "Include in Background View"; + this.ppCbBackView.UseVisualStyleBackColor = false; + // + // 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(768, 353); + this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppBtnCancel.Name = "ppBtnCancel"; + this.ppBtnCancel.Size = new System.Drawing.Size(75, 26); + this.ppBtnCancel.TabIndex = 24; + this.ppBtnCancel.Text = "Cancel"; + this.ppBtnCancel.UseVisualStyleBackColor = true; + this.ppBtnCancel.Click += new System.EventHandler(this.btnSectPropCancel_Click); + // + // ppBtnOK + // + this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.ppBtnOK.Location = new System.Drawing.Point(671, 353); + this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppBtnOK.Name = "ppBtnOK"; + this.ppBtnOK.Size = new System.Drawing.Size(75, 26); + this.ppBtnOK.TabIndex = 23; + this.ppBtnOK.Text = "OK"; + this.ppBtnOK.UseVisualStyleBackColor = true; + this.ppBtnOK.Click += new System.EventHandler(this.btnSectPropOK_Click); + // + // ppLblDefSettingsInfo + // + this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ppLblDefSettingsInfo.AutoSize = true; + this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(11, 346); + this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; + this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17); + this.ppLblDefSettingsInfo.TabIndex = 25; + this.ppLblDefSettingsInfo.Text = "* Default values shown in italics"; + // + // ppCbShwDefSettings + // + this.ppCbShwDefSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ppCbShwDefSettings.Location = new System.Drawing.Point(12, 366); + this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; + this.ppCbShwDefSettings.Size = new System.Drawing.Size(193, 23); + 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 = 27; + this.ppCbShwDefSettings.Text = "Show Default Settings"; + this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter); + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_TOC", true)); + this.checkBox1.Location = new System.Drawing.Point(13, 272); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(214, 21); + this.checkBox1.TabIndex = 22; + this.checkBox1.Text = "Include on Table Of Contents"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // textBox1 + // + this.textBox1.AcceptsReturn = true; + this.textBox1.Location = new System.Drawing.Point(113, 218); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(154, 22); + this.textBox1.TabIndex = 12; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(52, 221); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(55, 17); + this.label10.TabIndex = 11; + this.label10.Text = "User ID"; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(113, 172); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(202, 22); + this.textBox2.TabIndex = 5; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(15, 172); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(92, 17); + this.label13.TabIndex = 4; + this.label13.Text = "Last Modified"; + // + // richTextBox1 + // + this.richTextBox1.AcceptsTab = true; + this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Title", true)); + this.richTextBox1.Location = new System.Drawing.Point(83, 81); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(541, 60); + this.richTextBox1.TabIndex = 3; + this.richTextBox1.Text = ""; + // + // richTextBox2 + // + this.richTextBox2.AcceptsTab = true; + this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Number", true)); + this.richTextBox2.Location = new System.Drawing.Point(83, 30); + this.richTextBox2.Multiline = false; + this.richTextBox2.Name = "richTextBox2"; + this.richTextBox2.Size = new System.Drawing.Size(159, 22); + this.richTextBox2.TabIndex = 2; + this.richTextBox2.Text = ""; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(42, 81); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(35, 17); + this.label14.TabIndex = 1; + this.label14.Text = "Title"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(19, 33); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(58, 17); + this.label15.TabIndex = 0; + this.label15.Text = "Number"; + // + // superTooltip1 + // + this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + // + // panSectBtns + // + this.panSectBtns.BackColor = System.Drawing.Color.Transparent; + this.panSectBtns.Controls.Add(this.btnViewStngs); + this.panSectBtns.Controls.Add(this.btnLibDocs); + this.panSectBtns.Controls.Add(this.btnFormat); + this.panSectBtns.Controls.Add(this.btnGeneral); + this.panSectBtns.Location = new System.Drawing.Point(13, 10); + this.panSectBtns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.panSectBtns.Name = "panSectBtns"; + this.panSectBtns.Size = new System.Drawing.Size(192, 325); + this.panSectBtns.TabIndex = 28; + // + // btnViewStngs + // + this.btnViewStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnViewStngs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnViewStngs.Dock = System.Windows.Forms.DockStyle.Top; + this.btnViewStngs.Location = new System.Drawing.Point(0, 69); + this.btnViewStngs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnViewStngs.Name = "btnViewStngs"; + this.btnViewStngs.Size = new System.Drawing.Size(192, 23); + this.btnViewStngs.TabIndex = 3; + this.btnViewStngs.Text = "View Settings"; + this.btnViewStngs.Visible = false; + this.btnViewStngs.Click += new System.EventHandler(this.btnViewStngs_Click); + // + // btnLibDocs + // + this.btnLibDocs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnLibDocs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnLibDocs.Dock = System.Windows.Forms.DockStyle.Top; + this.btnLibDocs.Location = new System.Drawing.Point(0, 46); + this.btnLibDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnLibDocs.Name = "btnLibDocs"; + this.btnLibDocs.Size = new System.Drawing.Size(192, 23); + this.btnLibDocs.TabIndex = 2; + this.btnLibDocs.Text = "Library Documents"; + this.btnLibDocs.Click += new System.EventHandler(this.btnLibDocs_Click); + // + // btnFormat + // + this.btnFormat.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnFormat.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnFormat.Dock = System.Windows.Forms.DockStyle.Top; + this.btnFormat.Location = new System.Drawing.Point(0, 23); + this.btnFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnFormat.Name = "btnFormat"; + this.btnFormat.Size = new System.Drawing.Size(192, 23); + this.btnFormat.TabIndex = 1; + this.btnFormat.Text = "Format"; + this.btnFormat.Click += new System.EventHandler(this.btnFormat_Click); + // + // btnGeneral + // + this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; + this.btnGeneral.Location = new System.Drawing.Point(0, 0); + this.btnGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnGeneral.Name = "btnGeneral"; + this.btnGeneral.Size = new System.Drawing.Size(192, 23); + this.btnGeneral.TabIndex = 0; + this.btnGeneral.Text = "General"; + this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click); + // + // tcSectionProp + // + this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.tcSectionProp.BackColor = System.Drawing.Color.Transparent; + this.tcSectionProp.CanReorderTabs = true; + this.tcSectionProp.Controls.Add(this.tabControlPanel3); + this.tcSectionProp.Controls.Add(this.tabControlPanel1); + this.tcSectionProp.Controls.Add(this.tabControlPanel2); + this.tcSectionProp.Controls.Add(this.tabControlPanel4); + this.tcSectionProp.Location = new System.Drawing.Point(216, 10); + this.tcSectionProp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tcSectionProp.Name = "tcSectionProp"; + this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); + this.tcSectionProp.SelectedTabIndex = 0; + this.tcSectionProp.Size = new System.Drawing.Size(648, 325); + this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock; + this.tcSectionProp.TabIndex = 29; + this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; + this.tcSectionProp.Tabs.Add(this.tiGeneral); + this.tcSectionProp.Tabs.Add(this.tiFormat); + this.tcSectionProp.Tabs.Add(this.tiLibDoc); + this.tcSectionProp.TabsVisible = false; + this.tcSectionProp.Text = "tabControl2"; + // + // tabControlPanel3 + // + this.tabControlPanel3.Controls.Add(this.ppBtnCvrtToLibDoc); + this.tabControlPanel3.Controls.Add(this.lblLibraryDocument); + this.tabControlPanel3.Controls.Add(this.ppCmbxLibDoc); + 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(648, 301); + 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.tiLibDoc; + // + // tiLibDoc + // + this.tiLibDoc.AttachedControl = this.tabControlPanel3; + this.tiLibDoc.Name = "tiLibDoc"; + this.tiLibDoc.Text = "Library Document"; + // + // tabControlPanel1 + // + this.tabControlPanel1.Controls.Add(this.ppDtTmLastMod); + this.tabControlPanel1.Controls.Add(this.label1); + this.tabControlPanel1.Controls.Add(this.ppCbPrnSecNumTitle); + this.tabControlPanel1.Controls.Add(this.label2); + this.tabControlPanel1.Controls.Add(this.ppCbIncTOC); + this.tabControlPanel1.Controls.Add(this.ppRTxtNumber); + this.tabControlPanel1.Controls.Add(this.ppTxtBxUserID); + this.tabControlPanel1.Controls.Add(this.ppRTxtTitle); + this.tabControlPanel1.Controls.Add(this.label21); + this.tabControlPanel1.Controls.Add(this.label3); + 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(648, 301); + 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"; + // + // tabControlPanel2 + // + this.tabControlPanel2.Controls.Add(this.cbIsStepSection); + this.tabControlPanel2.Controls.Add(this.ppGpbxSignoffCheckoff); + this.tabControlPanel2.Controls.Add(this.ppCmbxAccPgPrintSize); + this.tabControlPanel2.Controls.Add(this.label19); + this.tabControlPanel2.Controls.Add(this.ppCmbxNumColumns); + this.tabControlPanel2.Controls.Add(this.label5); + this.tabControlPanel2.Controls.Add(this.ppCmbxSectPagination); + this.tabControlPanel2.Controls.Add(this.label6); + this.tabControlPanel2.Controls.Add(this.ppCmbxStyleSectionType); + this.tabControlPanel2.Controls.Add(this.label7); + this.tabControlPanel2.Controls.Add(this.ppBtnDefaultFmt); + this.tabControlPanel2.Controls.Add(this.label8); + this.tabControlPanel2.Controls.Add(this.ppCmbxFormat); + this.tabControlPanel2.Controls.Add(this.ppLblFormatDefault); + 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(648, 301); + 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) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel2.Style.GradientAngle = 90; + this.tabControlPanel2.TabIndex = 2; + this.tabControlPanel2.TabItem = this.tiFormat; + this.tabControlPanel2.Enter += new System.EventHandler(this.tabpage_Enter); + // + // cbIsStepSection + // + this.cbIsStepSection.AutoSize = true; + this.cbIsStepSection.Location = new System.Drawing.Point(115, 58); + this.cbIsStepSection.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbIsStepSection.Name = "cbIsStepSection"; + this.cbIsStepSection.Size = new System.Drawing.Size(124, 21); + this.cbIsStepSection.TabIndex = 52; + this.cbIsStepSection.Text = "Is Step Section"; + this.cbIsStepSection.UseVisualStyleBackColor = true; + this.cbIsStepSection.CheckedChanged += new System.EventHandler(this.cbIsStepSection_CheckedChanged); + // + // ppGpbxSignoffCheckoff + // + this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent; + this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading); + this.ppGpbxSignoffCheckoff.Controls.Add(this.label11); + this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType); + this.ppGpbxSignoffCheckoff.Controls.Add(this.label12); + this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(315, 123); + this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff"; + this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(312, 161); + // + // + // + this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90; + this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1; + this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1; + this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1; + this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1; + this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4; + this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.ppGpbxSignoffCheckoff.TabIndex = 51; + this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs"; + // + // tiFormat + // + this.tiFormat.AttachedControl = this.tabControlPanel2; + this.tiFormat.Name = "tiFormat"; + this.tiFormat.Text = "Format"; + // + // tabControlPanel4 + // + this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations); + this.tabControlPanel4.Controls.Add(this.label9); + this.tabControlPanel4.Controls.Add(this.ppCbProcView); + this.tabControlPanel4.Controls.Add(this.ppCbBackView); + this.tabControlPanel4.Controls.Add(this.ppCbDeviationView); + 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(648, 301); + 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.tiViewStnns; + // + // tiViewStnns + // + this.tiViewStnns.AttachedControl = this.tabControlPanel4; + this.tiViewStnns.Name = "tiViewStnns"; + this.tiViewStnns.Text = "View Settings"; + // + // frmSectionProperties + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ClientSize = new System.Drawing.Size(873, 391); + this.Controls.Add(this.tcSectionProp); + this.Controls.Add(this.panSectBtns); + this.Controls.Add(this.ppCbShwDefSettings); + this.Controls.Add(this.ppLblDefSettingsInfo); + 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 = "frmSectionProperties"; + this.ShowIcon = false; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Section Properties"; + this.Load += new System.EventHandler(this.frmSectionProperties_Load); + ((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).EndInit(); + this.panSectBtns.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit(); + this.tcSectionProp.ResumeLayout(false); + this.tabControlPanel3.ResumeLayout(false); + this.tabControlPanel3.PerformLayout(); + this.tabControlPanel1.ResumeLayout(false); + this.tabControlPanel1.PerformLayout(); + this.tabControlPanel2.ResumeLayout(false); + this.tabControlPanel2.PerformLayout(); + this.ppGpbxSignoffCheckoff.ResumeLayout(false); + this.ppGpbxSignoffCheckoff.PerformLayout(); + this.tabControlPanel4.ResumeLayout(false); + this.tabControlPanel4.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -1028,7 +1016,7 @@ namespace VEPROMS private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxCheckoffType; private System.Windows.Forms.Label ppLblDefSettingsInfo; private DevComponents.DotNetBar.Controls.CheckBoxX ppCbShwDefSettings; - private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label lblLibraryDocument; private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxLibDoc; private DevComponents.DotNetBar.ButtonX ppBtnCvrtToLibDoc; private System.Windows.Forms.CheckBox ppCbPrnSecNumTitle; diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 80da405f..6036e185 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -16,6 +16,7 @@ namespace VEPROMS private string _DefaultFormatName = null; private bool _Initializing; private SectionConfig _SectionConfig; + private Document _DocumentToDelete = null; public frmSectionProperties(SectionConfig sectionConfig) { @@ -47,17 +48,25 @@ namespace VEPROMS private void btnSectPropOK_Click(object sender, EventArgs e) { sectionConfigBindingSource.EndEdit(); + // Save Default settings for User // // Save whether we should display the default values on this property page Settings.Default.ShowDefaultSectionProp = ppCbShwDefSettings.Checked; Settings.Default.Save(); DialogResult = DialogResult.OK; + _SectionConfig.MySection.Save().Dispose(); + // if there was a document to delete, do it. + if (_DocumentToDelete != null) + { + Document.Delete(_DocumentToDelete.DocID); + _DocumentToDelete = null; + } this.Close(); } - private void btnSectPropCancel_Click(object sender, EventArgs e) { + _DocumentToDelete = null; sectionConfigBindingSource.CancelEdit(); DialogResult = DialogResult.Cancel; this.Close(); @@ -87,7 +96,7 @@ namespace VEPROMS _Initializing = true; sectionConfigBindingSource.DataSource = _SectionConfig; - //formatInfoListBindingSource.DataSource = FormatInfoList.Get(); + ppCmbxFormat.DataSource = null; ppCmbxFormat.DisplayMember = "FullName"; ppCmbxFormat.ValueMember = "FullName"; @@ -122,9 +131,39 @@ namespace VEPROMS ppCmbxNumColumns.ValueMember = "EValue"; ppCmbxNumColumns.SelectedIndex = -1; - _Initializing = false; + if (!cbIsStepSection.Enabled) ppCmbxLibDocFill(); + _Initializing = false; } + private void ppCmbxLibDocFill() + { + _Initializing = true; + bool isLib = _SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != ""; + if (isLib) + { + ppBtnCvrtToLibDoc.Text = "Convert this Section To A Non-Library Document"; + lblLibraryDocument.Text = "Library Document"; + superTooltip1.SetSuperTooltip(this.ppBtnCvrtToLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Convert To Non-Library Document", "", "This button will convert the current section from a library document to a non-library document", + null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 76))); + } + else + { + ppBtnCvrtToLibDoc.Text = "Convert this to a Library Document"; + lblLibraryDocument.Text = "Select Library Document to Link"; + superTooltip1.SetSuperTooltip(this.ppBtnCvrtToLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Convert To Library Document button", "", "This button will convert the current section to a library document, allowing it t" + + "o be shared with other procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 76))); + } + + DocumentInfoList LibDocList = DocumentInfoList.GetLibraries(true); + for (int i = 0; i < LibDocList.Count; i++) + { + ppCmbxLibDoc.Items.Add(LibDocList[i].DocumentTitle); + // see if this lib doc should be the selected index? + if (isLib && (LibDocList[i].DocID == _SectionConfig.MySection.MyContent.MyEntry.MyDocument.DocID)) ppCmbxLibDoc.SelectedIndex = i; + } + _Initializing = false; + } + #region General tab /// @@ -208,6 +247,31 @@ namespace VEPROMS ppCmbxFormat.SelectedIndex = -1; //reset to the default Format setting } + private void ppCmbxFormat_SelectedIndexChanged(object sender, EventArgs e) + { + if (_Initializing) return; + 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 ppCmbxStyleSectionType_SelectedValueChanged(object sender, EventArgs e) + { + if (_Initializing) return; + if (ppCmbxStyleSectionType.SelectedValue != null) + _SectionConfig.SectionType = (int)(ppCmbxStyleSectionType.SelectedValue); + } + private void cbIsStepSection_CheckedChanged(object sender, EventArgs e) + { + if (_Initializing) return; + SetupPpCmbxSectionType(); + } + #endregion #region Library Document tab @@ -221,7 +285,76 @@ namespace VEPROMS { ProcessButtonClick(tiLibDoc, btnLibDocs); } + private void ppBtnCvrtToLibDoc_Click(object sender, EventArgs e) + { + // 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. + if (ppBtnCvrtToLibDoc.Text.IndexOf("Non") > 0) // convert to a 'non' library. + { + ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID); + DocumentInfo doclibinfo = ii.MyContent.MyEntry.MyDocument; + // if just one usage (this one), then just convert this to a non-library document. If there are more + // than one usage, make a copy so that the rest of the usages still point to the library document. + if (doclibinfo.DocumentEntryCount == 1) + _SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle = null; + else + { + // make new document with 'no' libtitle - use libtitle for the doc title. Then link this + // to the item... + Document doc = Document.MakeDocument(null, doclibinfo.DocContent, null, null); + _SectionConfig.MySection.MyContent.MyEntry.MyDocument = doc; + } + ppCmbxLibDoc.Items.Clear(); + ppCmbxLibDoc.WatermarkEnabled = true; + ppBtnCvrtToLibDoc.Text = "Convert this to a Library Document"; + superTooltip1.SetSuperTooltip(this.ppBtnCvrtToLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Convert To Library Document button", "", "This button will convert the current section to a library document, allowing it t" + + "o be shared with other procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 76))); + } + // If current section is not a library document, the user selected the button to convert it to a + // library document, to do this, just put 'text' into the 'LibTitle' property (that's what flags + // it to be a library document. + else + { + _SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle = _SectionConfig.MySection.MyContent.Text; + // TODO: Kbr/Rhm - CSLA was not saving document (libtitle change) on higher level save. Delete following + // line after this is fixed. + _SectionConfig.MySection.MyContent.MyEntry.MyDocument.Save(); + // ppCmbxLibDocFill(); + ppCmbxLibDoc.Enabled = false; + } + } + + private void ppCmbxLibDoc_SelectedIndexChanged(object sender, EventArgs e) + { + if (_Initializing) return; + // see if this was NOT a library document. If it is not a library document, ask the user if + // it should be linked, thus losing the original text/data. + if (!(_SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != "")) + { + if (ppCmbxLibDoc.SelectedIndex > -1) + { + if (MessageBox.Show("Linking to this library document will cause loss of data. Do you want to continue?", "Link", MessageBoxButtons.YesNo) == DialogResult.Yes) + { + _DocumentToDelete = _SectionConfig.MySection.MyContent.MyEntry.MyDocument; + DocumentInfoList LibDocList = DocumentInfoList.GetLibraries(true); + _SectionConfig.MySection.MyContent.MyEntry.MyDocument = Document.Get(LibDocList[ppCmbxLibDoc.SelectedIndex].DocID); + } + else + { + ppCmbxLibDoc.SelectedIndex = -1; + } + } + + } + else + { + // it already is a library document, just change usages... + DocumentInfoList LibDocList = DocumentInfoList.GetLibraries(true); + _SectionConfig.MySection.MyContent.MyEntry.MyDocument = Document.Get(LibDocList[ppCmbxLibDoc.SelectedIndex].DocID); + } + } #endregion #region View Settings tab @@ -289,32 +422,7 @@ namespace VEPROMS defaultSettingsVisiblity(); } #endregion - - private void ppCmbxStyleSectionType_SelectedValueChanged(object sender, EventArgs e) - { - if (_Initializing) return; - if (ppCmbxStyleSectionType.SelectedValue != null) - _SectionConfig.SectionType = (int)(ppCmbxStyleSectionType.SelectedValue); - } - - private void ppCmbxFormat_SelectedIndexChanged(object sender, EventArgs e) - { - if (_Initializing) return; - 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 cbIsStepSection_CheckedChanged(object sender, EventArgs e) - { - if (_Initializing) return; - SetupPpCmbxSectionType(); - } - + + } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 642e7b30..3114e81e 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -132,6 +132,9 @@ namespace VEPROMS this.btnRmvCurBookMrk = new DevComponents.DotNetBar.ButtonX(); this.btnSetBookMrk = new DevComponents.DotNetBar.ButtonX(); this.infotabBookMarks = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanelLD = new DevComponents.DotNetBar.TabControlPanel(); + this.displayLibDocs = new Volian.Controls.Library.DisplayLibDocs(); + this.tabItemLibDocs = new DevComponents.DotNetBar.TabItem(this.components); this.annotationSearch = new DevComponents.DotNetBar.TabControlPanel(); this.navpaneResults = new DevComponents.DotNetBar.NavigationPane(); this.navpanSrchRslts = new DevComponents.DotNetBar.NavigationPanePanel(); @@ -160,6 +163,7 @@ namespace VEPROMS this.searchTabControl.SuspendLayout(); this.tabControlPanel2.SuspendLayout(); this.panelEx3.SuspendLayout(); + this.tabControlPanelLD.SuspendLayout(); this.annotationSearch.SuspendLayout(); this.navpaneResults.SuspendLayout(); this.navpanSrchRslts.SuspendLayout(); @@ -189,7 +193,6 @@ namespace VEPROMS // this.btnHelp.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image"))); - this.btnHelp.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnHelp.ImagePaddingHorizontal = 8; this.btnHelp.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.btnHelp.Name = "btnHelp"; @@ -203,7 +206,6 @@ namespace VEPROMS // this.btnHelpManual.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelpManual.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpManual.Image"))); - this.btnHelpManual.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnHelpManual.ImagePaddingHorizontal = 8; this.btnHelpManual.Name = "btnHelpManual"; this.btnHelpManual.Text = "User Manual"; @@ -212,7 +214,6 @@ namespace VEPROMS // this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpAbout.Image"))); - this.btnHelpAbout.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnHelpAbout.ImagePaddingHorizontal = 8; this.btnHelpAbout.Name = "btnHelpAbout"; this.btnHelpAbout.Text = "About"; @@ -222,7 +223,6 @@ namespace VEPROMS // this.btnHelpVWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelpVWeb.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpVWeb.Image"))); - this.btnHelpVWeb.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnHelpVWeb.ImagePaddingHorizontal = 8; this.btnHelpVWeb.Name = "btnHelpVWeb"; this.btnHelpVWeb.Text = "Volian Web"; @@ -235,7 +235,6 @@ namespace VEPROMS this.office2007StartButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.office2007StartButton1.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.Image; this.office2007StartButton1.Image = ((System.Drawing.Image)(resources.GetObject("office2007StartButton1.Image"))); - this.office2007StartButton1.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.office2007StartButton1.ImagePaddingHorizontal = 2; this.office2007StartButton1.ImagePaddingVertical = 2; this.office2007StartButton1.Name = "office2007StartButton1"; @@ -292,7 +291,6 @@ namespace VEPROMS // this.btnNew.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnNew.Image = ((System.Drawing.Image)(resources.GetObject("btnNew.Image"))); - this.btnNew.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnNew.ImagePaddingHorizontal = 8; this.btnNew.Name = "btnNew"; this.btnNew.SubItemsExpandWidth = 24; @@ -303,7 +301,6 @@ namespace VEPROMS // this.btnOpen.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image"))); - this.btnOpen.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnOpen.ImagePaddingHorizontal = 8; this.btnOpen.Name = "btnOpen"; this.btnOpen.SubItemsExpandWidth = 24; @@ -314,7 +311,6 @@ namespace VEPROMS // this.btnSave.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnSave.Image = global::VEPROMS.Properties.Resources.Save; - this.btnSave.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnSave.ImagePaddingHorizontal = 8; this.btnSave.Name = "btnSave"; this.btnSave.SubItemsExpandWidth = 24; @@ -325,7 +321,6 @@ namespace VEPROMS // this.btnSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnSaveAs.Image = global::VEPROMS.Properties.Resources.SaveAs; - this.btnSaveAs.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnSaveAs.ImagePaddingHorizontal = 8; this.btnSaveAs.Name = "btnSaveAs"; this.btnSaveAs.Text = "Save &As"; @@ -334,7 +329,6 @@ namespace VEPROMS // this.btnPrint.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image"))); - this.btnPrint.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnPrint.ImagePaddingHorizontal = 8; this.btnPrint.Name = "btnPrint"; this.btnPrint.SubItemsExpandWidth = 24; @@ -345,7 +339,6 @@ namespace VEPROMS this.btnPrepare.BeginGroup = true; this.btnPrepare.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnPrepare.Image = ((System.Drawing.Image)(resources.GetObject("btnPrepare.Image"))); - this.btnPrepare.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnPrepare.ImagePaddingHorizontal = 8; this.btnPrepare.Name = "btnPrepare"; this.btnPrepare.SubItemsExpandWidth = 24; @@ -355,7 +348,6 @@ namespace VEPROMS // this.btnAdmin.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnAdmin.Image = global::VEPROMS.Properties.Resources.Admin; - this.btnAdmin.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnAdmin.ImagePaddingHorizontal = 8; this.btnAdmin.Name = "btnAdmin"; this.btnAdmin.Text = "A&dministration"; @@ -365,7 +357,6 @@ namespace VEPROMS this.btnClose.BeginGroup = true; this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image"))); - this.btnClose.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnClose.ImagePaddingHorizontal = 8; this.btnClose.Name = "btnClose"; this.btnClose.SubItemsExpandWidth = 24; @@ -411,7 +402,6 @@ namespace VEPROMS this.btnOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnOptions.Image"))); - this.btnOptions.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnOptions.ImagePaddingHorizontal = 8; this.btnOptions.Name = "btnOptions"; this.btnOptions.SubItemsExpandWidth = 24; @@ -423,7 +413,6 @@ namespace VEPROMS this.btnExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image"))); - this.btnExit.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnExit.ImagePaddingHorizontal = 8; this.btnExit.Name = "btnExit"; this.btnExit.SubItemsExpandWidth = 24; @@ -522,7 +511,6 @@ namespace VEPROMS // this.btnViewTypes.AutoExpandOnClick = true; this.btnViewTypes.ForeColor = System.Drawing.Color.Black; - this.btnViewTypes.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnViewTypes.ImagePaddingHorizontal = 8; this.btnViewTypes.Name = "btnViewTypes"; this.btnViewTypes.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; @@ -534,7 +522,6 @@ namespace VEPROMS // // btnViewPrcStp // - this.btnViewPrcStp.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnViewPrcStp.ImagePaddingHorizontal = 8; this.btnViewPrcStp.Name = "btnViewPrcStp"; this.btnViewPrcStp.Text = "Procedure Steps"; @@ -542,7 +529,6 @@ namespace VEPROMS // // btnViewBckgnd // - this.btnViewBckgnd.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnViewBckgnd.ImagePaddingHorizontal = 8; this.btnViewBckgnd.Name = "btnViewBckgnd"; this.btnViewBckgnd.Text = "Background"; @@ -550,7 +536,6 @@ namespace VEPROMS // // btnViewDev // - this.btnViewDev.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnViewDev.ImagePaddingHorizontal = 8; this.btnViewDev.Name = "btnViewDev"; this.btnViewDev.Text = "Deviation"; @@ -568,7 +553,6 @@ namespace VEPROMS this.btnLckUlck.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnLckUlck.ForeColor = System.Drawing.Color.Black; this.btnLckUlck.Image = ((System.Drawing.Image)(resources.GetObject("btnLckUlck.Image"))); - this.btnLckUlck.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnLckUlck.ImagePaddingHorizontal = 8; this.btnLckUlck.Name = "btnLckUlck"; this.btnLckUlck.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; @@ -576,14 +560,13 @@ namespace VEPROMS this.btnSetLock, this.btnReleaseLck}); this.superTooltip1.SetSuperTooltip(this.btnLckUlck, new DevComponents.DotNetBar.SuperTooltipInfo("Procedure Lock", "", "This will allow you to set or remove a lock on the current procedure. The button" + - " tells you the current lock status.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + " tells you the current lock status.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnLckUlck.Text = "Unlocked"; // // btnSetLock // this.btnSetLock.ForeColor = System.Drawing.Color.Black; this.btnSetLock.Image = ((System.Drawing.Image)(resources.GetObject("btnSetLock.Image"))); - this.btnSetLock.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnSetLock.ImagePaddingHorizontal = 8; this.btnSetLock.Name = "btnSetLock"; this.btnSetLock.Text = "Set a Lock"; @@ -593,7 +576,6 @@ namespace VEPROMS // this.btnReleaseLck.ForeColor = System.Drawing.Color.Black; this.btnReleaseLck.Image = ((System.Drawing.Image)(resources.GetObject("btnReleaseLck.Image"))); - this.btnReleaseLck.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnReleaseLck.ImagePaddingHorizontal = 8; this.btnReleaseLck.Name = "btnReleaseLck"; this.btnReleaseLck.Text = "Release Lock"; @@ -611,7 +593,6 @@ namespace VEPROMS this.btnInsOvr.CanCustomize = false; this.btnInsOvr.Description = "Toggle Insert / Overwrite"; this.btnInsOvr.ForeColor = System.Drawing.Color.Black; - this.btnInsOvr.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnInsOvr.ImagePaddingHorizontal = 8; this.btnInsOvr.Name = "btnInsOvr"; this.btnInsOvr.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; @@ -624,7 +605,6 @@ namespace VEPROMS // // btnInsertMode // - this.btnInsertMode.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnInsertMode.ImagePaddingHorizontal = 8; this.btnInsertMode.Name = "btnInsertMode"; this.btnInsertMode.Text = "INS"; @@ -632,7 +612,6 @@ namespace VEPROMS // // btnOverstrikeMode // - this.btnOverstrikeMode.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnOverstrikeMode.ImagePaddingHorizontal = 8; this.btnOverstrikeMode.Name = "btnOverstrikeMode"; this.btnOverstrikeMode.Text = "OVR"; @@ -650,7 +629,6 @@ namespace VEPROMS this.btnEditView.CanCustomize = false; this.btnEditView.Description = "Toggle Edit / View Modes"; this.btnEditView.ForeColor = System.Drawing.Color.Black; - this.btnEditView.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnEditView.ImagePaddingHorizontal = 8; this.btnEditView.Name = "btnEditView"; this.btnEditView.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; @@ -661,7 +639,6 @@ namespace VEPROMS // // btnEditMode // - this.btnEditMode.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnEditMode.ImagePaddingHorizontal = 8; this.btnEditMode.Name = "btnEditMode"; this.btnEditMode.Text = "Edit"; @@ -669,7 +646,6 @@ namespace VEPROMS // // btnViewMode // - this.btnViewMode.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnViewMode.ImagePaddingHorizontal = 8; this.btnViewMode.Name = "btnViewMode"; this.btnViewMode.Text = "View"; @@ -688,12 +664,11 @@ namespace VEPROMS this.btnMarkPrevPos.ForeColor = System.Drawing.Color.Black; this.btnMarkPrevPos.GlobalName = "SetBookMark"; this.btnMarkPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnMarkPrevPos.Image"))); - this.btnMarkPrevPos.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnMarkPrevPos.ImagePaddingHorizontal = 8; this.btnMarkPrevPos.Name = "btnMarkPrevPos"; this.btnMarkPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.superTooltip1.SetSuperTooltip(this.btnMarkPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" + - "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnMarkPrevPos.Text = "BookMark"; this.btnMarkPrevPos.Click += new System.EventHandler(this.btnMarkPrevPos_Click); // @@ -710,12 +685,11 @@ namespace VEPROMS this.btnPrevPos.Enabled = false; this.btnPrevPos.ForeColor = System.Drawing.Color.Black; this.btnPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevPos.Image"))); - this.btnPrevPos.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnPrevPos.ImagePaddingHorizontal = 8; this.btnPrevPos.Name = "btnPrevPos"; this.btnPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.superTooltip1.SetSuperTooltip(this.btnPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" + - "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnPrevPos.Text = "Previous Positon"; this.btnPrevPos.Click += new System.EventHandler(this.btnPrevPos_Click); // @@ -729,11 +703,10 @@ namespace VEPROMS // this.btnGetRoVals.Enabled = false; this.btnGetRoVals.ForeColor = System.Drawing.Color.Black; - this.btnGetRoVals.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnGetRoVals.ImagePaddingHorizontal = 8; this.btnGetRoVals.Name = "btnGetRoVals"; this.superTooltip1.SetSuperTooltip(this.btnGetRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Object Values", "", "This will update the RO Values in this procedure set.\r\n\r\nThis button will become " + - "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnGetRoVals.Text = "Update RO Values"; // // epAnnotations @@ -771,7 +744,7 @@ namespace VEPROMS // ctrlAnnotationDetails // this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" + - "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n"; + "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n"; this.ctrlAnnotationDetails.Annotations = null; this.ctrlAnnotationDetails.AnnotationText = ""; this.ctrlAnnotationDetails.CurrentAnnotation = null; @@ -798,7 +771,7 @@ namespace VEPROMS this.btnAnnoDetailsPushPin.ShowSubItems = false; this.btnAnnoDetailsPushPin.Size = new System.Drawing.Size(27, 23); this.superTooltip1.SetSuperTooltip(this.btnAnnoDetailsPushPin, new DevComponents.DotNetBar.SuperTooltipInfo("Annotation Details Push Pin", "", "This will toggle between keeping the Annotation Details window opened or to open/" + - "close automatically.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + "close automatically.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnAnnoDetailsPushPin.TabIndex = 14; this.btnAnnoDetailsPushPin.ThemeAware = true; // @@ -809,12 +782,10 @@ namespace VEPROMS this.expandablePanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.expandablePanel2.Controls.Add(this.tv); this.expandablePanel2.Dock = System.Windows.Forms.DockStyle.Left; - this.expandablePanel2.Expanded = false; - this.expandablePanel2.ExpandedBounds = new System.Drawing.Rectangle(4, 51, 251, 496); this.expandablePanel2.ExpandOnTitleClick = true; this.expandablePanel2.Location = new System.Drawing.Point(4, 57); this.expandablePanel2.Name = "expandablePanel2"; - this.expandablePanel2.Size = new System.Drawing.Size(30, 460); + this.expandablePanel2.Size = new System.Drawing.Size(251, 460); this.expandablePanel2.Style.Alignment = System.Drawing.StringAlignment.Center; this.expandablePanel2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandablePanel2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -839,10 +810,11 @@ namespace VEPROMS this.tv.HideSelection = false; this.tv.Location = new System.Drawing.Point(0, 26); this.tv.Name = "tv"; - this.tv.Size = new System.Drawing.Size(30, 470); + this.tv.Size = new System.Drawing.Size(251, 434); this.tv.TabIndex = 1; this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); this.tv.Click += new System.EventHandler(this.tv_Click); + this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); // // infoPanel // @@ -854,7 +826,7 @@ namespace VEPROMS this.infoPanel.Expanded = false; this.infoPanel.ExpandedBounds = new System.Drawing.Rectangle(557, 57, 230, 457); this.infoPanel.ExpandOnTitleClick = true; - this.infoPanel.Location = new System.Drawing.Point(757, 57); + this.infoPanel.Location = new System.Drawing.Point(557, 57); this.infoPanel.Name = "infoPanel"; this.infoPanel.Size = new System.Drawing.Size(30, 460); this.infoPanel.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -907,7 +879,7 @@ namespace VEPROMS this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel1.Style.GradientAngle = 180; this.tabControlPanel1.TabIndex = 1; this.tabControlPanel1.TabItem = this.infotabTags; @@ -1164,7 +1136,7 @@ namespace VEPROMS this.infotabControlPanelRO.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelRO.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelRO.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.infotabControlPanelRO.Style.GradientAngle = 180; this.infotabControlPanelRO.TabIndex = 4; this.infotabControlPanelRO.TabItem = this.infotabRO; @@ -1203,7 +1175,7 @@ namespace VEPROMS this.infotabControlPanelTransitions.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.infotabControlPanelTransitions.Style.GradientAngle = 180; this.infotabControlPanelTransitions.TabIndex = 5; this.infotabControlPanelTransitions.TabItem = this.infotabTransition; @@ -1272,7 +1244,7 @@ namespace VEPROMS this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter1.Location = new System.Drawing.Point(34, 57); + this.expandableSplitter1.Location = new System.Drawing.Point(255, 57); this.expandableSplitter1.Name = "expandableSplitter1"; this.expandableSplitter1.Size = new System.Drawing.Size(3, 460); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; @@ -1305,9 +1277,9 @@ namespace VEPROMS this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter2.Location = new System.Drawing.Point(37, 514); + this.expandableSplitter2.Location = new System.Drawing.Point(258, 514); this.expandableSplitter2.Name = "expandableSplitter2"; - this.expandableSplitter2.Size = new System.Drawing.Size(720, 3); + this.expandableSplitter2.Size = new System.Drawing.Size(299, 3); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter2.TabIndex = 6; this.expandableSplitter2.TabStop = false; @@ -1338,7 +1310,7 @@ namespace VEPROMS this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter3.Location = new System.Drawing.Point(754, 57); + this.expandableSplitter3.Location = new System.Drawing.Point(554, 57); this.expandableSplitter3.Name = "expandableSplitter3"; this.expandableSplitter3.Size = new System.Drawing.Size(3, 457); this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; @@ -1354,7 +1326,6 @@ namespace VEPROMS this.btnSrchRslt.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnSrchRslt.Checked = true; this.btnSrchRslt.Image = ((System.Drawing.Image)(resources.GetObject("btnSrchRslt.Image"))); - this.btnSrchRslt.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnSrchRslt.ImagePaddingHorizontal = 8; this.btnSrchRslt.Name = "btnSrchRslt"; this.btnSrchRslt.OptionGroup = "navBar"; @@ -1369,11 +1340,11 @@ namespace VEPROMS // tc // this.tc.Dock = System.Windows.Forms.DockStyle.Fill; - this.tc.Location = new System.Drawing.Point(37, 57); + this.tc.Location = new System.Drawing.Point(258, 57); this.tc.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tc.Name = "tc"; this.tc.SelectedDisplayTabItem = null; - this.tc.Size = new System.Drawing.Size(717, 457); + this.tc.Size = new System.Drawing.Size(296, 457); this.tc.TabIndex = 8; this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged); this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran); @@ -1382,7 +1353,6 @@ namespace VEPROMS // buttonItem1 // this.buttonItem1.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image"))); - this.buttonItem1.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.buttonItem1.ImagePaddingHorizontal = 8; this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Text = "buttonItem19"; @@ -1399,12 +1369,10 @@ namespace VEPROMS this.searchPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.searchPanel.Controls.Add(this.searchTabControl); this.searchPanel.Dock = System.Windows.Forms.DockStyle.Right; - this.searchPanel.Expanded = false; - this.searchPanel.ExpandedBounds = new System.Drawing.Rectangle(587, 57, 230, 457); this.searchPanel.ExpandOnTitleClick = true; - this.searchPanel.Location = new System.Drawing.Point(790, 57); + this.searchPanel.Location = new System.Drawing.Point(590, 57); this.searchPanel.Name = "searchPanel"; - this.searchPanel.Size = new System.Drawing.Size(30, 460); + this.searchPanel.Size = new System.Drawing.Size(230, 460); this.searchPanel.Style.Alignment = System.Drawing.StringAlignment.Center; this.searchPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.searchPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -1427,18 +1395,20 @@ namespace VEPROMS this.searchTabControl.BackColor = System.Drawing.Color.Transparent; this.searchTabControl.CanReorderTabs = true; this.searchTabControl.Controls.Add(this.tabControlPanel2); + this.searchTabControl.Controls.Add(this.tabControlPanelLD); this.searchTabControl.Controls.Add(this.annotationSearch); this.searchTabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.searchTabControl.Location = new System.Drawing.Point(0, 26); this.searchTabControl.Name = "searchTabControl"; this.searchTabControl.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold); this.searchTabControl.SelectedTabIndex = 0; - this.searchTabControl.Size = new System.Drawing.Size(30, 431); + this.searchTabControl.Size = new System.Drawing.Size(230, 434); this.searchTabControl.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right; this.searchTabControl.TabIndex = 1; this.searchTabControl.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.searchTabControl.Tabs.Add(this.infotabBookMarks); this.searchTabControl.Tabs.Add(this.infotabResults); + this.searchTabControl.Tabs.Add(this.tabItemLibDocs); this.searchTabControl.Text = "tabControl1"; this.searchTabControl.ThemeAware = true; // @@ -1449,11 +1419,11 @@ namespace VEPROMS this.tabControlPanel2.Location = new System.Drawing.Point(0, 0); this.tabControlPanel2.Name = "tabControlPanel2"; this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(3, 431); + this.tabControlPanel2.Size = new System.Drawing.Size(203, 434); this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel2.Style.GradientAngle = 180; this.tabControlPanel2.TabIndex = 2; this.tabControlPanel2.TabItem = this.infotabBookMarks; @@ -1471,7 +1441,7 @@ namespace VEPROMS this.panelEx3.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx3.Location = new System.Drawing.Point(1, 1); this.panelEx3.Name = "panelEx3"; - this.panelEx3.Size = new System.Drawing.Size(1, 429); + this.panelEx3.Size = new System.Drawing.Size(201, 432); this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx3.Style.BackColor2.Color = System.Drawing.Color.SlateGray; @@ -1488,7 +1458,7 @@ namespace VEPROMS this.lbxBookMarks.ItemHeight = 16; this.lbxBookMarks.Location = new System.Drawing.Point(0, 87); this.lbxBookMarks.Name = "lbxBookMarks"; - this.lbxBookMarks.Size = new System.Drawing.Size(1, 340); + this.lbxBookMarks.Size = new System.Drawing.Size(201, 340); this.lbxBookMarks.TabIndex = 3; this.lbxBookMarks.Click += new System.EventHandler(this.lbxBookMarks_Click); // @@ -1498,7 +1468,7 @@ namespace VEPROMS this.btnClrBookMrks.Dock = System.Windows.Forms.DockStyle.Top; this.btnClrBookMrks.Location = new System.Drawing.Point(0, 58); this.btnClrBookMrks.Name = "btnClrBookMrks"; - this.btnClrBookMrks.Size = new System.Drawing.Size(1, 29); + this.btnClrBookMrks.Size = new System.Drawing.Size(201, 29); this.btnClrBookMrks.TabIndex = 2; this.btnClrBookMrks.Text = "Clear ALL Bookmarks"; this.btnClrBookMrks.ThemeAware = true; @@ -1510,7 +1480,7 @@ namespace VEPROMS this.btnRmvCurBookMrk.Dock = System.Windows.Forms.DockStyle.Top; this.btnRmvCurBookMrk.Location = new System.Drawing.Point(0, 29); this.btnRmvCurBookMrk.Name = "btnRmvCurBookMrk"; - this.btnRmvCurBookMrk.Size = new System.Drawing.Size(1, 29); + this.btnRmvCurBookMrk.Size = new System.Drawing.Size(201, 29); this.btnRmvCurBookMrk.TabIndex = 1; this.btnRmvCurBookMrk.Text = "Remove Bookmark"; this.btnRmvCurBookMrk.ThemeAware = true; @@ -1522,7 +1492,7 @@ namespace VEPROMS this.btnSetBookMrk.Dock = System.Windows.Forms.DockStyle.Top; this.btnSetBookMrk.Location = new System.Drawing.Point(0, 0); this.btnSetBookMrk.Name = "btnSetBookMrk"; - this.btnSetBookMrk.Size = new System.Drawing.Size(1, 29); + this.btnSetBookMrk.Size = new System.Drawing.Size(201, 29); this.btnSetBookMrk.TabIndex = 0; this.btnSetBookMrk.Text = "Set Bookmark"; this.btnSetBookMrk.ThemeAware = true; @@ -1534,6 +1504,42 @@ namespace VEPROMS this.infotabBookMarks.Name = "infotabBookMarks"; this.infotabBookMarks.Text = "BookMarks"; // + // tabControlPanelLD + // + this.tabControlPanelLD.Controls.Add(this.displayLibDocs); + this.tabControlPanelLD.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanelLD.Location = new System.Drawing.Point(0, 0); + this.tabControlPanelLD.Name = "tabControlPanelLD"; + this.tabControlPanelLD.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanelLD.Size = new System.Drawing.Size(203, 434); + this.tabControlPanelLD.Style.BackColor1.Color = System.Drawing.SystemColors.Control; + this.tabControlPanelLD.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanelLD.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanelLD.Style.GradientAngle = 180; + this.tabControlPanelLD.TabIndex = 4; + this.tabControlPanelLD.TabItem = this.tabItemLibDocs; + this.tabControlPanelLD.ThemeAware = true; + // + // displayLibDocs + // + this.displayLibDocs.AutoScroll = true; + this.displayLibDocs.CurLibDoc = null; + this.displayLibDocs.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayLibDocs.LibDocList = null; + this.displayLibDocs.Location = new System.Drawing.Point(1, 1); + this.displayLibDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.displayLibDocs.Name = "displayLibDocs"; + this.displayLibDocs.Size = new System.Drawing.Size(201, 432); + this.displayLibDocs.TabIndex = 0; + // + // tabItemLibDocs + // + this.tabItemLibDocs.AttachedControl = this.tabControlPanelLD; + this.tabItemLibDocs.Name = "tabItemLibDocs"; + this.tabItemLibDocs.Text = "Library Documents"; + this.tabItemLibDocs.Click += new System.EventHandler(this.tabItemLibDocs_Click); + // // annotationSearch // this.annotationSearch.Controls.Add(this.navpaneResults); @@ -1541,11 +1547,11 @@ namespace VEPROMS this.annotationSearch.Location = new System.Drawing.Point(0, 0); this.annotationSearch.Name = "annotationSearch"; this.annotationSearch.Padding = new System.Windows.Forms.Padding(1); - this.annotationSearch.Size = new System.Drawing.Size(3, 431); + this.annotationSearch.Size = new System.Drawing.Size(203, 434); this.annotationSearch.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.annotationSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.annotationSearch.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.annotationSearch.Style.GradientAngle = 180; this.annotationSearch.TabIndex = 3; this.annotationSearch.TabItem = this.infotabResults; @@ -1565,7 +1571,7 @@ namespace VEPROMS this.navpaneResults.Name = "navpaneResults"; this.navpaneResults.NavigationBarHeight = 61; this.navpaneResults.Padding = new System.Windows.Forms.Padding(1); - this.navpaneResults.Size = new System.Drawing.Size(1, 429); + this.navpaneResults.Size = new System.Drawing.Size(201, 432); this.navpaneResults.TabIndex = 0; // // @@ -1574,7 +1580,7 @@ namespace VEPROMS this.navpaneResults.TitlePanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.navpaneResults.TitlePanel.Location = new System.Drawing.Point(1, 1); this.navpaneResults.TitlePanel.Name = "panelTitle"; - this.navpaneResults.TitlePanel.Size = new System.Drawing.Size(0, 24); + this.navpaneResults.TitlePanel.Size = new System.Drawing.Size(199, 24); this.navpaneResults.TitlePanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.navpaneResults.TitlePanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.navpaneResults.TitlePanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; @@ -1593,7 +1599,7 @@ namespace VEPROMS this.navpanSrchRslts.Location = new System.Drawing.Point(1, 25); this.navpanSrchRslts.Name = "navpanSrchRslts"; this.navpanSrchRslts.ParentItem = this.btnSrchRslt; - this.navpanSrchRslts.Size = new System.Drawing.Size(0, 342); + this.navpanSrchRslts.Size = new System.Drawing.Size(199, 345); this.navpanSrchRslts.Style.Alignment = System.Drawing.StringAlignment.Center; this.navpanSrchRslts.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navpanSrchRslts.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; @@ -1609,7 +1615,7 @@ namespace VEPROMS this.CtrlAnnotationSearch.Location = new System.Drawing.Point(0, 0); this.CtrlAnnotationSearch.Margin = new System.Windows.Forms.Padding(2); this.CtrlAnnotationSearch.Name = "CtrlAnnotationSearch"; - this.CtrlAnnotationSearch.Size = new System.Drawing.Size(0, 342); + this.CtrlAnnotationSearch.Size = new System.Drawing.Size(199, 345); this.CtrlAnnotationSearch.TabIndex = 0; // // navigationPanePanel3 @@ -1618,7 +1624,7 @@ namespace VEPROMS this.navigationPanePanel3.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel3.Name = "navigationPanePanel3"; this.navigationPanePanel3.ParentItem = this.btnSimStpsRslt; - this.navigationPanePanel3.Size = new System.Drawing.Size(0, 366); + this.navigationPanePanel3.Size = new System.Drawing.Size(199, 369); this.navigationPanePanel3.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navigationPanePanel3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; @@ -1631,7 +1637,6 @@ namespace VEPROMS // this.btnSimStpsRslt.Image = ((System.Drawing.Image)(resources.GetObject("btnSimStpsRslt.Image"))); this.btnSimStpsRslt.ImageFixedSize = new System.Drawing.Size(16, 16); - this.btnSimStpsRslt.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet; this.btnSimStpsRslt.ImagePaddingHorizontal = 8; this.btnSimStpsRslt.Name = "btnSimStpsRslt"; this.btnSimStpsRslt.OptionGroup = "navBar"; @@ -1670,7 +1675,7 @@ namespace VEPROMS this.expandableSplitter4.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter4.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter4.Location = new System.Drawing.Point(787, 57); + this.expandableSplitter4.Location = new System.Drawing.Point(587, 57); this.expandableSplitter4.Name = "expandableSplitter4"; this.expandableSplitter4.Size = new System.Drawing.Size(3, 460); this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; @@ -1720,6 +1725,7 @@ namespace VEPROMS this.searchTabControl.ResumeLayout(false); this.tabControlPanel2.ResumeLayout(false); this.panelEx3.ResumeLayout(false); + this.tabControlPanelLD.ResumeLayout(false); this.annotationSearch.ResumeLayout(false); this.navpaneResults.ResumeLayout(false); this.navpanSrchRslts.ResumeLayout(false); @@ -1841,6 +1847,9 @@ namespace VEPROMS private DevComponents.DotNetBar.ButtonX btnSetBookMrk; private DevComponents.DotNetBar.TabItem infotabBookMarks; private DevComponents.DotNetBar.ExpandableSplitter expandableSplitter4; + private DevComponents.DotNetBar.TabControlPanel tabControlPanelLD; + private Volian.Controls.Library.DisplayLibDocs displayLibDocs; + private DevComponents.DotNetBar.TabItem tabItemLibDocs; } } diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index a6b9fd85..5861bc95 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -265,211 +265,30 @@ namespace VEPROMS } else if (args.SectionConfig != null) { + //// If this is a word document, close any edit sessions... + //ItemInfo ii = null; + //using (Section tmp = args.SectionConfig.MySection) + //{ + // ii = ItemInfo.Get(tmp.ItemID); + // if (!ii.IsStepSection) tc.CloseWordItem(ii); + //} + frmSectionProperties frmsec = new frmSectionProperties(args.SectionConfig); dr = frmsec.ShowDialog(); + if (dr == DialogResult.OK && displayLibDocs.LibDocList != null) + { + displayLibDocs.LibDocListFillIn(tc); + + } } } this.Cursor = Cursors.Default; return dr; - } - void tv_NodeFolderProperties(object sender, Volian.Controls.Library.vlnTreeEventArgs args) - { - - FolderInfo fi = ((VETreeNode)args.Node).VEObject as FolderInfo; - DialogResult dr = DialogResult.Cancel; - - if (dr == DialogResult.OK) fi.Get().Save(); - - } - void tv_NodeDocVersionProperties(object sender, Volian.Controls.Library.vlnTreeEventArgs args) - { - this.Cursor = Cursors.WaitCursor; - DocVersionInfo dvi = ((VETreeNode)args.Node).VEObject as DocVersionInfo; - if ((int)Settings.Default["PropPageStyle"] == (int)PropPgStyle.Grid) - { - frmPropGrid propGrid = new frmPropGrid(dvi.DocVersionConfig, string.Format("{0} Properties", dvi.DocVersionConfig.Name)); - if (propGrid.ShowDialog() == DialogResult.OK) - dvi.Get().Save(); - } - else - { - frmVersionsProperties frmver = new frmVersionsProperties(dvi.DocVersionConfig); - if (frmver.ShowDialog() == DialogResult.OK) - dvi.Get().Save(); - } - this.Cursor = Cursors.Default; - } - void tv_NodeProcProperties(object sender, Volian.Controls.Library.vlnTreeEventArgs args) - { - this.Cursor = Cursors.WaitCursor; - ProcedureInfo pi = ((VETreeNode)args.Node).VEObject as ProcedureInfo; - if ((int)Settings.Default["PropPageStyle"] == (int)PropPgStyle.Grid) - { - frmPropGrid propGrid = new frmPropGrid(pi.ProcedureConfig, string.Format("{0} {1} Properties", pi.ProcedureConfig.Number, pi.ProcedureConfig.Title)); - if (propGrid.ShowDialog() == DialogResult.OK) - pi.Get().Save(); - } - else - { - frmProcedureProperties frmproc = new frmProcedureProperties(pi.ProcedureConfig); - if (frmproc.ShowDialog() == DialogResult.OK) - pi.Get().Save(); - } - this.Cursor = Cursors.Default; - } - void tv_NodeSectProperties(object sender, Volian.Controls.Library.vlnTreeEventArgs args) - { - this.Cursor = Cursors.WaitCursor; - SectionInfo si = ((VETreeNode)args.Node).VEObject as SectionInfo; - if ((int)Settings.Default["PropPageStyle"] == (int)PropPgStyle.Grid) - { - string title = null; - if (si.SectionConfig.Number.Length > 0) - title = string.Format("{0} {1} Properties", si.SectionConfig.Number, si.SectionConfig.Title); - else - title = string.Format("{0} Properties", si.SectionConfig.Title); - frmPropGrid propGrid = new frmPropGrid(si.SectionConfig, title); - if (propGrid.ShowDialog() == DialogResult.OK) - si.Get().Save(); - } - else - { - frmSectionProperties frmsec = new frmSectionProperties(si.SectionConfig); - if (frmsec.ShowDialog() == DialogResult.OK) - si.Get().Save(); - } - this.Cursor = Cursors.Default; - } - private void btnProperties_Click(object sender, EventArgs e) - { - if (tv.SelectedNode == null) MessageBox.Show("Must select a node on the Tree to get properties"); - //Determine type of selected tree view node & handle based on that. - VETreeNode tn = (VETreeNode)(tv.SelectedNode); - if ((tn.VEObject as FolderInfo) != null) - tv_NodeFolderProperties(null, new vlnTreeEventArgs(tv.SelectedNode)); - else if ((tn.VEObject as DocVersionInfo) != null) - tv_NodeDocVersionProperties(null, new vlnTreeEventArgs(tv.SelectedNode)); - else if ((tn.VEObject as ProcedureInfo) != null) - tv_NodeProcProperties(null, new vlnTreeEventArgs(tv.SelectedNode)); - else if ((tn.VEObject as SectionInfo) != null) - tv_NodeSectProperties(null, new vlnTreeEventArgs(tv.SelectedNode)); - else - MessageBox.Show("Properties not available for this Tree selection"); - } - /// - // this is used by tv_NodeProperties() and by ribbonFilePropertes_Click() - // the type of the args parameter for these two functions is different and - // type casting didn't work, so I put the guts in this function. - /// - // TODO: DeleteMe - //void tv_NodeProperties(object sender, Volian.Controls.Library.vlnTreeEventArgs args) - //{ - // DisplayProperties(); - //} - //private void DisplayProperties() - //{ - // // check the user's preference on the style of poperty dialogs "PropPageStyle" - // // 1 - Button dialog interface - // // 2 - Tab dialog interface - // // 3 - Property Grid interface - // //SetLastValues((VETreeNode)(tv.SelectedNode)); - // this.Cursor = Cursors.WaitCursor; - // if ((int)Settings.Default["PropPageStyle"] == (int)PropPgStyle.Grid) - // DoPropertyGrid(); // Will display a Property Grid interface - // else - // DoPropertyPages(); // Will display either a Button or a Tab dialog - // this.Cursor = Cursors.Default; - //} - /// - /// Display a Property Page for the current tree node - /// - //private void DoPropertyPages() - //{ - // // Display a property page. (the ppStyle selects either a tabbed or button interface) - // VETreeNode tn = (VETreeNode)(tv.SelectedNode); - // if ((tn.VEObject as FolderInfo) != null) - // { - // FolderInfo fi = tn.VEObject as FolderInfo; - // frmFolderProperties frmfld = new frmFolderProperties(fi.FolderConfig); - // if (frmfld.ShowDialog() == DialogResult.OK) - // fi.Get().Save(); - // } - // else if ((tn.VEObject as DocVersionInfo) != null) - // { - // DocVersionInfo dvi = tn.VEObject as DocVersionInfo; - // frmVersionsProperties frmver = new frmVersionsProperties(dvi.DocVersionConfig); - // if (frmver.ShowDialog() == DialogResult.OK) - // dvi.Get().Save(); - // } - // else if ((tn.VEObject as ProcedureInfo) != null) - // { - // ProcedureInfo pi = tn.VEObject as ProcedureInfo; - // frmProcedureProperties frmproc = new frmProcedureProperties(pi.ProcedureConfig); - // if (frmproc.ShowDialog() == DialogResult.OK) - // pi.Get().Save(); - // } - // else if ((tn.VEObject as SectionInfo) != null) - // { - // SectionInfo si = tn.VEObject as SectionInfo; - // frmSectionProperties frmsec = new frmSectionProperties(si.SectionConfig); - // if (frmsec.ShowDialog() == DialogResult.OK) - // si.Get().Save(); - // } - //} - /// - /// Display a property grid for the current tree node - /// - //private void DoPropertyGrid() - //{ - // // Display a property grid - // VETreeNode tn = (VETreeNode)(tv.SelectedNode); - // frmPropGrid propGrid = null; - // string title = ""; - // if ((tn.VEObject as FolderInfo) != null) - // { - // FolderInfo fi = tn.VEObject as FolderInfo; - // title = string.Format("{0} Properties", fi.FolderConfig.Name); - // propGrid = new frmPropGrid(fi.FolderConfig, title); - // if (propGrid.ShowDialog() == DialogResult.OK) - // fi.Get().Save(); - // } - // else if ((tn.VEObject as DocVersionInfo) != null) - // { - // DocVersionInfo dvi = tn.VEObject as DocVersionInfo; - // title = string.Format("{0} Properties", dvi.DocVersionConfig.Name); - // propGrid = new frmPropGrid(dvi.DocVersionConfig, title); - // if (propGrid.ShowDialog() == DialogResult.OK) - // dvi.Get().Save(); - // } - // else if ((tn.VEObject as ProcedureInfo) != null) - // { - // ProcedureInfo pi = tn.VEObject as ProcedureInfo; - // title = string.Format("{0} {1} Properties", pi.ProcedureConfig.Number, pi.ProcedureConfig.Title); - // propGrid = new frmPropGrid(pi.ProcedureConfig, title); - // if (propGrid.ShowDialog() == DialogResult.OK) - // pi.Get().Save(); - // } - // else if ((tn.VEObject as SectionInfo) != null) - // { - // SectionInfo si = tn.VEObject as SectionInfo; - // if (si.SectionConfig.Number.Length > 0) - // title = string.Format("{0} {1} Properties", si.SectionConfig.Number, si.SectionConfig.Title); - // else - // title = string.Format("{0} Properties", si.SectionConfig.Title); - // propGrid = new frmPropGrid(si.SectionConfig, title); - // if (propGrid.ShowDialog() == DialogResult.OK) - // si.Get().Save(); - // } - //} - /// - /// Button from the Ribbon Bar - /// - /// object - /// EventArgs + } #endregion - #endregion - #region ColorStuff - /// + #endregion + #region ColorStuff + /// /// Get a System.Drawing.Color from an Argb or color name /// /// Color Name or "[(alpha,)red,green,blue]" @@ -1014,7 +833,6 @@ namespace VEPROMS } #endregion private ItemInfo _CurrentItem = null; - private void tc_ItemSelectedChanged(object sender, ItemSelectedChangedEventArgs args) { if (args == null) @@ -1311,5 +1129,15 @@ namespace VEPROMS tv.tv_NodeNew(vlnTreeView.MenuSelections.Folder); } #endregion + + private void tabItemLibDocs_Click(object sender, EventArgs e) + { + displayLibDocs.LibDocListFillIn(tc); + } + + private void tv_SectionShouldClose(object sender, vlnTreeSectionInfoEventArgs args) + { + if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo); + } } } diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.resx b/PROMS/VEPROMS User Interface/frmVEPROMS.resx index 9ec1afd6..7672158a 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.resx +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.resx @@ -121,8 +121,8 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEAAA - CxABrSO9dQAAAjNJREFUOE+lk01rE1EUhvUf5CfkJxQFF66ydDloA1lGcNGFSnAhQRCHghAMakSKBktn + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALBwAA + CwcBtnMLwAAAAjNJREFUOE+lk01rE1EUhvUf5CfkJxQFF66ydDloA1lGcNGFSnAhQRCHghAMakSKBktn rIqNpDqb2hitHdFWi0gHazW2YZKWqGkzTa9OlX5oXs+5k8407cKFFw733Mt5n/Mxd/YD2PdfiwG7bWLG xZ3iMlJ3K+gdmENfvoyRV18obG9sh/i9vY7ceBNacQnVxia+r21BuJvkb+ByroSUZqH4erED5ANY/MBc hfOzBdMC1CFASXnGvmkJ2KstXOibxMiLsg/xAZx55VcLuglEkoBeAMQ6xwFVASRu8p1AhSBn0s86ARMf @@ -137,8 +137,8 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScAAA - EnABIZuYagAAAldJREFUOE+Nk91PUnEYx4E27/sDuu2q7rrpos3mWv0BratWa2urluuiLaerC6cXsbHZ + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAASbgAA + Em4BzAbEXgAAAldJREFUOE+Nk91PUnEYx4E27/sDuu2q7rrpos3mWv0BratWa2urluuiLaerC6cXsbHZ elHUWavmC9qAlR6zDA0wA6NA3gSBhMjMgyIICJ63b88PFhtCW2d7dn5n5/l+ns/vd3bUAFTs0k7EKosD l1qjUUmlkupQU5NKo5J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84r+zs/NmXV1dfS1NTdwG5Ofn88bFxYVOnTr15Nq1a/+0tLT8 z83N++/r6/fS1NSs2tjEmA/dxRheSEtL401JSalesXLlG6Br/ufnF/wHar6lp29Q7eDkpIjXgNLSUuXq @@ -521,14 +521,11 @@ rkJggg== - - 17, 17 - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALCgAA - CwoBv0NmUwAAAkNJREFUOE+d0l1IU2EYB/AZXSR0GV10bRclXWRdRB8kk5TIMV3iFgWC1FhgZbNlBNY2 + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALAQAA + CwEBNnBPWwAAAkNJREFUOE+d0l1IU2EYB/AZXSR0GV10bRclXWRdRB8kk5TIMV3iFgWC1FhgZbNlBNY2 KqEwzbkMwpVzKyoWeswuXNOWy8yZ8zPXyMlcbbbvj+NZ24x/74JC7BjSgQfOxfv+zv95zpMFgKN60LW+ KH9X0ez8At/1xb8tGqc3B4KRjRuysz/lbM1rquBtpzirPRmg941Nrm6nxrpMQwmj9SOMU07cowZwsUkP geRaoPxM/YnMObbilElubGnWdL43DY7/8NEMPEwSzhiDUR8Nauor5JoeFB6vTR0S1eSwAiaLTaPr7Iu7 @@ -556,11 +553,14 @@ 156, 17 + + True + iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAASbQAA - Em0BYb/lMwAAAKRJREFUOE/NlNEOgCAIRcv55P//ay8u61owJE03aavGJgInuC7XlNJi+gBoaaawPK1l + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAASawAA + EmsB4byhqAAAAKRJREFUOE/NlNEOgCAIRcv55P//ay8u61owJE03aavGJgInuC7XlNJi+gBoaaawPK1l dwUwuLBpO8XgtxbHHmfc0nGH3vkU98hGACqAL+NYFzk9YP5AvIoArQGLnBEgCuSoukPEyegsmiPXivUe +YB2gVrTN38YKCF6rf1mh1IXWmM0Aug4xYZGNulQCi0PYVrD6VNu/Vqj+w8NrS6J726b33Z4AFzeFLS3 F5viAAAAAElFTkSuQmCC diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs index 219800fc..397203b4 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs @@ -184,7 +184,7 @@ namespace VEPROMS this.ppBtnOK.TabIndex = 15; this.ppBtnOK.Text = "OK"; this.ppBtnOK.UseVisualStyleBackColor = true; - this.ppBtnOK.Click += new System.EventHandler(this.btnFlderPropOK_Click); + this.ppBtnOK.Click += new System.EventHandler(this.btnVersionsPropOK_Click); // // ppBtnDefaultChgBar // diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index fee299c2..3f5464c0 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -33,29 +33,30 @@ namespace VEPROMS private bool _DefaultDisableDuplex = false; // private bool _Initializing; - private DocVersionConfig _DocVersionConfig; + private DocVersionConfig _DocVersionConfig; - public frmVersionsProperties(DocVersionConfig docVersionConfig) - { - _DocVersionConfig = docVersionConfig; - _Initializing = true; - InitializeComponent(); - btnGeneral.PerformClick(); // always start with General tab or button - _Initializing = false; - //build the caption - this.Text = string.Format("{0} Properties",_DocVersionConfig.Name); - } + public frmVersionsProperties(DocVersionConfig docVersionConfig) + { + _DocVersionConfig = docVersionConfig; + _Initializing = true; + InitializeComponent(); + btnGeneral.PerformClick(); // always start with General tab or button + _Initializing = false; + //build the caption + this.Text = string.Format("{0} Properties", _DocVersionConfig.Name); + } - private void btnFlderPropOK_Click(object sender, EventArgs e) + private void btnVersionsPropOK_Click(object sender, EventArgs e) { - docVersionConfigBindingSource.EndEdit(); - // Save Default settings for User - // - // Save whether we should display the default values on this property page - Settings.Default.ShowDefaultVersionProp = ppCbShwDefSettings.Checked; - Settings.Default.Save(); - DialogResult = DialogResult.OK; - this.Close(); + docVersionConfigBindingSource.EndEdit(); + // Save Default settings for User + // + // Save whether we should display the default values on this property page + Settings.Default.ShowDefaultVersionProp = ppCbShwDefSettings.Checked; + Settings.Default.Save(); + DialogResult = DialogResult.OK; + _DocVersionConfig.MyDocVersion.Save().Dispose(); + this.Close(); } private void btnFldrPropCancel_Click(object sender, EventArgs e) @@ -199,7 +200,7 @@ namespace VEPROMS ppCmbxProcSetType.ValueMember = "EValue"; ppCmbxProcSetType.Enabled = false; // maybe enable this if used for version creation - documentInfoListBindingSource.DataSource = DocumentInfoList.GetLibraries(); + documentInfoListBindingSource.DataSource = DocumentInfoList.GetLibraries(false); } #region General tab