Example #1
0
 public MainWindow()
 {
     InitializeComponent();
     run1 = true;
     run2 = false;
     MyDataGrid.SelectAll();
     length                  = 10;
     txtinput.Text           = "Scan Assemby No";
     defectDesc.IsEnabled    = false;
     defectDesc.Background   = Brushes.White;
     Submit_Button.IsEnabled = false;
     NextButton.IsEnabled    = false;
     PrevButton.IsEnabled    = false;
     ReturnList              = new ObservableCollection <CalData>();
     DataContext             = this;
     SerialNumber.Focus();
 }