コード例 #1
0
ファイル: Form1.cs プロジェクト: DamienGuyton/College-Work
        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();
        }