//////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> Constructor de la clase.\n /// Constructor. </summary> /// /// <remarks> Javier Fernández Fernández, 12/05/2020. </remarks> /// /// <param name="typeOfExamParam"> Tipo de examen.\n /// Type of exam. </param> /// <param name="subjectSelectedParam"> Tema seleccionado.\n /// Selected theme. </param> /// <param name="allQuestionDataParam"> Listado de preguntas asociadas al modelo.\n /// List of all questions of the model. </param> /// <param name="dataPanelParam"> Panel donde el programa muestra los datos.\n /// Panel where program show all data. </param> /// <param name="rightPanelParam"> Panel de la izquierda.\n /// Right panel. </param> /// <param name="beforeFormParam"> Panel anterior.\n /// before panel. </param> //////////////////////////////////////////////////////////////////////////////////////////////////// public AllDataTestModel(string typeOfExamParam, string subjectSelectedParam, ArrayList allQuestionDataParam, Panel dataPanelParam, Panel rightPanelParam, Form beforeFormParam) { InitializeComponent(); dataPanel = dataPanelParam; rightPanel = rightPanelParam; subject = subjectSelectedParam; typeOfModel.Text += typeOfExamParam; beforeForm = beforeFormParam; allQuestionData = allQuestionDataParam; ConnectionWithServer.setAllDataTestModel(this); typeOfDataPanel.Focus(); }