Esempio n. 1
0
 public FrmReceivedGoodsNote()
 {
     _CommonService      = new CommonService();
     _ProductionMaterial = new ProductionMaterialService();
     InitializeComponent();
     _GoodReceivedNoteService = new GoodReceivedNoteService();
 }
 public FrmReceivedGoodsNote()
 {
     _CommonService = new CommonService();
     _ProductionMaterial = new ProductionMaterialService();
     InitializeComponent();
     _GoodReceivedNoteService = new GoodReceivedNoteService();
 }
 public FrmJobOrder()
 {
     _commonService       = new CommonService();
     _dealer              = new DealerService();
     _jobOrderService     = new JobOrderservice();
     _PurchaseRequisition = new PurchaseRequisitionNoteService();
     _ProductionMaterial  = new ProductionMaterialService();
     InitializeComponent();
 }
 public FrmJobOrder()
 {
     _commonService = new CommonService();
     _dealer = new DealerService();
     _jobOrderService = new JobOrderservice();
     _PurchaseRequisition = new PurchaseRequisitionNoteService();
     _ProductionMaterial = new ProductionMaterialService();
     InitializeComponent();
 }
 public FrmProductEntry()
 {
     InitializeComponent();
     _brandService              = new BrandService();
     _flavourService            = new FlavourService();
     _unitService               = new UnitService();
     _productionMaterialService = new ProductionMaterialService();
     _productService            = new ProductService();
     LoadCombos();
 }
 public FrmProductEntry()
 {
     InitializeComponent();
     _brandService = new BrandService();
     _flavourService = new FlavourService();
     _unitService = new UnitService();
     _productionMaterialService = new ProductionMaterialService();
     _productService = new ProductService();
     LoadCombos();
 }
        public FrmPurchaseRequisitionNote()
        {
            _purchaseRequisitionNoteService = new PurchaseRequisitionNoteService();
            _unitService               = new UnitService();
            _subProductService         = new SubProductService();
            _productionMaterialService = new ProductionMaterialService();

            InitializeComponent();
            _commonService  = new CommonService();
            _productService = new ProductService();
        }
        public FrmPurchaseRequisitionNote()
        {
            _purchaseRequisitionNoteService = new PurchaseRequisitionNoteService();
            _unitService = new UnitService();
            _subProductService = new SubProductService();
            _productionMaterialService = new ProductionMaterialService();

            InitializeComponent();
            _commonService=new CommonService();
            _productService = new ProductService();
        }
Esempio n. 9
0
 public FrmProductionMaterialEntry(ProductionMaterialModel model, Form frmForm)
 {
     InitializeComponent();
     _unitService = new UnitService();
     _frmForm     = frmForm;
     _productionMaterialService = new ProductionMaterialService();
     LoadUnits();
     if (model != null)
     {
         _isNewMode            = false;
         _productionMaterialId = model.ProductionMaterialId;
         txtName.Text          = model.MaterialName;
         txtType.Text          = model.MaterialType;
         txtDesc.Text          = model.Description;
         cmbUnit.SelectedValue = model.UnitOfMeasurementId;
         btnAdd.Text           = @"Update";
     }
     else
     {
         _isNewMode  = true;
         btnAdd.Text = @"Save";
     }
 }
 public FrmProductionMaterialEntry(ProductionMaterialModel model, Form frmForm)
 {
     InitializeComponent();
     _unitService = new UnitService();
     _frmForm = frmForm;
     _productionMaterialService = new ProductionMaterialService();
     LoadUnits();
     if (model != null)
     {
         _isNewMode = false;
         _productionMaterialId = model.ProductionMaterialId;
         txtName.Text = model.MaterialName;
         txtType.Text = model.MaterialType;
         txtDesc.Text = model.Description;
         cmbUnit.SelectedValue = model.UnitOfMeasurementId;
         btnAdd.Text = @"Update";
     }
     else
     {
         _isNewMode = true;
         btnAdd.Text = @"Save";
     }
 }
 public FrmProductionMaterial()
 {
     _CommonService = new CommonService();
     _productionMaterialService = new ProductionMaterialService();
     InitializeComponent();
 }
Esempio n. 12
0
 public FrmProductionMaterial()
 {
     _CommonService             = new CommonService();
     _productionMaterialService = new ProductionMaterialService();
     InitializeComponent();
 }