Ejemplo n.º 1
0
 /// <summary>
 /// Provides the behaviour when the user clicks the map tool.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if ((MapWidget != null) && (MapWidget.Map != null))
     {
         _gccToolbar = new GroundCommCovToolbar(MapWidget, ServiceURL);
         MapWidget.SetToolbar(_gccToolbar);
     }
 }
 /// <summary>
 /// Provides the behaviour when the user clicks the map tool.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if ((MapWidget != null) && (MapWidget.Map != null))
     {
         _gccToolbar = new GroundCommCovToolbar(MapWidget, ServiceURL);
         MapWidget.SetToolbar(_gccToolbar);
     }
 }