コード例 #1
0
        private void simpleButton26_Click(object sender, EventArgs e)
        {
            oper = "ajouter";
            retour_jointure2 co = new retour_jointure2();

            getAllFichierContrat();
            co.ShowDialog();
        }
コード例 #2
0
        private void simpleButton25_Click(object sender, EventArgs e)
        {
            oper = "modifier";
            System.Data.DataRow row = gridView5.GetDataRow(gridView5.FocusedRowHandle);
            id_fich     = Convert.ToInt32(row[0]);
            descri      = row[1].ToString();
            clt         = row[2].ToString();
            date        = row[3].ToString();
            commentaire = row[4].ToString();

            cd_cont = row[7].ToString();
            retour_jointure2 co = new retour_jointure2();

            co.ShowDialog();
        }