This commit is contained in:
2010-10-13 17:16:26 +00:00
parent d0c93a4287
commit a8a1edd4fd
3 changed files with 44 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ namespace Volian.Controls.Library
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplaySearch));
this.tabSearchTypes = new DevComponents.DotNetBar.TabControl();
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.gpSrchText = new DevComponents.DotNetBar.Controls.GroupPanel();
@@ -260,7 +261,7 @@ namespace Volian.Controls.Library
this.cbxTextSearchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxTextSearchText.Name = "cbxTextSearchText";
this.cbxTextSearchText.Size = new System.Drawing.Size(292, 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.superTooltip1.SetSuperTooltip(this.cbxTextSearchText, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", resources.GetString("cbxTextSearchText.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
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";
@@ -277,6 +278,7 @@ namespace Volian.Controls.Library
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.superTooltip1.SetSuperTooltip(this.label1, new DevComponents.DotNetBar.SuperTooltipInfo("Search For Text", "", resources.GetString("label1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.label1.TabIndex = 4;
this.label1.Text = "Find:";
//
@@ -304,6 +306,7 @@ namespace Volian.Controls.Library
this.cbxBooleanTxtSrch.Margin = new System.Windows.Forms.Padding(4);
this.cbxBooleanTxtSrch.Name = "cbxBooleanTxtSrch";
this.cbxBooleanTxtSrch.Size = new System.Drawing.Size(148, 21);
this.superTooltip1.SetSuperTooltip(this.cbxBooleanTxtSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Boolean Search", "", resources.GetString("cbxBooleanTxtSrch.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbxBooleanTxtSrch.TabIndex = 6;
this.cbxBooleanTxtSrch.Text = "Boolean Search";
this.cbxBooleanTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanTxtSrch_CheckedChanged);
@@ -315,14 +318,13 @@ namespace Volian.Controls.Library
//
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.superTooltip1.SetSuperTooltip(this.cbxIncROTextSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO Text", "", "When this box is checked, Search will find matches of RO text. This finds matche" +
"s whether the matched text is an inserted RO or entered as text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbxIncROTextSrch.TabIndex = 5;
this.cbxIncROTextSrch.Text = "Search RO Text";
//
@@ -339,8 +341,8 @@ namespace Volian.Controls.Library
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.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact matches of the search text " +
"you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxCaseSensitive.TabIndex = 3;
this.cbxCaseSensitive.Text = "Case Sensitive";
//
@@ -986,8 +988,8 @@ namespace Volian.Controls.Library
this.lbSrchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.lbSrchResults.Size = new System.Drawing.Size(363, 212);
this.lbSrchResults.TabIndex = 0;
this.lbSrchResults.SelectedIndexChanged += new System.EventHandler(this.lbSrchResults_SelectedValueChanged);
this.lbSrchResults.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbSrchResults_MouseMove);
this.lbSrchResults.SelectedValueChanged += new System.EventHandler(this.lbSrchResults_SelectedValueChanged);
//
// panSearchButtons
//
@@ -1025,8 +1027,9 @@ namespace Volian.Controls.Library
this.btnClearSearchResults.Location = new System.Drawing.Point(300, 6);
this.btnClearSearchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnClearSearchResults.Name = "btnClearSearchResults";
this.btnClearSearchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnClearSearchResults.Size = new System.Drawing.Size(57, 28);
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.superTooltip1.SetSuperTooltip(this.btnClearSearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Clear Search Results", "", "Clear Search Results just clears out the Search Results list.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnClearSearchResults.TabIndex = 11;
this.btnClearSearchResults.Text = "Clear";
this.btnClearSearchResults.ThemeAware = true;
@@ -1042,8 +1045,10 @@ namespace Volian.Controls.Library
this.btnCopySearchResults.Location = new System.Drawing.Point(140, 36);
this.btnCopySearchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnCopySearchResults.Name = "btnCopySearchResults";
this.btnCopySearchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btnCopySearchResults.Size = new System.Drawing.Size(57, 28);
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.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Copy Search Results", "", "This button copies the Search Results listed below into the copy/paste buffer. Th" +
"e copied data can then be pasted into another tool, such as a spreadsheet.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnCopySearchResults.TabIndex = 10;
this.btnCopySearchResults.Text = "Copy";
this.btnCopySearchResults.ThemeAware = true;
@@ -1062,6 +1067,8 @@ namespace Volian.Controls.Library
this.labelX1.Name = "labelX1";
this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.labelX1.Size = new System.Drawing.Size(108, 23);
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.labelX1.TabIndex = 9;
this.labelX1.Text = "Results Style:";
//
@@ -1082,6 +1089,8 @@ namespace Volian.Controls.Library
this.cmbResultsStyle.Name = "cmbResultsStyle";
this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cmbResultsStyle.Size = new System.Drawing.Size(175, 21);
this.superTooltip1.SetSuperTooltip(this.cmbResultsStyle, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cmbResultsStyle.TabIndex = 8;
this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged);
//
@@ -1114,6 +1123,7 @@ namespace Volian.Controls.Library
this.cbSorted.Name = "cbSorted";
this.cbSorted.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbSorted.Size = new System.Drawing.Size(133, 23);
this.superTooltip1.SetSuperTooltip(this.cbSorted, new DevComponents.DotNetBar.SuperTooltipInfo("Sort Results", "", "Sorts results that are output into the Search Results list shown below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbSorted.TabIndex = 7;
this.cbSorted.Text = "Sort Results";
this.cbSorted.CheckedChanged += new System.EventHandler(this.cbSorted_CheckedChanged);
@@ -1128,8 +1138,9 @@ namespace Volian.Controls.Library
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.RightToLeft = System.Windows.Forms.RightToLeft.No;
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.superTooltip1.SetSuperTooltip(this.btnSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search Button", "", "This will perform the search and place the results below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnSearch.TabIndex = 4;
this.btnSearch.Text = "Search";
this.btnSearch.ThemeAware = true;
@@ -1145,8 +1156,10 @@ namespace Volian.Controls.Library
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.RightToLeft = System.Windows.Forms.RightToLeft.No;
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.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below. Generated output is to P" +
"df.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnPrnSrchRslts.TabIndex = 5;
this.btnPrnSrchRslts.Text = "Print";
this.btnPrnSrchRslts.ThemeAware = true;