/// <summary>
 ///  Provides functionality for the map tool to be configured by the end user through a dialog.
 ///  Called when the user clicks the Configure button next to the map tool.
 /// </summary>
 /// <param name="owner">The application window which should be the owner of the dialog.</param>
 /// <returns>True if the user clicks ok, otherwise false.</returns>
 public bool Configure(System.Windows.Window owner)
 {
     Config.ConfigWin dialog = new Config.ConfigWin();
     if (dialog.ShowDialog() != true)
     {
         return(false);
     }
     ServiceURL = dialog.ServiceTextBox.Text;
     return(true);
 }
 /// <summary>
 ///  Provides functionality for the map tool to be configured by the end user through a dialog.
 ///  Called when the user clicks the Configure button next to the map tool.
 /// </summary>
 /// <param name="owner">The application window which should be the owner of the dialog.</param>
 /// <returns>True if the user clicks ok, otherwise false.</returns>
 public bool Configure(System.Windows.Window owner)
 {
     Config.ConfigWin dialog = new Config.ConfigWin();
     if (dialog.ShowDialog() != true)
         return false;
     ServiceURL = dialog.ServiceTextBox.Text;
     return true;
 }