This commit is contained in:
Kathy Ruffing 2010-10-19 16:45:02 +00:00
parent 08d4b3c923
commit f650f801f0
3 changed files with 15 additions and 7 deletions

View File

@ -244,9 +244,10 @@ namespace Volian.Controls.Library
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.Size = new System.Drawing.Size(234, 23);
this.superTooltip1.SetSuperTooltip(this.cbxFndUnLnkROVals, new DevComponents.DotNetBar.SuperTooltipInfo("Find Linked Values", "", "Finding unlinked values does the search for a specific RO.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbxFndUnLnkROVals.TabIndex = 2;
this.cbxFndUnLnkROVals.Text = "Find Unlinked Values";
this.cbxFndUnLnkROVals.Text = "Find Unlinked Values of Selected RO";
//
// cmboTreeROs
//

View File

@ -1056,6 +1056,7 @@ namespace Volian.Controls.Library
cmbResultsStyle.SelectedIndex = 3; // display step text in results
}
}
AddMessageForEmptyAnnotations();
DisplayResults();
if (SearchResults != null && SearchResults.Count == 0)
{
@ -1077,6 +1078,12 @@ namespace Volian.Controls.Library
// MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds));
}
private void AddMessageForEmptyAnnotations()
{
foreach (ItemInfo ii in SearchResults)
if (ii.SearchAnnotationText == null) ii.SearchAnnotationText = "None - [" + ii.DisplayText + "]";
}
private void cbxTextSearchText_Leave(object sender, EventArgs e)
{
InsertSearchCriteria();

View File

@ -120,11 +120,6 @@
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value>
</metadata>
<data name="cbxBooleanTxtSrch.SuperTooltip" xml:space="preserve">
<value>Using Boolean search allows you to specify text AND other text, text OR other text, and NOT text. To find options, use the Right Mouse button on the Find Box's context menu.
Boolean searches are case insensitive and the search finds RO data as text or within ROs (selection of optons 'Case Sensitive' &amp; 'Search RO Text' are not available during 'Boolean Search').</value>
</data>
<data name="cbxTextSearchText.SuperTooltip" xml:space="preserve">
<value>Enter the text you want to search, or select from the drop down list for which the text is added once a search is done.
@ -135,6 +130,11 @@ For additional search text options, use the Right Mouse button to get a context
<value>Enter the text you want to search, or select from the drop down list for which the text is added once a search is done.
For additional search text options, use the Right Mouse button to get a context menu.</value>
</data>
<data name="cbxBooleanTxtSrch.SuperTooltip" xml:space="preserve">
<value>Using Boolean search allows you to specify text AND other text, text OR other text, and NOT text. To find options, use the Right Mouse button on the Find Box's context menu.
Boolean searches are case insensitive and the search finds RO data as text or within ROs (selection of optons 'Case Sensitive' &amp; 'Search RO Text' are not available during 'Boolean Search').</value>
</data>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>