protected virtual void OnRunRequested(RunRequestedEventArgs e) { if (RunRequested != null) { RunRequested.Invoke(this, e); } }
private void inputEditor_RunRequested(object sender, Editor.RunRequestedEventArgs e) { try { Submit(e.Query); } catch (Exception ex) { Utils.HandleError(ex); } }
protected virtual void OnRunRequested(RunRequestedEventArgs e) { if (RunRequested != null) RunRequested.Invoke(this, e); }