示例#1
0
 private void SearchBox_SearchList(object sender, ListSearchArgs e)
 {
     if (this.SearchList != null)
     {
         this.SearchList(sender, e);
     }
 }
示例#2
0
 /// <summary>
 /// User hit the seach button
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void SummaryListToolbar_SearchList(object sender, ListSearchArgs e)
 {
     if (e.InSearchMode)
     {
         this.GoToSearchMode(e.SearchText);
         this.NeedUpdateTableData = true;
         this.NeedUpdateTableUI   = true;
         this.BeginUpdateEntireUI();
     }
     else
     {
         this.GoToNormalMode();
         this.NeedUpdateTableData = true;
         this.NeedUpdateTableUI   = true;
         this.BeginUpdateEntireUI();
     }
 }