예제 #1
0
 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());
         }
     }
 }
예제 #2
0
 private void ed_cb_KeyPress(object sender, KeyPressEventArgs e)
 {
     Util.TestKey(e, false);
     if (e.KeyChar == 13)
     {
         recherchebanque();
     }
 }
예제 #3
0
 private void edcode_KeyPress(object sender, KeyPressEventArgs e)
 {
     Ul.TestKey(e, false);
     if (e.KeyChar == 13)
     {
         Initialisation();
     }
 }
예제 #4
0
 private void tauxtva_KeyPress(object sender, KeyPressEventArgs e)
 {
     uf.TestKey(e, true);
 }