Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (txt_nom.Text == string.Empty && txt_desc.Text == string.Empty)
            {
                MessageBox.Show("Inserer Les information (Nom,Description) !!!");
            }
            int i = CLASS_ACTIVE_MATERIEL.sp_addActiveMateriel(txt_nom.Text, txt_desc.Text);

            MessageBox.Show("" + i + " Element Ajouter avec succée !!");
            txt_nom.Text  = "";
            txt_desc.Text = "";
        }