private void SetBusy(bool isBusy = true)
{
if (isBusy)
{
// Change UI to indicate that the geoprocessing is running
busyOverlay.Visibility = Visibility.Visible;
progress.IsIndeterminate = true;
}
else
{
// Change UI to indicate that the geoprocessing is not running
busyOverlay.Visibility = Visibility.Collapsed;
progress.IsIndeterminate = false;
}
}
}