From 6b3baa746b4df812abdb1741a07329f807748a19 Mon Sep 17 00:00:00 2001 From: philstopford Date: Mon, 14 Sep 2020 13:03:35 -0500 Subject: [PATCH] Continuing clean-up --- Common/Variance/UI/UIHandlers_setup.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/Common/Variance/UI/UIHandlers_setup.cs b/Common/Variance/UI/UIHandlers_setup.cs index 837d30b..765b29e 100644 --- a/Common/Variance/UI/UIHandlers_setup.cs +++ b/Common/Variance/UI/UIHandlers_setup.cs @@ -28,7 +28,6 @@ void setupGUI() entropyControl.abortRunFunc = abortRun; entropyControl.abortRunFuncMT = abortRunMT; entropyControl.multithreadWarningFunc = displayMultiThreadWarning; - entropyControl.tooManyPolysWarningFunc = tooManyPolysWarning; entropyControl.simRunningFunc = simRunning; entropyControl.simRunningUIFunc = simRunningUIFunc; entropyControl.implantSimRunningUIFunc = simRunningUIFunc; @@ -198,24 +197,6 @@ void addPrefsHandlers() }); } - bool tooManyPolysWarning() - { - Application.Instance.Invoke(() => - { - if (!commonVars.wasWarningShown()) - { - commonVars.setWarningShown(true); - DialogResult dR = MessageBox.Show("More than 25 polygons involved in at least one layer - are you sure you want to continue?", "This could take a while", MessageBoxButtons.YesNo); - if (dR == DialogResult.No) - { - return true; - } - } - return false; - }); - return true; - } - void clearAbortFlag() { commonVars.runAbort = false;