private void BTN_ModDesc_Click(object sender, EventArgs e) { if (StageIDExist(textBox1.Text)) { GestionStage dlg = new GestionStage(oraconn, "MOD", textBox1.Text); dlg.ShowDialog(); } else { MessageBox.Show("Identifient de Stage Invalide"); } }
private void BTN_Add_Click(object sender, EventArgs e) { GestionStage dlg = new GestionStage(oraconn, "ADD", ""); dlg.ShowDialog(); }