public Approval() { _requestService = new RequestRepository(); _stockInformationRepository = new StockInformationRepository(); _forcastingRepository = new ForcastingRepository(); _activityRepository = new ActivityRepository(); _manufacturerRepository = new ManufacturerRepository(); _physicalRepository = new PhysicalStoreRepository(); _consumptionRepository = new ConsumptionSettingRespository(); InitializeComponent(); //Edit Valued Changed Listener lkManufacturer.EditValueChanged += ColumnLookup_EditValueChanged; lkActivity.EditValueChanged += ColumnLookup_EditValueChanged; lkExpiryPreference.EditValueChanged += ColumnLookup_EditValueChanged; lkPhysicalStorePreference.EditValueChanged += ColumnLookup_EditValueChanged; gridOrderDetailView.CellMerge += gridViewOrderDetailsForApproval_CellMerge; gridOrderDetailView.ShowingEditor += gridViewOrderDetailsForApproval_ShowingEditor; }
public Approval() { _requestService = new RequestRepository(); _stockInformationRepository = new StockInformationRepository(); _forcastingRepository = new ForcastingRepository(); _activityRepository = new ActivityRepository(); _manufacturerRepository = new ManufacturerRepository(); _physicalRepository = new PhysicalStoreRepository(); _consumptionRepository = new ConsumptionSettingRespository(); InitializeComponent(); //Edit Valued Changed Listener lkManufacturer.EditValueChanged += ColumnLookup_EditValueChanged; lkActivity.EditValueChanged += ColumnLookup_EditValueChanged; lkExpiryPreference.EditValueChanged += ColumnLookup_EditValueChanged; lkPhysicalStorePreference.EditValueChanged += ColumnLookup_EditValueChanged; gridOrderDetailView.CellMerge += gridViewOrderDetailsForApproval_CellMerge; gridOrderDetailView.ShowingEditor += gridViewOrderDetailsForApproval_ShowingEditor; }