示例#1
0
        private void lblAttentionSp_Click(object sender, EventArgs e)
        {
            clsDoTraitement.doubleclicAttentionSpecialeDg = false;
            clsDoTraitement.idAttentionSpecialeDg         = 0;

            AttentionSpecialeFrm frm = new AttentionSpecialeFrm();

            frm.ShowDialog();
        }
示例#2
0
 private void dgvAttentionSpeciale_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         clsDoTraitement.doubleclicAttentionSpecialeDg = true;
         clsDoTraitement.idAttentionSpecialeDg         = ((clsattention_speciale)dgvAttentionSpeciale.SelectedRows[0].DataBoundItem).Id;
         AttentionSpecialeFrm frm = new AttentionSpecialeFrm();
         frm.ShowDialog();
     }
     catch (Exception) { MessageBox.Show("Erreur dans la zone d'affichage, veuillez actualiser svp !!", "Erreur d'affichage"); }
 }