コード例 #1
0
 void dlg_Closed(object sender, EventArgs e) {
     //try and clean up
     GeocodeUtils.RemoveFromMapOverlay(ProSDKSampleModule.ActiveMapView);
     //geocode dialog was closed
     _dlg.Closed -= dlg_Closed;
     _dlg = null;
 }
コード例 #2
0
 protected override void OnClick() {
     if (_dlg != null)
         return;//already shown
     _dlg = new GeocodeTextWindow();
     _dlg.Closed += dlg_Closed;
     _dlg.Show();
 }
コード例 #3
0
 void dlg_Closed(object sender, EventArgs e)
 {
     //try and clean up
     GeocodeUtils.RemoveFromMapOverlay(ProSDKSampleModule.ActiveMapView);
     //geocode dialog was closed
     _dlg.Closed -= dlg_Closed;
     _dlg         = null;
 }
コード例 #4
0
 protected override void OnClick()
 {
     if (_dlg != null)
     {
         return;//already shown
     }
     _dlg         = new GeocodeTextWindow();
     _dlg.Closed += dlg_Closed;
     _dlg.Show();
 }