Exemple #1
0
        private void TabCtrl()
        {
            // General
            general      = new ProductWizard_General(System.Guid.Empty);
            general.Dock = DockStyle.Fill;
            tpGeneral.Controls.Add(general);

            // Misc
            misc      = new ProductWizard_Misc(System.Guid.Empty);
            misc.Dock = DockStyle.Fill;
            tpMisc.Controls.Add(misc);

            // Order
            order      = new ProductWizard_Order(System.Guid.Empty);
            order.Dock = DockStyle.Fill;
            order.gbPurchaseHistory.Visible = false;
            tpOrder.Controls.Add(order);
        }
Exemple #2
0
        private void TabCtrl()
        {
            // General
            general      = new ProductWizard_General(this.ProductId);
            general.Dock = DockStyle.Fill;
            tpGeneral.Controls.Add(general);

            //// Barcode
            //barcode = new ProductWizard_Barcode(this.ProductId);

            //// Quantity
            //quantity = new ProductWizard_Quantity(this.ProductId);

            //// Misc
            //misc = new ProductWizard_Misc(this.ProductId);

            //// Order
            //order = new ProductWizard_Order(this.ProductId);

            //// Discount
            //discount = new ProductWizard_Discount(this.ProductId);
        }