Exemplo n.º 1
0
 private void btnEditWebSearch_OnClick(object sender, RoutedEventArgs e)
 {
     WebSearch selectedWebSearch = webSearchView.SelectedItem as WebSearch;
     if (selectedWebSearch != null)
     {
         WebSearchSetting webSearch = new WebSearchSetting(this);
         webSearch.UpdateItem(selectedWebSearch);
         webSearch.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please select a web search");
     }
 }
Exemplo n.º 2
0
        private void btnEditWebSearch_OnClick(object sender, RoutedEventArgs e)
        {
            WebSearch seletedWebSearch = webSearchView.SelectedItem as WebSearch;

            if (seletedWebSearch != null)
            {
                WebSearchSetting webSearch = new WebSearchSetting(this);
                webSearch.UpdateItem(seletedWebSearch);
                webSearch.ShowDialog();
            }
            else
            {
                MessageBox.Show("Please select a web search");
            }
        }
Exemplo n.º 3
0
 private void btnAddWebSearch_OnClick(object sender, RoutedEventArgs e)
 {
     WebSearchSetting webSearch = new WebSearchSetting(this);
     webSearch.ShowDialog();
 }
Exemplo n.º 4
0
        private void btnAddWebSearch_OnClick(object sender, RoutedEventArgs e)
        {
            WebSearchSetting webSearch = new WebSearchSetting(this);

            webSearch.ShowDialog();
        }