コード例 #1
0
 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));
 }