private void button4_Click(object sender, EventArgs e) { SpectacolManager spectacol = new SpectacolManager(); Int32 a = Int32.Parse(textBox7.Text); spectacol.updateBL(textBox3.Text, textBox4.Text, textBox5.Text, textBox6.Text, a); }
private void button3_Click(object sender, EventArgs e) { SpectacolManager spectacol = new SpectacolManager(); dataGridView1.DataSource = spectacol.readBL(); }
private void button5_Click(object sender, EventArgs e) { SpectacolManager spectacol = new SpectacolManager(); spectacol.deleteBL(textBox3.Text); }