Exemplo n.º 1
0
 public FormAddUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemplo n.º 2
0
 public FormAddManager()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
     _logService = new LogService();
 }
Exemplo n.º 3
0
 public FormAddArea()
 {
     InitializeComponent();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemplo n.º 4
0
 public FormAddStock()
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
 }
Exemplo n.º 5
0
 public FormAddProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     txtProductGroupID.Text = _productGroupService.NextId();
 }
Exemplo n.º 6
0
 public FormStock()
 {
     InitializeComponent();
     _stockSeries = new StockService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Exemplo n.º 7
0
 public FormAddSuppliers()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemplo n.º 8
0
 public FormAddDepartment()
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     txtDepartmentID.Text = _departmentService.NextId();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemplo n.º 9
0
        public FormInsertOrUpdateStock(string stockId)
        {
            InitializeComponent();

            _stockService = new StockService();
            _logService = new LogService();
            _stockId = stockId;
        }
Exemplo n.º 10
0
 public FormProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Exemplo n.º 11
0
 public FormEmployees()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _departmentService = new DepartmentService();
     InsertSysLog();
 }
Exemplo n.º 12
0
 public FormUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService=new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
        public FormInsertOrUpdateProductGroup(string productGroupId)
        {
            InitializeComponent();

            _logService = new LogService();
            _productGroupService = new ProductGroupService();

            _productGroupId = productGroupId;
        }
Exemplo n.º 14
0
 public FormUpdateStock(string stockId)
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _stockId = stockId;
     GetStockById(stockId);
 }
Exemplo n.º 15
0
 public FormUpdateArea(string areaid)
 {
     InitializeComponent();
     _areaService = new AreaService();
     _areaId = areaid;
     GetAreaById(areaid);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemplo n.º 16
0
 public FormUpdateUnit(string unitId)
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _unitId = unitId;
     GetUnitById(unitId);
 }
Exemplo n.º 17
0
 public FormUpdateEmployee(string employeeId)
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService=new DepartmentService();
     _logService = new LogService();
     _employeeId = employeeId;
     GetEmployeesById(employeeId);
 }
Exemplo n.º 18
0
 public FormUpdateProductGroup(string productGroupId)
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _productGroupId = productGroupId;
     GetProductGroupById(productGroupId);
 }
Exemplo n.º 19
0
        public FormInsertOrUpdateUnit(string unitId)
        {
            InitializeComponent();

            _unitService = new UnitService();
            _logService = new LogService();
            _unitId = unitId;

        }
Exemplo n.º 20
0
 public FormUpdateDepartment(string departmentId)
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     _departmentId = departmentId;
     GetDepartmentById(departmentId);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemplo n.º 21
0
        public FormInsertOrUpdateDepartment(string departmentId)
        {
            InitializeComponent();

            _logService = new LogService();
            _departmentService = new DepartmentService();

            _departmentId = departmentId;
        }
Exemplo n.º 22
0
        public FormUnits()
        {
            InitializeComponent();

            _unitService = new UnitService();
            _logService = new LogService();
            InsertSysLog();

            EnableButtonUpdateAndDelete(false);
        }
Exemplo n.º 23
0
        public FormStocks()
        {
            InitializeComponent();

            _stockService = new StockService();
            _logService = new LogService();
            InsertSysLog();

            EnableButtonUpdateAndDelete(false);
        }
Exemplo n.º 24
0
 public FormProduct()
 {
     InitializeComponent();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _productService = new ProductService();
     _stockService = new StockService();
     LoadGirdLookUpStock();
     InsertSysLog();
 }
Exemplo n.º 25
0
        public FormReceipt()
        {
            InitializeComponent();

            _logService = new LogService();
            _receiptService = new ReceiptService();
            _productService = new ProductService();
            _receiptDetailService = new ReceiptDetailService();
            _inventoryService = new InventoryService();
        }
Exemplo n.º 26
0
 public FormUpdateSuppliers(string supplierId)
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _supplierId = supplierId;
     GetSppliersById(supplierId);
 }
Exemplo n.º 27
0
        public FormDepartments()
        {
            InitializeComponent();

            _logService = new LogService();
            _departmentService = new DepartmentService();
        
            InsertSysLog();
            EnableButtonUpdateAndDelete(false);
        }
Exemplo n.º 28
0
        public FormInsertOrUpdateProduct(string productId)
        {
            InitializeComponent();

            _productId = productId;
            _productService = new ProductService();
            _stockService = new StockService();
            _productGroupService = new ProductGroupService();
            _unitService = new UnitService();
            _logService = new LogService();      
        }
Exemplo n.º 29
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();
        }
Exemplo n.º 30
0
        public FormProducts()
        {
            InitializeComponent();

            _logService = new LogService();
            //_departmentService = new DepartmentService();
            _productService = new ProductService();
            _stockService = new StockService();
            _productGroupService = new ProductGroupService();
            _unitService = new UnitService();

            InsertSysLog();
        }