Exemple #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))
     {
         _focToolbar = new FOCToolbar(MapWidget, ServiceURL);
         MapWidget.SetToolbar(_focToolbar);
     }
 }
 /// <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))
     {
         _focToolbar = new FOCToolbar(MapWidget, ServiceURL);
         MapWidget.SetToolbar(_focToolbar);
     }
 }