private void SomeCheckBoxUnChecked(object sender, EventArgs e) { if (GraphRemoved != null) { GraphRemoved.Invoke(sender, e); } }
public void RemoveGraph(FunctionGraph graph) { Field.RemoveGraph(graph); GraphRemoved?.Invoke(this, graph); }
/// <summary> /// Helper method which raises the <see cref="GraphRemoved">Graph Removed</see> event manually /// </summary> /// <param name="g">Graph</param> protected virtual void RaiseGraphRemoved(IGraph g) { GraphRemoved?.Invoke(this, new GraphEventArgs(g)); }