public MatchingTemplateList() { InitializeComponent(); gvTemplates.SelectionMode = DataGridViewSelectionMode.FullRowSelect; _matchingDb = new MatchingAndVerifyDb(); _templateService = new MatchingTemplateService(new Repository <MatchingTemplate>(_matchingDb)); LoadTemplates(); }
public MatchingJobList() { InitializeComponent(); _matchingDb = new MatchingAndVerifyDb(); _jobRepository = new Repository <MatchingJob>(_matchingDb); gvJobs.SelectionMode = DataGridViewSelectionMode.FullRowSelect; LoadJobs(); }
public MatchingItem() { InitializeComponent(); _uidDb = new UIDTrackingDB(); _matchingDb = new MatchingAndVerifyDb(); _jobRepository = new Repository <MatchingJob>(_matchingDb); _uidJobService = new JobService(_uidDb); tbComponent1.KeyDown += tbComponent1_KeyDown; tbComponent2.KeyDown += tbComponent2_KeyDown; tbComponent3.KeyDown += tbComponent3_KeyDown; }
public CreateMatchingTemplate() { InitializeComponent(); _uidDb = new UIDModel.UIDTrackingDB(); _matchingDb = new MatchingAndVerifyDb(); _customerService = new CustomerService(_uidDb); _productService = new ProductService(_uidDb); _uidJobService = new JobService(_uidDb); _templateRepository = new Repository <MatchingTemplate>(_matchingDb); _templateService = new MatchingTemplateService(_templateRepository); Shown += CreateMatchingJob_Shown; LoadCustomers(); }