Example #1
0
 public PurchaseTypeEntry(PurchaseTypeMaster purchaseTypeMaster)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     bindgroup();
     bindtaxtype();
     this.purchaseTypeMaster = purchaseTypeMaster;
 }
Example #2
0
        //public PurchaseTypeEntry(DefaultPurchase defaultPurchase, Master master, TabControl tabControl)
        //{
        //    // TODO: Complete member initialization
        //    InitializeComponent();
        //    bindgroup();
        //    bindtaxtype();
        //    purchaseid = 1;
        //    this.defaultPurchase = defaultPurchase;
        //    this.master = master;
        //    this.tabControl = tabControl;
        //}

        //public PurchaseTypeEntry(Purchase purchase, Master master, TabControl tabControl)
        //{
        //    // TODO: Complete member initialization
        //    InitializeComponent();
        //    bindgroup();
        //    bindtaxtype();
        //    purchaseid = 1;
        //    this.purchase = purchase;
        //    this.master = master;
        //    this.tabControl = tabControl;
        //}

        public PurchaseTypeEntry(PurchaseTypeMaster purchaseTypeMaster, Master master, TabControl tabControl)
        {
            // TODO: Complete member initialization
            InitializeComponent();
            bindgroup();
            bindtaxtype();
            this.purchaseTypeMaster = purchaseTypeMaster;
            this.master             = master;
            this.tabControl         = tabControl;
        }