Ejemplo n.º 1
0
        private void OnSearchChanged()
        {
            SearchChangedEventArgs args =
                new SearchChangedEventArgs(txtSearch.Text);

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

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