Exemple #1
0
        private void OnSearchChanged()
        {
            SearchChangedEventArgs args =
                new SearchChangedEventArgs(txtSearch.Text);

            args.RoutedEvent = SearchChangedEvent;
            RaiseEvent(args);
        }
        private void OnSearchChanged()
        {
            SearchChangedEventArgs e = new SearchChangedEventArgs(
                this.txtSearch.Text);

            e.RoutedEvent = SearchChangedEvent;
            this.RaiseEvent(e);
        }
 private void SearchControl_SearchChanged(object sender, SearchChangedEventArgs e)
 {
     MessageBox.Show(string.Format("New Search: {0}", e.SearchText),
                     this.Title);
 }
Exemple #4
0
 private void SearchControl_SearchChanged(
     object sender,
     SearchChangedEventArgs e)
 {
     MessageBox.Show("New Search: " + e.SearchText);
 }