private void StopEvaluation() { if (ValueDisplayer.IsEvaluationRunning) { ValueDisplayer.InterruptEvaluation(); } CancelValueFormattersDisplaying = true; }
private void closeButton_Click(object sender, EventArgs e) { if (ValueDisplayer != null && ValueDisplayer.IsEvaluationRunning) { CancelValueFormattersDisplaying = true; ValueDisplayer.InterruptEvaluation(); } evaluationLogListBox.Items.Clear(); Close(); }