private void Calculation(SimProvider.Bike bike) { Save.Manager.CalculationCManager manager = new Save.Manager.CalculationCManager(bike, 0.0001); MainChartWindow m= new MainChartWindow(manager); if (checkBox1.Checked) { m._simulate = true; } m.Show(); m._mode = "CalculationManager"; this.Close(); }
private void Simulation(SimProvider.Bike bike) { //VirtualSimulation vs = new VirtualSimulation(); //vs.Show(); Save.Manager.SimulationCManager manager = new Save.Manager.SimulationCManager(); manager._bike = bike; MainChartWindow m = new MainChartWindow(manager); m._mode = "SimulationManager"; //Graphics.Scene s = new Graphics.Scene(800, 600); m.Show(); this.Close(); }
private void Calculation(SimProvider.Bike bike) { Save.Manager.CalculationCManager manager = new Save.Manager.CalculationCManager(bike, 0.0001); MainChartWindow m = new MainChartWindow(manager); if (checkBox1.Checked) { m._simulate = true; } m.Show(); m._mode = "CalculationManager"; this.Close(); }