Ejemplo n.º 1
0
 public frmAddEditItems(MethodType methodType, Items items)
 {
     InitializeComponent();
     this.loadAddEditItems = new LoadAddEditItems(this, items)
     {
         methodType = methodType
     };
     loadAddEditItems.Init();
 }
Ejemplo n.º 2
0
 public frmAddEditPQ(MethodType methodType, PriceQuotations pq)
 {
     InitializeComponent();
     this.methodType = methodType;
     priceQuotations = new LoadAddEditPQ(this, pq)
     {
         methodType = methodType
     };
     priceQuotations.Init();
 }
Ejemplo n.º 3
0
        public frmAddEditPurchaseRequest(MethodType methodType, PurchaseRequests item)
        {
            InitializeComponent();
            var tran = new LoadAddEditPurchaseRequest(this, item)
            {
                methodType = methodType
            };

            transaction = ((ITransactions <PurchaseRequests>)tran);
            transaction.Init();
            this.Item = tran.item;
        }
Ejemplo n.º 4
0
 public frmAddEditPO(MethodType methodType, PurchaseOrders purchaseOrders)
 {
     InitializeComponent();
     this.po       = purchaseOrders;
     purchaseOrder = new LoadAddEditPO(this, purchaseOrders)
     {
         methodType = methodType
     };
     purchaseOrder.Init();
     if (methodType == MethodType.Add)
     {
         btnCreateObR.Enabled = false;
     }
 }