diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 7d206f75..78d598ee 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -33,10 +33,10 @@ namespace VEPROMS this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl(); this.btnHelp = new DevComponents.DotNetBar.ButtonItem(); this.btnHelpManual = new DevComponents.DotNetBar.ButtonItem(); - this.btnHelpAbout = new DevComponents.DotNetBar.ButtonItem(); - this.btnHelpVWeb = new DevComponents.DotNetBar.ButtonItem(); this.btnShortCuts = new DevComponents.DotNetBar.ButtonItem(); + this.btnHelpVWeb = new DevComponents.DotNetBar.ButtonItem(); this.btnSendErrorLog = new DevComponents.DotNetBar.ButtonItem(); + this.btnHelpAbout = new DevComponents.DotNetBar.ButtonItem(); this.office2007StartButton1 = new DevComponents.DotNetBar.Office2007StartButton(); this.itemContainer1 = new DevComponents.DotNetBar.ItemContainer(); this.itemContainer2 = new DevComponents.DotNetBar.ItemContainer(); @@ -60,27 +60,24 @@ namespace VEPROMS this.Math = new DevComponents.DotNetBar.GalleryGroup(); this.Misc = new DevComponents.DotNetBar.GalleryGroup(); this.bottomBar = new DevComponents.DotNetBar.Bar(); + this.txtSearch = new System.Windows.Forms.TextBox(); + this.btnPrevious = new System.Windows.Forms.Button(); + this.btnPrint1 = new System.Windows.Forms.Button(); + this.cbScrunch = new System.Windows.Forms.CheckBox(); + this.btnNext = new System.Windows.Forms.Button(); this.cmbFont = new System.Windows.Forms.ComboBox(); this.labelItem10 = new DevComponents.DotNetBar.LabelItem(); this.bottomProgBar = new DevComponents.DotNetBar.ProgressBarItem(); - //this.labelItem20 = new DevComponents.DotNetBar.LabelItem(); - //this.lblLocked = new DevComponents.DotNetBar.LabelItem(); this.labelItem9 = new DevComponents.DotNetBar.LabelItem(); this.lblEditView = new DevComponents.DotNetBar.LabelItem(); this.labelItem11 = new DevComponents.DotNetBar.LabelItem(); this.btnItemInfo = new DevComponents.DotNetBar.ButtonItem(); this.lblItemID = new DevComponents.DotNetBar.LabelItem(); this.lblResolution = new DevComponents.DotNetBar.LabelItem(); + this.btnEditItem = new DevComponents.DotNetBar.ButtonItem(); this.lblUser = new DevComponents.DotNetBar.LabelItem(); this.lblLastChange = new DevComponents.DotNetBar.LabelItem(); - //this.txtSearch = new DevComponents.DotNetBar.TextBoxItem(); // RHM20150506 Multiline ItemID TextBox this.btnStepRTF = new DevComponents.DotNetBar.ButtonItem(); - this.txtSearch = new System.Windows.Forms.TextBox(); - this.btnPrevious = new System.Windows.Forms.Button(); - this.btnPrint1 = new System.Windows.Forms.Button(); - this.cbScrunch = new System.Windows.Forms.CheckBox(); - this.btnNext = new System.Windows.Forms.Button(); - this.btnEditItem = new DevComponents.DotNetBar.ButtonItem(); this.btnFixMSWord = new DevComponents.DotNetBar.ButtonItem(); this.epAnnotations = new DevComponents.DotNetBar.ExpandablePanel(); this.ctrlAnnotationDetails = new Volian.Controls.Library.AnnotationDetails(); @@ -105,8 +102,8 @@ namespace VEPROMS this.displayTransition = new Volian.Controls.Library.DisplayTransition(); this.infotabTransition = new DevComponents.DotNetBar.TabItem(this.components); this.infotabControlPanelRO = new DevComponents.DotNetBar.TabControlPanel(); + this.displayRO = new Volian.Controls.Library.DisplayRO(); this.tc = new Volian.Controls.Library.DisplayTabControl(); - this.displayRO = new Volian.Controls.Library.DisplayRO(tc);//Assure that the DispayTabControl is set when the DisplayRO is created this.infotabRO = new DevComponents.DotNetBar.TabItem(this.components); this.infotabFoldoutMaint = new DevComponents.DotNetBar.TabItem(this.components); this.navigationPanePanel2 = new DevComponents.DotNetBar.NavigationPanePanel(); @@ -210,10 +207,10 @@ namespace VEPROMS this.btnHelp.Name = "btnHelp"; this.btnHelp.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnHelpManual, - this.btnHelpAbout, - this.btnHelpVWeb, this.btnShortCuts, - this.btnSendErrorLog}); + this.btnHelpVWeb, + this.btnSendErrorLog, + this.btnHelpAbout}); this.btnHelp.Text = "Help"; // // btnHelpManual @@ -223,22 +220,7 @@ namespace VEPROMS this.btnHelpManual.Name = "btnHelpManual"; this.btnHelpManual.Text = "User Manual"; this.btnHelpManual.Visible = false; - // - // btnHelpAbout - // - this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpAbout.Image"))); - this.btnHelpAbout.Name = "btnHelpAbout"; - this.btnHelpAbout.Text = "About"; - this.btnHelpAbout.Click += new System.EventHandler(this.btnAbout_Click); - // - // btnHelpVWeb - // - this.btnHelpVWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnHelpVWeb.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpVWeb.Image"))); - this.btnHelpVWeb.Name = "btnHelpVWeb"; - this.btnHelpVWeb.Text = "Volian Web"; - this.btnHelpVWeb.Click += new System.EventHandler(this.btnVlnWeb_Click); + this.btnHelpManual.Click += new System.EventHandler(this.btnHelpManual_Click); // // btnShortCuts // @@ -247,6 +229,15 @@ namespace VEPROMS this.btnShortCuts.Text = "Shortcut List"; this.btnShortCuts.Click += new System.EventHandler(this.btnShortCuts_Click); // + // btnHelpVWeb + // + this.btnHelpVWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnHelpVWeb.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpVWeb.Image"))); + this.btnHelpVWeb.Name = "btnHelpVWeb"; + this.btnHelpVWeb.Text = "Volian Web Site"; + this.btnHelpVWeb.Visible = false; + this.btnHelpVWeb.Click += new System.EventHandler(this.btnVlnWeb_Click); + // // btnSendErrorLog // this.btnSendErrorLog.Image = global::VEPROMS.Properties.Resources.EnvelopeHS; @@ -254,6 +245,14 @@ namespace VEPROMS this.btnSendErrorLog.Text = "Send Error Log"; this.btnSendErrorLog.Click += new System.EventHandler(this.btnSendErrorLog_Click); // + // btnHelpAbout + // + this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpAbout.Image"))); + this.btnHelpAbout.Name = "btnHelpAbout"; + this.btnHelpAbout.Text = "About"; + this.btnHelpAbout.Click += new System.EventHandler(this.btnAbout_Click); + // // office2007StartButton1 // this.office2007StartButton1.AutoExpandOnClick = true; @@ -488,7 +487,7 @@ namespace VEPROMS // // bottomBar // - this.bottomBar.Controls.Add(this.txtSearch); // RHM20150506 Multiline ItemID TextBox + this.bottomBar.Controls.Add(this.txtSearch); this.bottomBar.Controls.Add(this.btnPrevious); this.bottomBar.Controls.Add(this.btnPrint1); this.bottomBar.Controls.Add(this.cbScrunch); @@ -496,11 +495,10 @@ namespace VEPROMS this.bottomBar.Controls.Add(this.cmbFont); this.bottomBar.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomBar.Font = new System.Drawing.Font("Segoe UI", 9F); + this.bottomBar.IsMaximized = false; this.bottomBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem10, this.bottomProgBar, - //this.labelItem20, - //this.lblLocked, this.labelItem9, this.lblEditView, this.labelItem11, @@ -509,26 +507,76 @@ namespace VEPROMS this.lblResolution, this.btnEditItem, this.lblUser, - this.lblLastChange, - this.btnStepRTF, - //this.txtSearch, // RHM20150506 Multiline ItemID TextBox + this.lblLastChange, + this.btnStepRTF, this.btnFixMSWord}); - this.bottomBar.Location = new System.Drawing.Point(5, 569); + this.bottomBar.Location = new System.Drawing.Point(5, 573); this.bottomBar.Name = "bottomBar"; - this.bottomBar.Size = new System.Drawing.Size(1185, 29); + this.bottomBar.Size = new System.Drawing.Size(1185, 25); this.bottomBar.Stretch = true; this.bottomBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.bottomBar.TabIndex = 1; this.bottomBar.TabStop = false; this.bottomBar.Text = "bar1"; // + // txtSearch + // + this.txtSearch.Dock = System.Windows.Forms.DockStyle.Right; + this.txtSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); + this.txtSearch.Location = new System.Drawing.Point(820, 0); + this.txtSearch.Multiline = true; + this.txtSearch.Name = "txtSearch"; + this.txtSearch.Size = new System.Drawing.Size(100, 25); + this.txtSearch.TabIndex = 0; + // + // btnPrevious + // + this.btnPrevious.Dock = System.Windows.Forms.DockStyle.Right; + this.btnPrevious.Location = new System.Drawing.Point(920, 0); + this.btnPrevious.Name = "btnPrevious"; + this.btnPrevious.Size = new System.Drawing.Size(23, 25); + this.btnPrevious.TabIndex = 1; + this.btnPrevious.Text = "<"; + this.btnPrevious.Visible = false; + // + // btnPrint1 + // + this.btnPrint1.Dock = System.Windows.Forms.DockStyle.Right; + this.btnPrint1.Location = new System.Drawing.Point(943, 0); + this.btnPrint1.Name = "btnPrint1"; + this.btnPrint1.Size = new System.Drawing.Size(23, 25); + this.btnPrint1.TabIndex = 2; + this.btnPrint1.Text = "P"; + this.btnPrint1.Visible = false; + // + // cbScrunch + // + this.cbScrunch.Checked = true; + this.cbScrunch.CheckState = System.Windows.Forms.CheckState.Checked; + this.cbScrunch.Dock = System.Windows.Forms.DockStyle.Right; + this.cbScrunch.Location = new System.Drawing.Point(966, 0); + this.cbScrunch.Name = "cbScrunch"; + this.cbScrunch.Size = new System.Drawing.Size(24, 25); + this.cbScrunch.TabIndex = 3; + this.cbScrunch.Visible = false; + // + // btnNext + // + this.btnNext.Dock = System.Windows.Forms.DockStyle.Right; + this.btnNext.Location = new System.Drawing.Point(990, 0); + this.btnNext.Name = "btnNext"; + this.btnNext.Size = new System.Drawing.Size(23, 25); + this.btnNext.TabIndex = 4; + this.btnNext.Text = ">"; + this.btnNext.Visible = false; + // // cmbFont // this.cmbFont.Dock = System.Windows.Forms.DockStyle.Right; this.cmbFont.FormattingEnabled = true; this.cmbFont.Location = new System.Drawing.Point(1013, 0); this.cmbFont.Name = "cmbFont"; - this.cmbFont.Size = new System.Drawing.Size(172, 28); + this.cmbFont.Size = new System.Drawing.Size(172, 23); this.cmbFont.TabIndex = 0; this.cmbFont.SelectedIndexChanged += new System.EventHandler(this.cmbFont_SelectedIndexChanged); // @@ -550,20 +598,6 @@ namespace VEPROMS this.bottomProgBar.RecentlyUsed = false; this.bottomProgBar.Width = 250; // - // labelItem20 - // - //this.labelItem20.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; - //this.labelItem20.BorderType = DevComponents.DotNetBar.eBorderType.Bump; - //this.labelItem20.Name = "labelItem20"; - // - // lblLocked - // - //this.lblLocked.BackColor = System.Drawing.Color.Transparent; - //this.lblLocked.ForeColor = System.Drawing.SystemColors.MenuText; - //this.lblLocked.Image = global::VEPROMS.Properties.Resources.UnProtectFormHS; - //this.lblLocked.Name = "lblLocked"; - //this.lblLocked.Text = "Unlocked"; - // // labelItem9 // this.labelItem9.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; @@ -592,9 +626,9 @@ namespace VEPROMS // // lblItemID // - this.lblItemID.Click += new System.EventHandler(lblItemID_Click); this.lblItemID.Name = "lblItemID"; this.lblItemID.Text = "ItemID=\"\""; + this.lblItemID.Click += new System.EventHandler(this.lblItemID_Click); // // lblResolution // @@ -604,18 +638,19 @@ namespace VEPROMS this.lblResolution.Text = "Edit"; this.lblResolution.Click += new System.EventHandler(this.lblResolution_Click); // + // btnEditItem + // + this.btnEditItem.ForeColor = System.Drawing.Color.Blue; + this.btnEditItem.Name = "btnEditItem"; + this.btnEditItem.Text = "EditItem"; + this.btnEditItem.Click += new System.EventHandler(this.btnEditItem_Click); + // // lblUser // this.lblUser.BackColor = System.Drawing.Color.Transparent; this.lblUser.ForeColor = System.Drawing.SystemColors.MenuText; this.lblUser.Name = "lblUser"; this.lblUser.Text = "User"; - // - // btnStepRTF - // - this.btnStepRTF.Name = "btnStepRTF"; - this.btnStepRTF.Text = "Step RTF"; - this.btnStepRTF.Click += new System.EventHandler(btnStepRTF_Click); // // lblLastChange // @@ -623,56 +658,12 @@ namespace VEPROMS this.lblLastChange.ForeColor = System.Drawing.SystemColors.MenuText; this.lblLastChange.Name = "lblLastChange"; this.lblLastChange.Text = "LastChange"; - // - // txtSearch - // - this.txtSearch.Name = "txtSearch"; - this.txtSearch.Font = new System.Drawing.Font(this.txtSearch.Font.FontFamily, 10); // RHM20150506 Multiline ItemID TextBox - this.txtSearch.Dock = System.Windows.Forms.DockStyle.Right; - this.txtSearch.Multiline = true; - this.txtSearch.Height = this.cmbFont.Height; - // - // btnPrevious - // - this.btnPrevious.Name = "btnPrevious"; - this.btnPrevious.Dock = System.Windows.Forms.DockStyle.Right; - this.btnPrevious.Text = "<"; - this.btnPrevious.Width = this.btnPrevious.Height; - this.btnPrevious.Visible = false; - // - // btnPrint - // - this.btnPrint1.Name = "btnPrint1"; - this.btnPrint1.Dock = System.Windows.Forms.DockStyle.Right; - this.btnPrint1.Text = "P"; - this.btnPrint1.Width = this.btnPrint1.Height; - this.btnPrint1.Visible = false; - // - // cbScrunch - // - this.cbScrunch.Name = "cbScrunch"; - this.cbScrunch.Dock = System.Windows.Forms.DockStyle.Right; - this.Text = ""; - this.cbScrunch.Width = this.cbScrunch.Height; - this.cbScrunch.Visible = false; - // B2018-033 VCS SAG-6 Steps 3 and 9 and SACRG1 Step 13 - // Initialize scrunch check box to checked - this.cbScrunch.Checked = true; - // - // btnNext - // - this.btnNext.Name = "btnNext"; - this.btnNext.Dock = System.Windows.Forms.DockStyle.Right; - this.btnNext.Text = ">"; - this.btnNext.Width = this.btnNext.Height; - this.btnNext.Visible = false; // - // btnEditItem + // btnStepRTF // - this.btnEditItem.ForeColor = System.Drawing.Color.Blue; - this.btnEditItem.Name = "btnEditItem"; - this.btnEditItem.Text = "EditItem"; - this.btnEditItem.Click += new System.EventHandler(this.btnEditItem_Click); + this.btnStepRTF.Name = "btnStepRTF"; + this.btnStepRTF.Text = "Step RTF"; + this.btnStepRTF.Click += new System.EventHandler(this.btnStepRTF_Click); // // btnFixMSWord // @@ -689,11 +680,13 @@ namespace VEPROMS this.epAnnotations.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.epAnnotations.Controls.Add(this.ctrlAnnotationDetails); this.epAnnotations.Controls.Add(this.btnAnnoDetailsPushPin); + this.epAnnotations.DisabledBackColor = System.Drawing.Color.Empty; this.epAnnotations.Dock = System.Windows.Forms.DockStyle.Bottom; + this.epAnnotations.Enabled = false; this.epAnnotations.Expanded = false; this.epAnnotations.ExpandedBounds = new System.Drawing.Rectangle(4, 544, 1187, 202); this.epAnnotations.ExpandOnTitleClick = true; - this.epAnnotations.Location = new System.Drawing.Point(5, 543); + this.epAnnotations.Location = new System.Drawing.Point(5, 547); this.epAnnotations.Name = "epAnnotations"; this.epAnnotations.Size = new System.Drawing.Size(1185, 26); this.epAnnotations.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -713,25 +706,28 @@ namespace VEPROMS this.epAnnotations.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.epAnnotations.TitleStyle.GradientAngle = 90; this.epAnnotations.TitleText = "Annotation Details"; + this.epAnnotations.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); this.epAnnotations.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.epAnnotations_ExpandedChanged); this.epAnnotations.Resize += new System.EventHandler(this.epAnnotations_Resize); - this.epAnnotations.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); - this.epAnnotations.Enabled = false; // // 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.ClientProcess = null; this.ctrlAnnotationDetails.CurrentAnnotation = null; + this.ctrlAnnotationDetails.CurrentItem = null; this.ctrlAnnotationDetails.Dock = System.Windows.Forms.DockStyle.Fill; + this.ctrlAnnotationDetails.Enabled = false; this.ctrlAnnotationDetails.Location = new System.Drawing.Point(0, 26); this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2); + this.ctrlAnnotationDetails.MyUserInfo = null; this.ctrlAnnotationDetails.Name = "ctrlAnnotationDetails"; + this.ctrlAnnotationDetails.ProcItem = null; this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1185, 0); this.ctrlAnnotationDetails.TabIndex = 15; - this.ctrlAnnotationDetails.Enabled = false; // // btnAnnoDetailsPushPin // @@ -749,7 +745,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; // @@ -759,11 +755,12 @@ namespace VEPROMS this.epProcedures.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.RightToLeft; this.epProcedures.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.epProcedures.Controls.Add(this.tv); + this.epProcedures.DisabledBackColor = System.Drawing.Color.Empty; this.epProcedures.Dock = System.Windows.Forms.DockStyle.Left; this.epProcedures.ExpandOnTitleClick = true; this.epProcedures.Location = new System.Drawing.Point(5, 57); this.epProcedures.Name = "epProcedures"; - this.epProcedures.Size = new System.Drawing.Size(326, 486); + this.epProcedures.Size = new System.Drawing.Size(326, 490); this.epProcedures.Style.Alignment = System.Drawing.StringAlignment.Center; this.epProcedures.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.epProcedures.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -780,9 +777,9 @@ namespace VEPROMS this.epProcedures.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.epProcedures.TitleStyle.GradientAngle = 90; this.epProcedures.TitleText = "Procedures"; + this.epProcedures.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); this.epProcedures.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.epProcedures_ExpandedChanged); this.epProcedures.Resize += new System.EventHandler(this.resizeVerticalExpandedPanel); - this.epProcedures.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); // // tv // @@ -791,14 +788,17 @@ namespace VEPROMS this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tv.HideSelection = false; this.tv.Location = new System.Drawing.Point(0, 26); + this.tv.MySessionInfo = null; + this.tv.MyUserInfo = null; this.tv.Name = "tv"; - this.tv.Size = new System.Drawing.Size(326, 460); + this.tv.ProgressBar = null; + this.tv.Size = new System.Drawing.Size(326, 464); this.tv.TabIndex = 1; - this.tv.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tv_MouseUp); - this.tv.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tv_MouseDown); this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); this.tv.WordSectionDeleted += new Volian.Controls.Library.WordSectionDeletedEvent(this.tv_WordSectionDeleted); this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); + this.tv.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tv_MouseDown); + this.tv.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tv_MouseUp); // // infoPanel // @@ -806,11 +806,12 @@ namespace VEPROMS this.infoPanel.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.LeftToRight; this.infoPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.infoPanel.Controls.Add(this.infoTabs); + this.infoPanel.DisabledBackColor = System.Drawing.Color.Empty; this.infoPanel.Dock = System.Windows.Forms.DockStyle.Right; this.infoPanel.ExpandOnTitleClick = true; this.infoPanel.Location = new System.Drawing.Point(614, 57); this.infoPanel.Name = "infoPanel"; - this.infoPanel.Size = new System.Drawing.Size(230, 486); + this.infoPanel.Size = new System.Drawing.Size(230, 490); this.infoPanel.Style.Alignment = System.Drawing.StringAlignment.Center; this.infoPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.infoPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -827,10 +828,10 @@ namespace VEPROMS this.infoPanel.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.infoPanel.TitleStyle.GradientAngle = 90; this.infoPanel.TitleText = "Step Properties"; - this.infoPanel.Click += new System.EventHandler(this.infoPanel_Click); - this.infoPanel.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.infoPanel_ExpandedChanged); - this.infoPanel.Resize += new System.EventHandler(this.resizeVerticalExpandedPanel); this.infoPanel.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); + this.infoPanel.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.infoPanel_ExpandedChanged); + this.infoPanel.Click += new System.EventHandler(this.infoPanel_Click); + this.infoPanel.Resize += new System.EventHandler(this.resizeVerticalExpandedPanel); // // infoTabs // @@ -847,7 +848,7 @@ namespace VEPROMS this.infoTabs.Name = "infoTabs"; this.infoTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold); this.infoTabs.SelectedTabIndex = 0; - this.infoTabs.Size = new System.Drawing.Size(230, 460); + this.infoTabs.Size = new System.Drawing.Size(230, 464); this.infoTabs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right; this.infoTabs.TabIndex = 1; this.infoTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -863,15 +864,16 @@ namespace VEPROMS // infotabControlPanelTags // this.infotabControlPanelTags.Controls.Add(this.panelEx1); + this.infotabControlPanelTags.DisabledBackColor = System.Drawing.Color.Empty; this.infotabControlPanelTags.Dock = System.Windows.Forms.DockStyle.Fill; this.infotabControlPanelTags.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelTags.Name = "infotabControlPanelTags"; this.infotabControlPanelTags.Padding = new System.Windows.Forms.Padding(1); - this.infotabControlPanelTags.Size = new System.Drawing.Size(203, 460); + this.infotabControlPanelTags.Size = new System.Drawing.Size(203, 464); this.infotabControlPanelTags.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelTags.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.infotabControlPanelTags.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.infotabControlPanelTags.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.infotabControlPanelTags.Style.GradientAngle = 180; this.infotabControlPanelTags.TabIndex = 1; this.infotabControlPanelTags.TabItem = this.infotabTags; @@ -882,10 +884,11 @@ namespace VEPROMS this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.Controls.Add(this.displayTags); + this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty; this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(1, 1); this.panelEx1.Name = "panelEx1"; - this.panelEx1.Size = new System.Drawing.Size(201, 458); + this.panelEx1.Size = new System.Drawing.Size(201, 462); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.SlateGray; @@ -898,10 +901,10 @@ namespace VEPROMS // this.displayTags.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.displayTags.CurItemInfo = null; - this.displayTags.Dock = System.Windows.Forms.DockStyle.Fill; //System.Windows.Forms.DockStyle.Top; + this.displayTags.Dock = System.Windows.Forms.DockStyle.Fill; this.displayTags.IsVisible = false; this.displayTags.Location = new System.Drawing.Point(0, 0); - this.displayTags.Margin = new System.Windows.Forms.Padding(2); + this.displayTags.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.displayTags.MinimumSize = new System.Drawing.Size(100, 630); this.displayTags.MyEditItem = null; this.displayTags.Name = "displayTags"; @@ -920,15 +923,16 @@ namespace VEPROMS // tcpApplicability // this.tcpApplicability.Controls.Add(this.displayApplicability); + this.tcpApplicability.DisabledBackColor = System.Drawing.Color.Empty; this.tcpApplicability.Dock = System.Windows.Forms.DockStyle.Fill; this.tcpApplicability.Location = new System.Drawing.Point(0, 0); this.tcpApplicability.Name = "tcpApplicability"; this.tcpApplicability.Padding = new System.Windows.Forms.Padding(1); - this.tcpApplicability.Size = new System.Drawing.Size(203, 460); + this.tcpApplicability.Size = new System.Drawing.Size(203, 464); this.tcpApplicability.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tcpApplicability.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpApplicability.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpApplicability.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tcpApplicability.Style.GradientAngle = 180; this.tcpApplicability.TabIndex = 7; this.tcpApplicability.TabItem = this.infotabApplicability; @@ -938,12 +942,12 @@ namespace VEPROMS // this.displayApplicability.Dock = System.Windows.Forms.DockStyle.Fill; this.displayApplicability.Location = new System.Drawing.Point(1, 1); - this.displayApplicability.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.displayApplicability.Margin = new System.Windows.Forms.Padding(4); this.displayApplicability.MyApplicability = ""; this.displayApplicability.MyDisplayTabItem = null; this.displayApplicability.MyItemInfo = null; this.displayApplicability.Name = "displayApplicability"; - this.displayApplicability.Size = new System.Drawing.Size(201, 458); + this.displayApplicability.Size = new System.Drawing.Size(201, 462); this.displayApplicability.TabIndex = 2; // // infotabApplicability @@ -956,15 +960,16 @@ namespace VEPROMS // tcpFoldoutMaint // this.tcpFoldoutMaint.Controls.Add(this.displayFoldoutMaint); + this.tcpFoldoutMaint.DisabledBackColor = System.Drawing.Color.Empty; this.tcpFoldoutMaint.Dock = System.Windows.Forms.DockStyle.Fill; this.tcpFoldoutMaint.Location = new System.Drawing.Point(0, 0); this.tcpFoldoutMaint.Name = "tcpFoldoutMaint"; this.tcpFoldoutMaint.Padding = new System.Windows.Forms.Padding(1); - this.tcpFoldoutMaint.Size = new System.Drawing.Size(203, 460); + this.tcpFoldoutMaint.Size = new System.Drawing.Size(203, 464); this.tcpFoldoutMaint.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tcpFoldoutMaint.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpFoldoutMaint.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpFoldoutMaint.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tcpFoldoutMaint.Style.GradientAngle = 180; this.tcpFoldoutMaint.TabIndex = 7; this.tcpFoldoutMaint.TabItem = this.infotabApplicability; @@ -977,21 +982,22 @@ namespace VEPROMS this.displayFoldoutMaint.Margin = new System.Windows.Forms.Padding(4); this.displayFoldoutMaint.MyItemInfo = null; this.displayFoldoutMaint.Name = "displayFoldoutMaint"; - this.displayFoldoutMaint.Size = new System.Drawing.Size(201, 458); + this.displayFoldoutMaint.Size = new System.Drawing.Size(201, 462); this.displayFoldoutMaint.TabIndex = 2; // // tabControlPanel1 // this.tabControlPanel1.Controls.Add(this.displayHistory); + this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty; this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel1.Location = new System.Drawing.Point(0, 0); this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel1.Size = new System.Drawing.Size(203, 460); + this.tabControlPanel1.Size = new System.Drawing.Size(203, 464); 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))); + this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel1.Style.GradientAngle = 180; this.tabControlPanel1.TabIndex = 6; this.tabControlPanel1.TabItem = this.infotabHistory; @@ -1002,13 +1008,13 @@ namespace VEPROMS this.displayHistory.ApplDisplayMode = -1; this.displayHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.displayHistory.Location = new System.Drawing.Point(1, 1); - this.displayHistory.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.displayHistory.Margin = new System.Windows.Forms.Padding(4); this.displayHistory.MyEditItem = null; this.displayHistory.MyItemInfo = null; this.displayHistory.MyProcedureInfo = null; this.displayHistory.MyRevDate = new System.DateTime(((long)(0))); this.displayHistory.Name = "displayHistory"; - this.displayHistory.Size = new System.Drawing.Size(1, 509); + this.displayHistory.Size = new System.Drawing.Size(201, 462); this.displayHistory.TabIndex = 0; // // infotabHistory @@ -1021,15 +1027,16 @@ namespace VEPROMS // infotabControlPanelTransitions // this.infotabControlPanelTransitions.Controls.Add(this.displayTransition); + this.infotabControlPanelTransitions.DisabledBackColor = System.Drawing.Color.Empty; this.infotabControlPanelTransitions.Dock = System.Windows.Forms.DockStyle.Fill; this.infotabControlPanelTransitions.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelTransitions.Name = "infotabControlPanelTransitions"; this.infotabControlPanelTransitions.Padding = new System.Windows.Forms.Padding(1); - this.infotabControlPanelTransitions.Size = new System.Drawing.Size(203, 460); + this.infotabControlPanelTransitions.Size = new System.Drawing.Size(203, 464); 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))); + this.infotabControlPanelTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.infotabControlPanelTransitions.Style.GradientAngle = 180; this.infotabControlPanelTransitions.TabIndex = 5; this.infotabControlPanelTransitions.TabItem = this.infotabTransition; @@ -1047,7 +1054,7 @@ namespace VEPROMS this.displayTransition.MyRTB = null; this.displayTransition.Name = "displayTransition"; this.displayTransition.RangeColor = System.Drawing.Color.LightGray; - this.displayTransition.Size = new System.Drawing.Size(201, 458); + this.displayTransition.Size = new System.Drawing.Size(201, 462); this.displayTransition.TabIndex = 0; // // infotabTransition @@ -1061,15 +1068,16 @@ namespace VEPROMS // infotabControlPanelRO // this.infotabControlPanelRO.Controls.Add(this.displayRO); + this.infotabControlPanelRO.DisabledBackColor = System.Drawing.Color.Empty; this.infotabControlPanelRO.Dock = System.Windows.Forms.DockStyle.Fill; this.infotabControlPanelRO.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelRO.Name = "infotabControlPanelRO"; this.infotabControlPanelRO.Padding = new System.Windows.Forms.Padding(1); - this.infotabControlPanelRO.Size = new System.Drawing.Size(203, 460); + this.infotabControlPanelRO.Size = new System.Drawing.Size(203, 464); 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))); + this.infotabControlPanelRO.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.infotabControlPanelRO.Style.GradientAngle = 180; this.infotabControlPanelRO.TabIndex = 4; this.infotabControlPanelRO.TabItem = this.infotabRO; @@ -1081,16 +1089,44 @@ namespace VEPROMS this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill; this.displayRO.Location = new System.Drawing.Point(1, 1); this.displayRO.Margin = new System.Windows.Forms.Padding(4); - //this.displayRO.Mydvi = null; this.displayRO.MyROFST = null; this.displayRO.MyROFSTLookup = null; this.displayRO.MyRTB = null; this.displayRO.Name = "displayRO"; this.displayRO.ProgressBar = null; this.displayRO.ROTypeFilter = VEPROMS.CSLA.Library.E_ROValueType.All; - this.displayRO.Size = new System.Drawing.Size(201, 458); + this.displayRO.Size = new System.Drawing.Size(201, 462); + this.displayRO.TabControl = this.tc; this.displayRO.TabIndex = 0; // + // tc + // + this.tc.ChgId = null; + this.tc.Dock = System.Windows.Forms.DockStyle.Fill; + this.tc.ForeColor = System.Drawing.SystemColors.ControlText; + this.tc.Location = new System.Drawing.Point(334, 57); + this.tc.Margin = new System.Windows.Forms.Padding(4); + this.tc.MyCopyStep = null; + this.tc.MyEditItem = null; + this.tc.MySessionInfo = null; + this.tc.Name = "tc"; + this.tc.RibbonExpanded = true; + this.tc.SelectedDisplayTabItem = null; + this.tc.SeparateWindows = false; + this.tc.ShuttingDown = false; + this.tc.Size = new System.Drawing.Size(277, 487); + this.tc.SyncEnhancedDocuments = false; + this.tc.TabIndex = 8; + this.tc.VersionID = 0; + this.tc.SelectedDisplayTabItemChanged += new Volian.Controls.Library.DisplayTabControlEvent(this.tc_SelectedDisplayTabItemChanged); + this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran); + this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO); + this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged); + this.tc.ModeChange += new Volian.Controls.Library.StepPanelModeChangeEvent(this.tc_StepPanelModeChange); + this.tc.PanelTabDisplay += new Volian.Controls.Library.StepPanelTabDisplayEvent(this.tc_PanelTabDisplay); + this.tc.WordSectionClose += new Volian.Controls.Library.StepPanelWordSectionCloseEvent(this.tc_WordSectionClose); + this.tc.WordSectionDeleted += new Volian.Controls.Library.StepPanelWordSectionDeletedEvent(this.tc_WordSectionDeleted); + // // infotabRO // this.infotabRO.AttachedControl = this.infotabControlPanelRO; @@ -1108,6 +1144,7 @@ namespace VEPROMS // // navigationPanePanel2 // + this.navigationPanePanel2.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPanePanel2.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel2.Name = "navigationPanePanel2"; @@ -1149,7 +1186,7 @@ namespace VEPROMS this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.Location = new System.Drawing.Point(331, 57); this.expandableSplitter1.Name = "expandableSplitter1"; - this.expandableSplitter1.Size = new System.Drawing.Size(3, 486); + this.expandableSplitter1.Size = new System.Drawing.Size(3, 490); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 5; this.expandableSplitter1.TabStop = false; @@ -1181,7 +1218,7 @@ namespace VEPROMS this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter2.Location = new System.Drawing.Point(334, 540); + this.expandableSplitter2.Location = new System.Drawing.Point(334, 544); this.expandableSplitter2.Name = "expandableSplitter2"; this.expandableSplitter2.Size = new System.Drawing.Size(280, 3); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; @@ -1217,13 +1254,14 @@ namespace VEPROMS this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.Location = new System.Drawing.Point(611, 57); this.expandableSplitter3.Name = "expandableSplitter3"; - this.expandableSplitter3.Size = new System.Drawing.Size(3, 483); + this.expandableSplitter3.Size = new System.Drawing.Size(3, 487); this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter3.TabIndex = 7; this.expandableSplitter3.TabStop = false; // // superTooltip1 // + this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; // // tmrTreeView @@ -1241,11 +1279,12 @@ namespace VEPROMS this.toolsPanel.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.LeftToRight; this.toolsPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.toolsPanel.Controls.Add(this.toolsTabs); + this.toolsPanel.DisabledBackColor = System.Drawing.Color.Empty; this.toolsPanel.Dock = System.Windows.Forms.DockStyle.Right; this.toolsPanel.ExpandOnTitleClick = true; this.toolsPanel.Location = new System.Drawing.Point(847, 57); this.toolsPanel.Name = "toolsPanel"; - this.toolsPanel.Size = new System.Drawing.Size(343, 486); + this.toolsPanel.Size = new System.Drawing.Size(343, 490); this.toolsPanel.Style.Alignment = System.Drawing.StringAlignment.Center; this.toolsPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.toolsPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -1262,9 +1301,9 @@ namespace VEPROMS this.toolsPanel.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.toolsPanel.TitleStyle.GradientAngle = 90; this.toolsPanel.TitleText = "Tools"; + this.toolsPanel.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); this.toolsPanel.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.toolsPanel_ExpandedChanged); this.toolsPanel.Resize += new System.EventHandler(this.resizeVerticalExpandedPanel); - this.toolsPanel.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); // // toolsTabs // @@ -1279,7 +1318,7 @@ namespace VEPROMS this.toolsTabs.Name = "toolsTabs"; this.toolsTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold); this.toolsTabs.SelectedTabIndex = 0; - this.toolsTabs.Size = new System.Drawing.Size(343, 460); + this.toolsTabs.Size = new System.Drawing.Size(343, 464); this.toolsTabs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right; this.toolsTabs.TabIndex = 1; this.toolsTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -1293,15 +1332,16 @@ namespace VEPROMS // annotationSearch // this.annotationSearch.Controls.Add(this.displaySearch1); + this.annotationSearch.DisabledBackColor = System.Drawing.Color.Empty; this.annotationSearch.Dock = System.Windows.Forms.DockStyle.Fill; 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(316, 460); + this.annotationSearch.Size = new System.Drawing.Size(316, 464); 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))); + this.annotationSearch.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.annotationSearch.Style.GradientAngle = 180; this.annotationSearch.TabIndex = 3; this.annotationSearch.TabItem = this.toolstabResults; @@ -1321,8 +1361,9 @@ namespace VEPROMS this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.displaySearch1.SearchResults = null; this.displaySearch1.SearchString = null; - this.displaySearch1.Size = new System.Drawing.Size(314, 458); + this.displaySearch1.Size = new System.Drawing.Size(314, 462); this.displaySearch1.TabIndex = 0; + this.displaySearch1.TopFolderID = 1; this.displaySearch1.TypesSelected = null; // // toolstabResults @@ -1335,15 +1376,16 @@ namespace VEPROMS // tabControlPanel2 // this.tabControlPanel2.Controls.Add(this.panelEx3); + this.tabControlPanel2.DisabledBackColor = System.Drawing.Color.Empty; this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; 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(316, 460); + this.tabControlPanel2.Size = new System.Drawing.Size(316, 464); 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))); + this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel2.Style.GradientAngle = 180; this.tabControlPanel2.TabIndex = 2; this.tabControlPanel2.TabItem = this.toolsTabBookMarks; @@ -1355,10 +1397,11 @@ namespace VEPROMS this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx3.Controls.Add(this.displayBookMarks); + this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty; 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(314, 458); + this.panelEx3.Size = new System.Drawing.Size(314, 462); 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; @@ -1371,11 +1414,12 @@ namespace VEPROMS // this.displayBookMarks.Dock = System.Windows.Forms.DockStyle.Fill; this.displayBookMarks.Location = new System.Drawing.Point(0, 0); - this.displayBookMarks.Margin = new System.Windows.Forms.Padding(2); + this.displayBookMarks.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.displayBookMarks.MyBookMarks = null; this.displayBookMarks.MyDisplayTabControl = null; this.displayBookMarks.MyEditItem = null; this.displayBookMarks.Name = "displayBookMarks"; - this.displayBookMarks.Size = new System.Drawing.Size(314, 458); + this.displayBookMarks.Size = new System.Drawing.Size(314, 462); this.displayBookMarks.TabIndex = 0; // // toolsTabBookMarks @@ -1387,15 +1431,16 @@ namespace VEPROMS // tabControlPanel3 // this.tabControlPanel3.Controls.Add(this.displayReports); + this.tabControlPanel3.DisabledBackColor = System.Drawing.Color.Empty; this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel3.Location = new System.Drawing.Point(0, 0); this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel3.Size = new System.Drawing.Size(316, 460); + this.tabControlPanel3.Size = new System.Drawing.Size(316, 464); this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel3.Style.GradientAngle = 180; this.tabControlPanel3.TabIndex = 5; this.tabControlPanel3.TabItem = this.toosTabReports; @@ -1411,7 +1456,7 @@ namespace VEPROMS this.displayReports.Name = "displayReports"; this.displayReports.ReportResult = null; this.displayReports.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.displayReports.Size = new System.Drawing.Size(314, 458); + this.displayReports.Size = new System.Drawing.Size(314, 462); this.displayReports.TabIndex = 0; // // toosTabReports @@ -1424,15 +1469,16 @@ namespace VEPROMS // tabControlPanelLD // this.tabControlPanelLD.Controls.Add(this.displayLibDocs); + this.tabControlPanelLD.DisabledBackColor = System.Drawing.Color.Empty; 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(316, 460); + this.tabControlPanelLD.Size = new System.Drawing.Size(316, 464); 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.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; @@ -1447,7 +1493,7 @@ namespace VEPROMS 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(314, 458); + this.displayLibDocs.Size = new System.Drawing.Size(314, 462); this.displayLibDocs.TabIndex = 0; // // tabItemLibDocs @@ -1487,7 +1533,7 @@ namespace VEPROMS this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter4.Location = new System.Drawing.Point(844, 57); this.expandableSplitter4.Name = "expandableSplitter4"; - this.expandableSplitter4.Size = new System.Drawing.Size(3, 486); + this.expandableSplitter4.Size = new System.Drawing.Size(3, 490); this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter4.TabIndex = 3; this.expandableSplitter4.TabStop = false; @@ -1503,30 +1549,9 @@ namespace VEPROMS // this.itemAnnotationsBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.ItemAnnotation); // - // tc - // - this.tc.Dock = System.Windows.Forms.DockStyle.Fill; - this.tc.ForeColor = System.Drawing.SystemColors.ControlText; - this.tc.Location = new System.Drawing.Point(334, 57); - this.tc.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.tc.MyCopyStep = null; - this.tc.Name = "tc"; - this.tc.RibbonExpanded = true; - this.tc.SelectedDisplayTabItem = null; - this.tc.Size = new System.Drawing.Size(277, 483); - this.tc.TabIndex = 8; - this.tc.PanelTabDisplay += new Volian.Controls.Library.StepPanelTabDisplayEvent(this.tc_PanelTabDisplay); - this.tc.WordSectionClose += new Volian.Controls.Library.StepPanelWordSectionCloseEvent(this.tc_WordSectionClose); - this.tc.SelectedDisplayTabItemChanged += new Volian.Controls.Library.DisplayTabControlEvent(this.tc_SelectedDisplayTabItemChanged); - this.tc.ModeChange += new Volian.Controls.Library.StepPanelModeChangeEvent(this.tc_StepPanelModeChange); - this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran); - this.tc.WordSectionDeleted += new Volian.Controls.Library.StepPanelWordSectionDeletedEvent(this.tc_WordSectionDeleted); - this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged); - this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO); - // // frmVEPROMS // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(1195, 600); @@ -1545,12 +1570,13 @@ namespace VEPROMS this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmVEPROMS"; this.Text = "Proms"; - this.Load += new System.EventHandler(this.frmVEPROMS_Load); - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmVEPROMS_FormClosed); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmVEPROMS_FormClosing); + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmVEPROMS_FormClosed); + this.Load += new System.EventHandler(this.frmVEPROMS_Load); this.Resize += new System.EventHandler(this.frmVEPROMS_Resize); ((System.ComponentModel.ISupportInitialize)(this.bottomBar)).EndInit(); this.bottomBar.ResumeLayout(false); + this.bottomBar.PerformLayout(); this.epAnnotations.ResumeLayout(false); this.epProcedures.ResumeLayout(false); this.infoPanel.ResumeLayout(false); diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 57d0e144..bb7e4493 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -178,6 +178,7 @@ namespace VEPROMS MyParent = myParent; MyDocVersion=myDocVersion; InitializeComponent(); + displayRO.TabControl = tc; // B2019-043 this was being passed in as a parameter for DisplayRO which caused issues with the Visual Studio designer SetupFolder(MyDocVersion.FolderID); tc.MySessionInfo = MyParent.MySessionInfo; displaySearch1.TopFolderID = myDocVersion.FolderID; @@ -258,6 +259,7 @@ namespace VEPROMS VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_LOCAL"; } InitializeComponent(); + displayRO.TabControl = tc; // B2019-043 this was being passed in as a parameter for DisplayRO which caused issues with the Visual Studio designer bottomProgBar.ValueChanged += new EventHandler(bottomProgBar_ValueChanged); // When creating an XY Plot, a System.Drawing.Graphics is needed and it requires a form. Use the main @@ -3007,8 +3009,10 @@ namespace VEPROMS /// private void btnVlnWeb_Click(object sender, EventArgs e) { - VlnWeb veWWW = new VlnWeb(); - veWWW.Show(); + //VlnWeb veWWW = new VlnWeb(); + //veWWW.Show(); + System.Diagnostics.Process sdp = System.Diagnostics.Process.Start("http://www.volian.com"); + //sdp.WaitForInputIdle(); } #endregion @@ -4119,15 +4123,46 @@ namespace VEPROMS private void btnSendErrorLog_Click(object sender, EventArgs e) { - - frmSendErrorLog frm = new frmSendErrorLog(Properties.Settings.Default.OutlookEmail, Properties.Settings.Default["SMTPServer"].ToString(), Properties.Settings.Default["SMTPUser"].ToString(),ErrorLogFileName); - if (frm.ShowDialog(this) == DialogResult.OK) + try { - Properties.Settings.Default.OutlookEmail = frm.OutlookEmail; - Properties.Settings.Default.SMTPServer = frm.SMTPServer; - Properties.Settings.Default.SMTPUser = frm.SMTPUser; - Properties.Settings.Default.Save(); - MessageBox.Show("PROMS Error Log successfully sent to Volian support"); + frmSendErrorLog frm = new frmSendErrorLog(Properties.Settings.Default.OutlookEmail, Properties.Settings.Default["SMTPServer"].ToString(), Properties.Settings.Default["SMTPUser"].ToString(), ErrorLogFileName); + if (frm.ShowDialog(this) == DialogResult.OK) + { + Properties.Settings.Default.OutlookEmail = frm.OutlookEmail; + Properties.Settings.Default.SMTPServer = frm.SMTPServer; + Properties.Settings.Default.SMTPUser = frm.SMTPUser; + Properties.Settings.Default.Save(); + MessageBox.Show("PROMS Error Log successfully sent to Volian support"); + } + } + catch (Exception ex) + { + MessageBox.Show(ex.Message, "Send Error Log"); + _MyLog.Error("Send Error Log", ex); + } + } + + private void btnHelpManual_Click(object sender, EventArgs e) + { + string promsUserManual = System.Windows.Forms.Application.StartupPath + @"\PROMSManual.pdf"; + try + { + if (File.Exists(promsUserManual)) + { + System.Diagnostics.Process sdp = System.Diagnostics.Process.Start(promsUserManual); + sdp.WaitForInputIdle(); + } + else + { + MessageBox.Show("The PROMS User Manual is not available for viewing.\nDetails in the error log.", "View User Manual"); + _MyLog.WarnFormat("PROMS User Manual not found: {0}", promsUserManual); + } + } + catch (Exception ex) + { + MessageBox.Show("Could not open the PROMS User Manual.\nDetails in the error log.", "View User Manual"); + string str = string.Format("Could not open {0}", promsUserManual); + _MyLog.Error(str,ex); } } }