private void EnableControlsForEvaluation(bool enable) { evaluateButton.Enabled = enable; stopEvaluationButton.Enabled = !enable; goUpButton.Enabled = enable; closeButton.Enabled = enable; ChangeCloseButton(enable); if (enable) { NuGenDebugEventHandler.Instance.EventObjects.Frame = FrameRefresher.GetRefreshedValue(); } }