private void WindowInsertMachine_OnLoaded(object sender, RoutedEventArgs e)
 {
     TextBoxMachine.Text     = MachineToEdit.MachineName;
     TextBoxMachineCode.Text = MachineToEdit.MachineCode.ToString();
     TextBoxMachine.SelectAll();
     TextBoxMachine.Focus();
 }
예제 #2
0
        private void DefaultInputs()
        {
            //TextBoxMachine.Text = "M005";
            //TextBoxWorkOrder.Text = "WO005";
            //TextBoxEmployee.Text = "E005";

            TextBoxMachine.Focus();
        }
 private void WindowInsertMachine_OnLoaded(object sender, RoutedEventArgs e)
 {
     TextBoxMachine.Focus();
 }