diff --git a/PROMS/VEPROMS User Interface/Properties/Settings.Designer.cs b/PROMS/VEPROMS User Interface/Properties/Settings.Designer.cs
index 771facfe..6626e4b7 100644
--- a/PROMS/VEPROMS User Interface/Properties/Settings.Designer.cs
+++ b/PROMS/VEPROMS User Interface/Properties/Settings.Designer.cs
@@ -113,5 +113,16 @@ namespace VEPROMS.Properties {
this["SystemColor"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.Collections.Specialized.StringCollection MRIList {
+ get {
+ return ((global::System.Collections.Specialized.StringCollection)(this["MRIList"]));
+ }
+ set {
+ this["MRIList"] = value;
+ }
+ }
}
}
diff --git a/PROMS/VEPROMS User Interface/Properties/Settings.settings b/PROMS/VEPROMS User Interface/Properties/Settings.settings
index 5f6c87a7..cf06cb93 100644
--- a/PROMS/VEPROMS User Interface/Properties/Settings.settings
+++ b/PROMS/VEPROMS User Interface/Properties/Settings.settings
@@ -26,5 +26,8 @@
2
+
+
+
\ No newline at end of file
diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
index c9bd5d53..71a94384 100644
--- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
+++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
@@ -31,6 +31,36 @@ 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.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
+ this.rbnHlpGeneral = new DevComponents.DotNetBar.RibbonBar();
+ this.btnAbout = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem7 = new DevComponents.DotNetBar.LabelItem();
+ this.btnVlnWeb = new DevComponents.DotNetBar.ButtonItem();
+ this.rbnHlpUsage = new DevComponents.DotNetBar.RibbonBar();
+ this.btnUserManual = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
+ this.rbnUtilities = new DevComponents.DotNetBar.RibbonBar();
+ this.btnGlbSrch = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem3 = new DevComponents.DotNetBar.LabelItem();
+ this.btnSumChgs = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem17 = new DevComponents.DotNetBar.LabelItem();
+ this.btnChngHist = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem26 = new DevComponents.DotNetBar.LabelItem();
+ this.btnTransUsage = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem30 = new DevComponents.DotNetBar.LabelItem();
+ this.btnROUsages = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem33 = new DevComponents.DotNetBar.LabelItem();
+ this.btnSimStps = new DevComponents.DotNetBar.ButtonItem();
+ this.rbnApproval = new DevComponents.DotNetBar.RibbonBar();
+ this.btnAprvAll = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem6 = new DevComponents.DotNetBar.LabelItem();
+ this.btnAprvSel = new DevComponents.DotNetBar.ButtonItem();
+ this.rbnMultiUser = new DevComponents.DotNetBar.RibbonBar();
+ this.btnUnlock = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem28 = new DevComponents.DotNetBar.LabelItem();
+ this.btnLock = new DevComponents.DotNetBar.ButtonItem();
+ this.labelItem5 = new DevComponents.DotNetBar.LabelItem();
+ this.btnListUsers = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
this.rbnTextFncts = new DevComponents.DotNetBar.RibbonBar();
this.btnSplChk = new DevComponents.DotNetBar.ButtonItem();
@@ -138,36 +168,6 @@ namespace VEPROMS
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();
- this.labelItem7 = new DevComponents.DotNetBar.LabelItem();
- this.btnVlnWeb = new DevComponents.DotNetBar.ButtonItem();
- this.rbnHlpUsage = new DevComponents.DotNetBar.RibbonBar();
- this.btnUserManual = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
- this.rbnUtilities = new DevComponents.DotNetBar.RibbonBar();
- this.btnGlbSrch = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem3 = new DevComponents.DotNetBar.LabelItem();
- this.btnSumChgs = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem17 = new DevComponents.DotNetBar.LabelItem();
- this.btnChngHist = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem26 = new DevComponents.DotNetBar.LabelItem();
- this.btnTransUsage = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem30 = new DevComponents.DotNetBar.LabelItem();
- this.btnROUsages = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem33 = new DevComponents.DotNetBar.LabelItem();
- this.btnSimStps = new DevComponents.DotNetBar.ButtonItem();
- this.rbnApproval = new DevComponents.DotNetBar.RibbonBar();
- this.btnAprvAll = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem6 = new DevComponents.DotNetBar.LabelItem();
- this.btnAprvSel = new DevComponents.DotNetBar.ButtonItem();
- this.rbnMultiUser = new DevComponents.DotNetBar.RibbonBar();
- this.btnUnlock = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem28 = new DevComponents.DotNetBar.LabelItem();
- this.btnLock = new DevComponents.DotNetBar.ButtonItem();
- this.labelItem5 = new DevComponents.DotNetBar.LabelItem();
- this.btnListUsers = new DevComponents.DotNetBar.ButtonItem();
this.rtabHome = new DevComponents.DotNetBar.RibbonTabItem();
this.rtabEdit = new DevComponents.DotNetBar.RibbonTabItem();
this.rtabTools = new DevComponents.DotNetBar.RibbonTabItem();
@@ -184,10 +184,6 @@ namespace VEPROMS
this.btnClose = new DevComponents.DotNetBar.ButtonItem();
this.icRecentDocs = new DevComponents.DotNetBar.ItemContainer();
this.labelItem8 = new DevComponents.DotNetBar.LabelItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem10 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem11 = new DevComponents.DotNetBar.ButtonItem();
this.itemContainer5 = new DevComponents.DotNetBar.ItemContainer();
this.btnOptions = new DevComponents.DotNetBar.ButtonItem();
this.btnExit = new DevComponents.DotNetBar.ButtonItem();
@@ -233,18 +229,6 @@ namespace VEPROMS
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.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.infotabTransition = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.groupPanel4 = new DevComponents.DotNetBar.Controls.GroupPanel();
@@ -259,6 +243,18 @@ 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.infotabTransitions = new DevComponents.DotNetBar.TabControlPanel();
+ 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.infotabTransition = 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();
@@ -284,10 +280,10 @@ namespace VEPROMS
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
this.tc = new Volian.Controls.Library.DisplayTabControl();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel2.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();
@@ -296,14 +292,14 @@ namespace VEPROMS
this.infoPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.infoTabs)).BeginInit();
this.infoTabs.SuspendLayout();
- this.infotabTransitions.SuspendLayout();
- this.pnlTranFmt.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.panelEx1.SuspendLayout();
this.groupPanel4.SuspendLayout();
this.groupPanel3.SuspendLayout();
this.groupPanel2.SuspendLayout();
this.groupPanel1.SuspendLayout();
+ this.infotabTransitions.SuspendLayout();
+ this.pnlTranFmt.SuspendLayout();
this.tabControlPanel4.SuspendLayout();
this.tabControlPanel3.SuspendLayout();
this.navpaneResults.SuspendLayout();
@@ -314,10 +310,10 @@ namespace VEPROMS
// ribbonControl1
//
this.ribbonControl1.CaptionVisible = true;
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel1);
this.ribbonControl1.Controls.Add(this.ribbonPanel4);
this.ribbonControl1.Controls.Add(this.ribbonPanel3);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel1);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.rtabHome,
@@ -338,6 +334,324 @@ namespace VEPROMS
this.ribbonControl1.TabIndex = 0;
this.ribbonControl1.Text = "ribbonControl1";
//
+ // ribbonPanel4
+ //
+ this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.ribbonPanel4.Controls.Add(this.rbnHlpGeneral);
+ this.ribbonPanel4.Controls.Add(this.rbnHlpUsage);
+ this.ribbonPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel4.Location = new System.Drawing.Point(0, 55);
+ this.ribbonPanel4.Name = "ribbonPanel4";
+ this.ribbonPanel4.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel4.Size = new System.Drawing.Size(1028, 89);
+ this.ribbonPanel4.TabIndex = 4;
+ //
+ // rbnHlpGeneral
+ //
+ this.rbnHlpGeneral.AutoOverflowEnabled = true;
+ this.rbnHlpGeneral.Dock = System.Windows.Forms.DockStyle.Left;
+ this.rbnHlpGeneral.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btnAbout,
+ this.labelItem7,
+ this.btnVlnWeb});
+ this.rbnHlpGeneral.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
+ this.rbnHlpGeneral.Location = new System.Drawing.Point(61, 0);
+ this.rbnHlpGeneral.Name = "rbnHlpGeneral";
+ this.rbnHlpGeneral.Size = new System.Drawing.Size(118, 86);
+ this.rbnHlpGeneral.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.rbnHlpGeneral.TabIndex = 4;
+ this.rbnHlpGeneral.Text = "General";
+ //
+ // btnAbout
+ //
+ this.btnAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnAbout.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAbout.Icon = ((System.Drawing.Icon)(resources.GetObject("btnAbout.Icon")));
+ this.btnAbout.ImagePaddingHorizontal = 8;
+ this.btnAbout.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnAbout.Name = "btnAbout";
+ this.btnAbout.Text = "About...";
+ this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click);
+ //
+ // labelItem7
+ //
+ this.labelItem7.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem7.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem7.Name = "labelItem7";
+ //
+ // btnVlnWeb
+ //
+ this.btnVlnWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnVlnWeb.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnVlnWeb.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVlnWeb.Icon")));
+ this.btnVlnWeb.ImagePaddingHorizontal = 8;
+ this.btnVlnWeb.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnVlnWeb.Name = "btnVlnWeb";
+ this.btnVlnWeb.Text = "Volian Web";
+ this.btnVlnWeb.Click += new System.EventHandler(this.btnVlnWeb_Click);
+ //
+ // rbnHlpUsage
+ //
+ this.rbnHlpUsage.AutoOverflowEnabled = true;
+ this.rbnHlpUsage.Dock = System.Windows.Forms.DockStyle.Left;
+ this.rbnHlpUsage.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btnUserManual});
+ this.rbnHlpUsage.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
+ this.rbnHlpUsage.Location = new System.Drawing.Point(3, 0);
+ this.rbnHlpUsage.Name = "rbnHlpUsage";
+ this.rbnHlpUsage.Size = new System.Drawing.Size(58, 86);
+ this.rbnHlpUsage.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.rbnHlpUsage.TabIndex = 3;
+ this.rbnHlpUsage.Text = "Usage";
+ //
+ // btnUserManual
+ //
+ this.btnUserManual.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnUserManual.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnUserManual.Icon = ((System.Drawing.Icon)(resources.GetObject("btnUserManual.Icon")));
+ this.btnUserManual.ImagePaddingHorizontal = 8;
+ this.btnUserManual.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnUserManual.Name = "btnUserManual";
+ this.btnUserManual.Text = "User Manual";
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.ribbonPanel3.Controls.Add(this.rbnUtilities);
+ this.ribbonPanel3.Controls.Add(this.rbnApproval);
+ this.ribbonPanel3.Controls.Add(this.rbnMultiUser);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1028, 144);
+ this.ribbonPanel3.TabIndex = 3;
+ this.ribbonPanel3.Visible = false;
+ //
+ // rbnUtilities
+ //
+ this.rbnUtilities.AutoOverflowEnabled = true;
+ this.rbnUtilities.Dock = System.Windows.Forms.DockStyle.Left;
+ this.rbnUtilities.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btnGlbSrch,
+ this.labelItem3,
+ this.btnSumChgs,
+ this.labelItem17,
+ this.btnChngHist,
+ this.labelItem26,
+ this.btnTransUsage,
+ this.labelItem30,
+ this.btnROUsages,
+ this.labelItem33,
+ this.btnSimStps});
+ this.rbnUtilities.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
+ this.rbnUtilities.Location = new System.Drawing.Point(289, 0);
+ this.rbnUtilities.Name = "rbnUtilities";
+ this.rbnUtilities.Size = new System.Drawing.Size(427, 141);
+ this.rbnUtilities.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.rbnUtilities.TabIndex = 6;
+ this.rbnUtilities.Text = "Utilities";
+ //
+ // btnGlbSrch
+ //
+ this.btnGlbSrch.Image = ((System.Drawing.Image)(resources.GetObject("btnGlbSrch.Image")));
+ this.btnGlbSrch.ImagePaddingHorizontal = 8;
+ this.btnGlbSrch.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnGlbSrch.Name = "btnGlbSrch";
+ this.btnGlbSrch.SubItemsExpandWidth = 14;
+ this.btnGlbSrch.Text = "Global\r\nSearch";
+ this.btnGlbSrch.Click += new System.EventHandler(this.btnGlbSrch_Click);
+ //
+ // labelItem3
+ //
+ this.labelItem3.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem3.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem3.Name = "labelItem3";
+ //
+ // btnSumChgs
+ //
+ this.btnSumChgs.Image = ((System.Drawing.Image)(resources.GetObject("btnSumChgs.Image")));
+ this.btnSumChgs.ImagePaddingHorizontal = 8;
+ this.btnSumChgs.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnSumChgs.Name = "btnSumChgs";
+ this.btnSumChgs.RibbonWordWrap = false;
+ this.btnSumChgs.SubItemsExpandWidth = 14;
+ this.btnSumChgs.Text = "Summary\r\nof Changes";
+ //
+ // labelItem17
+ //
+ this.labelItem17.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem17.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem17.Name = "labelItem17";
+ //
+ // btnChngHist
+ //
+ this.btnChngHist.Image = ((System.Drawing.Image)(resources.GetObject("btnChngHist.Image")));
+ this.btnChngHist.ImagePaddingHorizontal = 8;
+ this.btnChngHist.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnChngHist.Name = "btnChngHist";
+ this.btnChngHist.RibbonWordWrap = false;
+ this.btnChngHist.SubItemsExpandWidth = 14;
+ this.btnChngHist.Text = "History\r\nof Changes";
+ //
+ // labelItem26
+ //
+ this.labelItem26.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem26.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem26.Name = "labelItem26";
+ //
+ // btnTransUsage
+ //
+ this.btnTransUsage.Image = ((System.Drawing.Image)(resources.GetObject("btnTransUsage.Image")));
+ this.btnTransUsage.ImagePaddingHorizontal = 8;
+ this.btnTransUsage.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnTransUsage.Name = "btnTransUsage";
+ this.btnTransUsage.SubItemsExpandWidth = 14;
+ this.btnTransUsage.Text = "Transition\r\nUsages";
+ //
+ // labelItem30
+ //
+ this.labelItem30.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem30.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem30.Name = "labelItem30";
+ //
+ // btnROUsages
+ //
+ this.btnROUsages.Image = ((System.Drawing.Image)(resources.GetObject("btnROUsages.Image")));
+ this.btnROUsages.ImagePaddingHorizontal = 8;
+ this.btnROUsages.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnROUsages.Name = "btnROUsages";
+ this.btnROUsages.SubItemsExpandWidth = 14;
+ this.btnROUsages.Text = "RO\r\nUsages";
+ //
+ // labelItem33
+ //
+ this.labelItem33.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem33.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem33.Name = "labelItem33";
+ //
+ // btnSimStps
+ //
+ this.btnSimStps.Image = ((System.Drawing.Image)(resources.GetObject("btnSimStps.Image")));
+ this.btnSimStps.ImagePaddingHorizontal = 8;
+ this.btnSimStps.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnSimStps.Name = "btnSimStps";
+ this.btnSimStps.SubItemsExpandWidth = 14;
+ this.btnSimStps.Text = "Similar Steps";
+ this.btnSimStps.Click += new System.EventHandler(this.btnSimStps_Click);
+ //
+ // rbnApproval
+ //
+ this.rbnApproval.AutoOverflowEnabled = true;
+ this.rbnApproval.Dock = System.Windows.Forms.DockStyle.Left;
+ this.rbnApproval.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btnAprvAll,
+ this.labelItem6,
+ this.btnAprvSel});
+ this.rbnApproval.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
+ this.rbnApproval.Location = new System.Drawing.Point(154, 0);
+ this.rbnApproval.Name = "rbnApproval";
+ this.rbnApproval.Size = new System.Drawing.Size(135, 141);
+ this.rbnApproval.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.rbnApproval.TabIndex = 2;
+ this.rbnApproval.Text = "Approval";
+ //
+ // btnAprvAll
+ //
+ this.btnAprvAll.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnAprvAll.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAprvAll.Icon = ((System.Drawing.Icon)(resources.GetObject("btnAprvAll.Icon")));
+ this.btnAprvAll.ImagePaddingHorizontal = 8;
+ this.btnAprvAll.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnAprvAll.Name = "btnAprvAll";
+ this.btnAprvAll.RibbonWordWrap = false;
+ this.superTooltip1.SetSuperTooltip(this.btnAprvAll, new DevComponents.DotNetBar.SuperTooltipInfo("Approve", "", "This will approve ALL of the procedures in this procedure set.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ this.btnAprvAll.Text = "Entire \r\nSet";
+ //
+ // labelItem6
+ //
+ this.labelItem6.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem6.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem6.Name = "labelItem6";
+ //
+ // btnAprvSel
+ //
+ this.btnAprvSel.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnAprvSel.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAprvSel.Icon = ((System.Drawing.Icon)(resources.GetObject("btnAprvSel.Icon")));
+ this.btnAprvSel.ImagePaddingHorizontal = 8;
+ this.btnAprvSel.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnAprvSel.Name = "btnAprvSel";
+ this.superTooltip1.SetSuperTooltip(this.btnAprvSel, new DevComponents.DotNetBar.SuperTooltipInfo("Approve", "", "This will allow you to select procedures to approve. Note that due to inter-rela" +
+ "tionships and shared references, additional procedures may also need approved al" +
+ "ong with the selected procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ this.btnAprvSel.Text = "Selected\r\nProcedures";
+ //
+ // rbnMultiUser
+ //
+ this.rbnMultiUser.AutoOverflowEnabled = true;
+ this.rbnMultiUser.Dock = System.Windows.Forms.DockStyle.Left;
+ this.rbnMultiUser.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btnUnlock,
+ this.labelItem28,
+ this.btnLock,
+ this.labelItem5,
+ this.btnListUsers});
+ this.rbnMultiUser.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
+ this.rbnMultiUser.Location = new System.Drawing.Point(3, 0);
+ this.rbnMultiUser.Name = "rbnMultiUser";
+ this.rbnMultiUser.Size = new System.Drawing.Size(151, 141);
+ this.rbnMultiUser.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.rbnMultiUser.TabIndex = 1;
+ this.rbnMultiUser.Text = "Mulit User";
+ //
+ // btnUnlock
+ //
+ this.btnUnlock.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnUnlock.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnUnlock.Icon = ((System.Drawing.Icon)(resources.GetObject("btnUnlock.Icon")));
+ this.btnUnlock.ImagePaddingHorizontal = 8;
+ this.btnUnlock.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnUnlock.Name = "btnUnlock";
+ this.superTooltip1.SetSuperTooltip(this.btnUnlock, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "Remove the lock at this level", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ this.btnUnlock.Text = "Unlock";
+ //
+ // labelItem28
+ //
+ this.labelItem28.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem28.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem28.Name = "labelItem28";
+ //
+ // btnLock
+ //
+ this.btnLock.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnLock.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnLock.Icon = ((System.Drawing.Icon)(resources.GetObject("btnLock.Icon")));
+ this.btnLock.ImagePaddingHorizontal = 8;
+ this.btnLock.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnLock.Name = "btnLock";
+ this.superTooltip1.SetSuperTooltip(this.btnLock, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "Set a lock at this level (of the procedures tree).\r\n\r\nA lock will prevent other u" +
+ "sers from entering at this level.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ this.btnLock.Text = "Lock";
+ //
+ // labelItem5
+ //
+ this.labelItem5.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
+ this.labelItem5.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
+ this.labelItem5.Name = "labelItem5";
+ //
+ // btnListUsers
+ //
+ this.btnListUsers.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btnListUsers.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnListUsers.Icon = ((System.Drawing.Icon)(resources.GetObject("btnListUsers.Icon")));
+ this.btnListUsers.ImagePaddingHorizontal = 8;
+ this.btnListUsers.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnListUsers.Name = "btnListUsers";
+ this.superTooltip1.SetSuperTooltip(this.btnListUsers, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "This will display a list of the users currently working in this area of your proc" +
+ "edures.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ this.btnListUsers.Text = "List Users";
+ //
// ribbonPanel2
//
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
@@ -346,11 +660,12 @@ namespace VEPROMS
this.ribbonPanel2.Controls.Add(this.rbnFont);
this.ribbonPanel2.Controls.Add(this.rbnClipboard);
this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 55);
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel2.Name = "ribbonPanel2";
this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1028, 89);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1028, 144);
this.ribbonPanel2.TabIndex = 2;
+ this.ribbonPanel2.Visible = false;
//
// rbnTextFncts
//
@@ -367,7 +682,7 @@ namespace VEPROMS
this.rbnTextFncts.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.rbnTextFncts.Location = new System.Drawing.Point(713, 0);
this.rbnTextFncts.Name = "rbnTextFncts";
- this.rbnTextFncts.Size = new System.Drawing.Size(244, 86);
+ this.rbnTextFncts.Size = new System.Drawing.Size(244, 141);
this.rbnTextFncts.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.rbnTextFncts.TabIndex = 13;
this.rbnTextFncts.Text = "Text Functions";
@@ -418,7 +733,7 @@ namespace VEPROMS
this.btnFindRplDlg.RibbonWordWrap = false;
this.btnFindRplDlg.SubItemsExpandWidth = 14;
this.superTooltip1.SetSuperTooltip(this.btnFindRplDlg, new DevComponents.DotNetBar.SuperTooltipInfo("Find Utility", "", "The Find button display a dialog window allowing you to look for text and optiona" +
- "lly replace it.", ((System.Drawing.Image)(resources.GetObject("btnFindRplDlg.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(358, 134)));
+ "lly replace it.", ((System.Drawing.Image)(resources.GetObject("btnFindRplDlg.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(358, 134)));
this.btnFindRplDlg.Text = "Find /\r\nReplace";
this.btnFindRplDlg.Click += new System.EventHandler(this.btnFindRplDlg_Click_1);
//
@@ -437,7 +752,7 @@ namespace VEPROMS
this.btnCpyStp.Name = "btnCpyStp";
this.btnCpyStp.SubItemsExpandWidth = 14;
this.superTooltip1.SetSuperTooltip(this.btnCpyStp, new DevComponents.DotNetBar.SuperTooltipInfo("Copy Step", "", "Allows you to copy an entire or part of a step, including Transition and RO links" +
- ".", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ ".", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnCpyStp.Text = "Copy\r\nStep";
//
// rbnInsert
@@ -457,7 +772,7 @@ namespace VEPROMS
this.rbnInsert.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.rbnInsert.Location = new System.Drawing.Point(226, 0);
this.rbnInsert.Name = "rbnInsert";
- this.rbnInsert.Size = new System.Drawing.Size(487, 86);
+ this.rbnInsert.Size = new System.Drawing.Size(487, 141);
this.rbnInsert.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.rbnInsert.TabIndex = 12;
this.rbnInsert.Text = "Insert";
@@ -506,8 +821,8 @@ namespace VEPROMS
this.buttonItem68,
this.buttonItem84});
this.superTooltip1.SetSuperTooltip(this.galleryContainer3, new DevComponents.DotNetBar.SuperTooltipInfo("Symbol", "", "Selecting a symbol character from this list will insert the character at your cur" +
- "rent cursor location.\r\n\r\nThe button below the scroll down button will display a " +
- "gallery of special characters.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(194, 159)));
+ "rent cursor location.\r\n\r\nThe button below the scroll down button will display a " +
+ "gallery of special characters.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(194, 159)));
//
// galleryGroup1
//
@@ -838,7 +1153,7 @@ namespace VEPROMS
this.btnInsHrdSpc.Name = "btnInsHrdSpc";
this.btnInsHrdSpc.SubItemsExpandWidth = 14;
this.superTooltip1.SetSuperTooltip(this.btnInsHrdSpc, new DevComponents.DotNetBar.SuperTooltipInfo("Hard Space", "", "Inserts a Hard Space.\r\n\r\nA Hard Space will print as a normal space but will tie t" +
- "he word before and after it so that they will not be broken between two lines.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ "he word before and after it so that they will not be broken between two lines.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnInsHrdSpc.Text = " Hard Space";
//
// labelItem25
@@ -1007,7 +1322,7 @@ namespace VEPROMS
this.btnInsTrans.Name = "btnInsTrans";
this.btnInsTrans.RibbonWordWrap = false;
this.superTooltip1.SetSuperTooltip(this.btnInsTrans, new DevComponents.DotNetBar.SuperTooltipInfo("Insert", "", "Insert a New Transition\r\n\r\nA Transition is a live reference to different step, se" +
- "ction, and/or procedure.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(160, 130)));
+ "ction, and/or procedure.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(160, 130)));
this.btnInsTrans.Text = "Transition";
this.btnInsTrans.Tooltip = "Insert New or Modify Existing Transition";
this.btnInsTrans.Click += new System.EventHandler(this.btnInsTrans_Click);
@@ -1021,7 +1336,7 @@ namespace VEPROMS
this.btnInsRO.Name = "btnInsRO";
this.btnInsRO.RibbonWordWrap = false;
this.superTooltip1.SetSuperTooltip(this.btnInsRO, new DevComponents.DotNetBar.SuperTooltipInfo("Insert Referenced Object", "", "Insert a New Referenced Object.\r\n\r\nA Referenced Object is a live reference to a v" +
- "alue in the Referenced Object Database.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ "alue in the Referenced Object Database.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnInsRO.Text = "Referenced\r\nObject";
//
// rbnFont
@@ -1033,7 +1348,7 @@ namespace VEPROMS
this.rbnFont.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.rbnFont.Location = new System.Drawing.Point(120, 0);
this.rbnFont.Name = "rbnFont";
- this.rbnFont.Size = new System.Drawing.Size(106, 86);
+ this.rbnFont.Size = new System.Drawing.Size(106, 141);
this.rbnFont.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.rbnFont.TabIndex = 9;
this.rbnFont.Text = "Font";
@@ -1115,7 +1430,7 @@ namespace VEPROMS
this.btnLowCase,
this.btnTitleCase});
this.superTooltip1.SetSuperTooltip(this.btnChgCase, new DevComponents.DotNetBar.SuperTooltipInfo("Font", "", "Change the letter case for the selected text:\r\n \r\n- UPPER CASE\r\n- lower case\r\n- T" +
- "itle Case\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ "itle Case\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnChgCase.Text = "Change Case";
//
// btnUpCase
@@ -1147,7 +1462,7 @@ namespace VEPROMS
this.rbnClipboard.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.rbnClipboard.Location = new System.Drawing.Point(3, 0);
this.rbnClipboard.Name = "rbnClipboard";
- this.rbnClipboard.Size = new System.Drawing.Size(117, 86);
+ this.rbnClipboard.Size = new System.Drawing.Size(117, 141);
this.rbnClipboard.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.rbnClipboard.TabIndex = 3;
this.rbnClipboard.Text = "Clipboard";
@@ -1368,325 +1683,6 @@ namespace VEPROMS
//
this.labelItem1.Name = "labelItem1";
//
- // ribbonPanel4
- //
- this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.ribbonPanel4.Controls.Add(this.rbnHlpGeneral);
- this.ribbonPanel4.Controls.Add(this.rbnHlpUsage);
- this.ribbonPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel4.Location = new System.Drawing.Point(0, 55);
- this.ribbonPanel4.Name = "ribbonPanel4";
- this.ribbonPanel4.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel4.Size = new System.Drawing.Size(1284, 89);
- this.ribbonPanel4.TabIndex = 4;
- this.ribbonPanel4.Visible = false;
- //
- // rbnHlpGeneral
- //
- this.rbnHlpGeneral.AutoOverflowEnabled = true;
- this.rbnHlpGeneral.Dock = System.Windows.Forms.DockStyle.Left;
- this.rbnHlpGeneral.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btnAbout,
- this.labelItem7,
- this.btnVlnWeb});
- this.rbnHlpGeneral.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
- this.rbnHlpGeneral.Location = new System.Drawing.Point(61, 0);
- this.rbnHlpGeneral.Name = "rbnHlpGeneral";
- this.rbnHlpGeneral.Size = new System.Drawing.Size(118, 86);
- this.rbnHlpGeneral.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.rbnHlpGeneral.TabIndex = 4;
- this.rbnHlpGeneral.Text = "General";
- //
- // btnAbout
- //
- this.btnAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnAbout.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnAbout.Icon = ((System.Drawing.Icon)(resources.GetObject("btnAbout.Icon")));
- this.btnAbout.ImagePaddingHorizontal = 8;
- this.btnAbout.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnAbout.Name = "btnAbout";
- this.btnAbout.Text = "About...";
- this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click);
- //
- // labelItem7
- //
- this.labelItem7.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem7.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem7.Name = "labelItem7";
- //
- // btnVlnWeb
- //
- this.btnVlnWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnVlnWeb.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnVlnWeb.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVlnWeb.Icon")));
- this.btnVlnWeb.ImagePaddingHorizontal = 8;
- this.btnVlnWeb.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnVlnWeb.Name = "btnVlnWeb";
- this.btnVlnWeb.Text = "Volian Web";
- this.btnVlnWeb.Click += new System.EventHandler(this.btnVlnWeb_Click);
- //
- // rbnHlpUsage
- //
- this.rbnHlpUsage.AutoOverflowEnabled = true;
- this.rbnHlpUsage.Dock = System.Windows.Forms.DockStyle.Left;
- this.rbnHlpUsage.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btnUserManual});
- this.rbnHlpUsage.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
- this.rbnHlpUsage.Location = new System.Drawing.Point(3, 0);
- this.rbnHlpUsage.Name = "rbnHlpUsage";
- this.rbnHlpUsage.Size = new System.Drawing.Size(58, 86);
- this.rbnHlpUsage.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.rbnHlpUsage.TabIndex = 3;
- this.rbnHlpUsage.Text = "Usage";
- //
- // btnUserManual
- //
- this.btnUserManual.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnUserManual.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnUserManual.Icon = ((System.Drawing.Icon)(resources.GetObject("btnUserManual.Icon")));
- this.btnUserManual.ImagePaddingHorizontal = 8;
- this.btnUserManual.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnUserManual.Name = "btnUserManual";
- this.btnUserManual.Text = "User Manual";
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.ribbonPanel3.Controls.Add(this.rbnUtilities);
- this.ribbonPanel3.Controls.Add(this.rbnApproval);
- this.ribbonPanel3.Controls.Add(this.rbnMultiUser);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 55);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1284, 89);
- this.ribbonPanel3.TabIndex = 3;
- this.ribbonPanel3.Visible = false;
- //
- // rbnUtilities
- //
- this.rbnUtilities.AutoOverflowEnabled = true;
- this.rbnUtilities.Dock = System.Windows.Forms.DockStyle.Left;
- this.rbnUtilities.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btnGlbSrch,
- this.labelItem3,
- this.btnSumChgs,
- this.labelItem17,
- this.btnChngHist,
- this.labelItem26,
- this.btnTransUsage,
- this.labelItem30,
- this.btnROUsages,
- this.labelItem33,
- this.btnSimStps});
- this.rbnUtilities.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
- this.rbnUtilities.Location = new System.Drawing.Point(289, 0);
- this.rbnUtilities.Name = "rbnUtilities";
- this.rbnUtilities.Size = new System.Drawing.Size(427, 86);
- this.rbnUtilities.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.rbnUtilities.TabIndex = 6;
- this.rbnUtilities.Text = "Utilities";
- //
- // btnGlbSrch
- //
- this.btnGlbSrch.Image = ((System.Drawing.Image)(resources.GetObject("btnGlbSrch.Image")));
- this.btnGlbSrch.ImagePaddingHorizontal = 8;
- this.btnGlbSrch.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnGlbSrch.Name = "btnGlbSrch";
- this.btnGlbSrch.SubItemsExpandWidth = 14;
- this.btnGlbSrch.Text = "Global\r\nSearch";
- this.btnGlbSrch.Click += new System.EventHandler(this.btnGlbSrch_Click);
- //
- // labelItem3
- //
- this.labelItem3.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem3.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem3.Name = "labelItem3";
- //
- // btnSumChgs
- //
- this.btnSumChgs.Image = ((System.Drawing.Image)(resources.GetObject("btnSumChgs.Image")));
- this.btnSumChgs.ImagePaddingHorizontal = 8;
- this.btnSumChgs.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnSumChgs.Name = "btnSumChgs";
- this.btnSumChgs.RibbonWordWrap = false;
- this.btnSumChgs.SubItemsExpandWidth = 14;
- this.btnSumChgs.Text = "Summary\r\nof Changes";
- //
- // labelItem17
- //
- this.labelItem17.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem17.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem17.Name = "labelItem17";
- //
- // btnChngHist
- //
- this.btnChngHist.Image = ((System.Drawing.Image)(resources.GetObject("btnChngHist.Image")));
- this.btnChngHist.ImagePaddingHorizontal = 8;
- this.btnChngHist.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnChngHist.Name = "btnChngHist";
- this.btnChngHist.RibbonWordWrap = false;
- this.btnChngHist.SubItemsExpandWidth = 14;
- this.btnChngHist.Text = "History\r\nof Changes";
- //
- // labelItem26
- //
- this.labelItem26.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem26.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem26.Name = "labelItem26";
- //
- // btnTransUsage
- //
- this.btnTransUsage.Image = ((System.Drawing.Image)(resources.GetObject("btnTransUsage.Image")));
- this.btnTransUsage.ImagePaddingHorizontal = 8;
- this.btnTransUsage.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnTransUsage.Name = "btnTransUsage";
- this.btnTransUsage.SubItemsExpandWidth = 14;
- this.btnTransUsage.Text = "Transition\r\nUsages";
- //
- // labelItem30
- //
- this.labelItem30.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem30.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem30.Name = "labelItem30";
- //
- // btnROUsages
- //
- this.btnROUsages.Image = ((System.Drawing.Image)(resources.GetObject("btnROUsages.Image")));
- this.btnROUsages.ImagePaddingHorizontal = 8;
- this.btnROUsages.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnROUsages.Name = "btnROUsages";
- this.btnROUsages.SubItemsExpandWidth = 14;
- this.btnROUsages.Text = "RO\r\nUsages";
- //
- // labelItem33
- //
- this.labelItem33.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem33.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem33.Name = "labelItem33";
- //
- // btnSimStps
- //
- this.btnSimStps.Image = ((System.Drawing.Image)(resources.GetObject("btnSimStps.Image")));
- this.btnSimStps.ImagePaddingHorizontal = 8;
- this.btnSimStps.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnSimStps.Name = "btnSimStps";
- this.btnSimStps.SubItemsExpandWidth = 14;
- this.btnSimStps.Text = "Similar Steps";
- this.btnSimStps.Click += new System.EventHandler(this.btnSimStps_Click);
- //
- // rbnApproval
- //
- this.rbnApproval.AutoOverflowEnabled = true;
- this.rbnApproval.Dock = System.Windows.Forms.DockStyle.Left;
- this.rbnApproval.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btnAprvAll,
- this.labelItem6,
- this.btnAprvSel});
- this.rbnApproval.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
- this.rbnApproval.Location = new System.Drawing.Point(154, 0);
- this.rbnApproval.Name = "rbnApproval";
- this.rbnApproval.Size = new System.Drawing.Size(135, 86);
- this.rbnApproval.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.rbnApproval.TabIndex = 2;
- this.rbnApproval.Text = "Approval";
- //
- // btnAprvAll
- //
- this.btnAprvAll.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnAprvAll.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnAprvAll.Icon = ((System.Drawing.Icon)(resources.GetObject("btnAprvAll.Icon")));
- this.btnAprvAll.ImagePaddingHorizontal = 8;
- this.btnAprvAll.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnAprvAll.Name = "btnAprvAll";
- this.btnAprvAll.RibbonWordWrap = false;
- this.superTooltip1.SetSuperTooltip(this.btnAprvAll, new DevComponents.DotNetBar.SuperTooltipInfo("Approve", "", "This will approve ALL of the procedures in this procedure set.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System));
- this.btnAprvAll.Text = "Entire \r\nSet";
- //
- // labelItem6
- //
- this.labelItem6.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem6.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem6.Name = "labelItem6";
- //
- // btnAprvSel
- //
- this.btnAprvSel.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnAprvSel.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnAprvSel.Icon = ((System.Drawing.Icon)(resources.GetObject("btnAprvSel.Icon")));
- this.btnAprvSel.ImagePaddingHorizontal = 8;
- this.btnAprvSel.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnAprvSel.Name = "btnAprvSel";
- this.superTooltip1.SetSuperTooltip(this.btnAprvSel, new DevComponents.DotNetBar.SuperTooltipInfo("Approve", "", "This will allow you to select procedures to approve. Note that due to inter-rela" +
- "tionships and shared references, additional procedures may also need approved al" +
- "ong with the selected procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
- this.btnAprvSel.Text = "Selected\r\nProcedures";
- //
- // rbnMultiUser
- //
- this.rbnMultiUser.AutoOverflowEnabled = true;
- this.rbnMultiUser.Dock = System.Windows.Forms.DockStyle.Left;
- this.rbnMultiUser.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btnUnlock,
- this.labelItem28,
- this.btnLock,
- this.labelItem5,
- this.btnListUsers});
- this.rbnMultiUser.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
- this.rbnMultiUser.Location = new System.Drawing.Point(3, 0);
- this.rbnMultiUser.Name = "rbnMultiUser";
- this.rbnMultiUser.Size = new System.Drawing.Size(151, 86);
- this.rbnMultiUser.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.rbnMultiUser.TabIndex = 1;
- this.rbnMultiUser.Text = "Mulit User";
- //
- // btnUnlock
- //
- this.btnUnlock.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnUnlock.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnUnlock.Icon = ((System.Drawing.Icon)(resources.GetObject("btnUnlock.Icon")));
- this.btnUnlock.ImagePaddingHorizontal = 8;
- this.btnUnlock.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnUnlock.Name = "btnUnlock";
- this.superTooltip1.SetSuperTooltip(this.btnUnlock, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "Remove the lock at this level", null, null, DevComponents.DotNetBar.eTooltipColor.System));
- this.btnUnlock.Text = "Unlock";
- //
- // labelItem28
- //
- this.labelItem28.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem28.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem28.Name = "labelItem28";
- //
- // btnLock
- //
- this.btnLock.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnLock.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnLock.Icon = ((System.Drawing.Icon)(resources.GetObject("btnLock.Icon")));
- this.btnLock.ImagePaddingHorizontal = 8;
- this.btnLock.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnLock.Name = "btnLock";
- this.superTooltip1.SetSuperTooltip(this.btnLock, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "Set a lock at this level (of the procedures tree).\r\n\r\nA lock will prevent other u" +
- "sers from entering at this level.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
- this.btnLock.Text = "Lock";
- //
- // labelItem5
- //
- this.labelItem5.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
- this.labelItem5.BorderType = DevComponents.DotNetBar.eBorderType.Sunken;
- this.labelItem5.Name = "labelItem5";
- //
- // btnListUsers
- //
- this.btnListUsers.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btnListUsers.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnListUsers.Icon = ((System.Drawing.Icon)(resources.GetObject("btnListUsers.Icon")));
- this.btnListUsers.ImagePaddingHorizontal = 8;
- this.btnListUsers.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnListUsers.Name = "btnListUsers";
- this.superTooltip1.SetSuperTooltip(this.btnListUsers, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "This will display a list of the users currently working in this area of your proc" +
- "edures.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
- this.btnListUsers.Text = "List Users";
- //
// rtabHome
//
this.rtabHome.ImagePaddingHorizontal = 8;
@@ -1696,7 +1692,6 @@ namespace VEPROMS
//
// rtabEdit
//
- this.rtabEdit.Checked = true;
this.rtabEdit.ImagePaddingHorizontal = 8;
this.rtabEdit.Name = "rtabEdit";
this.rtabEdit.Panel = this.ribbonPanel2;
@@ -1711,6 +1706,7 @@ namespace VEPROMS
//
// rtabHelp
//
+ this.rtabHelp.Checked = true;
this.rtabHelp.ImagePaddingHorizontal = 8;
this.rtabHelp.Name = "rtabHelp";
this.rtabHelp.Panel = this.ribbonPanel4;
@@ -1840,11 +1836,7 @@ namespace VEPROMS
this.icRecentDocs.MinimumSize = new System.Drawing.Size(180, 0);
this.icRecentDocs.Name = "icRecentDocs";
this.icRecentDocs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.labelItem8,
- this.buttonItem8,
- this.buttonItem9,
- this.buttonItem10,
- this.buttonItem11});
+ this.labelItem8});
//
// labelItem8
//
@@ -1857,30 +1849,6 @@ namespace VEPROMS
this.labelItem8.Stretch = true;
this.labelItem8.Text = "Recent Documents";
//
- // buttonItem8
- //
- this.buttonItem8.ImagePaddingHorizontal = 8;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.Text = "&1. Short News 5-7.rtf";
- //
- // buttonItem9
- //
- this.buttonItem9.ImagePaddingHorizontal = 8;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.Text = "&2. Prospect Email.rtf";
- //
- // buttonItem10
- //
- this.buttonItem10.ImagePaddingHorizontal = 8;
- this.buttonItem10.Name = "buttonItem10";
- this.buttonItem10.Text = "&3. Customer Email.rtf";
- //
- // buttonItem11
- //
- this.buttonItem11.ImagePaddingHorizontal = 8;
- this.buttonItem11.Name = "buttonItem11";
- this.buttonItem11.Text = "&4. example.rtf";
- //
// itemContainer5
//
//
@@ -2040,7 +2008,7 @@ namespace VEPROMS
this.btnSetLock,
this.btnReleaseLck});
this.superTooltip1.SetSuperTooltip(this.btnLckUlck, new DevComponents.DotNetBar.SuperTooltipInfo("Procedure Lock", "", "This will allow you to set or remove a lock on the current procedure. The button" +
- " tells you the current lock status.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ " tells you the current lock status.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnLckUlck.Text = "Unlocked";
//
// btnSetLock
@@ -2147,7 +2115,7 @@ namespace VEPROMS
this.btnMarkPrevPos.Name = "btnMarkPrevPos";
this.btnMarkPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.superTooltip1.SetSuperTooltip(this.btnMarkPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" +
- "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnMarkPrevPos.Text = "Mark Positon";
this.btnMarkPrevPos.Click += new System.EventHandler(this.btnMarkPrevPos_Click);
//
@@ -2168,7 +2136,7 @@ namespace VEPROMS
this.btnPrevPos.Name = "btnPrevPos";
this.btnPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.superTooltip1.SetSuperTooltip(this.btnPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" +
- "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnPrevPos.Text = "Previous Positon";
this.btnPrevPos.Click += new System.EventHandler(this.btnPrevPos_Click);
//
@@ -2185,7 +2153,7 @@ namespace VEPROMS
this.btnGetRoVals.ImagePaddingHorizontal = 8;
this.btnGetRoVals.Name = "btnGetRoVals";
this.superTooltip1.SetSuperTooltip(this.btnGetRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Object Values", "", "This will update the RO Values in this procedure set.\r\n\r\nThis button will become " +
- "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
+ "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.btnGetRoVals.Text = "Update RO Values";
//
// epComments
@@ -2225,9 +2193,6 @@ namespace VEPROMS
//
// cbCmntDontPopup
//
- this.cbCmntDontPopup.Checked = true;
- this.cbCmntDontPopup.CheckState = System.Windows.Forms.CheckState.Checked;
- this.cbCmntDontPopup.CheckValue = "Y";
this.cbCmntDontPopup.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbCmntDontPopup.Location = new System.Drawing.Point(945, 157);
this.cbCmntDontPopup.Name = "cbCmntDontPopup";
@@ -2279,11 +2244,12 @@ namespace VEPROMS
// itemAnnotationsBindingSource
//
this.itemAnnotationsBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.ItemAnnotation);
+ this.itemAnnotationsBindingSource.DataSourceChanged += new System.EventHandler(this.itemAnnotationsBindingSource_DataSourceChanged);
//
// rtxbComment
//
this.rtxbComment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
+ | System.Windows.Forms.AnchorStyles.Left)));
this.rtxbComment.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.rtxbComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rtxbComment.Location = new System.Drawing.Point(0, 26);
@@ -2385,131 +2351,6 @@ namespace VEPROMS
this.infoTabs.Tabs.Add(this.infotabTransition);
this.infoTabs.Text = "tabControl1";
//
- // infotabTransitions
- //
- 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)
- | 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);
- //
- // 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.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.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.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);
- //
- // infotabTransition
- //
- this.infotabTransition.AttachedControl = this.infotabTransitions;
- this.infotabTransition.Name = "infotabTransition";
- this.infotabTransition.Text = "Transitions";
- this.infotabTransition.Click += new System.EventHandler(this.infotabTransition_Click);
- //
// tabControlPanel1
//
this.tabControlPanel1.Controls.Add(this.panelEx1);
@@ -2518,12 +2359,12 @@ namespace VEPROMS
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(204, 548);
- this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
- this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
+ this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
+ this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
- | DevComponents.DotNetBar.eBorderSide.Bottom)));
+ | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 180;
this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.infotabTags;
@@ -2767,6 +2608,131 @@ namespace VEPROMS
this.infotabTags.Name = "infotabTags";
this.infotabTags.Text = "Tags";
//
+ // infotabTransitions
+ //
+ 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)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
+ this.infotabTransitions.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
+ this.infotabTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.infotabTransitions.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
+ this.infotabTransitions.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);
+ //
+ // 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.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.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.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);
+ //
+ // infotabTransition
+ //
+ this.infotabTransition.AttachedControl = this.infotabTransitions;
+ this.infotabTransition.Name = "infotabTransition";
+ this.infotabTransition.Text = "Transitions";
+ this.infotabTransition.Click += new System.EventHandler(this.infotabTransition_Click);
+ //
// tabControlPanel4
//
this.tabControlPanel4.Controls.Add(this.tvROFST);
@@ -2777,12 +2743,12 @@ namespace VEPROMS
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.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
+ this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
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.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
- | DevComponents.DotNetBar.eBorderSide.Bottom)));
+ | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.GradientAngle = 180;
this.tabControlPanel4.TabIndex = 4;
this.tabControlPanel4.TabItem = this.infotabRO;
@@ -2831,12 +2797,12 @@ namespace VEPROMS
this.tabControlPanel3.Name = "tabControlPanel3";
this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel3.Size = new System.Drawing.Size(204, 548);
- this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
- this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
+ this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
+ this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
- | DevComponents.DotNetBar.eBorderSide.Bottom)));
+ | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel3.Style.GradientAngle = 180;
this.tabControlPanel3.TabIndex = 3;
this.tabControlPanel3.TabItem = this.infotabResults;
@@ -2939,12 +2905,12 @@ namespace VEPROMS
this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(204, 548);
- this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
- this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
+ this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
+ this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
- | DevComponents.DotNetBar.eBorderSide.Bottom)));
+ | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 180;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.infotabBookMarks;
@@ -3025,28 +2991,28 @@ namespace VEPROMS
//
// expandableSplitter1
//
- this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
- this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.ExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.expandableSplitter1.GripDarkColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
- this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75)))));
this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139)))));
this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
- this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.HotExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
- this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
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.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter1.Location = new System.Drawing.Point(255, 147);
this.expandableSplitter1.Name = "expandableSplitter1";
@@ -3056,29 +3022,29 @@ namespace VEPROMS
//
// expandableSplitter2
//
- this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter2.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter2.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.expandableSplitter2.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter2.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter2.ExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter2.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.expandableSplitter2.GripDarkColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter2.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
- this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.expandableSplitter2.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter2.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75)))));
this.expandableSplitter2.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139)))));
this.expandableSplitter2.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
this.expandableSplitter2.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
- this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter2.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter2.HotExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter2.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
- this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
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.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter2.Location = new System.Drawing.Point(258, 718);
this.expandableSplitter2.Name = "expandableSplitter2";
@@ -3088,29 +3054,29 @@ namespace VEPROMS
//
// expandableSplitter3
//
- this.expandableSplitter3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter3.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter3.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.expandableSplitter3.Dock = System.Windows.Forms.DockStyle.Right;
- this.expandableSplitter3.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter3.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter3.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter3.ExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter3.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.expandableSplitter3.GripDarkColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter3.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
- this.expandableSplitter3.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.expandableSplitter3.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.expandableSplitter3.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter3.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75)))));
this.expandableSplitter3.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139)))));
this.expandableSplitter3.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
this.expandableSplitter3.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
- this.expandableSplitter3.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter3.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter3.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter3.HotExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter3.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
- this.expandableSplitter3.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
+ this.expandableSplitter3.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148)))));
this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
+ this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250)))));
this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter3.Location = new System.Drawing.Point(799, 147);
this.expandableSplitter3.Name = "expandableSplitter3";
@@ -3154,10 +3120,10 @@ namespace VEPROMS
this.Load += new System.EventHandler(this.frmVEPROMS_Load);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel2.ResumeLayout(false);
- 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();
@@ -3166,14 +3132,14 @@ 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.tabControlPanel1.ResumeLayout(false);
this.panelEx1.ResumeLayout(false);
this.groupPanel4.ResumeLayout(false);
this.groupPanel3.ResumeLayout(false);
this.groupPanel2.ResumeLayout(false);
this.groupPanel1.ResumeLayout(false);
+ this.infotabTransitions.ResumeLayout(false);
+ this.pnlTranFmt.ResumeLayout(false);
this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel3.ResumeLayout(false);
this.navpaneResults.ResumeLayout(false);
@@ -3203,10 +3169,6 @@ namespace VEPROMS
private DevComponents.DotNetBar.ButtonItem btnClose;
private DevComponents.DotNetBar.ItemContainer icRecentDocs;
private DevComponents.DotNetBar.LabelItem labelItem8;
- private DevComponents.DotNetBar.ButtonItem buttonItem8;
- private DevComponents.DotNetBar.ButtonItem buttonItem9;
- private DevComponents.DotNetBar.ButtonItem buttonItem10;
- private DevComponents.DotNetBar.ButtonItem buttonItem11;
private DevComponents.DotNetBar.ItemContainer itemContainer5;
private DevComponents.DotNetBar.ButtonItem btnOptions;
private DevComponents.DotNetBar.ButtonItem btnExit;
diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs
index de87b783..1fbccad1 100644
--- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs
+++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs
@@ -71,18 +71,67 @@ namespace VEPROMS
// Save the location and size of the VE-PROMS appication for this user
Settings.Default.Location = this.Location;
Settings.Default.Size = this.Size;
- Settings.Default.Save();
+ SaveMRU();
+ //Settings.Default.Save();
+ }
+ private void ShutDownRibbons()
+ {
+ rtabEdit.Visible = false;
+ rtabHelp.Visible = false;
+ rtabHome.Visible = false;
+ rtabTools.Visible = false;
+ ribbonControl1.Height = 50;
}
-
private void frmVEPROMS_Load(object sender, EventArgs e)
{
// get the saved location and size of the VE-PROMS appication for this user
if (Settings.Default["Location"] != null) this.Location = Settings.Default.Location;
if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size;
+ ShutDownRibbons();
+ _MyMRIList = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["MRIList"]));
+ SetupMRU();
}
-
+ #region MRU
+ private MostRecentItemList _MyMRIList;
+ private void SetupMRU()
+ {
+ icRecentDocs.SubItems.Clear();
+ if (_MyMRIList.Count > 0)
+ {
+ LabelItem lblItem = new LabelItem();
+ lblItem.Text = "Recent Documents:";
+ icRecentDocs.SubItems.Add(lblItem);
+ //icRecentDocs.SubItems.Add();
+ for (int i = 0; i < _MyMRIList.Count; i++)
+ {
+ MostRecentItem mri = _MyMRIList[i];
+ ButtonItem btnItem = new ButtonItem();
+ if (i < 9)
+ btnItem.Text = string.Format("&{0}. {1}", i + 1, mri.MenuTitle);
+ else
+ btnItem.Text = string.Format(" {1}", i + 1, mri.MenuTitle);
+ btnItem.Tag = mri.ItemID;
+ btnItem.Tooltip = mri.ToolTip;
+ btnItem.Click += new EventHandler(btnItem_Click);
+ icRecentDocs.SubItems.Add(btnItem);
+ }
+ }
+ }
+ void btnItem_Click(object sender, EventArgs e)
+ {
+ ButtonItem btnItem = (ButtonItem)sender;
+ MostRecentItem mri = _MyMRIList.Add((int)(btnItem.Tag));
+ //SaveMRU();
+ SetupMRU();
+ if (mri != null) tc.OpenItem(mri.MyItem);
+ }
+ private void SaveMRU()
+ {
+ Properties.Settings.Default.MRIList = _MyMRIList.ToSettings();
+ Properties.Settings.Default.Save();
+ }
+ #endregion
#region Tree View
-
///
/// Get the selected tree node's properties
///
@@ -101,7 +150,8 @@ namespace VEPROMS
epComments.Expanded = false;
rtxbComment.Text = "";
epComments.TitleStyle.BackColor1.Color = _CommentTitleBckColor;
-
+ if(_MyMRIList.Add(node.VEObject)!=null)
+ SetupMRU();
switch (node.VEObject.GetType().Name)
{
case "FolderInfo":
@@ -115,6 +165,7 @@ namespace VEPROMS
case "ProcedureInfo":
_LastProcedureInfo = (ProcedureInfo)(_LastTreeNode.VEObject);
_LastProcedure = _LastProcedureInfo.Get();
+
tc.OpenItem((ItemInfo)_LastProcedureInfo);
if (_LastProcedureInfo.ItemAnnotationCount > 0)
{
@@ -138,14 +189,14 @@ namespace VEPROMS
_LastStepInfo = (StepInfo)(_LastTreeNode.VEObject);
_LastStep = _LastStepInfo.Get();
tc.OpenItem((ItemInfo)_LastStepInfo);
- if (_LastStepInfo.ItemAnnotationCount > 0)
- {
- if (!cbCmntDontPopup.Checked)
- epComments.Expanded = true;
- rtxbComment.Text = _LastStepInfo.ItemAnnotations[0].SearchText;
+ //if (_LastStepInfo.ItemAnnotationCount > 0)
+ //{
+ // if (!cbCmntDontPopup.Checked)
+ // epComments.Expanded = true;
+ // rtxbComment.Text = _LastStepInfo.ItemAnnotations[0].SearchText;
itemAnnotationsBindingSource.DataSource = _LastStepInfo.ItemAnnotations;
- epComments.TitleStyle.BackColor1.Color = Color.Yellow;
- }
+ // epComments.TitleStyle.BackColor1.Color = Color.Yellow;
+ //}
#region Sample Display Table Code
// display an exiting table in that rtf grid thing
//if ((_LastStepInfo.MyContent.Type == 20007) || (_LastStepInfo.MyContent.Type == 20009))
@@ -944,45 +995,45 @@ namespace VEPROMS
///
private void setupRibbonTabs(VETreeNode node)
{
- switch (node.VEObject.GetType().Name)
- {
- case "FolderInfo":
- rtabEdit.Visible = false;
- rtabTools.Visible = false;
- rbnPrint.Visible = false;
- ribbonControl1.SelectedRibbonTabItem = rtabHome;
- break;
- case "DocVersionInfo":
- rtabEdit.Visible = false;
- rtabTools.Visible = false;
- rbnPrint.Visible = false;
- ribbonControl1.SelectedRibbonTabItem = rtabHome;
- break;
- case "ProcedureInfo":
- rtabEdit.Visible = true;
- rtabTools.Visible = true;
- rbnPrint.Visible = true;
- ribbonControl1.SelectedRibbonTabItem = rtabEdit;
- break;
- case "SectionInfo":
- rtabEdit.Visible = true;
- rtabTools.Visible = true;
- rbnPrint.Visible = true;
- ribbonControl1.SelectedRibbonTabItem = rtabEdit;
- break;
- case "StepInfo":
- rtabEdit.Visible = true;
- rtabTools.Visible = true;
- rbnPrint.Visible = true;
- ribbonControl1.SelectedRibbonTabItem = rtabEdit;
- break;
- default:
- rtabEdit.Visible = false;
- rtabTools.Visible = false;
- rbnPrint.Visible = false;
- ribbonControl1.SelectedRibbonTabItem = rtabHome;
- break;
- }
+ //switch (node.VEObject.GetType().Name)
+ //{
+ // case "FolderInfo":
+ // rtabEdit.Visible = false;
+ // rtabTools.Visible = false;
+ // rbnPrint.Visible = false;
+ // ribbonControl1.SelectedRibbonTabItem = rtabHome;
+ // break;
+ // case "DocVersionInfo":
+ // rtabEdit.Visible = false;
+ // rtabTools.Visible = false;
+ // rbnPrint.Visible = false;
+ // ribbonControl1.SelectedRibbonTabItem = rtabHome;
+ // break;
+ // case "ProcedureInfo":
+ // rtabEdit.Visible = true;
+ // rtabTools.Visible = true;
+ // rbnPrint.Visible = true;
+ // ribbonControl1.SelectedRibbonTabItem = rtabEdit;
+ // break;
+ // case "SectionInfo":
+ // rtabEdit.Visible = true;
+ // rtabTools.Visible = true;
+ // rbnPrint.Visible = true;
+ // ribbonControl1.SelectedRibbonTabItem = rtabEdit;
+ // break;
+ // case "StepInfo":
+ // rtabEdit.Visible = true;
+ // rtabTools.Visible = true;
+ // rbnPrint.Visible = true;
+ // ribbonControl1.SelectedRibbonTabItem = rtabEdit;
+ // break;
+ // default:
+ // rtabEdit.Visible = false;
+ // rtabTools.Visible = false;
+ // rbnPrint.Visible = false;
+ // ribbonControl1.SelectedRibbonTabItem = rtabHome;
+ // break;
+ //}
}
///
@@ -1278,11 +1329,20 @@ namespace VEPROMS
private void tc_ItemSelectedChanged(object sender, DisplayPanelEventArgs args)
{
- if (args.MyVlnCSLARTB.MyItem.ItemAnnotationCount > 0)
+ if(args == null)
+ itemAnnotationsBindingSource.DataSource = null;
+ else
+ itemAnnotationsBindingSource.DataSource = args.MyVlnCSLARTB.MyItem.ItemAnnotations;
+ }
+
+ private void itemAnnotationsBindingSource_DataSourceChanged(object sender, EventArgs e)
+ {
+ AnnotationInfoList myAnnotations = itemAnnotationsBindingSource.DataSource as AnnotationInfoList;
+ if (myAnnotations != null && myAnnotations.Count != 0)
{
if (!cbCmntDontPopup.Checked)
epComments.Expanded = true;
- rtxbComment.Text = args.MyVlnCSLARTB.MyItem.ItemAnnotations[0].SearchText;
+ rtxbComment.Text = myAnnotations[0].SearchText;
}
else
{
@@ -1290,6 +1350,7 @@ namespace VEPROMS
epComments.Expanded = false;
rtxbComment.Text = null;
}
+
}
}
}
\ No newline at end of file
diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs
index ce996712..11f1cfa0 100644
--- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs
+++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs
@@ -533,9 +533,25 @@ namespace VEPROMS.CSLA.Library
{
get { return MyContent.MyFormat; }
}
+ private DynamicTypeDescriptor _MyConfig=null;
public DynamicTypeDescriptor MyConfig
{
- get { return null; }
+ get
+ {
+ if (_MyConfig == null)
+ {
+ switch (MyContent.Type / 10000)
+ {
+ case 0:
+ _MyConfig = new ProcedureConfig(MyContent.Config);
+ break;
+ case 1:
+ _MyConfig = new SectionConfig(MyContent.Config);
+ break;
+ }
+ }
+ return _MyConfig;
+ }
}
//public bool HasStandardSteps()
//{ return MyContent.ContentItemCount > 1; }
diff --git a/PROMS/Volian.Controls.Library/DSOTabPanel.cs b/PROMS/Volian.Controls.Library/DSOTabPanel.cs
index d02b43d7..c76f6368 100644
--- a/PROMS/Volian.Controls.Library/DSOTabPanel.cs
+++ b/PROMS/Volian.Controls.Library/DSOTabPanel.cs
@@ -13,6 +13,7 @@ namespace Volian.Controls.Library
{
public partial class DSOTabPanel : DevComponents.DotNetBar.PanelDockContainer
{
+ private DisplayTabControl _MyTabControl;
private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
private AxDSOFramer.AxFramerControl _MyDSOFramer;
private static int _Count = 0;
@@ -24,8 +25,9 @@ namespace Volian.Controls.Library
get { return _TabItem; }
set { _TabItem = value; }
}
- public DSOTabPanel(DocumentInfo documentInfo)
+ public DSOTabPanel(DocumentInfo documentInfo, DisplayTabControl myTabControl)
{
+ _MyTabControl = myTabControl;
InitializeComponent();
SetupDSOTabPanel();
_MyDocument = documentInfo;
diff --git a/PROMS/Volian.Controls.Library/DisplayItem.cs b/PROMS/Volian.Controls.Library/DisplayItem.cs
index 6e9dbc7a..93779a80 100644
--- a/PROMS/Volian.Controls.Library/DisplayItem.cs
+++ b/PROMS/Volian.Controls.Library/DisplayItem.cs
@@ -567,7 +567,7 @@ namespace Volian.Controls.Library
vlnExp.Attachment = (item.MyContent.ContentPartCount == 0);
break;
case 2:
- CanExpand = TemporaryFormat.IsHigh(item); ;
+ CanExpand = item.IsHigh && item.HasChildren; // TemporaryFormat.IsHigh(item); ;
break;
default:
CanExpand = false;
@@ -622,10 +622,15 @@ namespace Volian.Controls.Library
{
_DisplayRTB.Focus();
_DisplayRTB.SelectAll();
- if (CanExpand) AutoExpand();
- int scrollValue = _Panel.VerticalScroll.Value + (Top - (_Panel.Height / 2));
- if(scrollValue > _Panel.VerticalScroll.Minimum && scrollValue <= _Panel.VerticalScroll.Maximum)
- _Panel.VerticalScroll.Value = scrollValue;
+ if (CanExpand)
+ AutoExpand(); // Expand the item if you can
+ int scrollValue = _Panel.VerticalScroll.Value + (Top - (_Panel.Height / 2)); // calculate scroll center for the item
+ if(scrollValue > _Panel.VerticalScroll.Minimum && scrollValue <= _Panel.VerticalScroll.Maximum) // If it isn't within range
+ _Panel.VerticalScroll.Value = scrollValue; // Center the item
+ }
+ public void ItemShow()
+ {
+ _DisplayRTB.Focus();
}
private void vlnCSLARTB_Paint(object sender, PaintEventArgs e)
{
diff --git a/PROMS/Volian.Controls.Library/DisplayPanel.cs b/PROMS/Volian.Controls.Library/DisplayPanel.cs
index 073dc938..b1a732f4 100644
--- a/PROMS/Volian.Controls.Library/DisplayPanel.cs
+++ b/PROMS/Volian.Controls.Library/DisplayPanel.cs
@@ -121,7 +121,7 @@ namespace Volian.Controls.Library
//// TIMING: vlnCSLARTB.TimeIt("pMyItem End");
}
}
- private Dictionary _ItemLookup;
+ internal Dictionary _ItemLookup;
public Dictionary ItemLookup
{
get { return _ItemLookup; }
@@ -158,10 +158,15 @@ namespace Volian.Controls.Library
{
int id = value.ItemID;
ExpandAsNeeded(value);
- ItemLookup[id].ItemSelect();
_ItemSelected = value;
+ ItemLookup[id].ItemSelect();
}
}
+ public void ItemShow()
+ {
+ if (_ItemSelected != null)
+ ItemLookup[_ItemSelected.ItemID].ItemShow();
+ }
private int _Scrolling = 0; // Volian Property Snippet
public int Scrolling
{
diff --git a/PROMS/Volian.Controls.Library/DisplayTabControl.Designer.cs b/PROMS/Volian.Controls.Library/DisplayTabControl.Designer.cs
index 5ebb23d0..35d80f29 100644
--- a/PROMS/Volian.Controls.Library/DisplayTabControl.Designer.cs
+++ b/PROMS/Volian.Controls.Library/DisplayTabControl.Designer.cs
@@ -30,21 +30,18 @@ namespace Volian.Controls.Library
{
this.components = new System.ComponentModel.Container();
this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components);
- this.dockSite4 = new DevComponents.DotNetBar.DockSite();
- this.dockSite9 = new DevComponents.DotNetBar.DockSite();
+ this.bottomDocDockSite = new DevComponents.DotNetBar.DockSite();
+ this.fillDocDockSite = new DevComponents.DotNetBar.DockSite();
this._MyBar = new DevComponents.DotNetBar.Bar();
- this.dockSite1 = new DevComponents.DotNetBar.DockSite();
- this.dockSite2 = new DevComponents.DotNetBar.DockSite();
- this.dockSite8 = new DevComponents.DotNetBar.DockSite();
- this.dockSite5 = new DevComponents.DotNetBar.DockSite();
- this.dockSite6 = new DevComponents.DotNetBar.DockSite();
- this.dockSite7 = new DevComponents.DotNetBar.DockSite();
- this.dockSite3 = new DevComponents.DotNetBar.DockSite();
- this.dockContainerItem3 = new DevComponents.DotNetBar.DockContainerItem();
- this.dockContainerItem1 = new DevComponents.DotNetBar.DockContainerItem();
- this.dockContainerItem2 = new DevComponents.DotNetBar.DockContainerItem();
+ this.leftDocDockSite = new DevComponents.DotNetBar.DockSite();
+ this.rightDocDockSite = new DevComponents.DotNetBar.DockSite();
+ this.bottomBarDockSite = new DevComponents.DotNetBar.DockSite();
+ this.leftBarDockSite = new DevComponents.DotNetBar.DockSite();
+ this.rightBarDockSite = new DevComponents.DotNetBar.DockSite();
+ this.topBarDockSite = new DevComponents.DotNetBar.DockSite();
+ this.topDocDockSite = new DevComponents.DotNetBar.DockSite();
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
- this.dockSite9.SuspendLayout();
+ this.fillDocDockSite.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this._MyBar)).BeginInit();
this.SuspendLayout();
//
@@ -59,45 +56,45 @@ namespace Volian.Controls.Library
this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlY);
this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.Del);
this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.Ins);
- this.dotNetBarManager1.BottomDockSite = this.dockSite4;
+ this.dotNetBarManager1.BottomDockSite = this.bottomDocDockSite;
this.dotNetBarManager1.DefinitionName = "";
this.dotNetBarManager1.EnableFullSizeDock = false;
- this.dotNetBarManager1.FillDockSite = this.dockSite9;
- this.dotNetBarManager1.LeftDockSite = this.dockSite1;
+ this.dotNetBarManager1.FillDockSite = this.fillDocDockSite;
+ this.dotNetBarManager1.LeftDockSite = this.leftDocDockSite;
this.dotNetBarManager1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.dotNetBarManager1.ParentForm = null;
this.dotNetBarManager1.ParentUserControl = this;
- this.dotNetBarManager1.RightDockSite = this.dockSite2;
+ this.dotNetBarManager1.RightDockSite = this.rightDocDockSite;
this.dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
- this.dotNetBarManager1.ToolbarBottomDockSite = this.dockSite8;
- this.dotNetBarManager1.ToolbarLeftDockSite = this.dockSite5;
- this.dotNetBarManager1.ToolbarRightDockSite = this.dockSite6;
- this.dotNetBarManager1.ToolbarTopDockSite = this.dockSite7;
- this.dotNetBarManager1.TopDockSite = this.dockSite3;
+ this.dotNetBarManager1.ToolbarBottomDockSite = this.bottomBarDockSite;
+ this.dotNetBarManager1.ToolbarLeftDockSite = this.leftBarDockSite;
+ this.dotNetBarManager1.ToolbarRightDockSite = this.rightBarDockSite;
+ this.dotNetBarManager1.ToolbarTopDockSite = this.topBarDockSite;
+ this.dotNetBarManager1.TopDockSite = this.topDocDockSite;
//
- // dockSite4
+ // bottomDocDockSite
//
- this.dockSite4.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite4.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.dockSite4.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
- this.dockSite4.Location = new System.Drawing.Point(0, 383);
- this.dockSite4.Name = "dockSite4";
- this.dockSite4.Size = new System.Drawing.Size(673, 0);
- this.dockSite4.TabIndex = 3;
- this.dockSite4.TabStop = false;
+ this.bottomDocDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.bottomDocDockSite.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bottomDocDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
+ this.bottomDocDockSite.Location = new System.Drawing.Point(0, 383);
+ this.bottomDocDockSite.Name = "bottomDocDockSite";
+ this.bottomDocDockSite.Size = new System.Drawing.Size(673, 0);
+ this.bottomDocDockSite.TabIndex = 3;
+ this.bottomDocDockSite.TabStop = false;
//
- // dockSite9
+ // fillDocDockSite
//
- this.dockSite9.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite9.Controls.Add(this._MyBar);
- this.dockSite9.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dockSite9.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
+ this.fillDocDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.fillDocDockSite.Controls.Add(this._MyBar);
+ this.fillDocDockSite.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.fillDocDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this._MyBar, 673, 383)))}, DevComponents.DotNetBar.eOrientation.Horizontal);
- this.dockSite9.Location = new System.Drawing.Point(0, 0);
- this.dockSite9.Name = "dockSite9";
- this.dockSite9.Size = new System.Drawing.Size(673, 383);
- this.dockSite9.TabIndex = 8;
- this.dockSite9.TabStop = false;
+ this.fillDocDockSite.Location = new System.Drawing.Point(0, 0);
+ this.fillDocDockSite.Name = "fillDocDockSite";
+ this.fillDocDockSite.Size = new System.Drawing.Size(673, 383);
+ this.fillDocDockSite.TabIndex = 8;
+ this.fillDocDockSite.TabStop = false;
//
// _MyBar
//
@@ -125,93 +122,78 @@ namespace Volian.Controls.Library
this._MyBar.TabNavigation = true;
this._MyBar.TabStop = false;
//
- // dockSite1
+ // leftDocDockSite
//
- this.dockSite1.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite1.Dock = System.Windows.Forms.DockStyle.Left;
- this.dockSite1.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
- this.dockSite1.Location = new System.Drawing.Point(0, 0);
- this.dockSite1.Name = "dockSite1";
- this.dockSite1.Size = new System.Drawing.Size(0, 383);
- this.dockSite1.TabIndex = 0;
- this.dockSite1.TabStop = false;
+ this.leftDocDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.leftDocDockSite.Dock = System.Windows.Forms.DockStyle.Left;
+ this.leftDocDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
+ this.leftDocDockSite.Location = new System.Drawing.Point(0, 0);
+ this.leftDocDockSite.Name = "leftDocDockSite";
+ this.leftDocDockSite.Size = new System.Drawing.Size(0, 383);
+ this.leftDocDockSite.TabIndex = 0;
+ this.leftDocDockSite.TabStop = false;
//
- // dockSite2
+ // rightDocDockSite
//
- this.dockSite2.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite2.Dock = System.Windows.Forms.DockStyle.Right;
- this.dockSite2.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
- this.dockSite2.Location = new System.Drawing.Point(673, 0);
- this.dockSite2.Name = "dockSite2";
- this.dockSite2.Size = new System.Drawing.Size(0, 383);
- this.dockSite2.TabIndex = 1;
- this.dockSite2.TabStop = false;
+ this.rightDocDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.rightDocDockSite.Dock = System.Windows.Forms.DockStyle.Right;
+ this.rightDocDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
+ this.rightDocDockSite.Location = new System.Drawing.Point(673, 0);
+ this.rightDocDockSite.Name = "rightDocDockSite";
+ this.rightDocDockSite.Size = new System.Drawing.Size(0, 383);
+ this.rightDocDockSite.TabIndex = 1;
+ this.rightDocDockSite.TabStop = false;
//
- // dockSite8
+ // bottomBarDockSite
//
- this.dockSite8.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite8.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.dockSite8.Location = new System.Drawing.Point(0, 383);
- this.dockSite8.Name = "dockSite8";
- this.dockSite8.Size = new System.Drawing.Size(673, 0);
- this.dockSite8.TabIndex = 7;
- this.dockSite8.TabStop = false;
+ this.bottomBarDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.bottomBarDockSite.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bottomBarDockSite.Location = new System.Drawing.Point(0, 383);
+ this.bottomBarDockSite.Name = "bottomBarDockSite";
+ this.bottomBarDockSite.Size = new System.Drawing.Size(673, 0);
+ this.bottomBarDockSite.TabIndex = 7;
+ this.bottomBarDockSite.TabStop = false;
//
- // dockSite5
+ // leftBarDockSite
//
- this.dockSite5.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite5.Dock = System.Windows.Forms.DockStyle.Left;
- this.dockSite5.Location = new System.Drawing.Point(0, 0);
- this.dockSite5.Name = "dockSite5";
- this.dockSite5.Size = new System.Drawing.Size(0, 383);
- this.dockSite5.TabIndex = 4;
- this.dockSite5.TabStop = false;
+ this.leftBarDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.leftBarDockSite.Dock = System.Windows.Forms.DockStyle.Left;
+ this.leftBarDockSite.Location = new System.Drawing.Point(0, 0);
+ this.leftBarDockSite.Name = "leftBarDockSite";
+ this.leftBarDockSite.Size = new System.Drawing.Size(0, 383);
+ this.leftBarDockSite.TabIndex = 4;
+ this.leftBarDockSite.TabStop = false;
//
- // dockSite6
+ // rightBarDockSite
//
- this.dockSite6.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite6.Dock = System.Windows.Forms.DockStyle.Right;
- this.dockSite6.Location = new System.Drawing.Point(673, 0);
- this.dockSite6.Name = "dockSite6";
- this.dockSite6.Size = new System.Drawing.Size(0, 383);
- this.dockSite6.TabIndex = 5;
- this.dockSite6.TabStop = false;
+ this.rightBarDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.rightBarDockSite.Dock = System.Windows.Forms.DockStyle.Right;
+ this.rightBarDockSite.Location = new System.Drawing.Point(673, 0);
+ this.rightBarDockSite.Name = "rightBarDockSite";
+ this.rightBarDockSite.Size = new System.Drawing.Size(0, 383);
+ this.rightBarDockSite.TabIndex = 5;
+ this.rightBarDockSite.TabStop = false;
//
- // dockSite7
+ // topBarDockSite
//
- this.dockSite7.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite7.Dock = System.Windows.Forms.DockStyle.Top;
- this.dockSite7.Location = new System.Drawing.Point(0, 0);
- this.dockSite7.Name = "dockSite7";
- this.dockSite7.Size = new System.Drawing.Size(673, 0);
- this.dockSite7.TabIndex = 6;
- this.dockSite7.TabStop = false;
+ this.topBarDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.topBarDockSite.Dock = System.Windows.Forms.DockStyle.Top;
+ this.topBarDockSite.Location = new System.Drawing.Point(0, 0);
+ this.topBarDockSite.Name = "topBarDockSite";
+ this.topBarDockSite.Size = new System.Drawing.Size(673, 0);
+ this.topBarDockSite.TabIndex = 6;
+ this.topBarDockSite.TabStop = false;
//
- // dockSite3
+ // topDocDockSite
//
- this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
- this.dockSite3.Dock = System.Windows.Forms.DockStyle.Top;
- this.dockSite3.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
- this.dockSite3.Location = new System.Drawing.Point(0, 0);
- this.dockSite3.Name = "dockSite3";
- this.dockSite3.Size = new System.Drawing.Size(673, 0);
- this.dockSite3.TabIndex = 2;
- this.dockSite3.TabStop = false;
- //
- // dockContainerItem3
- //
- this.dockContainerItem3.Name = "dockContainerItem3";
- this.dockContainerItem3.Text = "dockContainerItem3";
- //
- // dockContainerItem1
- //
- this.dockContainerItem1.Name = "dockContainerItem1";
- this.dockContainerItem1.Text = "dockContainerItem1";
- //
- // dockContainerItem2
- //
- this.dockContainerItem2.Name = "dockContainerItem2";
- this.dockContainerItem2.Text = "dockContainerItem2";
+ this.topDocDockSite.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
+ this.topDocDockSite.Dock = System.Windows.Forms.DockStyle.Top;
+ this.topDocDockSite.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer();
+ this.topDocDockSite.Location = new System.Drawing.Point(0, 0);
+ this.topDocDockSite.Name = "topDocDockSite";
+ this.topDocDockSite.Size = new System.Drawing.Size(673, 0);
+ this.topDocDockSite.TabIndex = 2;
+ this.topDocDockSite.TabStop = false;
//
// superTooltip1
//
@@ -221,18 +203,18 @@ namespace Volian.Controls.Library
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.dockSite9);
- this.Controls.Add(this.dockSite2);
- this.Controls.Add(this.dockSite1);
- this.Controls.Add(this.dockSite3);
- this.Controls.Add(this.dockSite4);
- this.Controls.Add(this.dockSite5);
- this.Controls.Add(this.dockSite6);
- this.Controls.Add(this.dockSite7);
- this.Controls.Add(this.dockSite8);
+ this.Controls.Add(this.fillDocDockSite);
+ this.Controls.Add(this.rightDocDockSite);
+ this.Controls.Add(this.leftDocDockSite);
+ this.Controls.Add(this.topDocDockSite);
+ this.Controls.Add(this.bottomDocDockSite);
+ this.Controls.Add(this.leftBarDockSite);
+ this.Controls.Add(this.rightBarDockSite);
+ this.Controls.Add(this.topBarDockSite);
+ this.Controls.Add(this.bottomBarDockSite);
this.Name = "DisplayTabControl";
this.Size = new System.Drawing.Size(673, 383);
- this.dockSite9.ResumeLayout(false);
+ this.fillDocDockSite.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this._MyBar)).EndInit();
this.ResumeLayout(false);
@@ -241,19 +223,19 @@ namespace Volian.Controls.Library
#endregion
private DevComponents.DotNetBar.DotNetBarManager dotNetBarManager1;
- private DevComponents.DotNetBar.DockSite dockSite4;
- private DevComponents.DotNetBar.DockSite dockSite9;
+ private DevComponents.DotNetBar.DockSite bottomDocDockSite;
+ private DevComponents.DotNetBar.DockSite fillDocDockSite;
private DevComponents.DotNetBar.Bar _MyBar;
- private DevComponents.DotNetBar.DockContainerItem dockContainerItem1;
- private DevComponents.DotNetBar.DockSite dockSite1;
- private DevComponents.DotNetBar.DockSite dockSite2;
- private DevComponents.DotNetBar.DockSite dockSite3;
- private DevComponents.DotNetBar.DockSite dockSite5;
- private DevComponents.DotNetBar.DockSite dockSite6;
- private DevComponents.DotNetBar.DockSite dockSite7;
- private DevComponents.DotNetBar.DockSite dockSite8;
- private DevComponents.DotNetBar.DockContainerItem dockContainerItem2;
- private DevComponents.DotNetBar.DockContainerItem dockContainerItem3;
+ //private DevComponents.DotNetBar.DockContainerItem dockContainerItem1;
+ private DevComponents.DotNetBar.DockSite leftDocDockSite;
+ private DevComponents.DotNetBar.DockSite rightDocDockSite;
+ private DevComponents.DotNetBar.DockSite topDocDockSite;
+ private DevComponents.DotNetBar.DockSite leftBarDockSite;
+ private DevComponents.DotNetBar.DockSite rightBarDockSite;
+ private DevComponents.DotNetBar.DockSite topBarDockSite;
+ private DevComponents.DotNetBar.DockSite bottomBarDockSite;
+ //private DevComponents.DotNetBar.DockContainerItem dockContainerItem2;
+ //private DevComponents.DotNetBar.DockContainerItem dockContainerItem3;
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
}
}
diff --git a/PROMS/Volian.Controls.Library/DisplayTabControl.cs b/PROMS/Volian.Controls.Library/DisplayTabControl.cs
index 33042067..a1751538 100644
--- a/PROMS/Volian.Controls.Library/DisplayTabControl.cs
+++ b/PROMS/Volian.Controls.Library/DisplayTabControl.cs
@@ -7,6 +7,7 @@ using System.Text;
using System.Windows.Forms;
using VEPROMS.CSLA.Library;
using Volian.Controls.Library;
+using DevComponents.DotNetBar;
namespace Volian.Controls.Library
{
@@ -14,6 +15,7 @@ namespace Volian.Controls.Library
{
private Dictionary _MyPages;
public event DisplayPanelEvent ItemClick;
+ private List _RemovedItems = null;
internal void OnItemClick(object sender, DisplayPanelEventArgs args)
{
if (ItemClick != null) ItemClick(sender, args);
@@ -30,10 +32,100 @@ namespace Volian.Controls.Library
}
private void SetUp()
{
+ _RemovedItems = new List();
Dock = DockStyle.Fill;
dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
_MyPages = new Dictionary();
+ //dotNetBarManager1.DockTabClosing += new DevComponents.DotNetBar.DockTabClosingEventHandler(dotNetBarManager1_DockTabClosing);
+ //_MyBar.DockTabControl.CloseButtonOnTabsAlwaysDisplayed = true;
+ SetupBar(_MyBar);
+ dotNetBarManager1.BarTearOff += new EventHandler(dotNetBarManager1_BarTearOff);
}
+ void dotNetBarManager1_BarTearOff(object sender, EventArgs e)
+ {
+ Bar myBar = sender as Bar;
+ //SetupBar(myBar);
+ myBar.Enter += new EventHandler(myBar_Enter);
+ }
+ //private void ShowPG(object myObject)
+ //{
+ //frmPropGridTest tmp = new frmPropGridTest(myObject);
+ //tmp.Show();
+ //}
+ private void SetupBar(Bar myBar)
+ {
+ if (myBar.DockTabControl != null)
+ {
+ myBar.DockTabControl.CloseButtonOnTabsVisible = true;
+ myBar.DockTabControl.CloseButtonVisible = false;
+ myBar.DockTabControl.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
+ myBar.DockTabControl.Width = ClientRectangle.Width;
+ //ShowPG(myBar);
+ //ShowPG(myBar.DockTabControl);
+ }
+ myBar.DockTabClosing += new DockTabClosingEventHandler(myBar_DockTabClosing);
+ if (!myBar.Visible)
+ myBar.Visible = true;
+ myBar.RecalcLayout();
+ }
+
+ void myBar_Enter(object sender, EventArgs e)
+ {
+ Bar myBar = sender as Bar;
+ myBar.Enter -= new EventHandler(myBar_Enter);
+ SetupBar(sender as Bar);
+ }
+
+ void myBar_DockTabClosing(object sender, DockTabClosingEventArgs e)
+ {
+ e.RemoveDockTab = true;
+ _RemovedItems.Add((DisplayTabItem)e.DockContainerItem);
+ //RemoveItem((DisplayTabItem)e.DockContainerItem);
+ if (((Bar)sender).Items.Count == 1)// Remove bar if last item is closed...
+ {
+ dotNetBarManager1.Bars.Remove((Bar)sender);
+ ActivateRemainingTab();
+ }
+ }
+ private void ActivateRemainingTab()
+ {
+ foreach (Bar myBar in dotNetBarManager1.Bars)
+ {
+ if (myBar.DockSide == eDockSide.Document && myBar.Visible)
+ {
+ myBar.SelectedDockContainerItem.Selected = true;
+ }
+ }
+ // No Document Tabs Remaining - need to raise OnItemSelectedChanged
+ OnItemSelectedChanged(this, null);
+ }
+ private Bar GetFirstDocumentBar()
+ {
+ foreach (Bar b in dotNetBarManager1.Bars)
+ {
+ if (b.DockSide == eDockSide.Document && b.Visible)
+ return b;
+ }
+
+ // If no documents bars found, create new one
+ //_UniqueBarCount++;
+ Bar bar = BarUtilities.CreateDocumentBar();
+ //bar.DockTabClosing += new DockTabClosingEventHandler(DocumentBar_DockTabClosing);
+ //bar.Name = "barDocuments" + m_UniqueBarCount.ToString();
+ fillDocDockSite.GetDocumentUIManager().Dock(bar);
+ SetupBar(bar);
+ return bar;
+ }
+
+
+ //void dotNetBarManager1_DockTabClosing(object sender, DevComponents.DotNetBar.DockTabClosingEventArgs e)
+ //{
+ // e.RemoveDockTab = true;
+ // _RemovedItems.Add((DisplayTabItem)e.DockContainerItem);
+ // //RemoveItem((DisplayTabItem)e.DockContainerItem);
+ // if (((Bar)sender).Items.Count == 1) // Remove bar if last item is closed...
+ // dotNetBarManager1.Bars.Remove((Bar)sender);
+ //}
public DevComponents.DotNetBar.Bar MyBar
{
get { return _MyBar; }
@@ -41,15 +133,56 @@ namespace Volian.Controls.Library
public DisplayTabItem SelectedTab
{
get { return (DisplayTabItem)_MyBar.SelectedDockContainerItem; }
- set { if(value != null)_MyBar.SelectedDockContainerItem = value; }
+ set
+ {
+ if (value != null)
+ value.Selected = true;
+ }
}
public DisplayTabItem OpenItem(ItemInfo myItem)
{
+ while (_RemovedItems.Count > 0)
+ {
+ DisplayTabItem tabItem = _RemovedItems[0];
+ _RemovedItems.RemoveAt(0);
+ RemoveItem(tabItem);
+ }
+ _MyBar = GetParentBar(myItem);
if (myItem.MyContent.MyEntry == null)
return OpenDisplayTabPage(myItem);
else
return OpenDSOTabPage(myItem);
}
+
+ private Bar GetParentBar(ItemInfo myItem)
+ {
+ Bar myBar = null;
+ foreach (Bar b in dotNetBarManager1.Bars)
+ {
+ if (b.DockSide == eDockSide.Document && b.Visible)
+ {
+ myBar = b;
+ foreach (object itm in myBar.Items)
+ {
+ DisplayTabItem myTabItem = itm as DisplayTabItem;
+ if (myTabItem != null && myTabItem.MyTabPanel != null)
+ if (myTabItem.MyTabPanel.MyItem.ItemID == myItem.MyProcedure.ItemID)
+ return myBar;
+ }
+ }
+ }
+ if (myBar == null)
+ {
+ // If no documents bars found, create new one
+ //_UniqueBarCount++;
+ myBar = BarUtilities.CreateDocumentBar();
+ //bar.DockTabClosing += new DockTabClosingEventHandler(DocumentBar_DockTabClosing);
+ //bar.Name = "barDocuments" + m_UniqueBarCount.ToString();
+ fillDocDockSite.GetDocumentUIManager().Dock(myBar);
+ SetupBar(myBar);
+ }
+ return myBar;
+ }
private DisplayTabItem OpenDisplayTabPage(ItemInfo myItem)
{
ItemInfo proc = myItem.MyProcedure; // Find procedure Item
@@ -58,18 +191,31 @@ namespace Volian.Controls.Library
if (_MyPages.ContainsKey(key)) // If Procedure Open use it
{
pg = _MyPages[key];
- SelectedTab = pg;
+ pg.Selected = true;
+ //SelectedTab = pg;
}
else
{
- pg = new DisplayTabItem(this.components, this, proc); // Open a new Procedure Tab
+ pg = new DisplayTabItem(this.components, this, proc, key); // Open a new Procedure Tab
+ //_MyBar.Items.Add(pg);
_MyPages.Add(key, pg);
- SelectedTab = pg;
+ pg.Selected = true;
+ //SelectedTab = pg;
pg.MyTabPanel.MyItem = proc;
}
+ Application.DoEvents();
pg.ItemSelected = myItem; // Select the item
return pg;
}
+ internal void RemoveItem(DisplayTabItem myItem)
+ {
+ _MyPages.Remove(myItem.MyKey);
+ // Can I dispose the Panel
+ myItem.MyTabPanel.Dispose();
+ //myItem.Name = null;
+ components.Remove(myItem);
+ myItem.Dispose();
+ }
private DisplayTabItem OpenDSOTabPage(ItemInfo myItem)
{
DisplayTabItem pg = null;
@@ -79,7 +225,7 @@ namespace Volian.Controls.Library
pg = _MyPages[key];
else
{
- pg = new DisplayTabItem(this.components, this, myItem); // Open a new Procedure Tab
+ pg = new DisplayTabItem(this.components, this, myItem,key); // Open a new Procedure Tab
_MyPages.Add(key, pg);
}
SelectedTab = pg;
diff --git a/PROMS/Volian.Controls.Library/DisplayTabItem.cs b/PROMS/Volian.Controls.Library/DisplayTabItem.cs
index 86d8cf91..ca77fa37 100644
--- a/PROMS/Volian.Controls.Library/DisplayTabItem.cs
+++ b/PROMS/Volian.Controls.Library/DisplayTabItem.cs
@@ -13,6 +13,11 @@ namespace Volian.Controls.Library
private DisplayTabControl _MyTabControl;
private ItemInfo _MyItem;
private DisplayTabPanel _MyTabPanel;
+ private string _MyKey;
+ public string MyKey
+ {
+ get { return _MyKey; }
+ }
public DisplayTabPanel MyTabPanel
{
get { return _MyTabPanel; }
@@ -24,16 +29,42 @@ namespace Volian.Controls.Library
get { return _MyTabPanel.ItemSelected; }
set { _MyTabPanel.ItemSelected = value; }
}
- public DisplayTabItem(IContainer container, DisplayTabControl myTabControl, ItemInfo myItem)
+ public DisplayTabItem(IContainer container, DisplayTabControl myTabControl, ItemInfo myItem, string myKey)
{
+ _MyKey = myKey;
_MyTabControl = myTabControl;
_MyItem = myItem;
container.Add(this);
InitializeComponent();
+ this.Click += new EventHandler(DisplayTabItem_Click);
if (myItem.MyContent.MyEntry == null)
SetupDisplayPanel();
else
SetupDSOPanel();
+ this.Disposed+=new EventHandler(DisplayTabItem_Disposed);
+ //_MyTabPanel.HandleDestroyed += new EventHandler(_MyTabPanel_HandleDestroyed);
+ //_MyTabPanel.Disposed += new EventHandler(_MyTabPanel_Disposed);
+ }
+ void DisplayTabItem_Click(object sender, EventArgs e)
+ {
+ // See if I can tell the TabControl that the ItemSelected has changed
+ DisplayTabItem myTabItem = sender as DisplayTabItem;
+ if(myTabItem == null)return;
+ DisplayTabPanel myTabPanel = myTabItem.MyTabPanel as DisplayTabPanel;
+ if(myTabPanel == null) return;
+ _MyTabControl.OnItemSelectedChanged(this,new DisplayPanelEventArgs(MyTabPanel.SelectedItem,null));
+ }
+ //void _MyTabPanel_Disposed(object sender, EventArgs e)
+ //{
+ // Console.WriteLine("_MyTabPanel_Disposed");
+ //}
+ //void _MyTabPanel_HandleDestroyed(object sender, EventArgs e)
+ //{
+ // Console.WriteLine("_MyTabPanel_HandleDestroyed");
+ //}
+ void DisplayTabItem_Disposed(object sender, EventArgs e)
+ {
+ Console.WriteLine("DisplayTabItem_Disposed");
}
private void SetupDisplayPanel()
{
@@ -49,8 +80,7 @@ namespace Volian.Controls.Library
Tooltip = _MyItem.TabToolTip;
//
_MyTabControl.Controls.Add(_MyTabPanel);
- _MyTabControl.MyBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this});
+ _MyTabControl.MyBar.Items.Add(this);
// TODO: Cleanup _MyTabControl.Tabs.Add(this);
//
// tabPanel
@@ -63,7 +93,7 @@ namespace Volian.Controls.Library
private void SetupDSOPanel()
{
EntryInfo myEntry = _MyItem.MyContent.MyEntry;
- _MyDSOTabPanel = new DSOTabPanel(myEntry.MyDocument);
+ _MyDSOTabPanel = new DSOTabPanel(myEntry.MyDocument, _MyTabControl);
//
// tabItem
//
diff --git a/PROMS/Volian.Controls.Library/DisplayTabPanel.cs b/PROMS/Volian.Controls.Library/DisplayTabPanel.cs
index 44af0262..7efd6721 100644
--- a/PROMS/Volian.Controls.Library/DisplayTabPanel.cs
+++ b/PROMS/Volian.Controls.Library/DisplayTabPanel.cs
@@ -12,7 +12,13 @@ namespace Volian.Controls.Library
public partial class DisplayTabPanel : DevComponents.DotNetBar.PanelDockContainer
{
private DisplayTabControl _MyTabControl;
+ private DisplayTabRibbon _MyTabRibbon;
private Volian.Controls.Library.DisplayPanel _MyPanel;
+ public Volian.Controls.Library.DisplayPanel MyPanel
+ {
+ get { return _MyPanel; }
+ set { _MyPanel = value; }
+ }
private DisplayTabItem _TabItem;
public DisplayTabItem TabItem
{
@@ -24,6 +30,10 @@ namespace Volian.Controls.Library
get { return _MyPanel.ItemSelected; }
set { _MyPanel.ItemSelected = value; }
}
+ public DisplayItem SelectedItem
+ {
+ get { return _MyPanel._ItemLookup[_MyPanel.ItemSelected.ItemID]; }
+ }
public ItemInfo MyItem
{
get { return _MyPanel.MyItem; }
@@ -35,10 +45,25 @@ namespace Volian.Controls.Library
InitializeComponent();
SetupDisplayTabPanel();
SetupDisplayPanel();
+ SetupDisplayTabRibbon();
+ }
+ private void SetupDisplayTabRibbon()
+ {
+ _MyTabRibbon = new DisplayTabRibbon();
+ _MyTabRibbon.Dock = System.Windows.Forms.DockStyle.Top;
+ _MyTabRibbon.Location = new System.Drawing.Point(0, 0);
+ _MyTabRibbon.Name = "displayTabRibbon1";
+ _MyTabRibbon.RichTextBox = null;
+ this.Controls.Add(_MyTabRibbon);
}
private void SetupDisplayTabPanel()
{
Dock = System.Windows.Forms.DockStyle.Fill;
+ this.Enter += new EventHandler(DisplayTabPanel_Enter);
+ }
+ void DisplayTabPanel_Enter(object sender, EventArgs e)
+ {
+ if (ItemSelected != null) _MyPanel.ItemShow();
}
private void SetupDisplayPanel()
{
diff --git a/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj b/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj
index 871f59f6..1c2663a2 100644
--- a/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj
+++ b/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj
@@ -92,6 +92,12 @@
DisplayTabPanel.cs
+
+ UserControl
+
+
+ DisplayTabRibbon.cs
+
Component
@@ -101,7 +107,13 @@
Component
+
+
+ True
+ True
+ Resources.resx
+
Component
@@ -129,6 +141,12 @@
vlnTreeView.cs
+
+ Component
+
+
+ vlnTreeView3.cs
+
@@ -140,6 +158,15 @@
DisplayTabControl.cs
Designer
+
+ DisplayTabRibbon.cs
+ Designer
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
vlnExpander.cs
Designer