Exemple #1
0
 private void WareData_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F12)
     {
         CodeTB.Focus();
     }
 }
Exemple #2
0
 /// <summary>
 /// window ctor
 /// </summary>
 public NewStationInfo()
 {
     InitializeComponent();
     try
     {
         bl = BLFactory.GetBL();
     }
     catch (BO.MissingData ex) //creating bo failed
     {
         MessageBox.Show(ex.Message);
     }
     CodeTB.Focus();
 }