Exemple #1
0
        private void dataGridViewCOMMANDE_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string      code  = dgv_b_liv.Rows[e.RowIndex].Cells[0].Value.ToString();
            Fiche_b_liv fiche = new Fiche_b_liv(code);

            fiche.MdiParent = CLIENT_APP_PARAM.Fenetre_principale;
            fiche.Show();
        }
Exemple #2
0
 private void dgv_LISTE_B_LIV_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (bs.Current != null)
     {
         DataRowView drv = (DataRowView)bs.Current;
         Fiche_b_liv f   = new Fiche_b_liv(drv["CODE_B_LIV"].ToString());
         f.WindowState = FormWindowState.Maximized;
         f.RightToLeft = RightToLeft.No;
         f.MdiParent   = CLIENT_APP_PARAM.Fenetre_principale;
         f.Show();
     }
 }