Esempio n. 1
0
 string IMainView.ShowSearchForm(IEnumerable <string> searchItems)
 {
     using (frmAddHook form = new frmAddHook(searchItems))
     {
         if (form.ShowDialog() == DialogResult.OK)
         {
             return(form.GetSelectedItem());
         }
     }
     return(null);
 }
Esempio n. 2
0
 string IMainView.ShowSearchForm(IEnumerable<string> searchItems)
 {
     using (frmAddHook form = new frmAddHook(searchItems))
     {
         if (form.ShowDialog() == DialogResult.OK)
         {
             return form.GetSelectedItem();
         }
     }
     return null;
 }