Example #1
0
        private void Simulate_Click(object sender, EventArgs e)
        {
            SimulationSystem SS = new SimulationSystem();

            if (!Imported)
            {
                SS = FormulateSimulattor();
            }
            else
            {
                SS = ReadTestCase(DirCase);
            }


            SS.BeginSimulation();


            //string TestRes = TestingManager.Test(SS, Constants.FileNames.TestCase1);
            //MessageBox.Show(TestRes);

            this.Text = "News Paper Problem - Home";
            SimulationTable ST = new SimulationTable(SS);

            ST.Show();
        }