public static AddressResult Search(IWin32Window parent, IAddressSearchService addressSearchService = null)
 {
     using (var form = new AddressSearchForm(addressSearchService))
     {
         var result = form.ShowDialog(parent);
         return(result == DialogResult.OK ? form.AddressResult : AddressResult.Empty());
     }
 }
示例#2
0
 public AddressResult Search(IWin32Window parent, IAddressSearchService addressSearchService = null)
 {
     return(AddressSearchForm.Search(parent, addressSearchService));
 }