Example #1
0
 public FormMain()
 {
     InitializeComponent();
     _inventoryService = new InventoryService();
     GetCurrentEmployeeName();
     //AddMessageForNotifications();
 }
Example #2
0
 public FormInventory()
 {
     InitializeComponent();
     _inventoryService = new InventoryService();
     LoadStockForGirdLookup();
     LoadInventoriesForGridControl(null);
 }
Example #3
0
        public FormReports()
        {
            
            InitializeComponent();

            _weekReportService = new WeekReportService();
            _departmentService = new DepartmentService();
            _inventoryService = new InventoryService();
        }
Example #4
0
        public FormReceipt()
        {
            InitializeComponent();

            _logService = new LogService();
            _receiptService = new ReceiptService();
            _productService = new ProductService();
            _receiptDetailService = new ReceiptDetailService();
            _inventoryService = new InventoryService();
        }
Example #5
0
        public FormIssue()
        {
            InitializeComponent();

            _logService = new LogService();
            _issueService = new IssueService();
            _productService = new ProductService();
            _issueDetailService = new IssueDetailService();
            _inventoryService = new InventoryService();
            _departmentService = new DepartmentService();
            _weekReportService = new WeekReportService();
        }
Example #6
0
        public FormStockExport()
        {
            InitializeComponent();

            _orderExportService = new OrderExportService();
            _employeeService = new EmployeeService();
            _productService = new ProductService();
            _stockService = new StockService();
            _unitService = new UnitService();
            _orderExportDetailService = new OrderExportDetailService();
            _inventoryService = new InventoryService();
            
            LoadGirdLookUpEmployees();
            LoadGirdLookUpProducts();
            LoadGirdLookUpStocks();
            LoadGirdLookUpUnits();
        }
Example #7
0
        public FormStockImport()
        {
            InitializeComponent();

            _orderImportService = new OrderImportService();
            _suppliersService = new SuppliersService();
            _productService = new ProductService();
            _stockService = new StockService();
            _unitService = new UnitService();
            _orderImportDetailService = new OrderImportDetailService();
            _managersService = new ManagersService();
            _inventoryService = new InventoryService();

            _employeeId = Program.CurrentUser.EmployeeID;
            LoadGirdLookUpSuppliers();
            LoadGirdLookUpEmployees();
            LoadGirdLookUpProducts();
            LoadGirdLookUpStocks();
            LoadGirdLookUpUnits();
        }