/// <summary> /// Overloaded Constructor /// </summary> /// <param name="_name">Name of <see cref="KO_GUI"/></param> /// <param name="_id">ID of the <see cref="KO_GUI"/></param> public KO_GUI(string _name, int _id) { Name_GUI = _name; ID_GUI = _id; KO_CV_FL_GUI = new KO_CornverVariables(VehicleCorner.FrontLeft); KO_CV_FR_GUI = new KO_CornverVariables(VehicleCorner.FrontRight); KO_CV_RL_GUI = new KO_CornverVariables(VehicleCorner.RearLeft); KO_CV_RR_GUI = new KO_CornverVariables(VehicleCorner.RearRight); KO_Central = new KO_CentralVariables(); KO_SimParams = new KO_SimulationParams(); //xuc_KO = new XUC_KinematicOptimization(); //Param_Imp_Form = new ParametersAndImportance(); Design_Form = new DesignForm(); Design_Form.Set_KO_Variables(ref KO_Central, ref KO_CV_FL_GUI, ref KO_CV_FR_GUI, ref KO_CV_RL_GUI, ref KO_CV_RR_GUI); Design_Form.Set_KO_SimulationParams(ref KO_SimParams); /////<summary>Passing the <see cref="KO_CornverVariables"/> Objects of the 4 corners to the <see cref="Param_Imp_Form"/></summary> //Param_Imp_Form.SetCornerVariables(KO_CV_FL_GUI, KO_CV_FR_GUI, KO_CV_RL_GUI, KO_CV_RR_GUI); }