Beispiel #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();
        }
Beispiel #2
0
 private void BTN_DETAIL_Click(object sender, EventArgs 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.MdiParent = CLIENT_APP_PARAM.Fenetre_principale;
         f.StartPosition = FormStartPosition.CenterScreen;
         f.ShowDialog();
     }
 }
Beispiel #3
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();
     }
 }