private void btnRun_Click(object sender, EventArgs e) { //set the parameters setParameters(); //check wheter or not they are wanting graphical display or text based display ViewSelection(); //create the simulation theSim = new Simulator(simulationData,statsData); //initalize the simulation theSim.Initialize(); //run the simulation theSim.RunSimulation(); }