private void run_program_Click(object sender, EventArgs e) { Simulate sim = new Simulate(sys); sys.SimulationTable = sim.get_table(); sys.PerformanceMeasures = sim.get_perfomances(); MessageBox.Show("Done"); }