diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs b/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs index 72b549f4..c1a845a3 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs @@ -30,12 +30,22 @@ namespace Volian.Controls.Library { this.components = new System.ComponentModel.Container(); this.tabSearchTypes = new DevComponents.DotNetBar.TabControl(); + this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); + this.gpSrchAnnoText = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.cbxBooleanAnoTxtSrch = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.cbxCaseSensitiveAnnoText = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.cbxTextSearchAnnotation = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.label2 = new System.Windows.Forms.Label(); + this.cbxAnnoTypes = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.tabAnnotationSearch = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.gpSrchText = new DevComponents.DotNetBar.Controls.GroupPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.cbxTextSearchText = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); + this.cbxBooleanTxtSrch = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cbxIncROTextSrch = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cbxCaseSensitive = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.rbtnSrchTxt = new DevComponents.DotNetBar.Controls.CheckBoxX(); @@ -46,14 +56,6 @@ namespace Volian.Controls.Library this.cbxFndUnLnkROVals = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cmboTreeROs = new DevComponents.DotNetBar.Controls.ComboTree(); this.tabROSearch = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); - this.gpSrchAnnoText = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.panel4 = new System.Windows.Forms.Panel(); - this.cbxCaseSensitiveAnnoText = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbxTextSearchAnnotation = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.label2 = new System.Windows.Forms.Label(); - this.cbxAnnoTypes = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.tabAnnotationSearch = new DevComponents.DotNetBar.TabItem(this.components); this.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); this.btnCMIFindText = new DevComponents.DotNetBar.ButtonItem(); this.btnCMEdit = new DevComponents.DotNetBar.ButtonItem(); @@ -64,6 +66,15 @@ namespace Volian.Controls.Library this.cmFndTxtInsHardSp = new DevComponents.DotNetBar.ButtonItem(); this.cmFndTxtInsSymbol = new DevComponents.DotNetBar.ButtonItem(); this.galSymbols = new DevComponents.DotNetBar.GalleryContainer(); + this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); + this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); + this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem(); + this.buttonItem4 = new DevComponents.DotNetBar.ButtonItem(); + this.btnBooleanItems = new DevComponents.DotNetBar.ButtonItem(); + this.btnAND = new DevComponents.DotNetBar.ButtonItem(); + this.btnOR = new DevComponents.DotNetBar.ButtonItem(); + this.btnNOT = new DevComponents.DotNetBar.ButtonItem(); + this.btnNear = new DevComponents.DotNetBar.ButtonItem(); this.advTreeProcSets = new DevComponents.AdvTree.AdvTree(); this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); this.node1 = new DevComponents.AdvTree.Node(); @@ -90,15 +101,15 @@ namespace Volian.Controls.Library this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).BeginInit(); this.tabSearchTypes.SuspendLayout(); + this.tabControlPanel3.SuspendLayout(); + this.gpSrchAnnoText.SuspendLayout(); + this.panel4.SuspendLayout(); this.tabControlPanel4.SuspendLayout(); this.gpSrchText.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.tabControlPanel2.SuspendLayout(); this.gpFindROs.SuspendLayout(); - this.tabControlPanel3.SuspendLayout(); - this.gpSrchAnnoText.SuspendLayout(); - this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.advTreeProcSets)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.advTreeStepTypes)).BeginInit(); @@ -114,8 +125,8 @@ namespace Volian.Controls.Library this.tabSearchTypes.CloseButtonOnTabsAlwaysDisplayed = false; this.tabSearchTypes.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; this.tabSearchTypes.Controls.Add(this.tabControlPanel4); - this.tabSearchTypes.Controls.Add(this.tabControlPanel2); this.tabSearchTypes.Controls.Add(this.tabControlPanel3); + this.tabSearchTypes.Controls.Add(this.tabControlPanel2); this.tabSearchTypes.Controls.Add(this.contextMenuBar1); this.tabSearchTypes.Dock = System.Windows.Forms.DockStyle.Top; this.tabSearchTypes.Location = new System.Drawing.Point(0, 0); @@ -125,7 +136,7 @@ namespace Volian.Controls.Library this.tabSearchTypes.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); this.tabSearchTypes.SelectedTabIndex = 0; this.tabSearchTypes.ShowFocusRectangle = false; - this.tabSearchTypes.Size = new System.Drawing.Size(385, 117); + this.tabSearchTypes.Size = new System.Drawing.Size(385, 138); this.tabSearchTypes.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; this.tabSearchTypes.TabIndex = 0; this.tabSearchTypes.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -135,279 +146,6 @@ namespace Volian.Controls.Library this.tabSearchTypes.Text = "tabControl1"; this.tabSearchTypes.ThemeAware = true; // - // tabControlPanel4 - // - this.tabControlPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.tabControlPanel4.Controls.Add(this.gpSrchText); - this.tabControlPanel4.Controls.Add(this.rbtnSrchTxt); - this.tabControlPanel4.Controls.Add(this.cbxSrchTypeUsage); - this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel4.Location = new System.Drawing.Point(0, 24); - this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tabControlPanel4.Name = "tabControlPanel4"; - this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel4.Size = new System.Drawing.Size(385, 93); - this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel4.Style.GradientAngle = 90; - this.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))); - this.tabControlPanel4.TabIndex = 4; - this.tabControlPanel4.TabItem = this.tabStepTypeSearch; - // - // gpSrchText - // - this.gpSrchText.CanvasColor = System.Drawing.SystemColors.Control; - this.gpSrchText.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.gpSrchText.Controls.Add(this.panel1); - this.gpSrchText.Controls.Add(this.panel3); - this.gpSrchText.Dock = System.Windows.Forms.DockStyle.Fill; - this.gpSrchText.Location = new System.Drawing.Point(30, 1); - this.gpSrchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.gpSrchText.Name = "gpSrchText"; - this.gpSrchText.Size = new System.Drawing.Size(354, 69); - // - // - // - this.gpSrchText.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.gpSrchText.Style.BackColorGradientAngle = 90; - this.gpSrchText.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.gpSrchText.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchText.Style.BorderBottomWidth = 1; - this.gpSrchText.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.gpSrchText.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchText.Style.BorderLeftWidth = 1; - this.gpSrchText.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchText.Style.BorderRightWidth = 1; - this.gpSrchText.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchText.Style.BorderTopWidth = 1; - this.gpSrchText.Style.CornerDiameter = 4; - this.gpSrchText.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.gpSrchText.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.gpSrchText.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.gpSrchText.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - this.gpSrchText.TabIndex = 5; - this.gpSrchText.EnabledChanged += new System.EventHandler(this.gpSrchText_EnabledChanged); - // - // panel1 - // - this.panel1.BackColor = System.Drawing.Color.Transparent; - this.panel1.Controls.Add(this.cbxTextSearchText); - this.panel1.Controls.Add(this.label1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel1.Location = new System.Drawing.Point(0, 10); - this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(348, 28); - this.panel1.TabIndex = 5; - // - // cbxTextSearchText - // - this.contextMenuBar1.SetContextMenuEx(this.cbxTextSearchText, this.btnCMIFindText); - this.cbxTextSearchText.DisplayMember = "Text"; - this.cbxTextSearchText.Dock = System.Windows.Forms.DockStyle.Fill; - this.cbxTextSearchText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cbxTextSearchText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxTextSearchText.FormattingEnabled = true; - this.cbxTextSearchText.ItemHeight = 18; - this.cbxTextSearchText.Location = new System.Drawing.Point(40, 0); - this.cbxTextSearchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbxTextSearchText.Name = "cbxTextSearchText"; - this.cbxTextSearchText.Size = new System.Drawing.Size(308, 24); - this.superTooltip1.SetSuperTooltip(this.cbxTextSearchText, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Enter the text you want to search, or select from the drop down list.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 80))); - this.cbxTextSearchText.TabIndex = 2; - this.cbxTextSearchText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxTextSearchText.WatermarkText = "Enter Search Text Here"; - this.cbxTextSearchText.Leave += new System.EventHandler(this.cbxTextSearchText_Leave); - this.cbxTextSearchText.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ProcessEnterKey); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.BackColor = System.Drawing.Color.Transparent; - this.label1.Dock = System.Windows.Forms.DockStyle.Left; - this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(0, 0); - this.label1.Name = "label1"; - this.label1.Padding = new System.Windows.Forms.Padding(0, 6, 0, 0); - this.label1.Size = new System.Drawing.Size(40, 24); - this.label1.TabIndex = 4; - this.label1.Text = "Find:"; - // - // panel3 - // - this.panel3.BackColor = System.Drawing.Color.Transparent; - this.panel3.Controls.Add(this.cbxIncROTextSrch); - this.panel3.Controls.Add(this.cbxCaseSensitive); - this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(0, 38); - this.panel3.Margin = new System.Windows.Forms.Padding(4); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(348, 25); - this.panel3.TabIndex = 6; - // - // cbxIncROTextSrch - // - this.cbxIncROTextSrch.Checked = true; - this.cbxIncROTextSrch.CheckState = System.Windows.Forms.CheckState.Checked; - this.cbxIncROTextSrch.CheckValue = "Y"; - this.cbxIncROTextSrch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxIncROTextSrch.Location = new System.Drawing.Point(144, 0); - this.cbxIncROTextSrch.Margin = new System.Windows.Forms.Padding(4); - this.cbxIncROTextSrch.Name = "cbxIncROTextSrch"; - this.cbxIncROTextSrch.Size = new System.Drawing.Size(130, 25); - this.cbxIncROTextSrch.TabIndex = 5; - this.cbxIncROTextSrch.Text = "Search RO Text"; - // - // cbxCaseSensitive - // - this.cbxCaseSensitive.BackColor = System.Drawing.Color.Transparent; - this.cbxCaseSensitive.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxCaseSensitive.Location = new System.Drawing.Point(11, 1); - this.cbxCaseSensitive.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbxCaseSensitive.Name = "cbxCaseSensitive"; - this.cbxCaseSensitive.Size = new System.Drawing.Size(126, 25); - this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, 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))); - this.cbxCaseSensitive.TabIndex = 3; - this.cbxCaseSensitive.Text = "Case Sensitive"; - // - // rbtnSrchTxt - // - this.rbtnSrchTxt.BackColor = System.Drawing.Color.Transparent; - this.rbtnSrchTxt.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; - this.rbtnSrchTxt.Checked = true; - this.rbtnSrchTxt.CheckState = System.Windows.Forms.CheckState.Checked; - this.rbtnSrchTxt.CheckValue = "Y"; - this.rbtnSrchTxt.Dock = System.Windows.Forms.DockStyle.Left; - this.rbtnSrchTxt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.rbtnSrchTxt.Location = new System.Drawing.Point(1, 1); - this.rbtnSrchTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.rbtnSrchTxt.Name = "rbtnSrchTxt"; - this.rbtnSrchTxt.Size = new System.Drawing.Size(29, 69); - this.rbtnSrchTxt.TabIndex = 6; - this.rbtnSrchTxt.CheckedChanged += new System.EventHandler(this.rbtnSrchTxt_CheckedChanged); - // - // cbxSrchTypeUsage - // - this.cbxSrchTypeUsage.BackColor = System.Drawing.Color.Transparent; - this.cbxSrchTypeUsage.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; - this.cbxSrchTypeUsage.Dock = System.Windows.Forms.DockStyle.Bottom; - this.cbxSrchTypeUsage.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxSrchTypeUsage.Location = new System.Drawing.Point(1, 70); - this.cbxSrchTypeUsage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbxSrchTypeUsage.Name = "cbxSrchTypeUsage"; - this.cbxSrchTypeUsage.Size = new System.Drawing.Size(383, 22); - this.cbxSrchTypeUsage.TabIndex = 4; - this.cbxSrchTypeUsage.Text = " Find Selected Types"; - this.cbxSrchTypeUsage.CheckedChanged += new System.EventHandler(this.cbxSrchTypeUsage_CheckedChanged); - // - // tabStepTypeSearch - // - 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))); - this.tabStepTypeSearch.Text = "Text"; - this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click); - // - // tabControlPanel2 - // - this.tabControlPanel2.Controls.Add(this.gpFindROs); - this.tabControlPanel2.Controls.Add(this.cmboTreeROs); - this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel2.Location = new System.Drawing.Point(0, 24); - this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tabControlPanel2.Name = "tabControlPanel2"; - this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(385, 93); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel2.Style.GradientAngle = 90; - this.tabControlPanel2.TabIndex = 2; - this.tabControlPanel2.TabItem = this.tabROSearch; - // - // gpFindROs - // - this.gpFindROs.CanvasColor = System.Drawing.SystemColors.Control; - this.gpFindROs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.gpFindROs.Controls.Add(this.cbxFndUnLnkROVals); - this.gpFindROs.Dock = System.Windows.Forms.DockStyle.Fill; - this.gpFindROs.Enabled = false; - this.gpFindROs.Location = new System.Drawing.Point(1, 24); - this.gpFindROs.Name = "gpFindROs"; - this.gpFindROs.Size = new System.Drawing.Size(383, 68); - // - // - // - this.gpFindROs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.gpFindROs.Style.BackColorGradientAngle = 90; - this.gpFindROs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.gpFindROs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpFindROs.Style.BorderBottomWidth = 1; - this.gpFindROs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.gpFindROs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpFindROs.Style.BorderLeftWidth = 1; - this.gpFindROs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpFindROs.Style.BorderRightWidth = 1; - this.gpFindROs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpFindROs.Style.BorderTopWidth = 1; - this.gpFindROs.Style.CornerDiameter = 4; - this.gpFindROs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.gpFindROs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.gpFindROs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.gpFindROs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - this.gpFindROs.TabIndex = 3; - this.gpFindROs.EnabledChanged += new System.EventHandler(this.gpFindROs_EnabledChanged); - // - // cbxFndUnLnkROVals - // - this.cbxFndUnLnkROVals.BackColor = System.Drawing.Color.Transparent; - this.cbxFndUnLnkROVals.Enabled = false; - this.cbxFndUnLnkROVals.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxFndUnLnkROVals.Location = new System.Drawing.Point(0, 4); - this.cbxFndUnLnkROVals.Name = "cbxFndUnLnkROVals"; - this.cbxFndUnLnkROVals.Size = new System.Drawing.Size(167, 23); - this.cbxFndUnLnkROVals.TabIndex = 2; - this.cbxFndUnLnkROVals.Text = "Find Unlinked Values"; - // - // cmboTreeROs - // - this.cmboTreeROs.BackColor = System.Drawing.SystemColors.Window; - // - // - // - this.cmboTreeROs.BackgroundStyle.Class = "TextBoxBorder"; - this.cmboTreeROs.ButtonDropDown.Visible = true; - this.cmboTreeROs.Dock = System.Windows.Forms.DockStyle.Top; - this.cmboTreeROs.Enabled = false; - this.cmboTreeROs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cmboTreeROs.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - this.cmboTreeROs.Location = new System.Drawing.Point(1, 1); - this.cmboTreeROs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cmboTreeROs.Name = "cmboTreeROs"; - this.cmboTreeROs.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cmboTreeROs.Size = new System.Drawing.Size(383, 23); - this.superTooltip1.SetSuperTooltip(this.cmboTreeROs, new DevComponents.DotNetBar.SuperTooltipInfo("Select the RO to Search", "", "Select the Referenced Object to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cmboTreeROs.TabIndex = 1; - this.cmboTreeROs.ThemeAware = true; - this.cmboTreeROs.WatermarkText = "Select an RO to seach"; - this.cmboTreeROs.SelectedIndexChanged += new System.EventHandler(this.cmboTreeROs_SelectedIndexChanged); - // - // tabROSearch - // - this.tabROSearch.AttachedControl = this.tabControlPanel2; - this.tabROSearch.Name = "tabROSearch"; - this.tabROSearch.Text = "Referenced Objects"; - // // tabControlPanel3 // this.tabControlPanel3.Controls.Add(this.gpSrchAnnoText); @@ -417,11 +155,11 @@ namespace Volian.Controls.Library this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel3.Size = new System.Drawing.Size(385, 93); - this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tabControlPanel3.Size = new System.Drawing.Size(385, 114); + this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel3.Style.GradientAngle = 90; @@ -439,7 +177,7 @@ namespace Volian.Controls.Library this.gpSrchAnnoText.Location = new System.Drawing.Point(1, 25); this.gpSrchAnnoText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpSrchAnnoText.Name = "gpSrchAnnoText"; - this.gpSrchAnnoText.Size = new System.Drawing.Size(383, 67); + this.gpSrchAnnoText.Size = new System.Drawing.Size(383, 88); // // // @@ -466,6 +204,7 @@ namespace Volian.Controls.Library // panel4 // this.panel4.BackColor = System.Drawing.Color.Transparent; + this.panel4.Controls.Add(this.cbxBooleanAnoTxtSrch); this.panel4.Controls.Add(this.cbxCaseSensitiveAnnoText); this.panel4.Controls.Add(this.cbxTextSearchAnnotation); this.panel4.Controls.Add(this.label2); @@ -473,9 +212,19 @@ namespace Volian.Controls.Library this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(377, 50); + this.panel4.Size = new System.Drawing.Size(377, 76); this.panel4.TabIndex = 9; // + // cbxBooleanAnoTxtSrch + // + this.cbxBooleanAnoTxtSrch.Location = new System.Drawing.Point(16, 50); + this.cbxBooleanAnoTxtSrch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.cbxBooleanAnoTxtSrch.Name = "cbxBooleanAnoTxtSrch"; + this.cbxBooleanAnoTxtSrch.Size = new System.Drawing.Size(148, 21); + this.cbxBooleanAnoTxtSrch.TabIndex = 8; + this.cbxBooleanAnoTxtSrch.Text = "Boolean Search"; + this.cbxBooleanAnoTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanAnoTxtSrch_CheckedChanged); + // // cbxCaseSensitiveAnnoText // this.cbxCaseSensitiveAnnoText.AutoSize = true; @@ -549,6 +298,293 @@ namespace Volian.Controls.Library this.tabAnnotationSearch.AttachedControl = this.tabControlPanel3; this.tabAnnotationSearch.Name = "tabAnnotationSearch"; this.tabAnnotationSearch.Text = "Annotations"; + this.tabAnnotationSearch.Click += new System.EventHandler(this.tabAnnotationSearch_Click); + // + // tabControlPanel4 + // + this.tabControlPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.tabControlPanel4.Controls.Add(this.gpSrchText); + this.tabControlPanel4.Controls.Add(this.rbtnSrchTxt); + this.tabControlPanel4.Controls.Add(this.cbxSrchTypeUsage); + this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel4.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tabControlPanel4.Name = "tabControlPanel4"; + this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel4.Size = new System.Drawing.Size(385, 114); + this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel4.Style.GradientAngle = 90; + this.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))); + this.tabControlPanel4.TabIndex = 4; + this.tabControlPanel4.TabItem = this.tabStepTypeSearch; + // + // gpSrchText + // + this.gpSrchText.CanvasColor = System.Drawing.SystemColors.Control; + this.gpSrchText.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.gpSrchText.Controls.Add(this.panel1); + this.gpSrchText.Controls.Add(this.panel3); + this.gpSrchText.Dock = System.Windows.Forms.DockStyle.Fill; + this.gpSrchText.Location = new System.Drawing.Point(30, 1); + this.gpSrchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.gpSrchText.Name = "gpSrchText"; + this.gpSrchText.Size = new System.Drawing.Size(354, 90); + // + // + // + this.gpSrchText.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.gpSrchText.Style.BackColorGradientAngle = 90; + this.gpSrchText.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.gpSrchText.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchText.Style.BorderBottomWidth = 1; + this.gpSrchText.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.gpSrchText.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchText.Style.BorderLeftWidth = 1; + this.gpSrchText.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchText.Style.BorderRightWidth = 1; + this.gpSrchText.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchText.Style.BorderTopWidth = 1; + this.gpSrchText.Style.CornerDiameter = 4; + this.gpSrchText.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.gpSrchText.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.gpSrchText.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.gpSrchText.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.gpSrchText.TabIndex = 5; + this.gpSrchText.EnabledChanged += new System.EventHandler(this.gpSrchText_EnabledChanged); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.Transparent; + this.panel1.Controls.Add(this.cbxTextSearchText); + this.panel1.Controls.Add(this.label1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(0, 3); + this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(348, 28); + this.panel1.TabIndex = 5; + // + // cbxTextSearchText + // + this.contextMenuBar1.SetContextMenuEx(this.cbxTextSearchText, this.btnCMIFindText); + this.cbxTextSearchText.DisplayMember = "Text"; + this.cbxTextSearchText.Dock = System.Windows.Forms.DockStyle.Fill; + this.cbxTextSearchText.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cbxTextSearchText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxTextSearchText.FormattingEnabled = true; + this.cbxTextSearchText.ItemHeight = 18; + this.cbxTextSearchText.Location = new System.Drawing.Point(40, 0); + this.cbxTextSearchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxTextSearchText.Name = "cbxTextSearchText"; + this.cbxTextSearchText.Size = new System.Drawing.Size(308, 24); + this.superTooltip1.SetSuperTooltip(this.cbxTextSearchText, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Enter the text you want to search, or select from the drop down list.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 80))); + this.cbxTextSearchText.TabIndex = 2; + this.cbxTextSearchText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxTextSearchText.WatermarkText = "Enter Search Text Here"; + this.cbxTextSearchText.Leave += new System.EventHandler(this.cbxTextSearchText_Leave); + this.cbxTextSearchText.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ProcessEnterKey); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Dock = System.Windows.Forms.DockStyle.Left; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(0, 0); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(0, 6, 0, 0); + this.label1.Size = new System.Drawing.Size(40, 24); + this.label1.TabIndex = 4; + this.label1.Text = "Find:"; + // + // panel3 + // + this.panel3.BackColor = System.Drawing.Color.Transparent; + this.panel3.Controls.Add(this.cbxBooleanTxtSrch); + this.panel3.Controls.Add(this.cbxIncROTextSrch); + this.panel3.Controls.Add(this.cbxCaseSensitive); + this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel3.Location = new System.Drawing.Point(0, 31); + this.panel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(348, 53); + this.panel3.TabIndex = 6; + // + // cbxBooleanTxtSrch + // + this.cbxBooleanTxtSrch.Location = new System.Drawing.Point(11, 28); + this.cbxBooleanTxtSrch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.cbxBooleanTxtSrch.Name = "cbxBooleanTxtSrch"; + this.cbxBooleanTxtSrch.Size = new System.Drawing.Size(148, 21); + this.cbxBooleanTxtSrch.TabIndex = 6; + this.cbxBooleanTxtSrch.Text = "Boolean Search"; + this.cbxBooleanTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanTxtSrch_CheckedChanged); + // + // cbxIncROTextSrch + // + this.cbxIncROTextSrch.Checked = true; + this.cbxIncROTextSrch.CheckState = System.Windows.Forms.CheckState.Checked; + this.cbxIncROTextSrch.CheckValue = "Y"; + this.cbxIncROTextSrch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxIncROTextSrch.Location = new System.Drawing.Point(151, 1); + this.cbxIncROTextSrch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.cbxIncROTextSrch.Name = "cbxIncROTextSrch"; + this.cbxIncROTextSrch.Size = new System.Drawing.Size(149, 25); + this.cbxIncROTextSrch.TabIndex = 5; + this.cbxIncROTextSrch.Text = "Search RO Text"; + // + // cbxCaseSensitive + // + this.cbxCaseSensitive.BackColor = System.Drawing.Color.Transparent; + this.cbxCaseSensitive.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxCaseSensitive.Location = new System.Drawing.Point(11, 1); + this.cbxCaseSensitive.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxCaseSensitive.Name = "cbxCaseSensitive"; + this.cbxCaseSensitive.Size = new System.Drawing.Size(139, 25); + this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, 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))); + this.cbxCaseSensitive.TabIndex = 3; + this.cbxCaseSensitive.Text = "Case Sensitive"; + // + // rbtnSrchTxt + // + this.rbtnSrchTxt.BackColor = System.Drawing.Color.Transparent; + this.rbtnSrchTxt.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; + this.rbtnSrchTxt.Checked = true; + this.rbtnSrchTxt.CheckState = System.Windows.Forms.CheckState.Checked; + this.rbtnSrchTxt.CheckValue = "Y"; + this.rbtnSrchTxt.Dock = System.Windows.Forms.DockStyle.Left; + this.rbtnSrchTxt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.rbtnSrchTxt.Location = new System.Drawing.Point(1, 1); + this.rbtnSrchTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.rbtnSrchTxt.Name = "rbtnSrchTxt"; + this.rbtnSrchTxt.Size = new System.Drawing.Size(29, 90); + this.rbtnSrchTxt.TabIndex = 6; + this.rbtnSrchTxt.CheckedChanged += new System.EventHandler(this.rbtnSrchTxt_CheckedChanged); + // + // cbxSrchTypeUsage + // + this.cbxSrchTypeUsage.BackColor = System.Drawing.Color.Transparent; + this.cbxSrchTypeUsage.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; + this.cbxSrchTypeUsage.Dock = System.Windows.Forms.DockStyle.Bottom; + this.cbxSrchTypeUsage.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxSrchTypeUsage.Location = new System.Drawing.Point(1, 91); + this.cbxSrchTypeUsage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxSrchTypeUsage.Name = "cbxSrchTypeUsage"; + this.cbxSrchTypeUsage.Size = new System.Drawing.Size(383, 22); + this.cbxSrchTypeUsage.TabIndex = 4; + this.cbxSrchTypeUsage.Text = " Find Selected Types"; + this.cbxSrchTypeUsage.CheckedChanged += new System.EventHandler(this.cbxSrchTypeUsage_CheckedChanged); + // + // tabStepTypeSearch + // + 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))); + this.tabStepTypeSearch.Text = "Text"; + this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click); + // + // tabControlPanel2 + // + this.tabControlPanel2.Controls.Add(this.gpFindROs); + this.tabControlPanel2.Controls.Add(this.cmboTreeROs); + this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel2.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tabControlPanel2.Name = "tabControlPanel2"; + this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel2.Size = new System.Drawing.Size(385, 114); + this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel2.Style.GradientAngle = 90; + this.tabControlPanel2.TabIndex = 2; + this.tabControlPanel2.TabItem = this.tabROSearch; + // + // gpFindROs + // + this.gpFindROs.CanvasColor = System.Drawing.SystemColors.Control; + this.gpFindROs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.gpFindROs.Controls.Add(this.cbxFndUnLnkROVals); + this.gpFindROs.Dock = System.Windows.Forms.DockStyle.Fill; + this.gpFindROs.Enabled = false; + this.gpFindROs.Location = new System.Drawing.Point(1, 24); + this.gpFindROs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.gpFindROs.Name = "gpFindROs"; + this.gpFindROs.Size = new System.Drawing.Size(383, 89); + // + // + // + this.gpFindROs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.gpFindROs.Style.BackColorGradientAngle = 90; + this.gpFindROs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.gpFindROs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpFindROs.Style.BorderBottomWidth = 1; + this.gpFindROs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.gpFindROs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpFindROs.Style.BorderLeftWidth = 1; + this.gpFindROs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpFindROs.Style.BorderRightWidth = 1; + this.gpFindROs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpFindROs.Style.BorderTopWidth = 1; + this.gpFindROs.Style.CornerDiameter = 4; + this.gpFindROs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.gpFindROs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.gpFindROs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.gpFindROs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.gpFindROs.TabIndex = 3; + this.gpFindROs.EnabledChanged += new System.EventHandler(this.gpFindROs_EnabledChanged); + // + // cbxFndUnLnkROVals + // + this.cbxFndUnLnkROVals.BackColor = System.Drawing.Color.Transparent; + this.cbxFndUnLnkROVals.Enabled = false; + this.cbxFndUnLnkROVals.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxFndUnLnkROVals.Location = new System.Drawing.Point(0, 4); + this.cbxFndUnLnkROVals.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxFndUnLnkROVals.Name = "cbxFndUnLnkROVals"; + this.cbxFndUnLnkROVals.Size = new System.Drawing.Size(188, 23); + this.cbxFndUnLnkROVals.TabIndex = 2; + this.cbxFndUnLnkROVals.Text = "Find Unlinked Values"; + // + // cmboTreeROs + // + this.cmboTreeROs.BackColor = System.Drawing.SystemColors.Window; + // + // + // + this.cmboTreeROs.BackgroundStyle.Class = "TextBoxBorder"; + this.cmboTreeROs.ButtonDropDown.Visible = true; + this.cmboTreeROs.Dock = System.Windows.Forms.DockStyle.Top; + this.cmboTreeROs.Enabled = false; + this.cmboTreeROs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cmboTreeROs.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + this.cmboTreeROs.Location = new System.Drawing.Point(1, 1); + this.cmboTreeROs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cmboTreeROs.Name = "cmboTreeROs"; + this.cmboTreeROs.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cmboTreeROs.Size = new System.Drawing.Size(383, 23); + this.superTooltip1.SetSuperTooltip(this.cmboTreeROs, new DevComponents.DotNetBar.SuperTooltipInfo("Select the RO to Search", "", "Select the Referenced Object to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cmboTreeROs.TabIndex = 1; + this.cmboTreeROs.ThemeAware = true; + this.cmboTreeROs.WatermarkText = "Select an RO to seach"; + this.cmboTreeROs.SelectedIndexChanged += new System.EventHandler(this.cmboTreeROs_SelectedIndexChanged); + // + // tabROSearch + // + this.tabROSearch.AttachedControl = this.tabControlPanel2; + this.tabROSearch.Name = "tabROSearch"; + this.tabROSearch.Text = "Referenced Objects"; // // contextMenuBar1 // @@ -556,6 +592,7 @@ namespace Volian.Controls.Library this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnCMIFindText}); this.contextMenuBar1.Location = new System.Drawing.Point(300, -4); + this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Size = new System.Drawing.Size(75, 29); this.contextMenuBar1.Stretch = true; @@ -619,7 +656,9 @@ namespace Volian.Controls.Library this.btnCMInsert.Name = "btnCMInsert"; this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.cmFndTxtInsHardSp, - this.cmFndTxtInsSymbol}); + this.cmFndTxtInsSymbol, + this.buttonItem1, + this.btnBooleanItems}); this.btnCMInsert.Text = "Insert"; // // cmFndTxtInsHardSp @@ -648,6 +687,77 @@ namespace Volian.Controls.Library this.galSymbols.Name = "galSymbols"; this.galSymbols.Text = "galleryContainer1"; // + // buttonItem1 + // + this.buttonItem1.ImagePaddingHorizontal = 8; + this.buttonItem1.Name = "buttonItem1"; + this.buttonItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.buttonItem2, + this.buttonItem3, + this.buttonItem4}); + this.buttonItem1.Text = "Wild Cards"; + // + // buttonItem2 + // + this.buttonItem2.ImagePaddingHorizontal = 8; + this.buttonItem2.Name = "buttonItem2"; + this.buttonItem2.Text = "* - Anything"; + this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click); + // + // buttonItem3 + // + this.buttonItem3.ImagePaddingHorizontal = 8; + this.buttonItem3.Name = "buttonItem3"; + this.buttonItem3.Text = "? - One Character"; + this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click); + // + // buttonItem4 + // + this.buttonItem4.ImagePaddingHorizontal = 8; + this.buttonItem4.Name = "buttonItem4"; + this.buttonItem4.Text = "?* - One or More"; + this.buttonItem4.Click += new System.EventHandler(this.buttonItem4_Click); + // + // btnBooleanItems + // + this.btnBooleanItems.ImagePaddingHorizontal = 8; + this.btnBooleanItems.Name = "btnBooleanItems"; + this.btnBooleanItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnAND, + this.btnOR, + this.btnNOT, + this.btnNear}); + this.btnBooleanItems.Text = "Boolean"; + this.btnBooleanItems.Visible = false; + // + // btnAND + // + this.btnAND.ImagePaddingHorizontal = 8; + this.btnAND.Name = "btnAND"; + this.btnAND.Text = "AND"; + this.btnAND.Click += new System.EventHandler(this.btnAND_Click); + // + // btnOR + // + this.btnOR.ImagePaddingHorizontal = 8; + this.btnOR.Name = "btnOR"; + this.btnOR.Text = "OR"; + this.btnOR.Click += new System.EventHandler(this.btnOR_Click); + // + // btnNOT + // + this.btnNOT.ImagePaddingHorizontal = 8; + this.btnNOT.Name = "btnNOT"; + this.btnNOT.Text = "NOT"; + this.btnNOT.Click += new System.EventHandler(this.btnNOT_Click); + // + // btnNear + // + this.btnNear.ImagePaddingHorizontal = 8; + this.btnNear.Name = "btnNear"; + this.btnNear.Text = "NEAR"; + this.btnNear.Click += new System.EventHandler(this.btnNear_Click); + // // advTreeProcSets // this.advTreeProcSets.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; @@ -747,10 +857,10 @@ namespace Volian.Controls.Library this.grpPanSearchResults.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.grpPanSearchResults.Controls.Add(this.lbSrchResults); this.grpPanSearchResults.Dock = System.Windows.Forms.DockStyle.Fill; - this.grpPanSearchResults.Location = new System.Drawing.Point(0, 564); + this.grpPanSearchResults.Location = new System.Drawing.Point(0, 585); this.grpPanSearchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.grpPanSearchResults.Name = "grpPanSearchResults"; - this.grpPanSearchResults.Size = new System.Drawing.Size(385, 268); + this.grpPanSearchResults.Size = new System.Drawing.Size(385, 247); // // // @@ -784,7 +894,7 @@ namespace Volian.Controls.Library this.lbSrchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lbSrchResults.Name = "lbSrchResults"; this.lbSrchResults.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.lbSrchResults.Size = new System.Drawing.Size(379, 244); + this.lbSrchResults.Size = new System.Drawing.Size(379, 212); this.lbSrchResults.TabIndex = 0; this.lbSrchResults.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbSrchResults_MouseMove); this.lbSrchResults.SelectedValueChanged += new System.EventHandler(this.lbSrchResults_SelectedValueChanged); @@ -813,7 +923,7 @@ namespace Volian.Controls.Library this.panSearchButtons.Controls.Add(this.btnSearch); this.panSearchButtons.Controls.Add(this.btnPrnSrchRslts); this.panSearchButtons.Dock = System.Windows.Forms.DockStyle.Top; - this.panSearchButtons.Location = new System.Drawing.Point(0, 491); + this.panSearchButtons.Location = new System.Drawing.Point(0, 512); this.panSearchButtons.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.panSearchButtons.Name = "panSearchButtons"; this.panSearchButtons.Size = new System.Drawing.Size(385, 73); @@ -911,7 +1021,7 @@ namespace Volian.Controls.Library this.xpSetToSearch.Controls.Add(this.advTreeProcSets); this.xpSetToSearch.Dock = System.Windows.Forms.DockStyle.Top; this.xpSetToSearch.ExpandOnTitleClick = true; - this.xpSetToSearch.Location = new System.Drawing.Point(0, 117); + this.xpSetToSearch.Location = new System.Drawing.Point(0, 138); this.xpSetToSearch.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.xpSetToSearch.Name = "xpSetToSearch"; this.xpSetToSearch.Size = new System.Drawing.Size(385, 194); @@ -942,7 +1052,7 @@ namespace Volian.Controls.Library this.xpStepTypes.Controls.Add(this.advTreeStepTypes); this.xpStepTypes.Dock = System.Windows.Forms.DockStyle.Top; this.xpStepTypes.ExpandOnTitleClick = true; - this.xpStepTypes.Location = new System.Drawing.Point(0, 311); + this.xpStepTypes.Location = new System.Drawing.Point(0, 332); this.xpStepTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.xpStepTypes.Name = "xpStepTypes"; this.xpStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; @@ -988,6 +1098,11 @@ namespace Volian.Controls.Library this.Size = new System.Drawing.Size(385, 832); ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).EndInit(); this.tabSearchTypes.ResumeLayout(false); + this.tabControlPanel3.ResumeLayout(false); + this.tabControlPanel3.PerformLayout(); + this.gpSrchAnnoText.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.panel4.PerformLayout(); this.tabControlPanel4.ResumeLayout(false); this.gpSrchText.ResumeLayout(false); this.panel1.ResumeLayout(false); @@ -995,11 +1110,6 @@ namespace Volian.Controls.Library this.panel3.ResumeLayout(false); this.tabControlPanel2.ResumeLayout(false); this.gpFindROs.ResumeLayout(false); - this.tabControlPanel3.ResumeLayout(false); - this.tabControlPanel3.PerformLayout(); - this.gpSrchAnnoText.ResumeLayout(false); - this.panel4.ResumeLayout(false); - this.panel4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.advTreeProcSets)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.advTreeStepTypes)).EndInit(); @@ -1071,7 +1181,18 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.ButtonItem btnCMInsert; private DevComponents.DotNetBar.ButtonItem cmFndTxtInsHardSp; private DevComponents.DotNetBar.ButtonItem cmFndTxtInsSymbol; - private DevComponents.DotNetBar.GalleryContainer galSymbols; + private DevComponents.DotNetBar.GalleryContainer galSymbols; + private DevComponents.DotNetBar.ButtonItem buttonItem1; + private DevComponents.DotNetBar.ButtonItem buttonItem2; + private DevComponents.DotNetBar.ButtonItem buttonItem3; + private DevComponents.DotNetBar.ButtonItem buttonItem4; + private DevComponents.DotNetBar.Controls.CheckBoxX cbxBooleanTxtSrch; + private DevComponents.DotNetBar.Controls.CheckBoxX cbxBooleanAnoTxtSrch; + private DevComponents.DotNetBar.ButtonItem btnBooleanItems; + private DevComponents.DotNetBar.ButtonItem btnAND; + private DevComponents.DotNetBar.ButtonItem btnOR; + private DevComponents.DotNetBar.ButtonItem btnNOT; + private DevComponents.DotNetBar.ButtonItem btnNear; } } diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.cs b/PROMS/Volian.Controls.Library/DisplaySearch.cs index 84ef3eac..9766468d 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.cs @@ -565,7 +565,8 @@ namespace Volian.Controls.Library } lbSrchResults.SelectedIndex = -1; - _LoadingList = false; + LastResultsMouseOverIndex = -1; + _LoadingList = false; } @@ -590,8 +591,11 @@ namespace Volian.Controls.Library if (ResultsMouseOverIndex != -1 && ResultsMouseOverIndex != LastResultsMouseOverIndex) { ItemInfo ii = lbSrchResults.Items[ResultsMouseOverIndex] as ItemInfo; - toolTip1.SetToolTip(lbSrchResults, ii.Path); // display location of corresponding procedure text in a tooltip - LastResultsMouseOverIndex = ResultsMouseOverIndex; + if (cmbResultsStyle.Text == "Step Path") + toolTip1.SetToolTip(lbSrchResults, ii.DisplayText); // display the text in a tooltip + else + toolTip1.SetToolTip(lbSrchResults, ii.Path); // display location of corresponding procedure text in a tooltip + LastResultsMouseOverIndex = ResultsMouseOverIndex; } } @@ -872,15 +876,18 @@ namespace Volian.Controls.Library private void gpSrchText_EnabledChanged(object sender, EventArgs e) { if (gpSrchText.Enabled) - gpSrchText.Style.BackColor = Color.Yellow; + gpSrchText.Style.BackColor = cbxBooleanTxtSrch.Checked?Color.Orange: Color.Yellow; else gpSrchText.Style.BackColor = saveGpSrchTextColor; } private void tabStepTypeSearch_Click(object sender, EventArgs e) { - if (rbtnSrchTxt.Checked) - cbxTextSearchText.Focus(); + if (rbtnSrchTxt.Checked) + { + cbxTextSearchText.Focus(); + cbxBooleanTxtSrch_CheckedChanged(sender, e); + } } private void ProcessEnterKey(object sender, KeyPressEventArgs e) @@ -1150,6 +1157,109 @@ namespace Volian.Controls.Library } #endregion + private void buttonItem2_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = "*"; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = "*"; + + } + + private void buttonItem3_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = "?"; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = "?"; + + } + + private void buttonItem4_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = "?*"; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = "?*"; + + } + + private void cbxBooleanTxtSrch_CheckedChanged(object sender, EventArgs e) + { + if (cbxBooleanTxtSrch.Checked) + { + gpSrchText.Style.BackColor = Color.Orange; + btnCMIFindText.SubItems[1].SubItems[2].Visible = false; + btnCMIFindText.SubItems[1].SubItems[3].Visible = true; + } + else + { + gpSrchText.Style.BackColor = Color.Yellow; + btnCMIFindText.SubItems[1].SubItems[2].Visible = true; + btnCMIFindText.SubItems[1].SubItems[3].Visible = false; + } + } + + private void cbxBooleanAnoTxtSrch_CheckedChanged(object sender, EventArgs e) + { + if (cbxBooleanAnoTxtSrch.Checked) + { + gpSrchAnnoText.Style.BackColor = Color.Orange; + btnCMIFindText.SubItems[1].SubItems[2].Visible = false; + btnCMIFindText.SubItems[1].SubItems[3].Visible = true; + } + else + { + gpSrchAnnoText.Style.BackColor = Color.Yellow; + btnCMIFindText.SubItems[1].SubItems[2].Visible = true; + btnCMIFindText.SubItems[1].SubItems[3].Visible = false; + } + } + + + private void btnAND_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = " AND "; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = " AND "; + + } + + private void btnOR_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = " OR "; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = " OR "; + + } + + private void btnNOT_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = " NOT "; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = " NOT "; + + } + + private void btnNear_Click(object sender, EventArgs e) + { + if (cbxTextSearchAnnotation.Focused) + cbxTextSearchAnnotation.SelectedText = " NEAR "; + else if (cbxTextSearchText.Focused) + cbxTextSearchText.SelectedText = " NEAR "; + + } + + private void tabAnnotationSearch_Click(object sender, EventArgs e) + { + cbxAnnoTypes.Focus(); + cbxBooleanAnoTxtSrch_CheckedChanged(sender, e); + } + +