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;
 }
 protected override void OnClick() {
     if (_dlg != null)
         return;//already shown
     _dlg = new GeocodeTextWindow();
     _dlg.Closed += dlg_Closed;
     _dlg.Show();
 }
Example #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;
 }
Example #4
0
 protected override void OnClick()
 {
     if (_dlg != null)
     {
         return;//already shown
     }
     _dlg         = new GeocodeTextWindow();
     _dlg.Closed += dlg_Closed;
     _dlg.Show();
 }