public void ResetChecks() { if (_ragSmileyToolStrip != null) { _ragSmileyToolStrip.Reset(); } }
private void QueryEditorOnTextChanged(object sender, EventArgs eventArgs) { if (_isLoading) { return; } try { string sql; string alias; //ensure it's all on one line _querySyntaxHelper.SplitLineIntoSelectSQLAndAlias(QueryEditor.Text, out sql, out alias); ExtractionInformation.SelectSQL = sql; ExtractionInformation.Alias = alias; ExtractionInformation.Check(new ThrowImmediatelyCheckNotifier()); ExtractionInformation.GetRuntimeName(); ragSmiley1.Reset(); } catch (Exception e) { ragSmiley1.Fatal(e); } }
/// <summary> /// Resets the RAG checker (smiley) if there is one to empty /// </summary> public void ResetChecks() { _ragSmileyToolStrip.Reset(); _ragSmileyToolStrip.Enabled = false; }