private void button1_Click(object sender, EventArgs e) { Table tb = new Table(); tb.nom = textBox1.Text; loadencours.addVtable(tb); frm.serialisationload(loadencours); affichertable(); textBox1.Text = ""; textBox1.Focus(); }
public void addVtable(Table tb) { //Ajoute un objet TABLE dans Vtable VTable.Add(tb); }