Beispiel #1
0
        private void barButtonItemedit_Etude_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var      row2 = gridViewEtude.FocusedRowHandle;
            int      cellid;
            string   cellobjet;
            string   cellEstimation;
            string   montant;
            DateTime cellEnvoyer_tresorier;
            int      délai_dexecution;



            cellid                = int.Parse(gridViewEtude.GetRowCellValue(row2, "id1").ToString());
            cellobjet             = gridViewEtude.GetRowCellValue(row2, "objet").ToString();
            cellEstimation        = gridViewEtude.GetRowCellValue(row2, "estimation").ToString();
            montant               = gridViewEtude.GetRowCellValue(row2, "montant").ToString();
            cellEnvoyer_tresorier = Convert.ToDateTime(gridViewEtude.GetRowCellValue(row2, "envoyer_tresoryer"));
            délai_dexecution      = int.Parse(gridViewEtude.GetRowCellValue(row2, "délai_dexecution").ToString());



            Etude etude = new Etude(cellid, cellobjet, cellEstimation, montant, cellEnvoyer_tresorier, délai_dexecution);

            etude.ShowDialog();
            select_Etude_Data();
        }
Beispiel #2
0
        private void barButtonEtude_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            run();
            Etude fm = new Etude();

            fm.ShowDialog();
            select_Etude_Data();
            select_Publication_Data();
        }