コード例 #1
0
        private void lblDelivrance_Click(object sender, EventArgs e)
        {
            clsDoTraitement.doubleclicDelivranceDg = false;
            clsDoTraitement.idDelivranceDg         = 0;

            DelivranceFrm frm = new DelivranceFrm();

            frm.ShowDialog();
        }
コード例 #2
0
 private void dgvDelivrance_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         clsDoTraitement.doubleclicDelivranceDg = true;
         clsDoTraitement.idDelivranceDg         = ((clsdelivrance)dgvDelivrance.SelectedRows[0].DataBoundItem).Id;
         DelivranceFrm frm = new DelivranceFrm();
         frm.ShowDialog();
     }
     catch (Exception) { MessageBox.Show("Erreur dans la zone d'affichage, veuillez actualiser svp !!", "Erreur d'affichage"); }
 }