public void afficheRecap(DataSet ds) { dsEsp = ds; frmRecap end = new frmRecap(dsEsp, nameDT); end.Show(); }
private void btnStart_Click(object sender, EventArgs e) { actualizeExo(); if (numAdmin.Contains(code)) { frmAdmin admin = new frmAdmin(dsEsp); this.Hide(); admin.Show(); } else if (auRecap == true) { frmRecap recap = new frmRecap(dsEsp, nameDT); this.Hide(); recap.Show(); } else { generateDataTable(); startExo(); } }