From c0b7498edbe789e4693a6f960b4167783932d90e Mon Sep 17 00:00:00 2001 From: Kathy Date: Mon, 28 Jan 2008 14:08:18 +0000 Subject: [PATCH] --- .../frmVEPROMS.Designer.cs | 716 +++++++----------- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 337 +-------- 2 files changed, 318 insertions(+), 735 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 9f49cdc5..afce140b 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -31,6 +31,24 @@ namespace VEPROMS this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVEPROMS)); this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl(); + this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel(); + this.rbnPrint = new DevComponents.DotNetBar.RibbonBar(); + this.itemContainer10 = new DevComponents.DotNetBar.ItemContainer(); + this.btnRepaginate = new DevComponents.DotNetBar.ButtonItem(); + this.btnPrnPreview = new DevComponents.DotNetBar.ButtonItem(); + this.labelItem27 = new DevComponents.DotNetBar.LabelItem(); + this.btnPrint2 = new DevComponents.DotNetBar.ButtonItem(); + this.rbnTree = new DevComponents.DotNetBar.RibbonBar(); + this.btnExit2 = new DevComponents.DotNetBar.ButtonItem(); + this.labelItem12 = new DevComponents.DotNetBar.LabelItem(); + this.btnSave2 = new DevComponents.DotNetBar.ButtonItem(); + this.labelItem31 = new DevComponents.DotNetBar.LabelItem(); + this.itemContainer9 = new DevComponents.DotNetBar.ItemContainer(); + this.btnNew2 = new DevComponents.DotNetBar.ButtonItem(); + this.btnDelete2 = new DevComponents.DotNetBar.ButtonItem(); + this.labelItem32 = new DevComponents.DotNetBar.LabelItem(); + this.btnProperties = new DevComponents.DotNetBar.ButtonItem(); + this.labelItem1 = new DevComponents.DotNetBar.LabelItem(); this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel(); this.rbnHlpGeneral = new DevComponents.DotNetBar.RibbonBar(); this.btnAbout = new DevComponents.DotNetBar.ButtonItem(); @@ -150,24 +168,6 @@ namespace VEPROMS this.btnClpBrdCut = new DevComponents.DotNetBar.ButtonItem(); this.labelItem19 = new DevComponents.DotNetBar.LabelItem(); this.btnClpBrdPaste = new DevComponents.DotNetBar.ButtonItem(); - this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel(); - this.rbnPrint = new DevComponents.DotNetBar.RibbonBar(); - this.itemContainer10 = new DevComponents.DotNetBar.ItemContainer(); - this.btnRepaginate = new DevComponents.DotNetBar.ButtonItem(); - this.btnPrnPreview = new DevComponents.DotNetBar.ButtonItem(); - this.labelItem27 = new DevComponents.DotNetBar.LabelItem(); - this.btnPrint2 = new DevComponents.DotNetBar.ButtonItem(); - this.rbnTree = new DevComponents.DotNetBar.RibbonBar(); - this.btnExit2 = new DevComponents.DotNetBar.ButtonItem(); - this.labelItem12 = new DevComponents.DotNetBar.LabelItem(); - this.btnSave2 = new DevComponents.DotNetBar.ButtonItem(); - this.labelItem31 = new DevComponents.DotNetBar.LabelItem(); - this.itemContainer9 = new DevComponents.DotNetBar.ItemContainer(); - this.btnNew2 = new DevComponents.DotNetBar.ButtonItem(); - this.btnDelete2 = new DevComponents.DotNetBar.ButtonItem(); - this.labelItem32 = new DevComponents.DotNetBar.LabelItem(); - this.btnProperties = new DevComponents.DotNetBar.ButtonItem(); - this.labelItem1 = new DevComponents.DotNetBar.LabelItem(); this.rtabHome = new DevComponents.DotNetBar.RibbonTabItem(); this.rtabEdit = new DevComponents.DotNetBar.RibbonTabItem(); this.rtabTools = new DevComponents.DotNetBar.RibbonTabItem(); @@ -226,21 +226,9 @@ namespace VEPROMS this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.rtxbComment = new System.Windows.Forms.RichTextBox(); this.expandablePanel2 = new DevComponents.DotNetBar.ExpandablePanel(); - this.tv = new Volian.Controls.Library.vlnTreeView(); this.infoPanel = new DevComponents.DotNetBar.ExpandablePanel(); this.infoTabs = new DevComponents.DotNetBar.TabControl(); - this.infotabTransitions = new DevComponents.DotNetBar.TabControlPanel(); - this.btnTranInsert = new DevComponents.DotNetBar.ButtonX(); - this.labelX1 = new DevComponents.DotNetBar.LabelX(); - this.lblTranSects = new DevComponents.DotNetBar.LabelX(); - this.lblTranProcs = new DevComponents.DotNetBar.LabelX(); - this.pnlTranFmt = new System.Windows.Forms.Panel(); - this.listBoxTranFmt = new System.Windows.Forms.ListBox(); - this.lblTranFmt = new DevComponents.DotNetBar.LabelX(); - this.btnUp1 = new DevComponents.DotNetBar.ButtonX(); - this.tvTran = new Volian.Controls.Library.vlnTreeView3(); - this.listBoxTranSects = new System.Windows.Forms.ListBox(); - this.listBoxTranProcs = new System.Windows.Forms.ListBox(); + this.infotabControlPanelTransitions = new DevComponents.DotNetBar.TabControlPanel(); this.infotabTransition = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); @@ -256,10 +244,7 @@ namespace VEPROMS this.txbChgMsg2 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.infotabTags = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); - this.tvROFST = new System.Windows.Forms.TreeView(); - this.tbROValue = new DevComponents.DotNetBar.Controls.TextBoxX(); - this.lblROValue = new DevComponents.DotNetBar.LabelX(); + this.infotabControlPanelRO = new DevComponents.DotNetBar.TabControlPanel(); this.infotabRO = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.navpaneResults = new DevComponents.DotNetBar.NavigationPane(); @@ -280,11 +265,14 @@ namespace VEPROMS this.expandableSplitter3 = new DevComponents.DotNetBar.ExpandableSplitter(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); this.tc = new Volian.Controls.Library.DisplayTabControl(); + this.displayTransition = new Volian.Controls.Library.DisplayTransition(); + this.tv = new Volian.Controls.Library.vlnTreeView(); + this.displayRO = new Volian.Controls.Library.DisplayRO(); this.ribbonControl1.SuspendLayout(); + this.ribbonPanel1.SuspendLayout(); this.ribbonPanel4.SuspendLayout(); this.ribbonPanel3.SuspendLayout(); this.ribbonPanel2.SuspendLayout(); - this.ribbonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bottomBar)).BeginInit(); this.epComments.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.c1CommentGrid)).BeginInit(); @@ -293,15 +281,14 @@ namespace VEPROMS this.infoPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.infoTabs)).BeginInit(); this.infoTabs.SuspendLayout(); - this.infotabTransitions.SuspendLayout(); - this.pnlTranFmt.SuspendLayout(); + this.infotabControlPanelTransitions.SuspendLayout(); this.tabControlPanel1.SuspendLayout(); this.panelEx1.SuspendLayout(); this.groupPanel4.SuspendLayout(); this.groupPanel3.SuspendLayout(); this.groupPanel2.SuspendLayout(); this.groupPanel1.SuspendLayout(); - this.tabControlPanel4.SuspendLayout(); + this.infotabControlPanelRO.SuspendLayout(); this.tabControlPanel3.SuspendLayout(); this.navpaneResults.SuspendLayout(); this.tabControlPanel2.SuspendLayout(); @@ -335,6 +322,178 @@ namespace VEPROMS this.ribbonControl1.TabIndex = 0; this.ribbonControl1.Text = "ribbonControl1"; // + // ribbonPanel1 + // + this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ribbonPanel1.Controls.Add(this.rbnPrint); + this.ribbonPanel1.Controls.Add(this.rbnTree); + this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.ribbonPanel1.Location = new System.Drawing.Point(0, 55); + this.ribbonPanel1.Name = "ribbonPanel1"; + this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); + this.ribbonPanel1.Size = new System.Drawing.Size(1028, 89); + this.ribbonPanel1.TabIndex = 1; + // + // rbnPrint + // + this.rbnPrint.AutoOverflowEnabled = true; + this.rbnPrint.Dock = System.Windows.Forms.DockStyle.Left; + this.rbnPrint.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.itemContainer10, + this.labelItem27, + this.btnPrint2}); + this.rbnPrint.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + this.rbnPrint.Location = new System.Drawing.Point(251, 0); + this.rbnPrint.Name = "rbnPrint"; + this.rbnPrint.Size = new System.Drawing.Size(141, 86); + this.rbnPrint.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.rbnPrint.TabIndex = 1; + this.rbnPrint.Text = "Print"; + // + // itemContainer10 + // + this.itemContainer10.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; + this.itemContainer10.MinimumSize = new System.Drawing.Size(0, 0); + this.itemContainer10.Name = "itemContainer10"; + this.itemContainer10.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnRepaginate, + this.btnPrnPreview}); + // + // btnRepaginate + // + this.btnRepaginate.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnRepaginate.Image = ((System.Drawing.Image)(resources.GetObject("btnRepaginate.Image"))); + this.btnRepaginate.ImagePaddingHorizontal = 8; + this.btnRepaginate.Name = "btnRepaginate"; + this.btnRepaginate.SubItemsExpandWidth = 14; + this.btnRepaginate.Text = "Paginate"; + // + // btnPrnPreview + // + this.btnPrnPreview.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnPrnPreview.Image = ((System.Drawing.Image)(resources.GetObject("btnPrnPreview.Image"))); + this.btnPrnPreview.ImagePaddingHorizontal = 8; + this.btnPrnPreview.Name = "btnPrnPreview"; + this.btnPrnPreview.Text = "Preview"; + // + // labelItem27 + // + this.labelItem27.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; + this.labelItem27.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; + this.labelItem27.Name = "labelItem27"; + // + // btnPrint2 + // + this.btnPrint2.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint2.Image"))); + this.btnPrint2.ImagePaddingHorizontal = 8; + this.btnPrint2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; + this.btnPrint2.Name = "btnPrint2"; + this.btnPrint2.SubItemsExpandWidth = 14; + this.btnPrint2.Text = "Print"; + // + // rbnTree + // + this.rbnTree.AutoOverflowEnabled = true; + this.rbnTree.Dock = System.Windows.Forms.DockStyle.Left; + this.rbnTree.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnExit2, + this.labelItem12, + this.btnSave2, + this.labelItem31, + this.itemContainer9, + this.labelItem32, + this.btnProperties, + this.labelItem1}); + this.rbnTree.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + this.rbnTree.Location = new System.Drawing.Point(3, 0); + this.rbnTree.Name = "rbnTree"; + this.rbnTree.Size = new System.Drawing.Size(248, 86); + this.rbnTree.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.rbnTree.TabIndex = 0; + this.rbnTree.Text = "Tree"; + // + // btnExit2 + // + this.btnExit2.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnExit2.Image = ((System.Drawing.Image)(resources.GetObject("btnExit2.Image"))); + this.btnExit2.ImagePaddingHorizontal = 8; + this.btnExit2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; + this.btnExit2.Name = "btnExit2"; + this.superTooltip1.SetSuperTooltip(this.btnExit2, new DevComponents.DotNetBar.SuperTooltipInfo("Exit", "", "Exit VE-PROMS", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + this.btnExit2.Text = "Exit"; + this.btnExit2.Click += new System.EventHandler(this.btnExit_Click); + // + // labelItem12 + // + this.labelItem12.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; + this.labelItem12.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; + this.labelItem12.Name = "labelItem12"; + // + // btnSave2 + // + this.btnSave2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnSave2.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnSave2.Image = ((System.Drawing.Image)(resources.GetObject("btnSave2.Image"))); + this.btnSave2.ImagePaddingHorizontal = 8; + this.btnSave2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; + this.btnSave2.Name = "btnSave2"; + this.btnSave2.Text = "Save"; + // + // labelItem31 + // + this.labelItem31.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; + this.labelItem31.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; + this.labelItem31.Name = "labelItem31"; + // + // itemContainer9 + // + this.itemContainer9.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; + this.itemContainer9.MinimumSize = new System.Drawing.Size(0, 0); + this.itemContainer9.Name = "itemContainer9"; + this.itemContainer9.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnNew2, + this.btnDelete2}); + // + // btnNew2 + // + this.btnNew2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnNew2.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnNew2.Image = ((System.Drawing.Image)(resources.GetObject("btnNew2.Image"))); + this.btnNew2.ImagePaddingHorizontal = 8; + this.btnNew2.Name = "btnNew2"; + this.btnNew2.Text = "New"; + // + // btnDelete2 + // + this.btnDelete2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnDelete2.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnDelete2.Icon = ((System.Drawing.Icon)(resources.GetObject("btnDelete2.Icon"))); + this.btnDelete2.ImagePaddingHorizontal = 8; + this.btnDelete2.Name = "btnDelete2"; + this.btnDelete2.Text = "Delete"; + // + // labelItem32 + // + this.labelItem32.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; + this.labelItem32.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; + this.labelItem32.Name = "labelItem32"; + // + // btnProperties + // + this.btnProperties.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.btnProperties.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnProperties.Image = ((System.Drawing.Image)(resources.GetObject("btnProperties.Image"))); + this.btnProperties.ImagePaddingHorizontal = 8; + this.btnProperties.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; + this.btnProperties.Name = "btnProperties"; + this.superTooltip1.SetSuperTooltip(this.btnProperties, new DevComponents.DotNetBar.SuperTooltipInfo("Property Page", "", "Allows you to view and change various settings.", ((System.Drawing.Image)(resources.GetObject("btnProperties.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.System)); + this.btnProperties.Text = "Properties"; + this.btnProperties.Click += new System.EventHandler(this.btnProperties_Click); + // + // labelItem1 + // + this.labelItem1.Name = "labelItem1"; + // // ribbonPanel4 // this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; @@ -1512,178 +1671,6 @@ namespace VEPROMS this.btnClpBrdPaste.Name = "btnClpBrdPaste"; this.btnClpBrdPaste.Text = "Paste"; // - // ribbonPanel1 - // - this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ribbonPanel1.Controls.Add(this.rbnPrint); - this.ribbonPanel1.Controls.Add(this.rbnTree); - this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.ribbonPanel1.Location = new System.Drawing.Point(0, 55); - this.ribbonPanel1.Name = "ribbonPanel1"; - this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); - this.ribbonPanel1.Size = new System.Drawing.Size(1028, 89); - this.ribbonPanel1.TabIndex = 1; - // - // rbnPrint - // - this.rbnPrint.AutoOverflowEnabled = true; - this.rbnPrint.Dock = System.Windows.Forms.DockStyle.Left; - this.rbnPrint.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.itemContainer10, - this.labelItem27, - this.btnPrint2}); - this.rbnPrint.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - this.rbnPrint.Location = new System.Drawing.Point(251, 0); - this.rbnPrint.Name = "rbnPrint"; - this.rbnPrint.Size = new System.Drawing.Size(141, 86); - this.rbnPrint.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.rbnPrint.TabIndex = 1; - this.rbnPrint.Text = "Print"; - // - // itemContainer10 - // - this.itemContainer10.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; - this.itemContainer10.MinimumSize = new System.Drawing.Size(0, 0); - this.itemContainer10.Name = "itemContainer10"; - this.itemContainer10.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.btnRepaginate, - this.btnPrnPreview}); - // - // btnRepaginate - // - this.btnRepaginate.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnRepaginate.Image = ((System.Drawing.Image)(resources.GetObject("btnRepaginate.Image"))); - this.btnRepaginate.ImagePaddingHorizontal = 8; - this.btnRepaginate.Name = "btnRepaginate"; - this.btnRepaginate.SubItemsExpandWidth = 14; - this.btnRepaginate.Text = "Paginate"; - // - // btnPrnPreview - // - this.btnPrnPreview.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnPrnPreview.Image = ((System.Drawing.Image)(resources.GetObject("btnPrnPreview.Image"))); - this.btnPrnPreview.ImagePaddingHorizontal = 8; - this.btnPrnPreview.Name = "btnPrnPreview"; - this.btnPrnPreview.Text = "Preview"; - // - // labelItem27 - // - this.labelItem27.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; - this.labelItem27.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; - this.labelItem27.Name = "labelItem27"; - // - // btnPrint2 - // - this.btnPrint2.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint2.Image"))); - this.btnPrint2.ImagePaddingHorizontal = 8; - this.btnPrint2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; - this.btnPrint2.Name = "btnPrint2"; - this.btnPrint2.SubItemsExpandWidth = 14; - this.btnPrint2.Text = "Print"; - // - // rbnTree - // - this.rbnTree.AutoOverflowEnabled = true; - this.rbnTree.Dock = System.Windows.Forms.DockStyle.Left; - this.rbnTree.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.btnExit2, - this.labelItem12, - this.btnSave2, - this.labelItem31, - this.itemContainer9, - this.labelItem32, - this.btnProperties, - this.labelItem1}); - this.rbnTree.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - this.rbnTree.Location = new System.Drawing.Point(3, 0); - this.rbnTree.Name = "rbnTree"; - this.rbnTree.Size = new System.Drawing.Size(248, 86); - this.rbnTree.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.rbnTree.TabIndex = 0; - this.rbnTree.Text = "Tree"; - // - // btnExit2 - // - this.btnExit2.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnExit2.Image = ((System.Drawing.Image)(resources.GetObject("btnExit2.Image"))); - this.btnExit2.ImagePaddingHorizontal = 8; - this.btnExit2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; - this.btnExit2.Name = "btnExit2"; - this.superTooltip1.SetSuperTooltip(this.btnExit2, new DevComponents.DotNetBar.SuperTooltipInfo("Exit", "", "Exit VE-PROMS", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.btnExit2.Text = "Exit"; - this.btnExit2.Click += new System.EventHandler(this.btnExit_Click); - // - // labelItem12 - // - this.labelItem12.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; - this.labelItem12.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; - this.labelItem12.Name = "labelItem12"; - // - // btnSave2 - // - this.btnSave2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnSave2.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnSave2.Image = ((System.Drawing.Image)(resources.GetObject("btnSave2.Image"))); - this.btnSave2.ImagePaddingHorizontal = 8; - this.btnSave2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; - this.btnSave2.Name = "btnSave2"; - this.btnSave2.Text = "Save"; - // - // labelItem31 - // - this.labelItem31.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; - this.labelItem31.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; - this.labelItem31.Name = "labelItem31"; - // - // itemContainer9 - // - this.itemContainer9.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; - this.itemContainer9.MinimumSize = new System.Drawing.Size(0, 0); - this.itemContainer9.Name = "itemContainer9"; - this.itemContainer9.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.btnNew2, - this.btnDelete2}); - // - // btnNew2 - // - this.btnNew2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnNew2.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnNew2.Image = ((System.Drawing.Image)(resources.GetObject("btnNew2.Image"))); - this.btnNew2.ImagePaddingHorizontal = 8; - this.btnNew2.Name = "btnNew2"; - this.btnNew2.Text = "New"; - // - // btnDelete2 - // - this.btnDelete2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnDelete2.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnDelete2.Icon = ((System.Drawing.Icon)(resources.GetObject("btnDelete2.Icon"))); - this.btnDelete2.ImagePaddingHorizontal = 8; - this.btnDelete2.Name = "btnDelete2"; - this.btnDelete2.Text = "Delete"; - // - // labelItem32 - // - this.labelItem32.BorderSide = DevComponents.DotNetBar.eBorderSide.Left; - this.labelItem32.BorderType = DevComponents.DotNetBar.eBorderType.Sunken; - this.labelItem32.Name = "labelItem32"; - // - // btnProperties - // - this.btnProperties.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnProperties.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnProperties.Image = ((System.Drawing.Image)(resources.GetObject("btnProperties.Image"))); - this.btnProperties.ImagePaddingHorizontal = 8; - this.btnProperties.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; - this.btnProperties.Name = "btnProperties"; - this.superTooltip1.SetSuperTooltip(this.btnProperties, new DevComponents.DotNetBar.SuperTooltipInfo("Property Page", "", "Allows you to view and change various settings.", ((System.Drawing.Image)(resources.GetObject("btnProperties.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.System)); - this.btnProperties.Text = "Properties"; - this.btnProperties.Click += new System.EventHandler(this.btnProperties_Click); - // - // labelItem1 - // - this.labelItem1.Name = "labelItem1"; - // // rtabHome // this.rtabHome.Checked = true; @@ -2267,10 +2254,12 @@ 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, 147, 251, 574); this.expandablePanel2.ExpandOnTitleClick = true; this.expandablePanel2.Location = new System.Drawing.Point(4, 147); this.expandablePanel2.Name = "expandablePanel2"; - this.expandablePanel2.Size = new System.Drawing.Size(251, 574); + this.expandablePanel2.Size = new System.Drawing.Size(30, 574); 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; @@ -2288,18 +2277,6 @@ namespace VEPROMS this.expandablePanel2.TitleStyle.GradientAngle = 90; this.expandablePanel2.TitleText = "Procedures"; // - // tv - // - this.tv.AllowDrop = true; - this.tv.Dock = System.Windows.Forms.DockStyle.Fill; - this.tv.HideSelection = false; - this.tv.Location = new System.Drawing.Point(0, 26); - this.tv.Name = "tv"; - this.tv.Size = new System.Drawing.Size(251, 548); - this.tv.TabIndex = 1; - this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); - this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect); - // // infoPanel // this.infoPanel.CanvasColor = System.Drawing.SystemColors.Control; @@ -2332,9 +2309,9 @@ namespace VEPROMS // this.infoTabs.BackColor = System.Drawing.Color.Transparent; this.infoTabs.CanReorderTabs = true; + this.infoTabs.Controls.Add(this.infotabControlPanelRO); this.infoTabs.Controls.Add(this.tabControlPanel1); - this.infoTabs.Controls.Add(this.infotabTransitions); - this.infoTabs.Controls.Add(this.tabControlPanel4); + this.infoTabs.Controls.Add(this.infotabControlPanelTransitions); this.infoTabs.Controls.Add(this.tabControlPanel3); this.infoTabs.Controls.Add(this.tabControlPanel2); this.infoTabs.Dock = System.Windows.Forms.DockStyle.Fill; @@ -2353,142 +2330,28 @@ namespace VEPROMS this.infoTabs.Tabs.Add(this.infotabTransition); this.infoTabs.Text = "tabControl1"; // - // infotabTransitions + // infotabControlPanelTransitions // - this.infotabTransitions.Controls.Add(this.btnTranInsert); - this.infotabTransitions.Controls.Add(this.labelX1); - this.infotabTransitions.Controls.Add(this.lblTranSects); - this.infotabTransitions.Controls.Add(this.lblTranProcs); - this.infotabTransitions.Controls.Add(this.pnlTranFmt); - this.infotabTransitions.Controls.Add(this.btnUp1); - this.infotabTransitions.Controls.Add(this.tvTran); - this.infotabTransitions.Controls.Add(this.listBoxTranSects); - this.infotabTransitions.Controls.Add(this.listBoxTranProcs); - this.infotabTransitions.Dock = System.Windows.Forms.DockStyle.Fill; - this.infotabTransitions.Location = new System.Drawing.Point(0, 0); - this.infotabTransitions.Name = "infotabTransitions"; - this.infotabTransitions.Padding = new System.Windows.Forms.Padding(1); - this.infotabTransitions.Size = new System.Drawing.Size(204, 548); - this.infotabTransitions.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.infotabTransitions.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); - this.infotabTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.infotabTransitions.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); - this.infotabTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + this.infotabControlPanelTransitions.Controls.Add(this.displayTransition); + 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(204, 548); + this.infotabControlPanelTransitions.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); + this.infotabControlPanelTransitions.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.infotabControlPanelTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.infotabControlPanelTransitions.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.infotabControlPanelTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.infotabTransitions.Style.GradientAngle = 180; - this.infotabTransitions.TabIndex = 5; - this.infotabTransitions.TabItem = this.infotabTransition; - this.infotabTransitions.Click += new System.EventHandler(this.infotabTransition_Click); - // - // btnTranInsert - // - this.btnTranInsert.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnTranInsert.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnTranInsert.Location = new System.Drawing.Point(82, 340); - this.btnTranInsert.Name = "btnTranInsert"; - this.btnTranInsert.Size = new System.Drawing.Size(78, 26); - this.btnTranInsert.TabIndex = 9; - this.btnTranInsert.Text = "Select Transition"; - this.btnTranInsert.Click += new System.EventHandler(this.btnTranInsert_Click); - // - // labelX1 - // - this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.labelX1.Location = new System.Drawing.Point(2, 351); - this.labelX1.Name = "labelX1"; - this.labelX1.Size = new System.Drawing.Size(101, 15); - this.labelX1.TabIndex = 8; - this.labelX1.Text = "Select Step:"; - // - // lblTranSects - // - this.lblTranSects.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTranSects.Location = new System.Drawing.Point(4, 228); - this.lblTranSects.Name = "lblTranSects"; - this.lblTranSects.Size = new System.Drawing.Size(101, 15); - this.lblTranSects.TabIndex = 7; - this.lblTranSects.Text = "Select Section:"; - // - // lblTranProcs - // - this.lblTranProcs.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTranProcs.Location = new System.Drawing.Point(4, 116); - this.lblTranProcs.Name = "lblTranProcs"; - this.lblTranProcs.Size = new System.Drawing.Size(101, 15); - this.lblTranProcs.TabIndex = 6; - this.lblTranProcs.Text = "Select Procedure:"; - // - // pnlTranFmt - // - this.pnlTranFmt.Controls.Add(this.listBoxTranFmt); - this.pnlTranFmt.Controls.Add(this.lblTranFmt); - this.pnlTranFmt.Location = new System.Drawing.Point(2, 3); - this.pnlTranFmt.Name = "pnlTranFmt"; - this.pnlTranFmt.Size = new System.Drawing.Size(203, 111); - this.pnlTranFmt.TabIndex = 5; - // - // listBoxTranFmt - // - this.listBoxTranFmt.Dock = System.Windows.Forms.DockStyle.Bottom; - this.listBoxTranFmt.FormattingEnabled = true; - this.listBoxTranFmt.HorizontalScrollbar = true; - this.listBoxTranFmt.Location = new System.Drawing.Point(0, 16); - this.listBoxTranFmt.Name = "listBoxTranFmt"; - this.listBoxTranFmt.Size = new System.Drawing.Size(203, 95); - this.listBoxTranFmt.TabIndex = 1; - this.listBoxTranFmt.Click += new System.EventHandler(this.listBoxTranFmt_Click); - // - // lblTranFmt - // - this.lblTranFmt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTranFmt.Location = new System.Drawing.Point(4, 1); - this.lblTranFmt.Name = "lblTranFmt"; - this.lblTranFmt.Size = new System.Drawing.Size(134, 15); - this.lblTranFmt.TabIndex = 0; - this.lblTranFmt.Text = "Select Transition Format:"; - // - // btnUp1 - // - this.btnUp1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnUp1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnUp1.Image = global::VEPROMS.Properties.Resources.GoToParentFolderHS; - this.btnUp1.Location = new System.Drawing.Point(166, 339); - this.btnUp1.Name = "btnUp1"; - this.btnUp1.Size = new System.Drawing.Size(38, 27); - this.btnUp1.TabIndex = 3; - this.btnUp1.Click += new System.EventHandler(this.btnUp1_Click); - // - // tvTran - // - this.tvTran.Location = new System.Drawing.Point(1, 367); - this.tvTran.Name = "tvTran"; - this.tvTran.Size = new System.Drawing.Size(204, 180); - this.tvTran.TabIndex = 2; - this.tvTran.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvTran_BeforeExpand); - // - // listBoxTranSects - // - this.listBoxTranSects.FormattingEnabled = true; - this.listBoxTranSects.HorizontalScrollbar = true; - this.listBoxTranSects.Location = new System.Drawing.Point(1, 244); - this.listBoxTranSects.Name = "listBoxTranSects"; - this.listBoxTranSects.Size = new System.Drawing.Size(204, 95); - this.listBoxTranSects.TabIndex = 1; - this.listBoxTranSects.SelectedIndexChanged += new System.EventHandler(this.listBoxTranSects_SelectedIndexChanged); - // - // listBoxTranProcs - // - this.listBoxTranProcs.FormattingEnabled = true; - this.listBoxTranProcs.HorizontalScrollbar = true; - this.listBoxTranProcs.Location = new System.Drawing.Point(2, 131); - this.listBoxTranProcs.Name = "listBoxTranProcs"; - this.listBoxTranProcs.Size = new System.Drawing.Size(203, 95); - this.listBoxTranProcs.TabIndex = 0; - this.listBoxTranProcs.SelectedIndexChanged += new System.EventHandler(this.listBoxTranProcs_SelectedIndexChanged); + this.infotabControlPanelTransitions.Style.GradientAngle = 180; + this.infotabControlPanelTransitions.TabIndex = 5; + this.infotabControlPanelTransitions.TabItem = this.infotabTransition; + this.infotabControlPanelTransitions.Click += new System.EventHandler(this.infotabTransition_Click); // // infotabTransition // - this.infotabTransition.AttachedControl = this.infotabTransitions; + this.infotabTransition.AttachedControl = this.infotabControlPanelTransitions; this.infotabTransition.Name = "infotabTransition"; this.infotabTransition.Text = "Transition"; this.infotabTransition.Click += new System.EventHandler(this.infotabTransition_Click); @@ -2750,58 +2613,27 @@ namespace VEPROMS this.infotabTags.Name = "infotabTags"; this.infotabTags.Text = "Tags"; // - // tabControlPanel4 + // infotabControlPanelRO // - this.tabControlPanel4.Controls.Add(this.tvROFST); - this.tabControlPanel4.Controls.Add(this.tbROValue); - this.tabControlPanel4.Controls.Add(this.lblROValue); - this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel4.Location = new System.Drawing.Point(0, 0); - this.tabControlPanel4.Name = "tabControlPanel4"; - this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel4.Size = new System.Drawing.Size(204, 548); - this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); - this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); - this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + this.infotabControlPanelRO.Controls.Add(this.displayRO); + 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(204, 548); + this.infotabControlPanelRO.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); + this.infotabControlPanelRO.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.infotabControlPanelRO.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.infotabControlPanelRO.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.infotabControlPanelRO.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel4.Style.GradientAngle = 180; - this.tabControlPanel4.TabIndex = 4; - this.tabControlPanel4.TabItem = this.infotabRO; - // - // tvROFST - // - this.tvROFST.Dock = System.Windows.Forms.DockStyle.Bottom; - this.tvROFST.Location = new System.Drawing.Point(1, 65); - this.tvROFST.Name = "tvROFST"; - this.tvROFST.Size = new System.Drawing.Size(202, 482); - this.tvROFST.TabIndex = 2; - this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand); - this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect); - // - // tbROValue - // - // - // - // - this.tbROValue.Border.Class = "TextBoxBorder"; - this.tbROValue.Location = new System.Drawing.Point(69, 10); - this.tbROValue.Name = "tbROValue"; - this.tbROValue.Size = new System.Drawing.Size(131, 20); - this.tbROValue.TabIndex = 1; - // - // lblROValue - // - this.lblROValue.Location = new System.Drawing.Point(6, 11); - this.lblROValue.Name = "lblROValue"; - this.lblROValue.Size = new System.Drawing.Size(57, 19); - this.lblROValue.TabIndex = 0; - this.lblROValue.Text = "RO Value:"; + this.infotabControlPanelRO.Style.GradientAngle = 180; + this.infotabControlPanelRO.TabIndex = 4; + this.infotabControlPanelRO.TabItem = this.infotabRO; // // infotabRO // - this.infotabRO.AttachedControl = this.tabControlPanel4; + this.infotabRO.AttachedControl = this.infotabControlPanelRO; this.infotabRO.Name = "infotabRO"; this.infotabRO.Text = "RO"; this.infotabRO.Click += new System.EventHandler(this.infotabRO_Click); @@ -3031,7 +2863,7 @@ namespace VEPROMS this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter1.Location = new System.Drawing.Point(255, 147); + this.expandableSplitter1.Location = new System.Drawing.Point(34, 147); this.expandableSplitter1.Name = "expandableSplitter1"; this.expandableSplitter1.Size = new System.Drawing.Size(3, 574); this.expandableSplitter1.TabIndex = 5; @@ -3063,9 +2895,9 @@ namespace VEPROMS this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter2.Location = new System.Drawing.Point(258, 718); + this.expandableSplitter2.Location = new System.Drawing.Point(37, 718); this.expandableSplitter2.Name = "expandableSplitter2"; - this.expandableSplitter2.Size = new System.Drawing.Size(544, 3); + this.expandableSplitter2.Size = new System.Drawing.Size(765, 3); this.expandableSplitter2.TabIndex = 6; this.expandableSplitter2.TabStop = false; // @@ -3108,13 +2940,51 @@ namespace VEPROMS // tc // this.tc.Dock = System.Windows.Forms.DockStyle.Fill; - this.tc.Location = new System.Drawing.Point(258, 147); + this.tc.Location = new System.Drawing.Point(37, 147); this.tc.Name = "tc"; this.tc.SelectedTab = null; - this.tc.Size = new System.Drawing.Size(541, 571); + this.tc.Size = new System.Drawing.Size(762, 571); this.tc.TabIndex = 8; this.tc.ItemSelectedChanged += new Volian.Controls.Library.DisplayPanelEvent(this.tc_ItemSelectedChanged); // + // displayTransition + // + this.displayTransition.AutoSize = true; + this.displayTransition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.displayTransition.CurItem = null; + this.displayTransition.CurProcSet = true; + this.displayTransition.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayTransition.Location = new System.Drawing.Point(1, 1); + this.displayTransition.Modify = false; + this.displayTransition.MyRTB = null; + this.displayTransition.Name = "displayTransition"; + this.displayTransition.Size = new System.Drawing.Size(202, 546); + this.displayTransition.TabIndex = 0; + // + // tv + // + this.tv.AllowDrop = true; + this.tv.Dock = System.Windows.Forms.DockStyle.Fill; + 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, 548); + this.tv.TabIndex = 1; + this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); + this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect); + // + // displayRO + // + this.displayRO.CurItem = null; + this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayRO.Location = new System.Drawing.Point(1, 1); + this.displayRO.Modify = false; + this.displayRO.MyROFST = null; + this.displayRO.MyRTB = null; + this.displayRO.Name = "displayRO"; + this.displayRO.Size = new System.Drawing.Size(202, 546); + this.displayRO.TabIndex = 0; + // // frmVEPROMS // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -3137,10 +3007,10 @@ namespace VEPROMS this.Load += new System.EventHandler(this.frmVEPROMS_Load); this.ribbonControl1.ResumeLayout(false); this.ribbonControl1.PerformLayout(); + this.ribbonPanel1.ResumeLayout(false); this.ribbonPanel4.ResumeLayout(false); this.ribbonPanel3.ResumeLayout(false); this.ribbonPanel2.ResumeLayout(false); - this.ribbonPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bottomBar)).EndInit(); this.epComments.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.c1CommentGrid)).EndInit(); @@ -3149,15 +3019,15 @@ namespace VEPROMS this.infoPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.infoTabs)).EndInit(); this.infoTabs.ResumeLayout(false); - this.infotabTransitions.ResumeLayout(false); - this.pnlTranFmt.ResumeLayout(false); + this.infotabControlPanelTransitions.ResumeLayout(false); + this.infotabControlPanelTransitions.PerformLayout(); this.tabControlPanel1.ResumeLayout(false); this.panelEx1.ResumeLayout(false); this.groupPanel4.ResumeLayout(false); this.groupPanel3.ResumeLayout(false); this.groupPanel2.ResumeLayout(false); this.groupPanel1.ResumeLayout(false); - this.tabControlPanel4.ResumeLayout(false); + this.infotabControlPanelRO.ResumeLayout(false); this.tabControlPanel3.ResumeLayout(false); this.navpaneResults.ResumeLayout(false); this.tabControlPanel2.ResumeLayout(false); @@ -3400,25 +3270,13 @@ namespace VEPROMS private DevComponents.DotNetBar.ButtonItem btnSimStps; private DevComponents.DotNetBar.LabelItem labelItem33; private DevComponents.DotNetBar.ButtonItem buttonItem26; - private DevComponents.DotNetBar.TabControlPanel tabControlPanel4; + private DevComponents.DotNetBar.TabControlPanel infotabControlPanelRO; private DevComponents.DotNetBar.TabItem infotabRO; - private DevComponents.DotNetBar.Controls.TextBoxX tbROValue; - private DevComponents.DotNetBar.LabelX lblROValue; - private System.Windows.Forms.TreeView tvROFST; - private DevComponents.DotNetBar.TabControlPanel infotabTransitions; + private DevComponents.DotNetBar.TabControlPanel infotabControlPanelTransitions; private DevComponents.DotNetBar.TabItem infotabTransition; private Volian.Controls.Library.DisplayTabControl tc; - private Volian.Controls.Library.vlnTreeView3 tvTran; - private System.Windows.Forms.ListBox listBoxTranSects; - private System.Windows.Forms.ListBox listBoxTranProcs; - private DevComponents.DotNetBar.ButtonX btnUp1; - private System.Windows.Forms.Panel pnlTranFmt; - private DevComponents.DotNetBar.LabelX lblTranFmt; - private System.Windows.Forms.ListBox listBoxTranFmt; - private DevComponents.DotNetBar.LabelX lblTranSects; - private DevComponents.DotNetBar.LabelX lblTranProcs; - private DevComponents.DotNetBar.LabelX labelX1; - private DevComponents.DotNetBar.ButtonX btnTranInsert; + private Volian.Controls.Library.DisplayTransition displayTransition; + private Volian.Controls.Library.DisplayRO displayRO; } } diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index acc03087..177e8441 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -338,7 +338,7 @@ namespace VEPROMS tn.LoadingChildernMax += new VETreeNodeEvent(tn_LoadingChildernMax); tn.LoadingChildernValue += new VETreeNodeEvent(tn_LoadingChildernValue); tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL); - tn.LoadChildren(); + tn.LoadChildren(true); } private void tv_AfterSelect(object sender, TreeViewEventArgs e) @@ -1071,284 +1071,52 @@ namespace VEPROMS this.Close(); } #endregion - - #region ROTab - private void tvROFST_BeforeExpand(object sender, TreeViewCancelEventArgs e) - { - LoadChildren(e.Node); - } - private void tvROFST_AfterSelect(object sender, TreeViewEventArgs e) - { - if (e.Node.Tag is ROFST.rochild) - { - ROFST.rochild chld = (ROFST.rochild)e.Node.Tag; - if (chld.type == 1 && chld.value != null) tbROValue.Text = chld.value; - else tbROValue.Text = null; - } - else - tbROValue.Text = null; - } - private void LoadChildren(TreeNode tn) - { - object tag = tn.Tag; - if (tn.FirstNode != null && tn.FirstNode.Text == "VLN_DUMMY_FOR_TREE") tn.FirstNode.Remove(); - ROFST.rochild[] chld = null; - - if (tn.Tag is ROFST.rodbi) - { - ROFST.rodbi db = (ROFST.rodbi)tn.Tag; - chld = db.children; - } - else if (tn.Tag is ROFST.rochild) - { - ROFST.rochild ch = (ROFST.rochild)tn.Tag; - chld = ch.children; - } - else - { - Console.WriteLine("error - no type"); - return; - } - // if children, add dummy node - if (chld != null && chld.Length > 0) - { - for (int i = 0; i < chld.Length; i++) - { - TreeNode tmp = null; - // if this is a group, i.e. type 0, add a dummy node - if (chld[i].type == 0 && chld[i].children == null) - //skip it. - Console.WriteLine("ro junk"); - else if (chld[i].type == 1 && chld[i].value == null) - { - tmp = new TreeNode(chld[i].title); - tmp.Tag = chld[i]; - tn.Nodes.Add(tmp); - TreeNode sub = new TreeNode("VLN_DUMMY_FOR_TREE"); - tmp.Nodes.Add(sub); - } - else - { - tmp = new TreeNode(chld[i].title); - tmp.Tag = chld[i]; - tn.Nodes.Add(tmp); - } - } - } - } - private void LoadTree(ROFST rofst) - { - for (int i = 0; i < rofst.myHdr.myDbs.Length; i++) - { - TreeNode tn = new TreeNode(rofst.myHdr.myDbs[i].dbiTitle); - tn.Tag = rofst.myHdr.myDbs[i]; - tvROFST.Nodes.Add(tn); - AddDummyGroup(rofst.myHdr.myDbs[i], tn); - } - } - private void AddDummyGroup(ROFST.rodbi rodbi, TreeNode tn) - { - if (rodbi.children != null && rodbi.children.Length > 0) - { - TreeNode tmp = new TreeNode("VLN_DUMMY_FOR_TREE"); - tn.Nodes.Add(tmp); - } - } + #region InfoTabRO private void infotabRO_Click(object sender, EventArgs e) { + + //ItemInfo curitm = dtp.ItemSelected; + //DisplayRO dr = new DisplayRO(rofst, curitm, false, _MyRTB); + //infotabControlPanelRO.Controls.Add(dr); + infoPanel.Expanded = true; + infoTabs.SelectedTab = infotabRO; + + DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; + // if dtp == null, disable the ro & tran info tabs. + if (dtp == null) return; + + //ItemInfo curitm = dtp.ItemSelected; ROFST rofst = new ROFST("g:\\vehlp\\ro\\ro.fst"); - LoadTree(rofst); + displayRO.MyROFST = rofst; + displayRO.CurItem = dtp.ItemSelected; + displayRO.MyRTB = _MyRTB; } #endregion - - #region TransitionTab - private int TranFmtIndx = -1; + #region InfoTabTransition private void infotabTransition_Click(object sender, EventArgs e) { - TranFmtIndx = -1; if (tc == null || tc.SelectedTab == null) return; DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; if (dtp == null) return; btnInsTrans_Click(sender, e); } - // infotabTransitionFillIn uses other methods to fill in all controls on the - // insert/modify transition tab. Note that, for now, curitm just be a 'step' - // item (not a section or procedure). - private bool _InitializingTrans; - private void infotabTransitionFillIn(ItemInfo curitm) - { - btnTranInsert.Text = "Select Transition"; - _InitializingTrans = true; - //if (curitm.MyContent.Type < 20000) return; - listBoxTranFmtFillIn(curitm); - - // use curitm to find section level and procedure level. - ItemInfo tmpitm = curitm; - while (tmpitm.MyContent.Type >= 20000) - { - tmpitm = tmpitm.MyParent; - } - ItemInfo secitm = tmpitm; - listBoxTranSectsFillIn(secitm, secitm.ItemID); - ItemInfo prcitm = secitm.MyParent; - listBoxTranProcsFillIn(prcitm); - - tvTranFillIn(curitm); - _InitializingTrans = false; - } - private void listBoxTranFmtFillIn(ItemInfo curitm) - { - TransTypeList ttl = curitm.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList; - listBoxTranFmt.Items.Clear(); - for (int i = 0; i < ttl.Count; i++) - listBoxTranFmt.Items.Add(ttl[i].TransMenu); - bool modify = false; // this flags modify vs new - where can I get this? - if (!modify) listBoxTranFmt.SelectedIndex = 0; - } - private void tvTranFillIn(ItemInfo curitm) - { - tvTran.Nodes.Clear(); - // For the tree view, use parent, unless already at HLS. If at HLS, use this level. - ItemInfo selitm = curitm; - if (!curitm.IsHigh) - { - curitm = curitm.MyParent; - selitm = curitm; - } - curitm = curitm.FirstSibling; - while (curitm != null) - { - VETreeNode tvn = new VETreeNode(curitm); - tvn.Tag = curitm; - int active = this.tvTran.Nodes.Add(tvn); //new VETreeNode(curitm)); - if (curitm.ItemID == selitm.ItemID) tvTran.SelectedNode = tvTran.Nodes[active]; - curitm = (curitm.NextItemCount > 0 ? curitm.NextItems[0] : null); - } - tvTran.BeforeExpand += new TreeViewCancelEventHandler(tvTran_BeforeExpand); - } - private void listBoxTranSectsFillIn(ItemInfo secitm, int sectstart) - { - listBoxTranSects.Items.Clear(); - // if sectstart is not -1, then use this as the section to select, otherwise - // use the id for the item passed in. - int startitm = sectstart; - if (sectstart < 0) sectstart = secitm.ItemID; - ItemInfo selitm = secitm; // this is the selected 'section' - secitm = secitm.FirstSibling; - while (secitm != null) - { - int active = listBoxTranSects.Items.Add(secitm); - if (secitm.ItemID == sectstart) listBoxTranSects.SelectedIndex = active; - secitm = (secitm.NextItemCount > 0 ? secitm.NextItems[0] : null); - } - } - private void listBoxTranProcsFillIn(ItemInfo prcitm) - { - listBoxTranProcs.Items.Clear(); - ItemInfo selitm = prcitm; // this is the selected 'section' - prcitm = prcitm.FirstSibling; - while (prcitm != null) - { - int active = listBoxTranProcs.Items.Add(prcitm); - if (prcitm.MyContent.ContentID == selitm.MyContent.ContentID) listBoxTranProcs.SelectedIndex = active; - prcitm = (prcitm.NextItemCount > 0 ? prcitm.NextItems[0] : null); - } - } - #region TransitionTabEvents private void btnInsTrans_Click(object sender, EventArgs e) { infoPanel.Expanded = true; infoTabs.SelectedTab = infotabTransition; - + DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; // if dtp == null, disable the ro & tran info tabs. if (dtp == null) return; - ItemInfo curitm = dtp.ItemSelected; - // - kbr - do I need this? curitm = curitm.FirstSibling; - infotabTransitionFillIn(curitm); + //ItemInfo curitm = dtp.ItemSelected; + displayTransition.CurItem = dtp.ItemSelected; + displayTransition.MyRTB = _MyRTB; + //DisplayTransition dt = new DisplayTransition(curitm, false, _MyRTB); + //infotabControlPanelTransitions.Controls.Add(dt); + //dt.Dock = DockStyle.Fill; } - private void btnUp1_Click(object sender, EventArgs e) - { - // if at HLS, don't do anything. - ItemInfo curitm = (ItemInfo)((VETreeNode)tvTran.Nodes[0]).VEObject; - if (curitm.IsHigh) return; - tvTranFillIn(curitm); - } - private void tvTran_BeforeExpand(object sender, TreeViewCancelEventArgs e) - { - VETreeNode tn = ((VETreeNode)e.Node); - tn.LoadChildren(); - } - private void listBoxTranFmt_Click(object sender, EventArgs e) - { - if (_InitializingTrans) return; - // depending on the selected format's type , display associated list/tree boxes... - // - // - // - // - // - // - // - // - if (listBoxTranFmt.SelectedIndex == TranFmtIndx) return; - TranFmtIndx = listBoxTranFmt.SelectedIndex; - - DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; - ItemInfo curitm = dtp.ItemSelected; - //int selitm = listBoxTranFmt.SelectedIndex; - int type = (int)(curitm.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[listBoxTranFmt.SelectedIndex].Type); - if (type == 0 || type == 3 || type == 5) // show & allow selections for procedures. - listBoxTranProcs.Enabled = true; - else - listBoxTranProcs.Enabled = false; - - bool stpsct = true; - - if (type == 0 || type == 3 || type == 4 || type == 5) - { - // find default step section and make it the selected item - then disable from further selection. - //listBoxTranSects.SelectedIndex = 1; // TEMP until default step section found. - listBoxTranSects.Enabled = true; - } - else - listBoxTranSects.Enabled = false; - - tvTran.Enabled = true; - } - private void listBoxTranSects_SelectedIndexChanged(object sender, EventArgs e) - { - if (_InitializingTrans) return; - // a different section was selected, if step section, update step list, otherwise, empty - // it & disable. - ItemInfo secitm = (ItemInfo)listBoxTranSects.SelectedItem; - if (!secitm.IsStepSection) - { - tvTran.Nodes.Clear(); - tvTran.Enabled = false; - } - else - { - tvTranFillIn(secitm.Steps[0]); - tvTran.Enabled = true; - } - } - private void listBoxTranProcs_SelectedIndexChanged(object sender, EventArgs e) - { - if (_InitializingTrans) return; - ItemInfo prcitm = (ItemInfo)listBoxTranProcs.SelectedItem; - - ProcedureConfig pc = (ProcedureConfig)prcitm.MyConfig; - int sectstartid = -1; - if (pc != null) sectstartid = System.Convert.ToInt32(pc.SectionStart); - // get default step section and fill it in, depending on format type.... - // kbr - for now, use first - IList chldrn = prcitm.GetChildren(); - - listBoxTranSectsFillIn((ItemInfo)chldrn[0], sectstartid); - } - + #endregion private void tc_ItemSelectedChanged(object sender, DisplayPanelEventArgs args) { if (args == null) @@ -1356,12 +1124,13 @@ namespace VEPROMS else { itemAnnotationsBindingSource.DataSource = args.MyVlnCSLARTB.MyItem.ItemAnnotations; - this._MyRTB = args.MyVlnCSLARTB.MyDisplayRTB; - + //_MyRTB = args.MyVlnCSLARTB.MyDisplayRTB; + DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; + if (dtp == null) return; + displayTransition.CurItem = dtp.ItemSelected; + displayTransition.MyRTB = _MyRTB; } - } - private void itemAnnotationsBindingSource_DataSourceChanged(object sender, EventArgs e) { AnnotationInfoList myAnnotations = itemAnnotationsBindingSource.DataSource as AnnotationInfoList; @@ -1377,54 +1146,10 @@ namespace VEPROMS epComments.Expanded = false; rtxbComment.Text = null; } - } - private ItemInfo _tranitem1; - private ItemInfo _tranitem2; - - private void btnTranInsert_Click(object sender, EventArgs e) - { - if (btnTranInsert.Text == "Select Transition") - { - _tranitem1 = null; - _tranitem1 = (ItemInfo)listBoxTranSects.SelectedItem; - if (tvTran.Enabled == false || _tranitem1.IsAccPages) - _tranitem1 = (ItemInfo)listBoxTranSects.SelectedItem; - else - _tranitem1 = (ItemInfo)tvTran.SelectedNode.Tag; - - // if range, set text on button to state to select 2nd trans. - DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; - ItemInfo curitm = dtp.ItemSelected; - //int selitm = listBoxTranFmt.SelectedIndex; - int type = (int)(curitm.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[listBoxTranFmt.SelectedIndex].Type); - if (type == 2 || type == 3) - { - this.btnTranInsert.Text = "Select 2nd Transition"; - - } - else - { - string linktxt = string.Format("#Link:Transition: {0} xx {1}", type, curitm.ItemID); - _MyRTB.InsertTran("(Resolved Transition Text)", linktxt); - } - } - else - { - _tranitem2 = null; - _tranitem2 = (ItemInfo)listBoxTranSects.SelectedItem; - if (tvTran.Enabled == false || _tranitem2.IsAccPages) - _tranitem2 = (ItemInfo)listBoxTranSects.SelectedItem; - else - _tranitem2 = (ItemInfo)tvTran.SelectedNode.Tag; - } - } - #endregion - private void btnSave_Click(object sender, EventArgs e) { _MyRTB.Save(); } - #endregion } } \ No newline at end of file