then
MessageBox.Show("No image selected", "Cannot start analysis", MessageBoxButton.OK, MessageBoxImage.Information) |> ignore
else
then
MessageBox.Show("No image selected", "Cannot start analysis", MessageBoxButton.OK, MessageBoxImage.Information) |> ignore
else
analysisPerformed <- false
butStart.IsEnabled <- false
butClose.Content <- "Abort"
analysisPerformed <- false
butStart.IsEnabled <- false
butClose.Content <- "Abort"
for id, cells in results do
state.SetResult (int id) cells
window.Root.Dispatcher.Invoke(fun () ->
for id, cells in results do
state.SetResult (int id) cells
window.Root.Dispatcher.Invoke(fun () ->
butStart.IsEnabled <- true
butClose.Content <- "Close"
updateSourceImages ())
Logger.Log.User("All analyses terminated successfully")
atLeastOneAnalysisPerformed <- true
butStart.IsEnabled <- true
butClose.Content <- "Close"
updateSourceImages ())
Logger.Log.User("All analyses terminated successfully")
atLeastOneAnalysisPerformed <- true