From cfedc831bae4a8ef044473b203d4406c2fb84cb8 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 6 Sep 2010 19:36:12 +0000 Subject: [PATCH] - Added Print Function (Event) - Added code to Resize Tree as Tree Nodes are expanded and collapsed - Sorts ROs by value - Added button to Clear Search Results - Added button to Copy Search Results to Clipboard - Split BuildSearchString into separate Parameters - Added Print Function - Added button to Clear Search Results - Added button to Copy Search Results to Clipboard --- .../DisplaySearch.Designer.cs | 2309 +++++++++-------- .../Volian.Controls.Library/DisplaySearch.cs | 406 ++- 2 files changed, 1436 insertions(+), 1279 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs b/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs index 08bdc380..f7ae5d44 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.Designer.cs @@ -47,1175 +47,1186 @@ namespace Volian.Controls.Library /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.tabSearchTypes = new DevComponents.DotNetBar.TabControl(); - 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(); - this.cbxSrchTypeUsage = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.tabStepTypeSearch = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); - this.gpFindROs = new DevComponents.DotNetBar.Controls.GroupPanel(); - 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.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.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); - this.btnCMIFindText = new DevComponents.DotNetBar.ButtonItem(); - this.btnCMEdit = new DevComponents.DotNetBar.ButtonItem(); - this.cmFndTxtCut = new DevComponents.DotNetBar.ButtonItem(); - this.cmFndTxtCopy = new DevComponents.DotNetBar.ButtonItem(); - this.cmFndTxtPaste = new DevComponents.DotNetBar.ButtonItem(); - this.btnCMInsert = new DevComponents.DotNetBar.ButtonItem(); - 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.advTreeProcSets = new DevComponents.AdvTree.AdvTree(); - this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); - this.node1 = new DevComponents.AdvTree.Node(); - this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); - this.advTreeStepTypes = new DevComponents.AdvTree.AdvTree(); - this.elementStyle2 = new DevComponents.DotNetBar.ElementStyle(); - this.node2 = new DevComponents.AdvTree.Node(); - this.nodeConnector2 = new DevComponents.AdvTree.NodeConnector(); - this.grpPanSearchResults = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.lbSrchResults = new System.Windows.Forms.ListBox(); - this.btnPrnSrchRslts = new DevComponents.DotNetBar.ButtonX(); - this.panSearchButtons = new DevComponents.DotNetBar.PanelEx(); - this.labelX1 = new DevComponents.DotNetBar.LabelX(); - this.cmbResultsStyle = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.comboItem1 = new DevComponents.Editors.ComboItem(); - this.comboItem2 = new DevComponents.Editors.ComboItem(); - this.comboItem3 = new DevComponents.Editors.ComboItem(); - this.comboItem4 = new DevComponents.Editors.ComboItem(); - this.cbSorted = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.btnSearch = new DevComponents.DotNetBar.ButtonX(); - this.xpSetToSearch = new DevComponents.DotNetBar.ExpandablePanel(); - this.xpStepTypes = new DevComponents.DotNetBar.ExpandablePanel(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); - ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).BeginInit(); - this.tabSearchTypes.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(); - this.grpPanSearchResults.SuspendLayout(); - this.panSearchButtons.SuspendLayout(); - this.xpSetToSearch.SuspendLayout(); - this.xpStepTypes.SuspendLayout(); - this.SuspendLayout(); - // - // tabSearchTypes - // - this.tabSearchTypes.CanReorderTabs = false; - 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.contextMenuBar1); - this.tabSearchTypes.Dock = System.Windows.Forms.DockStyle.Top; - this.tabSearchTypes.Location = new System.Drawing.Point(0, 0); - this.tabSearchTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tabSearchTypes.Name = "tabSearchTypes"; - this.tabSearchTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; - 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, 138); - this.tabSearchTypes.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; - this.tabSearchTypes.TabIndex = 0; - this.tabSearchTypes.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; - this.tabSearchTypes.Tabs.Add(this.tabStepTypeSearch); - this.tabSearchTypes.Tabs.Add(this.tabAnnotationSearch); - this.tabSearchTypes.Tabs.Add(this.tabROSearch); - 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, 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.Class = ""; - 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.StyleMouseDown.Class = ""; - this.gpSrchText.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.gpSrchText.StyleMouseOver.Class = ""; - this.gpSrchText.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - 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); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(348, 53); - this.panel3.TabIndex = 6; - // - // cbxBooleanTxtSrch - // - // - // - // - this.cbxBooleanTxtSrch.BackgroundStyle.Class = ""; - this.cbxBooleanTxtSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbxBooleanTxtSrch.Location = new System.Drawing.Point(11, 28); - this.cbxBooleanTxtSrch.Margin = new System.Windows.Forms.Padding(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.BackgroundStyle.Class = ""; - this.cbxIncROTextSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - 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); - 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.BackgroundStyle.Class = ""; - this.cbxCaseSensitive.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - 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.BackgroundStyle.Class = ""; - this.rbtnSrchTxt.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - 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.BackgroundStyle.Class = ""; - this.cbxSrchTypeUsage.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - 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.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.Class = ""; - 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.StyleMouseDown.Class = ""; - this.gpFindROs.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.gpFindROs.StyleMouseOver.Class = ""; - this.gpFindROs.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.gpFindROs.TabIndex = 3; - this.gpFindROs.EnabledChanged += new System.EventHandler(this.gpFindROs_EnabledChanged); - // - // cbxFndUnLnkROVals - // - this.cbxFndUnLnkROVals.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbxFndUnLnkROVals.BackgroundStyle.Class = ""; - this.cbxFndUnLnkROVals.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - 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.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cmboTreeROs.ButtonDropDown.Visible = true; - this.cmboTreeROs.Dock = System.Windows.Forms.DockStyle.Top; - 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); - this.tabControlPanel3.Controls.Add(this.cbxAnnoTypes); - this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel3.Location = new System.Drawing.Point(0, 24); - 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, 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)(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; - this.tabControlPanel3.TabIndex = 5; - this.tabControlPanel3.TabItem = this.tabAnnotationSearch; - // - // gpSrchAnnoText - // - this.gpSrchAnnoText.AutoSize = true; - this.gpSrchAnnoText.CanvasColor = System.Drawing.SystemColors.Control; - this.gpSrchAnnoText.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.gpSrchAnnoText.Controls.Add(this.panel4); - this.gpSrchAnnoText.Dock = System.Windows.Forms.DockStyle.Fill; - this.gpSrchAnnoText.Enabled = false; - 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, 88); - // - // - // - this.gpSrchAnnoText.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.gpSrchAnnoText.Style.BackColorGradientAngle = 90; - this.gpSrchAnnoText.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.gpSrchAnnoText.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchAnnoText.Style.BorderBottomWidth = 1; - this.gpSrchAnnoText.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.gpSrchAnnoText.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchAnnoText.Style.BorderLeftWidth = 1; - this.gpSrchAnnoText.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchAnnoText.Style.BorderRightWidth = 1; - this.gpSrchAnnoText.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.gpSrchAnnoText.Style.BorderTopWidth = 1; - this.gpSrchAnnoText.Style.Class = ""; - this.gpSrchAnnoText.Style.CornerDiameter = 4; - this.gpSrchAnnoText.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.gpSrchAnnoText.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.gpSrchAnnoText.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.gpSrchAnnoText.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.gpSrchAnnoText.StyleMouseDown.Class = ""; - this.gpSrchAnnoText.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.gpSrchAnnoText.StyleMouseOver.Class = ""; - this.gpSrchAnnoText.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.gpSrchAnnoText.TabIndex = 6; - this.gpSrchAnnoText.EnabledChanged += new System.EventHandler(this.gpSrchAnnoText_EnabledChanged); - // - // 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); - this.panel4.Dock = System.Windows.Forms.DockStyle.Top; - 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, 76); - this.panel4.TabIndex = 9; - // - // cbxBooleanAnoTxtSrch - // - // - // - // - this.cbxBooleanAnoTxtSrch.BackgroundStyle.Class = ""; - this.cbxBooleanAnoTxtSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbxBooleanAnoTxtSrch.Location = new System.Drawing.Point(16, 50); - this.cbxBooleanAnoTxtSrch.Margin = new System.Windows.Forms.Padding(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; - this.cbxCaseSensitiveAnnoText.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbxCaseSensitiveAnnoText.BackgroundStyle.Class = ""; - this.cbxCaseSensitiveAnnoText.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbxCaseSensitiveAnnoText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxCaseSensitiveAnnoText.Location = new System.Drawing.Point(16, 31); - this.cbxCaseSensitiveAnnoText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbxCaseSensitiveAnnoText.Name = "cbxCaseSensitiveAnnoText"; - this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(123, 19); - 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))); - this.cbxCaseSensitiveAnnoText.TabIndex = 5; - this.cbxCaseSensitiveAnnoText.Text = "Case Sensitive"; - // - // cbxTextSearchAnnotation - // - this.contextMenuBar1.SetContextMenuEx(this.cbxTextSearchAnnotation, this.btnCMIFindText); - this.cbxTextSearchAnnotation.DisplayMember = "Text"; - this.cbxTextSearchAnnotation.Dock = System.Windows.Forms.DockStyle.Fill; - this.cbxTextSearchAnnotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cbxTextSearchAnnotation.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxTextSearchAnnotation.FormattingEnabled = true; - this.cbxTextSearchAnnotation.ItemHeight = 18; - this.cbxTextSearchAnnotation.Location = new System.Drawing.Point(40, 0); - this.cbxTextSearchAnnotation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbxTextSearchAnnotation.Name = "cbxTextSearchAnnotation"; - this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(337, 24); - 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))); - 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"; - this.cbxTextSearchAnnotation.Leave += new System.EventHandler(this.cbxTextSearchAnnotation_Leave); - this.cbxTextSearchAnnotation.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ProcessEnterKey); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.BackColor = System.Drawing.Color.Transparent; - this.label2.Dock = System.Windows.Forms.DockStyle.Left; - this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label2.Location = new System.Drawing.Point(0, 0); - this.label2.Name = "label2"; - this.label2.Padding = new System.Windows.Forms.Padding(0, 6, 0, 0); - this.label2.Size = new System.Drawing.Size(40, 24); - this.label2.TabIndex = 7; - this.label2.Text = "Find:"; - // - // cbxAnnoTypes - // - this.cbxAnnoTypes.DisplayMember = "Text"; - this.cbxAnnoTypes.Dock = System.Windows.Forms.DockStyle.Top; - this.cbxAnnoTypes.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cbxAnnoTypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbxAnnoTypes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxAnnoTypes.FormattingEnabled = true; - this.cbxAnnoTypes.ItemHeight = 18; - this.cbxAnnoTypes.Location = new System.Drawing.Point(1, 1); - this.cbxAnnoTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbxAnnoTypes.Name = "cbxAnnoTypes"; - this.cbxAnnoTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cbxAnnoTypes.Size = new System.Drawing.Size(383, 24); - this.superTooltip1.SetSuperTooltip(this.cbxAnnoTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Select Annotation Type", "", "Select the type of annotation to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(192, 61))); - this.cbxAnnoTypes.TabIndex = 0; - this.cbxAnnoTypes.WatermarkText = "Select AnnotationType to Search"; - // - // tabAnnotationSearch - // - this.tabAnnotationSearch.AttachedControl = this.tabControlPanel3; - this.tabAnnotationSearch.Name = "tabAnnotationSearch"; - this.tabAnnotationSearch.Text = "Annotations"; - this.tabAnnotationSearch.Click += new System.EventHandler(this.tabAnnotationSearch_Click); - // - // contextMenuBar1 - // - this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top; - this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.components = new System.ComponentModel.Container(); + this.tabSearchTypes = new DevComponents.DotNetBar.TabControl(); + this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); + this.gpFindROs = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbxFndUnLnkROVals = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.cmboTreeROs = new DevComponents.DotNetBar.Controls.ComboTree(); + this.tabROSearch = 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(); + this.cbxSrchTypeUsage = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.tabStepTypeSearch = 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.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.contextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); + this.btnCMIFindText = new DevComponents.DotNetBar.ButtonItem(); + this.btnCMEdit = new DevComponents.DotNetBar.ButtonItem(); + this.cmFndTxtCut = new DevComponents.DotNetBar.ButtonItem(); + this.cmFndTxtCopy = new DevComponents.DotNetBar.ButtonItem(); + this.cmFndTxtPaste = new DevComponents.DotNetBar.ButtonItem(); + this.btnCMInsert = new DevComponents.DotNetBar.ButtonItem(); + 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.advTreeProcSets = new DevComponents.AdvTree.AdvTree(); + this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); + this.node1 = new DevComponents.AdvTree.Node(); + this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); + this.advTreeStepTypes = new DevComponents.AdvTree.AdvTree(); + this.elementStyle2 = new DevComponents.DotNetBar.ElementStyle(); + this.node2 = new DevComponents.AdvTree.Node(); + this.nodeConnector2 = new DevComponents.AdvTree.NodeConnector(); + this.grpPanSearchResults = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.lbSrchResults = new System.Windows.Forms.ListBox(); + this.panSearchButtons = new DevComponents.DotNetBar.PanelEx(); + this.btnClearSearchResults = new DevComponents.DotNetBar.ButtonX(); + this.btnCopySearchResults = new DevComponents.DotNetBar.ButtonX(); + this.labelX1 = new DevComponents.DotNetBar.LabelX(); + this.cmbResultsStyle = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.comboItem1 = new DevComponents.Editors.ComboItem(); + this.comboItem2 = new DevComponents.Editors.ComboItem(); + this.comboItem3 = new DevComponents.Editors.ComboItem(); + this.comboItem4 = new DevComponents.Editors.ComboItem(); + this.cbSorted = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.btnSearch = new DevComponents.DotNetBar.ButtonX(); + this.btnPrnSrchRslts = new DevComponents.DotNetBar.ButtonX(); + this.xpSetToSearch = new DevComponents.DotNetBar.ExpandablePanel(); + this.xpStepTypes = new DevComponents.DotNetBar.ExpandablePanel(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); + ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).BeginInit(); + this.tabSearchTypes.SuspendLayout(); + this.tabControlPanel2.SuspendLayout(); + this.gpFindROs.SuspendLayout(); + this.tabControlPanel4.SuspendLayout(); + this.gpSrchText.SuspendLayout(); + this.panel1.SuspendLayout(); + this.panel3.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(); + this.grpPanSearchResults.SuspendLayout(); + this.panSearchButtons.SuspendLayout(); + this.xpSetToSearch.SuspendLayout(); + this.xpStepTypes.SuspendLayout(); + this.SuspendLayout(); + // + // tabSearchTypes + // + this.tabSearchTypes.CanReorderTabs = false; + 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.contextMenuBar1); + this.tabSearchTypes.Dock = System.Windows.Forms.DockStyle.Top; + this.tabSearchTypes.Location = new System.Drawing.Point(0, 0); + this.tabSearchTypes.Margin = new System.Windows.Forms.Padding(2); + this.tabSearchTypes.Name = "tabSearchTypes"; + this.tabSearchTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; + 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(277, 112); + this.tabSearchTypes.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; + this.tabSearchTypes.TabIndex = 0; + this.tabSearchTypes.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; + this.tabSearchTypes.Tabs.Add(this.tabStepTypeSearch); + this.tabSearchTypes.Tabs.Add(this.tabAnnotationSearch); + this.tabSearchTypes.Tabs.Add(this.tabROSearch); + this.tabSearchTypes.Text = "tabControl1"; + this.tabSearchTypes.ThemeAware = true; + // + // 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, 22); + this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2); + this.tabControlPanel2.Name = "tabControlPanel2"; + this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel2.Size = new System.Drawing.Size(277, 90); + 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.Location = new System.Drawing.Point(1, 21); + this.gpFindROs.Margin = new System.Windows.Forms.Padding(2); + this.gpFindROs.Name = "gpFindROs"; + this.gpFindROs.Size = new System.Drawing.Size(275, 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.Class = ""; + 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.StyleMouseDown.Class = ""; + // + // + // + this.gpFindROs.StyleMouseOver.Class = ""; + this.gpFindROs.TabIndex = 3; + this.gpFindROs.EnabledChanged += new System.EventHandler(this.gpFindROs_EnabledChanged); + // + // cbxFndUnLnkROVals + // + this.cbxFndUnLnkROVals.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbxFndUnLnkROVals.BackgroundStyle.Class = ""; + 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, 3); + this.cbxFndUnLnkROVals.Margin = new System.Windows.Forms.Padding(2); + this.cbxFndUnLnkROVals.Name = "cbxFndUnLnkROVals"; + this.cbxFndUnLnkROVals.Size = new System.Drawing.Size(141, 19); + 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.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(2); + this.cmboTreeROs.Name = "cmboTreeROs"; + this.cmboTreeROs.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cmboTreeROs.Size = new System.Drawing.Size(275, 20); + 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"; + // + // 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, 22); + this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2); + this.tabControlPanel4.Name = "tabControlPanel4"; + this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel4.Size = new System.Drawing.Size(277, 90); + 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(23, 1); + this.gpSrchText.Margin = new System.Windows.Forms.Padding(2); + this.gpSrchText.Name = "gpSrchText"; + this.gpSrchText.Size = new System.Drawing.Size(253, 70); + // + // + // + 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.Class = ""; + 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.StyleMouseDown.Class = ""; + // + // + // + this.gpSrchText.StyleMouseOver.Class = ""; + 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, -2); + this.panel1.Margin = new System.Windows.Forms.Padding(2); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(247, 23); + 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(34, 0); + this.cbxTextSearchText.Margin = new System.Windows.Forms.Padding(2); + this.cbxTextSearchText.Name = "cbxTextSearchText"; + this.cbxTextSearchText.Size = new System.Drawing.Size(213, 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.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); + this.label1.Size = new System.Drawing.Size(34, 20); + 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, 21); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(247, 43); + this.panel3.TabIndex = 6; + // + // cbxBooleanTxtSrch + // + // + // + // + this.cbxBooleanTxtSrch.BackgroundStyle.Class = ""; + this.cbxBooleanTxtSrch.Location = new System.Drawing.Point(8, 23); + this.cbxBooleanTxtSrch.Name = "cbxBooleanTxtSrch"; + this.cbxBooleanTxtSrch.Size = new System.Drawing.Size(111, 17); + this.cbxBooleanTxtSrch.TabIndex = 6; + this.cbxBooleanTxtSrch.Text = "Boolean Search"; + this.cbxBooleanTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanTxtSrch_CheckedChanged); + // + // cbxIncROTextSrch + // + // + // + // + this.cbxIncROTextSrch.BackgroundStyle.Class = ""; + 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(113, 1); + this.cbxIncROTextSrch.Name = "cbxIncROTextSrch"; + this.cbxIncROTextSrch.Size = new System.Drawing.Size(112, 20); + this.cbxIncROTextSrch.TabIndex = 5; + this.cbxIncROTextSrch.Text = "Search RO Text"; + // + // cbxCaseSensitive + // + this.cbxCaseSensitive.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbxCaseSensitive.BackgroundStyle.Class = ""; + 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(8, 1); + this.cbxCaseSensitive.Margin = new System.Windows.Forms.Padding(2); + this.cbxCaseSensitive.Name = "cbxCaseSensitive"; + this.cbxCaseSensitive.Size = new System.Drawing.Size(104, 20); + 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.BackgroundStyle.Class = ""; + 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(2); + this.rbtnSrchTxt.Name = "rbtnSrchTxt"; + this.rbtnSrchTxt.Size = new System.Drawing.Size(22, 70); + this.rbtnSrchTxt.TabIndex = 6; + this.rbtnSrchTxt.CheckedChanged += new System.EventHandler(this.rbtnSrchTxt_CheckedChanged); + // + // cbxSrchTypeUsage + // + this.cbxSrchTypeUsage.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbxSrchTypeUsage.BackgroundStyle.Class = ""; + 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, 71); + this.cbxSrchTypeUsage.Margin = new System.Windows.Forms.Padding(2); + this.cbxSrchTypeUsage.Name = "cbxSrchTypeUsage"; + this.cbxSrchTypeUsage.Size = new System.Drawing.Size(275, 18); + 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); + // + // tabControlPanel3 + // + this.tabControlPanel3.Controls.Add(this.gpSrchAnnoText); + this.tabControlPanel3.Controls.Add(this.cbxAnnoTypes); + this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel3.Location = new System.Drawing.Point(0, 22); + this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(2); + this.tabControlPanel3.Name = "tabControlPanel3"; + this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel3.Size = new System.Drawing.Size(277, 90); + 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)(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; + this.tabControlPanel3.TabIndex = 5; + this.tabControlPanel3.TabItem = this.tabAnnotationSearch; + // + // gpSrchAnnoText + // + this.gpSrchAnnoText.AutoSize = true; + this.gpSrchAnnoText.CanvasColor = System.Drawing.SystemColors.Control; + this.gpSrchAnnoText.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.gpSrchAnnoText.Controls.Add(this.panel4); + this.gpSrchAnnoText.Dock = System.Windows.Forms.DockStyle.Fill; + this.gpSrchAnnoText.Enabled = false; + this.gpSrchAnnoText.Location = new System.Drawing.Point(1, 25); + this.gpSrchAnnoText.Margin = new System.Windows.Forms.Padding(2); + this.gpSrchAnnoText.Name = "gpSrchAnnoText"; + this.gpSrchAnnoText.Size = new System.Drawing.Size(275, 64); + // + // + // + this.gpSrchAnnoText.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.gpSrchAnnoText.Style.BackColorGradientAngle = 90; + this.gpSrchAnnoText.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.gpSrchAnnoText.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchAnnoText.Style.BorderBottomWidth = 1; + this.gpSrchAnnoText.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.gpSrchAnnoText.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchAnnoText.Style.BorderLeftWidth = 1; + this.gpSrchAnnoText.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchAnnoText.Style.BorderRightWidth = 1; + this.gpSrchAnnoText.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpSrchAnnoText.Style.BorderTopWidth = 1; + this.gpSrchAnnoText.Style.Class = ""; + this.gpSrchAnnoText.Style.CornerDiameter = 4; + this.gpSrchAnnoText.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.gpSrchAnnoText.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.gpSrchAnnoText.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.gpSrchAnnoText.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.gpSrchAnnoText.StyleMouseDown.Class = ""; + // + // + // + this.gpSrchAnnoText.StyleMouseOver.Class = ""; + this.gpSrchAnnoText.TabIndex = 6; + this.gpSrchAnnoText.EnabledChanged += new System.EventHandler(this.gpSrchAnnoText_EnabledChanged); + // + // 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); + this.panel4.Dock = System.Windows.Forms.DockStyle.Top; + this.panel4.Location = new System.Drawing.Point(0, 0); + this.panel4.Margin = new System.Windows.Forms.Padding(2); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(269, 62); + this.panel4.TabIndex = 9; + // + // cbxBooleanAnoTxtSrch + // + // + // + // + this.cbxBooleanAnoTxtSrch.BackgroundStyle.Class = ""; + this.cbxBooleanAnoTxtSrch.Location = new System.Drawing.Point(12, 41); + this.cbxBooleanAnoTxtSrch.Name = "cbxBooleanAnoTxtSrch"; + this.cbxBooleanAnoTxtSrch.Size = new System.Drawing.Size(111, 17); + this.cbxBooleanAnoTxtSrch.TabIndex = 8; + this.cbxBooleanAnoTxtSrch.Text = "Boolean Search"; + this.cbxBooleanAnoTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanAnoTxtSrch_CheckedChanged); + // + // cbxCaseSensitiveAnnoText + // + this.cbxCaseSensitiveAnnoText.AutoSize = true; + this.cbxCaseSensitiveAnnoText.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbxCaseSensitiveAnnoText.BackgroundStyle.Class = ""; + this.cbxCaseSensitiveAnnoText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxCaseSensitiveAnnoText.Location = new System.Drawing.Point(12, 25); + this.cbxCaseSensitiveAnnoText.Margin = new System.Windows.Forms.Padding(2); + this.cbxCaseSensitiveAnnoText.Name = "cbxCaseSensitiveAnnoText"; + this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(103, 16); + 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))); + this.cbxCaseSensitiveAnnoText.TabIndex = 5; + this.cbxCaseSensitiveAnnoText.Text = "Case Sensitive"; + // + // cbxTextSearchAnnotation + // + this.contextMenuBar1.SetContextMenuEx(this.cbxTextSearchAnnotation, this.btnCMIFindText); + this.cbxTextSearchAnnotation.DisplayMember = "Text"; + this.cbxTextSearchAnnotation.Dock = System.Windows.Forms.DockStyle.Fill; + this.cbxTextSearchAnnotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cbxTextSearchAnnotation.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxTextSearchAnnotation.FormattingEnabled = true; + this.cbxTextSearchAnnotation.ItemHeight = 18; + this.cbxTextSearchAnnotation.Location = new System.Drawing.Point(34, 0); + this.cbxTextSearchAnnotation.Margin = new System.Windows.Forms.Padding(2); + this.cbxTextSearchAnnotation.Name = "cbxTextSearchAnnotation"; + this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(235, 24); + 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))); + 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"; + this.cbxTextSearchAnnotation.Leave += new System.EventHandler(this.cbxTextSearchAnnotation_Leave); + this.cbxTextSearchAnnotation.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ProcessEnterKey); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Dock = System.Windows.Forms.DockStyle.Left; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.Location = new System.Drawing.Point(0, 0); + this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label2.Name = "label2"; + this.label2.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); + this.label2.Size = new System.Drawing.Size(34, 20); + this.label2.TabIndex = 7; + this.label2.Text = "Find:"; + // + // cbxAnnoTypes + // + this.cbxAnnoTypes.DisplayMember = "Text"; + this.cbxAnnoTypes.Dock = System.Windows.Forms.DockStyle.Top; + this.cbxAnnoTypes.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cbxAnnoTypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbxAnnoTypes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxAnnoTypes.FormattingEnabled = true; + this.cbxAnnoTypes.ItemHeight = 18; + this.cbxAnnoTypes.Location = new System.Drawing.Point(1, 1); + this.cbxAnnoTypes.Margin = new System.Windows.Forms.Padding(2); + this.cbxAnnoTypes.Name = "cbxAnnoTypes"; + this.cbxAnnoTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cbxAnnoTypes.Size = new System.Drawing.Size(275, 24); + this.superTooltip1.SetSuperTooltip(this.cbxAnnoTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Select Annotation Type", "", "Select the type of annotation to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(192, 61))); + this.cbxAnnoTypes.TabIndex = 0; + this.cbxAnnoTypes.WatermarkText = "Select AnnotationType to Search"; + // + // tabAnnotationSearch + // + this.tabAnnotationSearch.AttachedControl = this.tabControlPanel3; + this.tabAnnotationSearch.Name = "tabAnnotationSearch"; + this.tabAnnotationSearch.Text = "Annotations"; + this.tabAnnotationSearch.Click += new System.EventHandler(this.tabAnnotationSearch_Click); + // + // contextMenuBar1 + // + this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top; + 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; - this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; - this.contextMenuBar1.TabIndex = 6; - this.contextMenuBar1.TabStop = false; - this.contextMenuBar1.Text = "contextMenuBar1"; - // - // btnCMIFindText - // - this.btnCMIFindText.AutoExpandOnClick = true; - this.btnCMIFindText.Name = "btnCMIFindText"; - this.btnCMIFindText.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.contextMenuBar1.Location = new System.Drawing.Point(225, -3); + this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(2); + this.contextMenuBar1.Name = "contextMenuBar1"; + this.contextMenuBar1.Size = new System.Drawing.Size(56, 25); + this.contextMenuBar1.Stretch = true; + this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; + this.contextMenuBar1.TabIndex = 6; + this.contextMenuBar1.TabStop = false; + this.contextMenuBar1.Text = "contextMenuBar1"; + // + // btnCMIFindText + // + this.btnCMIFindText.AutoExpandOnClick = true; + this.btnCMIFindText.Name = "btnCMIFindText"; + this.btnCMIFindText.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnCMEdit, this.btnCMInsert}); - this.btnCMIFindText.Text = "cmFindText"; - this.btnCMIFindText.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.btnCMIFindText_PopupOpen); - // - // btnCMEdit - // - this.btnCMEdit.Name = "btnCMEdit"; - this.btnCMEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnCMIFindText.Text = "cmFindText"; + this.btnCMIFindText.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.btnCMIFindText_PopupOpen); + // + // btnCMEdit + // + this.btnCMEdit.Name = "btnCMEdit"; + this.btnCMEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.cmFndTxtCut, this.cmFndTxtCopy, this.cmFndTxtPaste}); - this.btnCMEdit.Text = "Edit"; - // - // cmFndTxtCut - // - this.cmFndTxtCut.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.cmFndTxtCut.Image = global::Volian.Controls.Library.Properties.Resources.Cut_Image; - this.cmFndTxtCut.Name = "cmFndTxtCut"; - this.cmFndTxtCut.Stretch = true; - this.cmFndTxtCut.Text = "Cut"; - this.cmFndTxtCut.Click += new System.EventHandler(this.cmFndTxtCut_Click); - // - // cmFndTxtCopy - // - this.cmFndTxtCopy.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.cmFndTxtCopy.Image = global::Volian.Controls.Library.Properties.Resources.Copy_Image; - this.cmFndTxtCopy.Name = "cmFndTxtCopy"; - this.cmFndTxtCopy.Text = "Copy"; - this.cmFndTxtCopy.Click += new System.EventHandler(this.cmFndTxtCopy_Click); - // - // cmFndTxtPaste - // - this.cmFndTxtPaste.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.cmFndTxtPaste.Image = global::Volian.Controls.Library.Properties.Resources.PasteSmall_Image; - this.cmFndTxtPaste.Name = "cmFndTxtPaste"; - this.cmFndTxtPaste.Text = "Paste"; - this.cmFndTxtPaste.Click += new System.EventHandler(this.cmFndTxtPaste_Click); - // - // btnCMInsert - // - this.btnCMInsert.Name = "btnCMInsert"; - this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnCMEdit.Text = "Edit"; + // + // cmFndTxtCut + // + this.cmFndTxtCut.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.cmFndTxtCut.Image = global::Volian.Controls.Library.Properties.Resources.Cut_Image; + this.cmFndTxtCut.Name = "cmFndTxtCut"; + this.cmFndTxtCut.Stretch = true; + this.cmFndTxtCut.Text = "Cut"; + this.cmFndTxtCut.Click += new System.EventHandler(this.cmFndTxtCut_Click); + // + // cmFndTxtCopy + // + this.cmFndTxtCopy.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.cmFndTxtCopy.Image = global::Volian.Controls.Library.Properties.Resources.Copy_Image; + this.cmFndTxtCopy.Name = "cmFndTxtCopy"; + this.cmFndTxtCopy.Text = "Copy"; + this.cmFndTxtCopy.Click += new System.EventHandler(this.cmFndTxtCopy_Click); + // + // cmFndTxtPaste + // + this.cmFndTxtPaste.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.cmFndTxtPaste.Image = global::Volian.Controls.Library.Properties.Resources.PasteSmall_Image; + this.cmFndTxtPaste.Name = "cmFndTxtPaste"; + this.cmFndTxtPaste.Text = "Paste"; + this.cmFndTxtPaste.Click += new System.EventHandler(this.cmFndTxtPaste_Click); + // + // btnCMInsert + // + this.btnCMInsert.Name = "btnCMInsert"; + this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.cmFndTxtInsHardSp, this.cmFndTxtInsSymbol, this.buttonItem1, this.btnBooleanItems}); - this.btnCMInsert.Text = "Insert"; - // - // cmFndTxtInsHardSp - // - this.cmFndTxtInsHardSp.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.cmFndTxtInsHardSp.Image = global::Volian.Controls.Library.Properties.Resources.HardSpace_Image; - this.cmFndTxtInsHardSp.Name = "cmFndTxtInsHardSp"; - this.cmFndTxtInsHardSp.Text = "Hard Space"; - this.cmFndTxtInsHardSp.Click += new System.EventHandler(this.cmFndTxtInsHardSp_Click); - // - // cmFndTxtInsSymbol - // - this.cmFndTxtInsSymbol.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.cmFndTxtInsSymbol.Image = global::Volian.Controls.Library.Properties.Resources.Symbol_Image; - this.cmFndTxtInsSymbol.Name = "cmFndTxtInsSymbol"; - this.cmFndTxtInsSymbol.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.btnCMInsert.Text = "Insert"; + // + // cmFndTxtInsHardSp + // + this.cmFndTxtInsHardSp.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + this.cmFndTxtInsHardSp.Image = global::Volian.Controls.Library.Properties.Resources.HardSpace_Image; + this.cmFndTxtInsHardSp.Name = "cmFndTxtInsHardSp"; + this.cmFndTxtInsHardSp.Text = "Hard Space"; + this.cmFndTxtInsHardSp.Click += new System.EventHandler(this.cmFndTxtInsHardSp_Click); + // + // cmFndTxtInsSymbol + // + this.cmFndTxtInsSymbol.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; + 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.cmFndTxtInsSymbol.Text = "Symbol"; - // - // galSymbols - // - // - // - // - this.galSymbols.BackgroundStyle.Class = ""; - this.galSymbols.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.galSymbols.EnableGalleryPopup = false; - this.galSymbols.MinimumSize = new System.Drawing.Size(150, 200); - this.galSymbols.Name = "galSymbols"; - this.galSymbols.Text = "galleryContainer1"; - // - // buttonItem1 - // - this.buttonItem1.Name = "buttonItem1"; - this.buttonItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.cmFndTxtInsSymbol.Text = "Symbol"; + // + // galSymbols + // + // + // + // + this.galSymbols.BackgroundStyle.Class = ""; + this.galSymbols.EnableGalleryPopup = false; + this.galSymbols.MinimumSize = new System.Drawing.Size(150, 200); + this.galSymbols.Name = "galSymbols"; + this.galSymbols.Text = "galleryContainer1"; + // + // buttonItem1 + // + 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.Name = "buttonItem2"; - this.buttonItem2.Text = "* - Anything"; - this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click); - // - // buttonItem3 - // - this.buttonItem3.Name = "buttonItem3"; - this.buttonItem3.Text = "? - One Character"; - this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click); - // - // buttonItem4 - // - this.buttonItem4.Name = "buttonItem4"; - this.buttonItem4.Text = "?* - One or More"; - this.buttonItem4.Click += new System.EventHandler(this.buttonItem4_Click); - // - // btnBooleanItems - // - this.btnBooleanItems.Name = "btnBooleanItems"; - this.btnBooleanItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.buttonItem1.Text = "Wild Cards"; + // + // buttonItem2 + // + this.buttonItem2.Name = "buttonItem2"; + this.buttonItem2.Text = "* - Anything"; + this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click); + // + // buttonItem3 + // + this.buttonItem3.Name = "buttonItem3"; + this.buttonItem3.Text = "? - One Character"; + this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click); + // + // buttonItem4 + // + this.buttonItem4.Name = "buttonItem4"; + this.buttonItem4.Text = "?* - One or More"; + this.buttonItem4.Click += new System.EventHandler(this.buttonItem4_Click); + // + // btnBooleanItems + // + this.btnBooleanItems.Name = "btnBooleanItems"; + this.btnBooleanItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnAND, this.btnOR, this.btnNOT}); - this.btnBooleanItems.Text = "Boolean"; - this.btnBooleanItems.Visible = false; - // - // btnAND - // - this.btnAND.Name = "btnAND"; - this.btnAND.Text = "AND"; - this.btnAND.Click += new System.EventHandler(this.btnAND_Click); - // - // btnOR - // - this.btnOR.Name = "btnOR"; - this.btnOR.Text = "OR"; - this.btnOR.Click += new System.EventHandler(this.btnOR_Click); - // - // btnNOT - // - this.btnNOT.Name = "btnNOT"; - this.btnNOT.Text = "NOT"; - this.btnNOT.Click += new System.EventHandler(this.btnNOT_Click); - // - // advTreeProcSets - // - this.advTreeProcSets.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; - this.advTreeProcSets.AllowDrop = true; - this.advTreeProcSets.BackColor = System.Drawing.SystemColors.Window; - // - // - // - this.advTreeProcSets.BackgroundStyle.Class = "TreeBorderKey"; - this.advTreeProcSets.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.advTreeProcSets.CellStyleSelected = this.elementStyle1; - this.advTreeProcSets.Dock = System.Windows.Forms.DockStyle.Fill; - this.advTreeProcSets.DragDropEnabled = false; - this.advTreeProcSets.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - this.advTreeProcSets.Location = new System.Drawing.Point(0, 26); - this.advTreeProcSets.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.advTreeProcSets.MultiSelect = true; - this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode; - this.advTreeProcSets.Name = "advTreeProcSets"; - this.advTreeProcSets.Nodes.AddRange(new DevComponents.AdvTree.Node[] { + this.btnBooleanItems.Text = "Boolean"; + this.btnBooleanItems.Visible = false; + // + // btnAND + // + this.btnAND.Name = "btnAND"; + this.btnAND.Text = "AND"; + this.btnAND.Click += new System.EventHandler(this.btnAND_Click); + // + // btnOR + // + this.btnOR.Name = "btnOR"; + this.btnOR.Text = "OR"; + this.btnOR.Click += new System.EventHandler(this.btnOR_Click); + // + // btnNOT + // + this.btnNOT.Name = "btnNOT"; + this.btnNOT.Text = "NOT"; + this.btnNOT.Click += new System.EventHandler(this.btnNOT_Click); + // + // advTreeProcSets + // + this.advTreeProcSets.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; + this.advTreeProcSets.AllowDrop = true; + this.advTreeProcSets.BackColor = System.Drawing.SystemColors.Window; + // + // + // + this.advTreeProcSets.BackgroundStyle.Class = "TreeBorderKey"; + this.advTreeProcSets.CellStyleSelected = this.elementStyle1; + this.advTreeProcSets.Dock = System.Windows.Forms.DockStyle.Fill; + this.advTreeProcSets.DragDropEnabled = false; + this.advTreeProcSets.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + this.advTreeProcSets.Location = new System.Drawing.Point(0, 21); + this.advTreeProcSets.Margin = new System.Windows.Forms.Padding(2); + this.advTreeProcSets.MultiSelect = true; + this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode; + this.advTreeProcSets.Name = "advTreeProcSets"; + this.advTreeProcSets.Nodes.AddRange(new DevComponents.AdvTree.Node[] { this.node1}); - this.advTreeProcSets.NodesConnector = this.nodeConnector1; - this.advTreeProcSets.NodeStyle = this.elementStyle1; - this.advTreeProcSets.NodeStyleSelected = this.elementStyle1; - this.advTreeProcSets.PathSeparator = ";"; - this.advTreeProcSets.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.advTreeProcSets.Size = new System.Drawing.Size(385, 168); - this.advTreeProcSets.Styles.Add(this.elementStyle1); - this.advTreeProcSets.TabIndex = 0; - this.advTreeProcSets.Text = "advTree1"; - this.advTreeProcSets.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(this.advTreeProcSets_AfterNodeSelect); - this.advTreeProcSets.AfterCheck += new DevComponents.AdvTree.AdvTreeCellEventHandler(this.advTreeProcSets_AfterCheck); - // - // elementStyle1 - // - this.elementStyle1.Class = ""; - this.elementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.elementStyle1.Name = "elementStyle1"; - this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; - // - // node1 - // - this.node1.Name = "node1"; - this.node1.Text = "node1"; - // - // nodeConnector1 - // - this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; - // - // advTreeStepTypes - // - this.advTreeStepTypes.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; - this.advTreeStepTypes.AllowDrop = true; - this.advTreeStepTypes.BackColor = System.Drawing.SystemColors.Window; - // - // - // - this.advTreeStepTypes.BackgroundStyle.Class = "TreeBorderKey"; - this.advTreeStepTypes.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.advTreeStepTypes.CellStyleSelected = this.elementStyle2; - this.advTreeStepTypes.Dock = System.Windows.Forms.DockStyle.Fill; - this.advTreeStepTypes.DragDropEnabled = false; - this.advTreeStepTypes.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - this.advTreeStepTypes.Location = new System.Drawing.Point(0, 26); - this.advTreeStepTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.advTreeStepTypes.MultiSelect = true; - this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode; - this.advTreeStepTypes.Name = "advTreeStepTypes"; - this.advTreeStepTypes.Nodes.AddRange(new DevComponents.AdvTree.Node[] { + this.advTreeProcSets.NodesConnector = this.nodeConnector1; + this.advTreeProcSets.NodeStyle = this.elementStyle1; + this.advTreeProcSets.NodeStyleSelected = this.elementStyle1; + this.advTreeProcSets.PathSeparator = ";"; + this.advTreeProcSets.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.advTreeProcSets.Size = new System.Drawing.Size(277, 137); + this.advTreeProcSets.Styles.Add(this.elementStyle1); + this.advTreeProcSets.TabIndex = 0; + this.advTreeProcSets.Text = "advTree1"; + this.advTreeProcSets.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(this.advTreeProcSets_AfterNodeSelect); + this.advTreeProcSets.AfterCheck += new DevComponents.AdvTree.AdvTreeCellEventHandler(this.advTreeProcSets_AfterCheck); + // + // elementStyle1 + // + this.elementStyle1.Class = ""; + this.elementStyle1.Name = "elementStyle1"; + this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; + // + // node1 + // + this.node1.Name = "node1"; + this.node1.Text = "node1"; + // + // nodeConnector1 + // + this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; + // + // advTreeStepTypes + // + this.advTreeStepTypes.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; + this.advTreeStepTypes.AllowDrop = true; + this.advTreeStepTypes.BackColor = System.Drawing.SystemColors.Window; + // + // + // + this.advTreeStepTypes.BackgroundStyle.Class = "TreeBorderKey"; + this.advTreeStepTypes.CellStyleSelected = this.elementStyle2; + this.advTreeStepTypes.Dock = System.Windows.Forms.DockStyle.Fill; + this.advTreeStepTypes.DragDropEnabled = false; + this.advTreeStepTypes.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + this.advTreeStepTypes.Location = new System.Drawing.Point(0, 21); + this.advTreeStepTypes.Margin = new System.Windows.Forms.Padding(2); + this.advTreeStepTypes.MultiSelect = true; + this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode; + this.advTreeStepTypes.Name = "advTreeStepTypes"; + this.advTreeStepTypes.Nodes.AddRange(new DevComponents.AdvTree.Node[] { this.node2}); - this.advTreeStepTypes.NodesConnector = this.nodeConnector2; - this.advTreeStepTypes.NodeStyle = this.elementStyle2; - this.advTreeStepTypes.NodeStyleSelected = this.elementStyle2; - this.advTreeStepTypes.PathSeparator = ";"; - this.advTreeStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.advTreeStepTypes.SelectionPerCell = true; - this.advTreeStepTypes.Size = new System.Drawing.Size(385, 154); - this.advTreeStepTypes.Styles.Add(this.elementStyle2); - this.advTreeStepTypes.TabIndex = 0; - this.advTreeStepTypes.Text = "advTree1"; - this.advTreeStepTypes.AfterCheck += new DevComponents.AdvTree.AdvTreeCellEventHandler(this.advTreeStepTypes_AfterCheck); - // - // elementStyle2 - // - this.elementStyle2.Class = ""; - this.elementStyle2.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.elementStyle2.Name = "elementStyle2"; - this.elementStyle2.TextColor = System.Drawing.SystemColors.ControlText; - // - // node2 - // - this.node2.Expanded = true; - this.node2.Name = "node2"; - this.node2.Text = "....select a procedure set for types to appear..."; - // - // nodeConnector2 - // - this.nodeConnector2.LineColor = System.Drawing.SystemColors.ControlText; - // - // grpPanSearchResults - // - this.grpPanSearchResults.CanvasColor = System.Drawing.SystemColors.Control; - 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, 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, 247); - // - // - // - this.grpPanSearchResults.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.grpPanSearchResults.Style.BackColorGradientAngle = 90; - this.grpPanSearchResults.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.grpPanSearchResults.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpPanSearchResults.Style.BorderBottomWidth = 1; - this.grpPanSearchResults.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.grpPanSearchResults.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpPanSearchResults.Style.BorderLeftWidth = 1; - this.grpPanSearchResults.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpPanSearchResults.Style.BorderRightWidth = 1; - this.grpPanSearchResults.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpPanSearchResults.Style.BorderTopWidth = 1; - this.grpPanSearchResults.Style.Class = ""; - this.grpPanSearchResults.Style.CornerDiameter = 4; - this.grpPanSearchResults.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.grpPanSearchResults.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.grpPanSearchResults.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.grpPanSearchResults.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.grpPanSearchResults.StyleMouseDown.Class = ""; - this.grpPanSearchResults.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.grpPanSearchResults.StyleMouseOver.Class = ""; - this.grpPanSearchResults.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.grpPanSearchResults.TabIndex = 3; - this.grpPanSearchResults.Text = "Search Results"; - // - // lbSrchResults - // - this.lbSrchResults.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbSrchResults.FormattingEnabled = true; - this.lbSrchResults.HorizontalScrollbar = true; - this.lbSrchResults.ItemHeight = 16; - this.lbSrchResults.Location = new System.Drawing.Point(0, 0); - 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, 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); - // - // btnPrnSrchRslts - // - this.btnPrnSrchRslts.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnPrnSrchRslts.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; - this.btnPrnSrchRslts.Enabled = false; - this.btnPrnSrchRslts.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnPrnSrchRslts.Location = new System.Drawing.Point(77, 36); - this.btnPrnSrchRslts.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.btnPrnSrchRslts.Name = "btnPrnSrchRslts"; - this.btnPrnSrchRslts.Size = new System.Drawing.Size(57, 28); - this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); - this.btnPrnSrchRslts.TabIndex = 5; - this.btnPrnSrchRslts.Text = "Print"; - this.btnPrnSrchRslts.ThemeAware = true; - // - // panSearchButtons - // - this.panSearchButtons.CanvasColor = System.Drawing.SystemColors.Control; - this.panSearchButtons.Controls.Add(this.labelX1); - this.panSearchButtons.Controls.Add(this.cmbResultsStyle); - this.panSearchButtons.Controls.Add(this.cbSorted); - 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, 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); - this.panSearchButtons.Style.Alignment = System.Drawing.StringAlignment.Center; - this.panSearchButtons.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.panSearchButtons.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.panSearchButtons.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.panSearchButtons.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.panSearchButtons.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.panSearchButtons.Style.GradientAngle = 90; - this.panSearchButtons.TabIndex = 6; - this.panSearchButtons.Text = "panelEx1"; - this.panSearchButtons.ThemeAware = true; - this.panSearchButtons.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.panSearchButtons_MouseDoubleClick); - // - // labelX1 - // - // - // - // - this.labelX1.BackgroundStyle.Class = ""; - this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.labelX1.Location = new System.Drawing.Point(4, 6); - this.labelX1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.labelX1.Name = "labelX1"; - this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.labelX1.Size = new System.Drawing.Size(108, 23); - this.labelX1.TabIndex = 9; - this.labelX1.Text = "Results Style:"; - // - // cmbResultsStyle - // - this.cmbResultsStyle.DisplayMember = "Text"; - this.cmbResultsStyle.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cmbResultsStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cmbResultsStyle.FormattingEnabled = true; - this.cmbResultsStyle.ItemHeight = 15; - this.cmbResultsStyle.Items.AddRange(new object[] { + this.advTreeStepTypes.NodesConnector = this.nodeConnector2; + this.advTreeStepTypes.NodeStyle = this.elementStyle2; + this.advTreeStepTypes.NodeStyleSelected = this.elementStyle2; + this.advTreeStepTypes.PathSeparator = ";"; + this.advTreeStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.advTreeStepTypes.SelectionPerCell = true; + this.advTreeStepTypes.Size = new System.Drawing.Size(277, 125); + this.advTreeStepTypes.Styles.Add(this.elementStyle2); + this.advTreeStepTypes.TabIndex = 0; + this.advTreeStepTypes.Text = "advTree1"; + this.advTreeStepTypes.AfterCheck += new DevComponents.AdvTree.AdvTreeCellEventHandler(this.advTreeStepTypes_AfterCheck); + // + // elementStyle2 + // + this.elementStyle2.Class = ""; + this.elementStyle2.Name = "elementStyle2"; + this.elementStyle2.TextColor = System.Drawing.SystemColors.ControlText; + // + // node2 + // + this.node2.Expanded = true; + this.node2.Name = "node2"; + this.node2.Text = "....select a procedure set for types to appear..."; + // + // nodeConnector2 + // + this.nodeConnector2.LineColor = System.Drawing.SystemColors.ControlText; + // + // grpPanSearchResults + // + this.grpPanSearchResults.CanvasColor = System.Drawing.SystemColors.Control; + 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, 475); + this.grpPanSearchResults.Margin = new System.Windows.Forms.Padding(2); + this.grpPanSearchResults.Name = "grpPanSearchResults"; + this.grpPanSearchResults.Size = new System.Drawing.Size(277, 201); + // + // + // + this.grpPanSearchResults.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.grpPanSearchResults.Style.BackColorGradientAngle = 90; + this.grpPanSearchResults.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.grpPanSearchResults.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpPanSearchResults.Style.BorderBottomWidth = 1; + this.grpPanSearchResults.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.grpPanSearchResults.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpPanSearchResults.Style.BorderLeftWidth = 1; + this.grpPanSearchResults.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpPanSearchResults.Style.BorderRightWidth = 1; + this.grpPanSearchResults.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpPanSearchResults.Style.BorderTopWidth = 1; + this.grpPanSearchResults.Style.Class = ""; + this.grpPanSearchResults.Style.CornerDiameter = 4; + this.grpPanSearchResults.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.grpPanSearchResults.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.grpPanSearchResults.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.grpPanSearchResults.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.grpPanSearchResults.StyleMouseDown.Class = ""; + // + // + // + this.grpPanSearchResults.StyleMouseOver.Class = ""; + this.grpPanSearchResults.TabIndex = 3; + this.grpPanSearchResults.Text = "Search Results"; + // + // lbSrchResults + // + this.lbSrchResults.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbSrchResults.FormattingEnabled = true; + this.lbSrchResults.HorizontalScrollbar = true; + this.lbSrchResults.Location = new System.Drawing.Point(0, 0); + this.lbSrchResults.Margin = new System.Windows.Forms.Padding(2); + this.lbSrchResults.Name = "lbSrchResults"; + this.lbSrchResults.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.lbSrchResults.Size = new System.Drawing.Size(271, 173); + this.lbSrchResults.TabIndex = 0; + this.lbSrchResults.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbSrchResults_MouseMove); + this.lbSrchResults.SelectedValueChanged += new System.EventHandler(this.lbSrchResults_SelectedValueChanged); + // + // panSearchButtons + // + this.panSearchButtons.CanvasColor = System.Drawing.SystemColors.Control; + this.panSearchButtons.Controls.Add(this.btnClearSearchResults); + this.panSearchButtons.Controls.Add(this.btnCopySearchResults); + this.panSearchButtons.Controls.Add(this.labelX1); + this.panSearchButtons.Controls.Add(this.cmbResultsStyle); + this.panSearchButtons.Controls.Add(this.cbSorted); + 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, 416); + this.panSearchButtons.Margin = new System.Windows.Forms.Padding(2); + this.panSearchButtons.Name = "panSearchButtons"; + this.panSearchButtons.Size = new System.Drawing.Size(277, 59); + this.panSearchButtons.Style.Alignment = System.Drawing.StringAlignment.Center; + this.panSearchButtons.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.panSearchButtons.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.panSearchButtons.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.panSearchButtons.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.panSearchButtons.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.panSearchButtons.Style.GradientAngle = 90; + this.panSearchButtons.TabIndex = 6; + this.panSearchButtons.Text = "panelEx1"; + this.panSearchButtons.ThemeAware = true; + // + // btnClearSearchResults + // + this.btnClearSearchResults.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnClearSearchResults.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; + this.btnClearSearchResults.Enabled = false; + this.btnClearSearchResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnClearSearchResults.Location = new System.Drawing.Point(225, 5); + this.btnClearSearchResults.Margin = new System.Windows.Forms.Padding(2); + this.btnClearSearchResults.Name = "btnClearSearchResults"; + this.btnClearSearchResults.Size = new System.Drawing.Size(43, 23); + this.superTooltip1.SetSuperTooltip(this.btnClearSearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); + this.btnClearSearchResults.TabIndex = 11; + this.btnClearSearchResults.Text = "Clear"; + this.btnClearSearchResults.ThemeAware = true; + this.btnClearSearchResults.Click += new System.EventHandler(this.btnClearSearchResults_Click); + // + // btnCopySearchResults + // + this.btnCopySearchResults.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnCopySearchResults.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; + this.btnCopySearchResults.Enabled = false; + this.btnCopySearchResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnCopySearchResults.Location = new System.Drawing.Point(105, 29); + this.btnCopySearchResults.Margin = new System.Windows.Forms.Padding(2); + this.btnCopySearchResults.Name = "btnCopySearchResults"; + this.btnCopySearchResults.Size = new System.Drawing.Size(43, 23); + this.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); + this.btnCopySearchResults.TabIndex = 10; + this.btnCopySearchResults.Text = "Copy"; + this.btnCopySearchResults.ThemeAware = true; + this.btnCopySearchResults.Click += new System.EventHandler(this.btnCopySearchResults_Click); + // + // labelX1 + // + // + // + // + this.labelX1.BackgroundStyle.Class = ""; + this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelX1.Location = new System.Drawing.Point(3, 5); + this.labelX1.Margin = new System.Windows.Forms.Padding(2); + this.labelX1.Name = "labelX1"; + this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.labelX1.Size = new System.Drawing.Size(81, 19); + this.labelX1.TabIndex = 9; + this.labelX1.Text = "Results Style:"; + // + // cmbResultsStyle + // + this.cmbResultsStyle.DisplayMember = "Text"; + this.cmbResultsStyle.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cmbResultsStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cmbResultsStyle.FormattingEnabled = true; + this.cmbResultsStyle.ItemHeight = 15; + this.cmbResultsStyle.Items.AddRange(new object[] { this.comboItem1, this.comboItem2, this.comboItem3, this.comboItem4}); - this.cmbResultsStyle.Location = new System.Drawing.Point(117, 6); - this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cmbResultsStyle.Name = "cmbResultsStyle"; - this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cmbResultsStyle.Size = new System.Drawing.Size(155, 21); - this.cmbResultsStyle.TabIndex = 8; - this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged); - // - // comboItem1 - // - this.comboItem1.Text = "Document Path"; - // - // comboItem2 - // - this.comboItem2.Text = "Step Path"; - // - // comboItem3 - // - this.comboItem3.Text = "Annotation Text"; - // - // comboItem4 - // - this.comboItem4.Text = "Document Text"; - // - // cbSorted - // - // - // - // - this.cbSorted.BackgroundStyle.Class = ""; - this.cbSorted.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbSorted.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbSorted.Location = new System.Drawing.Point(152, 41); - this.cbSorted.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.cbSorted.Name = "cbSorted"; - this.cbSorted.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cbSorted.Size = new System.Drawing.Size(133, 23); - this.cbSorted.TabIndex = 7; - this.cbSorted.Text = "Sort Results"; - this.cbSorted.CheckedChanged += new System.EventHandler(this.cbSorted_CheckedChanged); - // - // btnSearch - // - this.btnSearch.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnSearch.BackColor = System.Drawing.SystemColors.Control; - this.btnSearch.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; - this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnSearch.Location = new System.Drawing.Point(5, 36); - this.btnSearch.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.btnSearch.Name = "btnSearch"; - this.btnSearch.Size = new System.Drawing.Size(67, 28); - this.superTooltip1.SetSuperTooltip(this.btnSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search Button", "", "This will preform the search and place the results below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80))); - this.btnSearch.TabIndex = 4; - this.btnSearch.Text = "Search"; - this.btnSearch.ThemeAware = true; - this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); - // - // xpSetToSearch - // - this.xpSetToSearch.CanvasColor = System.Drawing.SystemColors.Control; - this.xpSetToSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - 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, 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); - this.xpSetToSearch.Style.Alignment = System.Drawing.StringAlignment.Center; - this.xpSetToSearch.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.xpSetToSearch.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.xpSetToSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.xpSetToSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; - 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\nThe defa" + - "ult is the current procedure set only.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(228, 105))); - this.xpSetToSearch.TabIndex = 7; - this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; - this.xpSetToSearch.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.xpSetToSearch.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.xpSetToSearch.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; - this.xpSetToSearch.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.xpSetToSearch.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.xpSetToSearch.TitleStyle.GradientAngle = 90; - this.xpSetToSearch.TitleText = "Select Procedure Sets"; - this.xpSetToSearch.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.xpSetToSearch_ExpandedChanged); - // - // xpStepTypes - // - this.xpStepTypes.CanvasColor = System.Drawing.SystemColors.Control; - this.xpStepTypes.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - 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, 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; - this.xpStepTypes.Size = new System.Drawing.Size(385, 180); - this.xpStepTypes.Style.Alignment = System.Drawing.StringAlignment.Center; - this.xpStepTypes.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.xpStepTypes.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.xpStepTypes.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.xpStepTypes.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; - 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 Types", "", "This allows you to search in only the selected types.\r\n\r\nIf you do not enter text" + - " to search, it will show you where the selected types are used in your procedure" + - "s.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(252, 120))); - this.xpStepTypes.TabIndex = 8; - this.xpStepTypes.ThemeAware = true; - this.xpStepTypes.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; - this.xpStepTypes.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.xpStepTypes.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.xpStepTypes.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; - this.xpStepTypes.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.xpStepTypes.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.xpStepTypes.TitleStyle.GradientAngle = 90; - this.xpStepTypes.TitleText = "Search By Types"; - this.xpStepTypes.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.xpStepTypes_ExpandedChanged); - // - // superTooltip1 - // - this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - // - // DisplaySearch - // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.grpPanSearchResults); - this.Controls.Add(this.panSearchButtons); - this.Controls.Add(this.xpStepTypes); - this.Controls.Add(this.xpSetToSearch); - this.Controls.Add(this.tabSearchTypes); - this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.Name = "DisplaySearch"; - this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.Size = new System.Drawing.Size(385, 832); - ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).EndInit(); - this.tabSearchTypes.ResumeLayout(false); - this.tabControlPanel4.ResumeLayout(false); - this.gpSrchText.ResumeLayout(false); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - 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(); - this.grpPanSearchResults.ResumeLayout(false); - this.panSearchButtons.ResumeLayout(false); - this.xpSetToSearch.ResumeLayout(false); - this.xpStepTypes.ResumeLayout(false); - this.ResumeLayout(false); + this.cmbResultsStyle.Location = new System.Drawing.Point(88, 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(132, 21); + this.cmbResultsStyle.TabIndex = 8; + this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged); + // + // comboItem1 + // + this.comboItem1.Text = "Document Path"; + // + // comboItem2 + // + this.comboItem2.Text = "Step Path"; + // + // comboItem3 + // + this.comboItem3.Text = "Annotation Text"; + // + // comboItem4 + // + this.comboItem4.Text = "Document Text"; + // + // cbSorted + // + // + // + // + this.cbSorted.BackgroundStyle.Class = ""; + this.cbSorted.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbSorted.Location = new System.Drawing.Point(172, 30); + this.cbSorted.Margin = new System.Windows.Forms.Padding(2); + this.cbSorted.Name = "cbSorted"; + this.cbSorted.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cbSorted.Size = new System.Drawing.Size(100, 19); + this.cbSorted.TabIndex = 7; + this.cbSorted.Text = "Sort Results"; + this.cbSorted.CheckedChanged += new System.EventHandler(this.cbSorted_CheckedChanged); + // + // btnSearch + // + this.btnSearch.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnSearch.BackColor = System.Drawing.SystemColors.Control; + this.btnSearch.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; + this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnSearch.Location = new System.Drawing.Point(4, 29); + this.btnSearch.Margin = new System.Windows.Forms.Padding(2); + this.btnSearch.Name = "btnSearch"; + this.btnSearch.Size = new System.Drawing.Size(50, 23); + this.superTooltip1.SetSuperTooltip(this.btnSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search Button", "", "This will preform the search and place the results below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80))); + this.btnSearch.TabIndex = 4; + this.btnSearch.Text = "Search"; + this.btnSearch.ThemeAware = true; + this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); + // + // btnPrnSrchRslts + // + this.btnPrnSrchRslts.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnPrnSrchRslts.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; + this.btnPrnSrchRslts.Enabled = false; + this.btnPrnSrchRslts.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnPrnSrchRslts.Location = new System.Drawing.Point(58, 29); + this.btnPrnSrchRslts.Margin = new System.Windows.Forms.Padding(2); + this.btnPrnSrchRslts.Name = "btnPrnSrchRslts"; + this.btnPrnSrchRslts.Size = new System.Drawing.Size(43, 23); + this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); + this.btnPrnSrchRslts.TabIndex = 5; + this.btnPrnSrchRslts.Text = "Print"; + this.btnPrnSrchRslts.ThemeAware = true; + this.btnPrnSrchRslts.Click += new System.EventHandler(this.btnPrnSrchRslts_Click); + // + // xpSetToSearch + // + this.xpSetToSearch.CanvasColor = System.Drawing.SystemColors.Control; + this.xpSetToSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + 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, 112); + this.xpSetToSearch.Margin = new System.Windows.Forms.Padding(2); + this.xpSetToSearch.Name = "xpSetToSearch"; + this.xpSetToSearch.Size = new System.Drawing.Size(277, 158); + this.xpSetToSearch.Style.Alignment = System.Drawing.StringAlignment.Center; + this.xpSetToSearch.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.xpSetToSearch.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.xpSetToSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.xpSetToSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; + 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\nThe defa" + + "ult is the current procedure set only.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(228, 105))); + this.xpSetToSearch.TabIndex = 7; + this.xpSetToSearch.TitleHeight = 21; + this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; + this.xpSetToSearch.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.xpSetToSearch.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.xpSetToSearch.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; + this.xpSetToSearch.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.xpSetToSearch.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.xpSetToSearch.TitleStyle.GradientAngle = 90; + this.xpSetToSearch.TitleText = "Select Procedure Sets"; + this.xpSetToSearch.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.xpSetToSearch_ExpandedChanged); + // + // xpStepTypes + // + this.xpStepTypes.CanvasColor = System.Drawing.SystemColors.Control; + this.xpStepTypes.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + 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, 270); + this.xpStepTypes.Margin = new System.Windows.Forms.Padding(2); + this.xpStepTypes.Name = "xpStepTypes"; + this.xpStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.xpStepTypes.Size = new System.Drawing.Size(277, 146); + this.xpStepTypes.Style.Alignment = System.Drawing.StringAlignment.Center; + this.xpStepTypes.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.xpStepTypes.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.xpStepTypes.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.xpStepTypes.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; + 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 Types", "", "This allows you to search in only the selected types.\r\n\r\nIf you do not enter text" + + " to search, it will show you where the selected types are used in your procedure" + + "s.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(252, 120))); + this.xpStepTypes.TabIndex = 8; + this.xpStepTypes.ThemeAware = true; + this.xpStepTypes.TitleHeight = 21; + this.xpStepTypes.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; + this.xpStepTypes.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.xpStepTypes.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.xpStepTypes.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; + this.xpStepTypes.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.xpStepTypes.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.xpStepTypes.TitleStyle.GradientAngle = 90; + this.xpStepTypes.TitleText = "Search By Types"; + this.xpStepTypes.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.xpStepTypes_ExpandedChanged); + // + // superTooltip1 + // + this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + // + // DisplaySearch + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.grpPanSearchResults); + this.Controls.Add(this.panSearchButtons); + this.Controls.Add(this.xpStepTypes); + this.Controls.Add(this.xpSetToSearch); + this.Controls.Add(this.tabSearchTypes); + this.Margin = new System.Windows.Forms.Padding(2); + this.Name = "DisplaySearch"; + this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.Size = new System.Drawing.Size(277, 676); + ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).EndInit(); + this.tabSearchTypes.ResumeLayout(false); + this.tabControlPanel2.ResumeLayout(false); + this.gpFindROs.ResumeLayout(false); + this.tabControlPanel4.ResumeLayout(false); + this.gpSrchText.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel3.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(); + this.grpPanSearchResults.ResumeLayout(false); + this.panSearchButtons.ResumeLayout(false); + this.xpSetToSearch.ResumeLayout(false); + this.xpStepTypes.ResumeLayout(false); + this.ResumeLayout(false); } @@ -1234,8 +1245,7 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.ElementStyle elementStyle2; private DevComponents.DotNetBar.Controls.GroupPanel grpPanSearchResults; private DevComponents.DotNetBar.TabControlPanel tabControlPanel4; - private DevComponents.DotNetBar.TabItem tabStepTypeSearch; - private DevComponents.DotNetBar.ButtonX btnPrnSrchRslts; + private DevComponents.DotNetBar.TabItem tabStepTypeSearch; private DevComponents.DotNetBar.Controls.ComboTree cmboTreeROs; private DevComponents.DotNetBar.Controls.ComboBoxEx cbxAnnoTypes; private DevComponents.DotNetBar.Controls.ComboBoxEx cbxTextSearchText; @@ -1290,6 +1300,9 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.ButtonItem btnAND; private DevComponents.DotNetBar.ButtonItem btnOR; private DevComponents.DotNetBar.ButtonItem btnNOT; + private DevComponents.DotNetBar.ButtonX btnCopySearchResults; + private DevComponents.DotNetBar.ButtonX btnPrnSrchRslts; + private DevComponents.DotNetBar.ButtonX btnClearSearchResults; } } diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.cs b/PROMS/Volian.Controls.Library/DisplaySearch.cs index ca8eedfc..1dfc987c 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.cs @@ -9,13 +9,22 @@ using VEPROMS.CSLA.Library; using DevComponents.DotNetBar; using DevComponents.AdvTree; using Volian.Base.Library; +using System.Text.RegularExpressions; namespace Volian.Controls.Library { public partial class DisplaySearch : UserControl - { - #region Properties - private string _strSrchText = ""; + { + #region Events + public event DisplaySearchEvent PrintRequest; + private void OnPrintRequest(DisplaySearchEventArgs args) + { + if (PrintRequest != null) + PrintRequest(this, args); + } + #endregion + #region Properties + private string _strSrchText = ""; private List lstCheckedDocVersions = new List(); private List lstCheckedStepTypes = new List(); @@ -423,7 +432,9 @@ namespace Volian.Controls.Library { if (_MyROFSTLookup == null) return; cmboTreeROs.Nodes.Clear(); - this.cmboTreeROs.AdvTree.BeforeExpand += new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(this.cmboTreeROs_BeforeSelectNode); + this.cmboTreeROs.AdvTree.BeforeExpand += new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(this.cmboTreeROs_BeforeExpand); + cmboTreeROs.AdvTree.AfterExpand += new AdvTreeNodeEventHandler(AdvTree_AfterExpandorCollapse); + cmboTreeROs.AdvTree.AfterCollapse += new AdvTreeNodeEventHandler(AdvTree_AfterExpandorCollapse); for (int i = 0; i < _MyROFSTLookup.myHdr.myDbs.Length; i++) { DevComponents.AdvTree.Node tn = new DevComponents.AdvTree.Node(); @@ -433,7 +444,45 @@ namespace Volian.Controls.Library AddDummyGroup(_MyROFSTLookup.myHdr.myDbs[i], tn); } } - + void AdvTree_AfterExpandorCollapse(object sender, AdvTreeNodeEventArgs e) + { + Node bottomNode = BottomTreeNode(cmboTreeROs.AdvTree.Nodes); + Node lastNode = cmboTreeROs.AdvTree.Nodes[cmboTreeROs.AdvTree.Nodes.Count - 1]; + int top = cmboTreeROs.AdvTree.Nodes[0].Bounds.Top; + int bottom = bottomNode.Bounds.Bottom + 5; + int hScrollBarHeight = cmboTreeROs.AdvTree.HScrollBar != null ? cmboTreeROs.AdvTree.HScrollBar.Height : 0; + bottom = bottomNode.Bounds.Bottom + 5; + cmboTreeROs.AdvTree.Size = new Size(cmboTreeROs.AdvTree.Size.Width, Math.Min(525, bottom - top + hScrollBarHeight)); + if (cmboTreeROs.AdvTree.VScrollBar != null && bottom < cmboTreeROs.AdvTree.Size.Height) + { + int yLookFor = (bottom - cmboTreeROs.AdvTree.Size.Height) + 2 * hScrollBarHeight; + Node topNode = FindTreeNodeAt(cmboTreeROs.AdvTree.Nodes, yLookFor); + if (topNode != null) + topNode.EnsureVisible(); + } + } + private Node FindTreeNodeAt(NodeCollection nodes, int y) + { + foreach (Node node in nodes) + { + if (node.Bounds.Top <= y && node.Bounds.Bottom >= y) + return node; + if (node.Bounds.Top > y) + { + if (node.PrevNode != null && node.PrevNode.Expanded) + return FindTreeNodeAt(node.PrevNode.Nodes, y); + return node; + } + } + return null; + } + private Node BottomTreeNode(NodeCollection nodes) + { + Node bottomNode = nodes[nodes.Count - 1]; // Return bottom node in collection + if (bottomNode.Expanded) // If expanded return bottom child + return BottomTreeNode(bottomNode.Nodes); + return bottomNode; + } private void AddDummyGroup(ROFSTLookup.rodbi rodbi, DevComponents.AdvTree.Node tn) { if (rodbi.children != null && rodbi.children.Length > 0) @@ -443,11 +492,9 @@ namespace Volian.Controls.Library tn.Nodes.Add(tmp); } } - - - private void cmboTreeROs_BeforeSelectNode(object sender, DevComponents.AdvTree.AdvTreeNodeCancelEventArgs e) + private void cmboTreeROs_BeforeExpand(object sender, DevComponents.AdvTree.AdvTreeNodeCancelEventArgs e) { - LoadChildren(e.Node); + LoadChildren(e.Node); } private void LoadChildren(DevComponents.AdvTree.Node tn) @@ -501,13 +548,39 @@ namespace Volian.Controls.Library tmp = new DevComponents.AdvTree.Node(); tmp.Text = chld[i].title; tmp.Tag = chld[i]; - tn.Nodes.Add(tmp); + int index = FindIndex(tn.Nodes, tmp.Text); + tn.Nodes.Insert(index,tmp); + //tn.Nodes.Add(tmp); } } } ProgressBar_Clear(); } + private int FindIndex(NodeCollection nodes, string value) + { + int index = 0; + foreach (Node node in nodes) + { + if (GreaterValue(node.Text, value)) return index; + index++; + } + return index; + } + private static Regex _RegExGetNumber = new Regex(@"^ *[+-]?[.,0-9]+(E[+-]?[0-9]+)?"); + private bool GreaterValue(string value1, string value2) + { + Match match1 = _RegExGetNumber.Match(value1); + Match match2 = _RegExGetNumber.Match(value2); + if (match1.Success && match2.Success) // Compare the numeric value + { + double dbl1 = double.Parse(match1.ToString()); + double dbl2 = double.Parse(match2.ToString()); + return dbl1 > dbl2; + } + return String.Compare( value1,value2,true) > 0; + } + private void cmboTreeROs_SelectedIndexChanged(object sender, EventArgs e) { if (cmboTreeROs.SelectedIndex == -1 || cmboTreeROs.SelectedNode.Tag is ROFSTLookup.rodbi) @@ -633,12 +706,16 @@ namespace Volian.Controls.Library if (lbSrchResults.Items.Count > 0) { btnPrnSrchRslts.Enabled = true; + btnClearSearchResults.Enabled = true; + btnCopySearchResults.Enabled = true; cmbResultsStyle.Enabled = true; } else { btnPrnSrchRslts.Enabled = false; - cmbResultsStyle.Enabled = false; + btnClearSearchResults.Enabled = false; + btnCopySearchResults.Enabled = false; + cmbResultsStyle.Enabled = false; } lbSrchResults.SelectedIndex = -1; @@ -731,96 +808,106 @@ namespace Volian.Controls.Library { DisplayResults(); } - - private void panSearchButtons_MouseDoubleClick(object sender, MouseEventArgs e) - { - DialogResult dr = MessageBox.Show("Michelle,\n\n Do you want to clear this Search List?", "For Michelle...", MessageBoxButtons.YesNo); - if (dr == DialogResult.Yes) - { - lbSrchResults.DataSource = null; - _SearchResults = null; - DisplayResults(); - } - } #endregion #region Search - private string[] BuildSearchString() - { - _strSrchText = ""; // used when jumping to a section from the results window - // the search query needs ',...',',...,','' - string[] strRtnStr = { "", "", "" }; - // append list of document versions to search - if (lstCheckedDocVersions.Count > 0) - { - // get list of doc versions to search - foreach (DocVersionInfo dvi in lstCheckedDocVersions) - { - strRtnStr[0] += string.Format("{0},", dvi.VersionID.ToString()); - } - strRtnStr[0] = strRtnStr[0].Remove(strRtnStr[0].LastIndexOf(','), 1); - } - - // append list of step types to search - if (lstCheckedStepTypes.Count > 0) - { - // get list of selected types - foreach (int typ in lstCheckedStepTypes) - { - int tmp = typ; - if (tmp == 0) - tmp = 10000; // this is the accessory page type - else - tmp += 20000; // step/substep types - strRtnStr[1] += string.Format("{0},", tmp); - } - strRtnStr[1] = strRtnStr[1].Remove(strRtnStr[1].LastIndexOf(','), 1); - } - - if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[0]) - { // Text Search - _strSrchText = ConvertSpecialChars(cbxTextSearchText.Text);//string.Format("{0}", cbxTextSearchText.Text); - strRtnStr[2] += _strSrchText; // append text to search - //strRtnStr[2] += ConvertSpecialChars(cbxTextSearchText.Text);//string.Format("{0}", cbxTextSearchText.Text); // append text to search - } - else if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) - { // Annotation Search - strRtnStr[2] += ((AnnotationTypeSearch)cbxAnnoTypes.SelectedValue).ID; - } - else if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[2]) - { // RO Search - ROFSTLookup.rochild[] chld = null; - ROFSTLookup.rochild ch; - if (cmboTreeROs.SelectedNode != null) - { - if (cbxFndUnLnkROVals.Enabled && cbxFndUnLnkROVals.Checked) - { - ch = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag; - _strSrchText = string.Format("{0}", ch.value); - strRtnStr[2] += _strSrchText; // append RO Value text to search - //strRtnStr[2] += string.Format("{0}", ch.value); // append RO Value text to search - } - else - { - if (cmboTreeROs.SelectedNode.Tag is ROFSTLookup.rodbi) - { - ROFSTLookup.rodbi db = (ROFSTLookup.rodbi)cmboTreeROs.SelectedNode.Tag; - strRtnStr[2] += _MyRODbID.ToString() + ":" + string.Format("{0}", db.dbiID.ToString("D4")); - } - else if (cmboTreeROs.SelectedNode.Tag is ROFSTLookup.rochild) - { - ch = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag; - chld = ch.children; - // build a list of ROs to search - strRtnStr[2] += _MyRODbID.ToString() + ":" + GetROsToSearch(chld); - if (strRtnStr[2].EndsWith(",")) - strRtnStr[2] = strRtnStr[2].Substring(0, strRtnStr[2].Length - 1); - } - } - } - } - return strRtnStr; - } + private string DVISearchList + { + get + { + // append list of document versions to search + if (lstCheckedDocVersions.Count > 0) + { + string strRtnStr = ""; + // get list of doc versions to search + foreach (DocVersionInfo dvi in lstCheckedDocVersions) + { + strRtnStr += string.Format(",{0}", dvi.VersionID.ToString()); + } + return strRtnStr.Substring(1); + } + return ""; + } + } + private string TypeSearchList + { + get + { + // append list of step types to search + if (lstCheckedStepTypes.Count > 0) + { + string strRtnStr = ""; + // get list of selected types + foreach (int typ in lstCheckedStepTypes) + { + int tmp = typ; + if (tmp == 0) + tmp = 10000; // this is the accessory page type + else + tmp += 20000; // step/substep types + strRtnStr += string.Format(",{0}", tmp); + } + return strRtnStr.Substring(1); + } + return ""; + } + } + private string TextSearchString + { + get + { + if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[0]) + return ConvertSpecialChars(cbxTextSearchText.Text);//string.Format("{0}", cbxTextSearchText.Text); + return ""; + } + } + private string AnnotationSearchType + { + get + { + if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) + return ((AnnotationTypeSearch)cbxAnnoTypes.SelectedValue).ID; + return ""; + } + } + private string ROSearchList + { + get + { + if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[2]) + { // RO Search + ROFSTLookup.rochild[] chld = null; + ROFSTLookup.rochild ch; + if (cmboTreeROs.SelectedNode != null) + { + if (cbxFndUnLnkROVals.Enabled && cbxFndUnLnkROVals.Checked) + { + ch = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag; + _strSrchText = string.Format("{0}", ch.value); + return _strSrchText; // append RO Value text to search + } + else + { + if (cmboTreeROs.SelectedNode.Tag is ROFSTLookup.rodbi) + { + ROFSTLookup.rodbi db = (ROFSTLookup.rodbi)cmboTreeROs.SelectedNode.Tag; + return _MyRODbID.ToString() + ":" + string.Format("{0}", db.dbiID.ToString("D4")); + } + else if (cmboTreeROs.SelectedNode.Tag is ROFSTLookup.rochild) + { + ch = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag; + chld = ch.children; + // build a list of ROs to search + return _MyRODbID.ToString() + ":" + GetROsToSearch(chld); + //if (strRtnStr.EndsWith(",")) + // strRtnStr = strRtnStr.Substring(0, strRtnStr.Length - 1); + } + } + } + } + return ""; + } + } private string ConvertSpecialChars(string str) { @@ -868,12 +955,9 @@ namespace Volian.Controls.Library Cursor savcursor = Cursor; try { - string[] strSearchText = null; lbSrchResults.DataSource = null; lbSrchResults.Items.Clear(); toolTip1.SetToolTip(lbSrchResults, null); - - strSearchText = BuildSearchString(); Cursor = Cursors.WaitCursor; SearchResults = null; bool includeRTFformat = false; @@ -891,43 +975,51 @@ namespace Volian.Controls.Library } else { - SearchResults = ItemInfoList.GetListFromTextSearch(strSearchText[0], strSearchText[1], "", cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, ItemSearchIncludeLinks.Value, includeRTFformat, includeSpecialChars); + ReportTitle = "PROMS2010 - Search by Type"; + SearchString = null; + SearchResults = ItemInfoList.GetListFromTextSearch(DVISearchList, TypeSearchList, "", cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, ItemSearchIncludeLinks.Value, includeRTFformat, includeSpecialChars); cmbResultsStyle.SelectedIndex = 1; //display step locations in results } } else { - if (strSearchText[2].Equals("")) - { - MessageBox.Show("Please enter some search text, then click the Search button", "No Search Text"); - cbxTextSearchText.Focus(); - } - else - { - SearchResults = ItemInfoList.GetListFromTextSearch(strSearchText[0], strSearchText[1], strSearchText[2], cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, cbxIncROTextSrch.Checked ? ItemSearchIncludeLinks.Value : ItemSearchIncludeLinks.Nothing, includeRTFformat, includeSpecialChars); + //if (textSearchString.Equals("")) + //{ + // MessageBox.Show("Please enter some search text, then click the Search button", "No Search Text"); + // cbxTextSearchText.Focus(); + //} + //else + //{ + ReportTitle = string.Format("PROMS2010 - {0} Search for '{1}'",cbxBooleanTxtSrch.Checked ? "Boolean" : "Text", TextSearchString); + SearchString = TextSearchString; + SearchResults = ItemInfoList.GetListFromTextSearch(DVISearchList, TypeSearchList, TextSearchString, cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, cbxIncROTextSrch.Checked ? ItemSearchIncludeLinks.Value : ItemSearchIncludeLinks.Nothing, includeRTFformat, includeSpecialChars); cmbResultsStyle.SelectedIndex = 3; // display step text in results - } + //} } } else if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) // Annotation Search { + SearchString = null; + ReportTitle = string.Format("PROMS2010 - Annotation Search for '{0}'", cbxTextSearchAnnotation.Text); //string srchStr = ConvertSpecialChars(cbxTextSearchAnnotation.Text);//cbxTextSearchAnnotation.Text; - //SearchResults = ItemInfoList.GetListFromAnnotationSearch(strSearchText[0], strSearchText[1], strSearchText[2], srchStr, cbxCaseSensitiveAnnoText.Checked); - SearchResults = ItemInfoList.GetListFromAnnotationSearch(strSearchText[0], strSearchText[1], strSearchText[2], cbxTextSearchAnnotation.Text, cbxCaseSensitiveAnnoText.Checked); + //SearchResults = ItemInfoList.GetListFromAnnotationSearch(dviSearchList, typeSearchList, textSearchString, srchStr, cbxCaseSensitiveAnnoText.Checked); + SearchResults = ItemInfoList.GetListFromAnnotationSearch(DVISearchList, TypeSearchList, AnnotationSearchType, cbxTextSearchAnnotation.Text, cbxCaseSensitiveAnnoText.Checked); //UpdateAnnotationSearchResults(); cmbResultsStyle.SelectedIndex = 2; // display annotation text in results } else if (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[2]) // RO Search { + SearchString = null; + ReportTitle = "PROMS2010 - Referenced Object Search"; if (cbxFndUnLnkROVals.Enabled && cbxFndUnLnkROVals.Checked) { - SearchResults = ItemInfoList.GetListFromTextSearch(strSearchText[0], strSearchText[1], strSearchText[2], cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, ItemSearchIncludeLinks.Nothing, includeRTFformat, includeSpecialChars); + SearchResults = ItemInfoList.GetListFromTextSearch(DVISearchList, TypeSearchList, ROSearchList, cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, ItemSearchIncludeLinks.Nothing, includeRTFformat, includeSpecialChars); cmbResultsStyle.SelectedIndex = 3; // display step text in results } else { - SearchResults = ItemInfoList.GetListFromROSearch(strSearchText[0], strSearchText[1], strSearchText[2]); + SearchResults = ItemInfoList.GetListFromROSearch(DVISearchList, TypeSearchList, ROSearchList); cmbResultsStyle.SelectedIndex = 3; // display step text in results } } @@ -1286,7 +1378,6 @@ namespace Volian.Controls.Library } } #endregion - private void buttonItem2_Click(object sender, EventArgs e) { if (cbxTextSearchAnnotation.Focused) @@ -1295,7 +1386,6 @@ namespace Volian.Controls.Library cbxTextSearchText.SelectedText = "*"; } - private void buttonItem3_Click(object sender, EventArgs e) { if (cbxTextSearchAnnotation.Focused) @@ -1304,16 +1394,13 @@ namespace Volian.Controls.Library 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) @@ -1339,7 +1426,6 @@ namespace Volian.Controls.Library cbxIncROTextSrch.Enabled = true; } } - private void cbxBooleanAnoTxtSrch_CheckedChanged(object sender, EventArgs e) { if (cbxBooleanAnoTxtSrch.Checked) @@ -1355,8 +1441,6 @@ namespace Volian.Controls.Library btnCMIFindText.SubItems[1].SubItems[3].Visible = false; } } - - private void btnAND_Click(object sender, EventArgs e) { if (cbxTextSearchAnnotation.Focused) @@ -1365,7 +1449,6 @@ namespace Volian.Controls.Library cbxTextSearchText.SelectedText = " AND "; } - private void btnOR_Click(object sender, EventArgs e) { if (cbxTextSearchAnnotation.Focused) @@ -1374,38 +1457,70 @@ namespace Volian.Controls.Library 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 tabAnnotationSearch_Click(object sender, EventArgs e) { cbxAnnoTypes.Focus(); cbxBooleanAnoTxtSrch_CheckedChanged(sender, e); } + private void btnClearSearchResults_Click(object sender, EventArgs e) + { + lbSrchResults.DataSource = null; + _SearchResults = null; + DisplayResults(); + } + private void btnCopySearchResults_Click(object sender, EventArgs e) + { + ICollection myList = lbSrchResults.DataSource as ICollection; + StringBuilder sb = new StringBuilder(); + sb.Append("\"Location\"\t\"Type\"\t\"Text\"\t\"High-Level\"\t\"Annotations\""); + foreach (ItemInfo myItem in myList) + { + sb.Append(string.Format("\r\n\"{0}\"\t\"{1}\"\t\"{2}\"\t\"{3}\"", myItem.ShortPath, myItem.ToolTip, + myItem.DisplayText, !myItem.IsSection && !myItem.IsHigh ? myItem.MyHLS.DisplayText : "")); + if(myItem.ItemAnnotationCount > 0) + foreach(AnnotationInfo myAnnotation in myItem.ItemAnnotations) + sb.Append(string.Format("\t\"{0}\"",myAnnotation.SearchText)); + } + Clipboard.Clear(); + Clipboard.SetText(sb.ToString()); + MessageBox.Show("Results Copied to Clipboard","Copy Results", MessageBoxButtons.OK, MessageBoxIcon.Information); + } + private string _ReportTitle; + public string ReportTitle + { + get { return _ReportTitle; } + set { _ReportTitle = value; } + } + private string _SearchString=null; + public string SearchString + { + get { return _SearchString; } + set { _SearchString = value; } + } + private void btnPrnSrchRslts_Click(object sender, EventArgs e) + { + OnPrintRequest(new DisplaySearchEventArgs(ReportTitle,SearchString,lbSrchResults.DataSource as ICollection)); + } } - #region Annoation Search Type Class // this class is used to generate the list of annotations to search. // this also allow us to add a dummy type which is used to search for all annotations public class AnnotationTypeSearch { private string _Name; - public string Name { get { return _Name; } set { _Name = value; } } private string _ID; - public string ID { get { return _ID; } @@ -1416,6 +1531,35 @@ namespace Volian.Controls.Library _Name = name; _ID = id; } + } #endregion + public class DisplaySearchEventArgs + { + private string _ReportTitle; + public string ReportTitle + { + get { return _ReportTitle; } + set { _ReportTitle = value; } + } + private string _SearchString = null; + public string SearchString + { + get { return _SearchString; } + set { _SearchString = value; } + } + private ICollection _MyItemInfoList; + public ICollection MyItemInfoList + { + get { return _MyItemInfoList; } + set { _MyItemInfoList = value; } + } + public DisplaySearchEventArgs(string reportTitle, string searchString, ICollection myItemInfoList) + { + _ReportTitle = reportTitle; + _MyItemInfoList = myItemInfoList; + _SearchString = searchString; + } + } + public delegate void DisplaySearchEvent(object sender, DisplaySearchEventArgs args); }