コード例 #1
0
 private void SomeCheckBoxUnChecked(object sender, EventArgs e)
 {
     if (GraphRemoved != null)
     {
         GraphRemoved.Invoke(sender, e);
     }
 }
コード例 #2
0
 public void RemoveGraph(FunctionGraph graph)
 {
     Field.RemoveGraph(graph);
     GraphRemoved?.Invoke(this, graph);
 }
コード例 #3
0
 /// <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));
 }