void sim_SimulationCompleted(object sender, SimulationCompletedEventArgs e) { if (this.InvokeRequired) { this.Invoke(new SimComplete(sim_SimulationCompleted), sender, e); } else { TeamSimulationOutcome so = e.Team1Outcome.SimDetails.Outcomes[0]; } }
public void StartSimulation(int numSims) { for (int i = 0; i < numSims; i++) { _sim(); } if (this.SimulationCompleted != null) { SimulationCompletedEventArgs e = new SimulationCompletedEventArgs(outcome1, outcome2); this.SimulationCompleted(this, e); } }
private void Simulation_SimulationCompleted(object sender, SimulationCompletedEventArgs e) { }