Пример #1
0
 private void TxtIdx_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == 13)
     {
         TxtFullName.Focus();
     }
 }
Пример #2
0
 private void UserPassWordConfirm_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         TxtFullName.Focus();
     }
 }
Пример #3
0
 private void wdwEmployeeRelative_Loaded(object sender, RoutedEventArgs e)
 {
     if (TxtFullName.Text.Contains("-"))
     {
         TxtFullName.Text = TxtFullName.Text.Replace('-', ' ');
     }
     TxtFullName.Focus();
 }
Пример #4
0
 private void BtnAddNew_Click(object sender, RoutedEventArgs e)
 {
     TxtFullName.Focus();
 }
Пример #5
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     TxtFullName.Focus();
 }
Пример #6
0
 private void wdwEmployeeTestimony_Loaded(object sender, RoutedEventArgs e)
 {
     TxtFullName.Focus();
 }
Пример #7
0
 private void ClearInput()
 {
     TxtIdx.Text = TxtFullName.Text = TxtMobile.Text = TxtAddr.Text = "";
     TxtFullName.Focus();
 }
Пример #8
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     RefreshData();
     TxtFullName.Focus();
 }