private void SomeCheckBoxChecked(object sender, EventArgs e) { if (GraphAdded != null) { GraphAdded.Invoke(sender, e); } }
/// <summary> /// Helper method which raises the <see cref="GraphAdded">Graph Added</see> event manually /// </summary> /// <param name="g">Graph</param> protected virtual void RaiseGraphAdded(IGraph g) { GraphAdded?.Invoke(this, new GraphEventArgs(g)); }