Ejemplo n.º 1
0
        private void Search_Click(object sender, RoutedEventArgs e)
        {
            string           searchValues = SearchBar.Text;
            SearchEngineView searchEngine = new SearchEngineView(searchValues);

            searchEngine.Show();
        }
Ejemplo n.º 2
0
 private void Submit_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Return)
     {
         string           searchValues = SearchBar.Text;
         SearchEngineView searchEngine = new SearchEngineView(searchValues);
         searchEngine.Show();
     }
 }