public VerticalPropagationPlot() { InitializeComponent(); timer = new PrecisionTimer(); timer.Period = 10; timer.Mode = Mode.Periodic; timer.Tick += new EventHandler(timer_Tick); timer.Stopped += (o, e) => { if (this.InvokeRequired) { this.Invoke((MethodInvoker) delegate { SimulationFinishedEvent.Rise(o, e); }); } else { SimulationFinishedEvent.Rise(o, e); } }; timer.Started += (o, e) => { if (this.InvokeRequired) { this.Invoke((MethodInvoker) delegate { SimulationStartedEvent.Rise(o, e); }); } else { SimulationStartedEvent.Rise(o, e); } }; }
public void Handle(SimulationStartedEvent message) { throw new NotImplementedException(); }