/// <summary>
 /// triggers the ILGraphCollectionChanged event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="reason"></param>
 void OnChange(ILGraph graph, GraphCollectionChangeReason reason, IILPanelConfigurator configurator)
 {
     if (CollectionChanged != null)
     {
         CollectionChanged(this, new ILGraphCollectionChangedEventArgs((ILGraph)graph, reason, configurator));
     }
 }
示例#2
0
文件: Events.cs 项目: wdxa/ILNumerics
 /// <summary>
 /// arguments for GraphCollectionChanged events
 /// </summary>
 /// <param name="graph">the graph who was changed, for ILPlot: the scene graph</param>
 /// <param name="reason">reason</param>
 /// <param name="configurator"> instance of IILPanelConfigurator or null</param>
 public ILGraphCollectionChangedEventArgs(ILGraph graph, GraphCollectionChangeReason reason, IILPanelConfigurator configurator) {
     this.Graph = graph; 
     this.Reason = reason; 
     this.Configurator = configurator; 
 }
示例#3
0
 /// <summary>
 /// arguments for GraphCollectionChanged events
 /// </summary>
 /// <param name="graph">the graph who was changed, for ILPlot: the scene graph</param>
 /// <param name="reason">reason</param>
 /// <param name="configurator"> instance of IILPanelConfigurator or null</param>
 public ILGraphCollectionChangedEventArgs(ILGraph graph, GraphCollectionChangeReason reason, IILPanelConfigurator configurator)
 {
     this.Graph        = graph;
     this.Reason       = reason;
     this.Configurator = configurator;
 }