//Запуск прохождения теста private void toolStripButton1_Click(object sender, EventArgs e) { FormTestPass ftp = new FormTestPass(this, ((Exam)treeView1.SelectedNode.Tag).Id, UserId); ftp.MdiParent = this; ftp.Show(); }
public FormUserAnswer(FormTestPass f, int idExam, int idUser) { InitializeComponent(); this.idExam = idExam; this.idUser = idUser; form = f; }