Пример #1
0
        private void simpleButton17_Click(object sender, EventArgs e)
        {
            add_modif_conta add = new add_modif_conta();

            etat1    = "ajouter";
            categggg = "decaissement";
            add.ShowDialog();
        }
Пример #2
0
        private void simpleButton16_Click(object sender, EventArgs e)
        {
            etat1    = "modifier";
            categggg = "decaissement";
            System.Data.DataRow row = gridView2.GetDataRow(gridView2.FocusedRowHandle);
            id1      = Convert.ToInt32(row[0]);
            datee1   = Convert.ToDateTime(row[1]);
            design1  = row[2].ToString();
            categ1   = row[3].ToString();
            montant1 = row[4].ToString();
            feur     = row[6].ToString();
            comment1 = row[7].ToString();


            add_modif_conta cf = new add_modif_conta();

            cf.ShowDialog();
        }
Пример #3
0
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            categggg = "encaissement";
            etat     = "modifier";
            System.Data.DataRow row = gridView1.GetDataRow(gridView1.FocusedRowHandle);
            id      = Convert.ToInt32(row[0]);
            datee   = Convert.ToDateTime(row[1]);
            design  = row[2].ToString();
            categ   = row[3].ToString();
            montant = row[4].ToString();
            clt     = row[5].ToString();
            comment = row[7].ToString();


            add_modif_conta cf = new add_modif_conta();

            cf.ShowDialog();
        }