private void iddeltareal_KeyPress(object sender, KeyPressEventArgs e)
 {
     uf.TestKey(e, false);
     if (e.KeyChar == 13)
     {
         if (iddeltareal.Text.Trim() == "")
         {
             if (etat == 2)
             {
                 bt_ajout_Click(bt_ajout, new EventArgs());
                 refentreprise.Focus();
             }
             else
             {
                 annule();
                 iddeltareal.Text = "";
                 bt_modif_Click(bt_modif, new EventArgs());
             }
         }
         else
         {
             chargerclireal(iddeltareal.Text.Trim());
         }
     }
 }
Exemple #2
0
 private void ed_cb_KeyPress(object sender, KeyPressEventArgs e)
 {
     Util.TestKey(e, false);
     if (e.KeyChar == 13)
     {
         recherchebanque();
     }
 }
Exemple #3
0
 private void edcode_KeyPress(object sender, KeyPressEventArgs e)
 {
     Ul.TestKey(e, false);
     if (e.KeyChar == 13)
     {
         Initialisation();
     }
 }
Exemple #4
0
 private void tauxtva_KeyPress(object sender, KeyPressEventArgs e)
 {
     uf.TestKey(e, true);
 }