Beispiel #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            TxtEmployee.Focus();

            CbAccessLevel.Items.Add("1 - Employee");
            CbAccessLevel.Items.Add("2 - Administrator");
            CbAccessLevel.SelectedIndex = 0;

            LoadEmployeeCode();
        }
Beispiel #2
0
 private void TxtEmployee_GotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
 {
     ImgEmployeeError.Visibility = Visibility.Hidden;
     TxtEmployee.ClearValue(ToolTipProperty);
     TxtEmployee.ClearValue(BorderBrushProperty);
 }