logo

A SearchTextBox control More...

+ Inheritance diagram for NoteFly.SearchTextBox:

Public Member Functions

 SearchTextBox ()
 Initializes a new instance of the SearchTextBox class. More...
 
void SetControlTooltip (ToolTip tooltip)
 Set the tooltips for this control More...
 
delegate void SearchStartHandler (string keywords)
 SearchStartHandler delegate More...
 
delegate void SearchStopHandler ()
 SearchStopHandler delegate More...
 
void Clear ()
 The content of this searchbox is cleared and not highlighted. Display all items normal again. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

bool IsKeywordEntered [get]
 Gets a valeu indicating wherhera keyword is entered. More...
 

Events

SearchStartHandler SearchStart
 A search occur event. More...
 
SearchStopHandler SearchStop
 Keywords entered are cleared not searching anymore event. More...
 

Private Member Functions

void DoSearch ()
 keyword is entered and wait time for search to start has expire or enter is entered do a search now. More...
 
void ResetAutoSearchDelay ()
 Reset the timer to start a search lookup. More...
 
void timerStartSearch_Tick (object sender, EventArgs e)
 Do a search More...
 
void tbKeywords_KeyUp (object sender, KeyEventArgs e)
 Key is released in this SearchTextBox More...
 
void btnKeywordClear_Click (object sender, EventArgs e)
 The button for stop searching is clicked, clear search keyword in textbox. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.TextBox tbKeywords
 TextBox tbKeywords More...
 
System.Windows.Forms.Label lblTextSearch
 Label lblTextSearch More...
 
System.Windows.Forms.Timer timerStartAutoSearch
 Timer timerStartAutoSearch More...
 
System.Windows.Forms.TableLayoutPanel tableLayoutPnlSearchbox
 TableLayoutPanel tableLayoutPnlSearchbox More...
 
System.Windows.Forms.Button btnKeywordClear
 Button btnKeywordClear More...
 

Detailed Description

Constructor & Destructor Documentation

NoteFly.SearchTextBox.SearchTextBox ( )

Member Function Documentation

void NoteFly.SearchTextBox.btnKeywordClear_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.SearchTextBox.Clear ( )
override void NoteFly.SearchTextBox.Dispose ( bool  disposing)
protected
Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void NoteFly.SearchTextBox.DoSearch ( )
private
void NoteFly.SearchTextBox.InitializeComponent ( )
private
void NoteFly.SearchTextBox.ResetAutoSearchDelay ( )
private
delegate void NoteFly.SearchTextBox.SearchStartHandler ( string  keywords)
Parameters
keywordsThe keywords type to lookup as pluginname
delegate void NoteFly.SearchTextBox.SearchStopHandler ( )
void NoteFly.SearchTextBox.SetControlTooltip ( ToolTip  tooltip)
void NoteFly.SearchTextBox.tbKeywords_KeyUp ( object  sender,
KeyEventArgs  e 
)
private
Parameters
senderSender object
eKey event arguments
void NoteFly.SearchTextBox.timerStartSearch_Tick ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments

Member Data Documentation

System.Windows.Forms.Button NoteFly.SearchTextBox.btnKeywordClear
private
System.ComponentModel.IContainer NoteFly.SearchTextBox.components = null
private
System.Windows.Forms.Label NoteFly.SearchTextBox.lblTextSearch
private
System.Windows.Forms.TableLayoutPanel NoteFly.SearchTextBox.tableLayoutPnlSearchbox
private
System.Windows.Forms.TextBox NoteFly.SearchTextBox.tbKeywords
private
System.Windows.Forms.Timer NoteFly.SearchTextBox.timerStartAutoSearch
private

Property Documentation

bool NoteFly.SearchTextBox.IsKeywordEntered
get

Event Documentation

SearchStartHandler NoteFly.SearchTextBox.SearchStart
SearchStopHandler NoteFly.SearchTextBox.SearchStop