Compare commits

...

4 Commits

3 changed files with 75 additions and 69 deletions

View File

@@ -418,7 +418,7 @@ namespace ROEditor
// NOTE: not doing the "Using System.Threading;" statement at beginning of file because it conflicts with the declaration of the "Timer" variable
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
// The data path the was passed in.
// The data path the was passed in.
DbConnectPath = PassedInPath;
// Setup the context menu
@@ -2844,7 +2844,8 @@ namespace ROEditor
}
else
{
newt=null;
mnutitle = Regex.Replace(mnutitle, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // RO Editor add symbols C2022
newt =null;
success = myrodb.RODB_WriteRO((VlnXmlElement)roTreeView.SelectedNode.Tag);
if (success==true && mnutitle != "") roTreeView.SelectedNode.Text = mnutitle; //B2021-077 make sure mnutitle has text or it will clear the node's title in the tree
}

View File

@@ -226,11 +226,11 @@ namespace Volian.Controls.Library
this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.GradientAngle = 90;
this.superTooltip1.SetSuperTooltip(this.tabControlPanel4, new DevComponents.DotNetBar.SuperTooltipInfo("Text Search", "", "Enter the text you want to search, or select from the drop down list.\r\n\r\nLeave bl" +
"ank to search for the usage of the selected types in \"Filter By Types\".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 140)));
"ank to search for the usage of the selected types in \"Filter By Types\".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 140)));
this.tabControlPanel4.TabIndex = 4;
this.tabControlPanel4.TabItem = this.tabStepTypeSearch;
//
@@ -352,7 +352,7 @@ namespace Volian.Controls.Library
this.cbxByWord.Name = "cbxByWord";
this.cbxByWord.Size = new System.Drawing.Size(56, 15);
this.superTooltip1.SetSuperTooltip(this.cbxByWord, new DevComponents.DotNetBar.SuperTooltipInfo("By Word", "", "When this box is checked, Search will find only matches of the search text as a w" +
"ord not as part of a word.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
"ord not as part of a word.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxByWord.TabIndex = 7;
this.cbxByWord.Text = "By Word";
//
@@ -382,7 +382,7 @@ namespace Volian.Controls.Library
this.cbxIncROTextSrch.Name = "cbxIncROTextSrch";
this.cbxIncROTextSrch.Size = new System.Drawing.Size(169, 12);
this.superTooltip1.SetSuperTooltip(this.cbxIncROTextSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO and Transition Text", "", "When this box is checked, Search will include matches found in RO and Transition " +
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbxIncROTextSrch.TabIndex = 5;
this.cbxIncROTextSrch.Text = "Search RO and Transition Text";
//
@@ -397,7 +397,7 @@ namespace Volian.Controls.Library
this.cbxProcSectSrch.Name = "cbxProcSectSrch";
this.cbxProcSectSrch.Size = new System.Drawing.Size(180, 18);
this.superTooltip1.SetSuperTooltip(this.cbxProcSectSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO and Transition Text", "", "When this box is checked, Search will include matches found in RO and Transition " +
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbxProcSectSrch.TabIndex = 5;
this.cbxProcSectSrch.Text = "Ignore Procedure and Section Titles";
//
@@ -414,7 +414,7 @@ namespace Volian.Controls.Library
this.cbxCaseSensitive.Name = "cbxCaseSensitive";
this.cbxCaseSensitive.Size = new System.Drawing.Size(104, 15);
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact matches of the search text " +
"you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
"you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxCaseSensitive.TabIndex = 3;
this.cbxCaseSensitive.Text = "Case Sensitive";
//
@@ -431,7 +431,7 @@ namespace Volian.Controls.Library
this.cbxRnoOnly.Name = "cbxRnoOnly";
this.cbxRnoOnly.Size = new System.Drawing.Size(71, 15);
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnly, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxRnoOnly.TabIndex = 7;
this.cbxRnoOnly.Text = "RNO Only";
//
@@ -479,7 +479,7 @@ namespace Volian.Controls.Library
this.tabStepTypeSearch.AttachedControl = this.tabControlPanel4;
this.tabStepTypeSearch.Name = "tabStepTypeSearch";
this.superTooltip1.SetSuperTooltip(this.tabStepTypeSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Allows you to search for entered text in selected procedure sets and within selec" +
"ted procedure text types.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
"ted procedure text types.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
this.tabStepTypeSearch.Text = "Text";
this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click);
//
@@ -500,8 +500,8 @@ namespace Volian.Controls.Library
this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel5.Style.GradientAngle = 90;
this.tabControlPanel5.TabIndex = 5;
this.tabControlPanel5.TabItem = this.tabTranSearch;
@@ -519,7 +519,7 @@ namespace Volian.Controls.Library
this.cbxRnoOnlyTrans.Name = "cbxRnoOnlyTrans";
this.cbxRnoOnlyTrans.Size = new System.Drawing.Size(71, 15);
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyTrans, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxRnoOnlyTrans.TabIndex = 8;
this.cbxRnoOnlyTrans.Text = "RNO Only";
//
@@ -630,7 +630,7 @@ namespace Volian.Controls.Library
this.tabTranSearch.AttachedControl = this.tabControlPanel5;
this.tabTranSearch.Name = "tabTranSearch";
this.superTooltip1.SetSuperTooltip(this.tabTranSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Transition From", "", "Allows you to search for transitions of the selected type that point from selecte" +
"d procedure set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
"d procedure set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
this.tabTranSearch.Text = "Transitions";
//
// tabControlPanel2
@@ -648,8 +648,8 @@ namespace Volian.Controls.Library
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tabROSearch;
@@ -711,7 +711,7 @@ namespace Volian.Controls.Library
this.cbxRnoOnlyRO.Name = "cbxRnoOnlyRO";
this.cbxRnoOnlyRO.Size = new System.Drawing.Size(71, 15);
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyRO, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxRnoOnlyRO.TabIndex = 8;
this.cbxRnoOnlyRO.Text = "RNO Only";
//
@@ -730,7 +730,7 @@ namespace Volian.Controls.Library
this.lblSrchRoMsg.Size = new System.Drawing.Size(262, 40);
this.lblSrchRoMsg.TabIndex = 3;
this.lblSrchRoMsg.Text = "This folder(s) ROs are incompatible with the currently selected folder(s). This " +
"may be due to the RO values needing to be updated.";
"may be due to the RO values needing to be updated.";
this.lblSrchRoMsg.Visible = false;
this.lblSrchRoMsg.WordWrap = true;
//
@@ -796,8 +796,8 @@ namespace Volian.Controls.Library
this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel3.Style.GradientAngle = 90;
this.tabControlPanel3.TabIndex = 5;
this.tabControlPanel3.TabItem = this.tabAnnotationSearch;
@@ -874,7 +874,7 @@ namespace Volian.Controls.Library
this.cbxRnoOnlyAnnot.Name = "cbxRnoOnlyAnnot";
this.cbxRnoOnlyAnnot.Size = new System.Drawing.Size(71, 15);
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyAnnot, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxRnoOnlyAnnot.TabIndex = 9;
this.cbxRnoOnlyAnnot.Text = "RNO Only";
//
@@ -907,7 +907,7 @@ namespace Volian.Controls.Library
this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(92, 15);
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitiveAnnoText, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" +
" you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
" you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxCaseSensitiveAnnoText.TabIndex = 5;
this.cbxCaseSensitiveAnnoText.Text = "Case Sensitive";
//
@@ -926,7 +926,7 @@ namespace Volian.Controls.Library
this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(239, 22);
this.superTooltip1.SetSuperTooltip(this.cbxTextSearchAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Search For Annotaion Text", "", "Enter Annotation text to search for or select from the dropdown list.\r\n\r\nLeave Bl" +
"ank to search for occurences of the selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 140)));
"ank to search for occurences of the selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 140)));
this.cbxTextSearchAnnotation.TabIndex = 6;
this.cbxTextSearchAnnotation.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTextSearchAnnotation.WatermarkText = "Enter Search Text Here";
@@ -970,7 +970,7 @@ namespace Volian.Controls.Library
this.tabAnnotationSearch.AttachedControl = this.tabControlPanel3;
this.tabAnnotationSearch.Name = "tabAnnotationSearch";
this.superTooltip1.SetSuperTooltip(this.tabAnnotationSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Annotations", "", "Allows you to search for types and text for annotations in the selected procedure" +
" set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
" set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
this.tabAnnotationSearch.Text = "Annotations";
this.tabAnnotationSearch.Click += new System.EventHandler(this.tabAnnotationSearch_Click);
//
@@ -990,12 +990,12 @@ namespace Volian.Controls.Library
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 17;
this.tabControlPanel1.TabItem = this.tabIncTrans;
this.tabControlPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.tabControlPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.tabControlPanel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
//
// btnTranCvtSelToTxt
@@ -1005,7 +1005,7 @@ namespace Volian.Controls.Library
this.btnTranCvtSelToTxt.Name = "btnTranCvtSelToTxt";
this.btnTranCvtSelToTxt.Size = new System.Drawing.Size(145, 22);
this.superTooltip1.SetSuperTooltip(this.btnTranCvtSelToTxt, new DevComponents.DotNetBar.SuperTooltipInfo("Convert Selected Incoming Transitions To Text", "", "Converts selected transitions in the results list to text unless the user does no" +
"t have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
"t have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
this.btnTranCvtSelToTxt.TabIndex = 3;
this.btnTranCvtSelToTxt.Text = "Convert Selected To Text";
this.btnTranCvtSelToTxt.UseVisualStyleBackColor = true;
@@ -1027,7 +1027,7 @@ namespace Volian.Controls.Library
this.btnTranCvtAllToTxt.Name = "btnTranCvtAllToTxt";
this.btnTranCvtAllToTxt.Size = new System.Drawing.Size(109, 22);
this.superTooltip1.SetSuperTooltip(this.btnTranCvtAllToTxt, new DevComponents.DotNetBar.SuperTooltipInfo("Convert All Incoming Transitions To Text", "", "Converts all of the transitions in the results list to text unless the user does " +
"not have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
"not have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
this.btnTranCvtAllToTxt.TabIndex = 1;
this.btnTranCvtAllToTxt.Text = "Convert All To Text";
this.btnTranCvtAllToTxt.UseVisualStyleBackColor = true;
@@ -1040,7 +1040,7 @@ namespace Volian.Controls.Library
this.lblSrchIncTran.Name = "lblSrchIncTran";
this.lblSrchIncTran.Size = new System.Drawing.Size(239, 40);
this.superTooltip1.SetSuperTooltip(this.lblSrchIncTran, new DevComponents.DotNetBar.SuperTooltipInfo("Incoming Transitions", "", "This is the step, section, or procedure for which incoming transitions to it are " +
"shown in the list.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 80)));
"shown in the list.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 80)));
this.lblSrchIncTran.TabIndex = 1;
//
// groupBox1
@@ -1083,7 +1083,7 @@ namespace Volian.Controls.Library
this.tabIncTrans.AttachedControl = this.tabControlPanel1;
this.tabIncTrans.Name = "tabIncTrans";
this.superTooltip1.SetSuperTooltip(this.tabIncTrans, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Incoming Transitions", "", "Finds the Incoming Transitions that point to the current item and convert the tra" +
"nsition(s) to text if desired and if have permissions.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 120)));
"nsition(s) to text if desired and if have permissions.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 120)));
this.tabIncTrans.Text = "Incoming\nTransitions";
//
// contextMenuBar1
@@ -1092,7 +1092,7 @@ namespace Volian.Controls.Library
this.contextMenuBar1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.contextMenuBar1.IsMaximized = false;
this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.btnCMIFindText});
this.btnCMIFindText});
this.contextMenuBar1.Location = new System.Drawing.Point(225, -3);
this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(2);
this.contextMenuBar1.Name = "contextMenuBar1";
@@ -1108,8 +1108,8 @@ namespace Volian.Controls.Library
this.btnCMIFindText.AutoExpandOnClick = true;
this.btnCMIFindText.Name = "btnCMIFindText";
this.btnCMIFindText.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.btnCMEdit,
this.btnCMInsert});
this.btnCMEdit,
this.btnCMInsert});
this.btnCMIFindText.Text = "cmFindText";
this.btnCMIFindText.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.btnCMIFindText_PopupOpen);
//
@@ -1117,9 +1117,9 @@ namespace Volian.Controls.Library
//
this.btnCMEdit.Name = "btnCMEdit";
this.btnCMEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.cmFndTxtCut,
this.cmFndTxtCopy,
this.cmFndTxtPaste});
this.cmFndTxtCut,
this.cmFndTxtCopy,
this.cmFndTxtPaste});
this.btnCMEdit.Text = "Edit";
//
// cmFndTxtCut
@@ -1151,10 +1151,10 @@ namespace Volian.Controls.Library
//
this.btnCMInsert.Name = "btnCMInsert";
this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.cmFndTxtInsHardSp,
this.cmFndTxtInsSymbol,
this.buttonItem1,
this.btnBooleanItems});
this.cmFndTxtInsHardSp,
this.cmFndTxtInsSymbol,
this.buttonItem1,
this.btnBooleanItems});
this.btnCMInsert.Text = "Insert";
//
// cmFndTxtInsHardSp
@@ -1171,7 +1171,7 @@ namespace Volian.Controls.Library
this.cmFndTxtInsSymbol.Image = global::Volian.Controls.Library.Properties.Resources.Symbol_Image;
this.cmFndTxtInsSymbol.Name = "cmFndTxtInsSymbol";
this.cmFndTxtInsSymbol.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.galSymbols});
this.galSymbols});
this.cmFndTxtInsSymbol.Text = "Symbol";
//
// galSymbols
@@ -1197,9 +1197,9 @@ namespace Volian.Controls.Library
//
this.buttonItem1.Name = "buttonItem1";
this.buttonItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem2,
this.buttonItem3,
this.buttonItem4});
this.buttonItem2,
this.buttonItem3,
this.buttonItem4});
this.buttonItem1.Text = "Wild Cards";
//
// buttonItem2
@@ -1224,9 +1224,9 @@ namespace Volian.Controls.Library
//
this.btnBooleanItems.Name = "btnBooleanItems";
this.btnBooleanItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.btnAND,
this.btnOR,
this.btnNOT});
this.btnAND,
this.btnOR,
this.btnNOT});
this.btnBooleanItems.Text = "Boolean";
this.btnBooleanItems.Visible = false;
//
@@ -1267,7 +1267,7 @@ namespace Volian.Controls.Library
this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
this.advTreeProcSets.Name = "advTreeProcSets";
this.advTreeProcSets.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
this.node1});
this.node1});
this.advTreeProcSets.NodesConnector = this.nodeConnector1;
this.advTreeProcSets.NodeStyle = this.elementStyle1;
this.advTreeProcSets.NodeStyleSelected = this.elementStyle1;
@@ -1315,7 +1315,7 @@ namespace Volian.Controls.Library
this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
this.advTreeStepTypes.Name = "advTreeStepTypes";
this.advTreeStepTypes.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
this.node2});
this.node2});
this.advTreeStepTypes.NodesConnector = this.nodeConnector2;
this.advTreeStepTypes.NodeStyle = this.elementStyle2;
this.advTreeStepTypes.NodeStyleSelected = this.elementStyle2;
@@ -1480,7 +1480,7 @@ namespace Volian.Controls.Library
this.btnCopySearchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnCopySearchResults.Size = new System.Drawing.Size(43, 23);
this.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Copy Search Results", "", "This button copies the Search Results listed below into the copy/paste buffer. Th" +
"e copied data can then be pasted into another tool, such as a spreadsheet.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
"e copied data can then be pasted into another tool, such as a spreadsheet.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnCopySearchResults.TabIndex = 10;
this.btnCopySearchResults.Text = "Copy";
this.btnCopySearchResults.ThemeAware = true;
@@ -1533,7 +1533,7 @@ namespace Volian.Controls.Library
this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.labelX1.Size = new System.Drawing.Size(66, 14);
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.labelX1.TabIndex = 9;
this.labelX1.Text = "Results Style:";
//
@@ -1546,17 +1546,17 @@ namespace Volian.Controls.Library
this.cmbResultsStyle.FormattingEnabled = true;
this.cmbResultsStyle.ItemHeight = 14;
this.cmbResultsStyle.Items.AddRange(new object[] {
this.comboItem1,
this.comboItem2,
this.comboItem3,
this.comboItem4});
this.comboItem1,
this.comboItem2,
this.comboItem3,
this.comboItem4});
this.cmbResultsStyle.Location = new System.Drawing.Point(70, 5);
this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(2);
this.cmbResultsStyle.Name = "cmbResultsStyle";
this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cmbResultsStyle.Size = new System.Drawing.Size(110, 20);
this.superTooltip1.SetSuperTooltip(this.cmbResultsStyle, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cmbResultsStyle.TabIndex = 8;
this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged);
//
@@ -1623,7 +1623,7 @@ namespace Volian.Controls.Library
this.btnPrnSrchRslts.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnPrnSrchRslts.Size = new System.Drawing.Size(43, 23);
this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button generates a PDF of a standard formatted report regardless of what Res" +
"ults Style is selected.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
"ults Style is selected.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnPrnSrchRslts.TabIndex = 5;
this.btnPrnSrchRslts.Text = "Print";
this.btnPrnSrchRslts.ThemeAware = true;
@@ -1660,8 +1660,8 @@ namespace Volian.Controls.Library
this.xpSetToSearch.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.xpSetToSearch.Style.GradientAngle = 90;
this.superTooltip1.SetSuperTooltip(this.xpSetToSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Select Procedure Sets to Search", "", "This allows you to select specific procedure sets in which to search.\r\n\r\nIf no p" +
"rocedure sets are selected in this list, then PROMS will search All of the proce" +
"dure sets.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(196, 104)));
"rocedure sets are selected in this list, then PROMS will search All of the proce" +
"dure sets.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(196, 104)));
this.xpSetToSearch.TabIndex = 7;
this.xpSetToSearch.TitleHeight = 21;
this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
@@ -1695,8 +1695,8 @@ namespace Volian.Controls.Library
this.xpStepTypes.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.xpStepTypes.Style.GradientAngle = 90;
this.superTooltip1.SetSuperTooltip(this.xpStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Filter Search by Selected Step Elements", "", "This allows you to search in only the selected step elements.\r\n\r\nIf the Find Sele" +
"cted Step Elements option is selected, search will show you where the selected " +
"Step Elements are use.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(240, 115)));
"cted Step Elements option is selected, search will show you where the selected " +
"Step Elements are use.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(240, 115)));
this.xpStepTypes.TabIndex = 8;
this.xpStepTypes.ThemeAware = true;
this.xpStepTypes.TitleHeight = 21;
@@ -1889,4 +1889,4 @@ namespace Volian.Controls.Library
private DevComponents.DotNetBar.TabItem tabIncTrans; // B2021-061: incorrect variable name was used - rename from tabNISearch to tabIncTrans
//end transition search controls
}
}
}

View File

@@ -2,13 +2,14 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Drawing.Imaging;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Printing;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using VG;
//using XYPlots;
@@ -21,6 +22,10 @@ namespace XYPlots
public frmXYPlot(string title,string xyPlot)
{
InitializeComponent();
title = Regex.Replace(title, @"\\u([0-9]{1,4})\?", m => int.TryParse(m?.Groups[1]?.Value, out int result) ? Convert.ToChar(result).ToString() : ""); // C2022-003 RO Symbols. Convert unicode to character.
xyPlot = Regex.Replace(xyPlot, @"\\u([0-9]{1,4})\?", m => int.TryParse(m?.Groups[1]?.Value, out int result) ? Convert.ToChar(result).ToString() : ""); // C2022-003 RO Symbols. Convert unicode to character.
int pstart = xyPlot.IndexOf("<<G"); // find the starting Plot Command
xyPlot = xyPlot.Substring(pstart); // set val to the start of the plot commands
_XYPlot =xyPlot;