public ProductSliderPane(InventoryView inventory, Panel panel, MasterController masterController)
     : base(masterController, panel, DOCKSTYLE_TYPE)
 {
     InitializeComponent();
     this.inventoryView = inventory;
     this.dbController = masterController.DataBaseController;
 }
 public ServiceScrollPane(InventoryView inventoryView, Panel panel, MasterController masterController)
     : base(masterController, panel, DockStyle.Bottom)
 {
     InitializeComponent();
     this.dbController = masterController.DataBaseController;
     this.inventoryView = inventoryView;
     base.maxHeight = 215;
 }
        public ProductPaneScroll(InventoryView inventory, Panel panel, MasterController masterController)
            : base(masterController, panel, DOCKSTYLE_TYPE)
        {
            InitializeComponent();
            this.inventoryView = inventory;
            base.maxHeight = 250;
            this.dbController = masterController.DataBaseController;

            textboxes = new TextBox[] {
                txtBarcode,
                txtCompany,
                txtDescription,
                txtPrice,
                txtQuantity,
            };
        }
示例#4
0
        public ProductPaneScroll(InventoryView inventory, Panel panel, MasterController masterController)
            : base(masterController, panel, DOCKSTYLE_TYPE)
        {
            InitializeComponent();
            this.inventoryView = inventory;
            base.maxHeight     = 250;
            this.dbController  = masterController.DataBaseController;

            textboxes = new TextBox[] {
                txtBarcode,
                txtCompany,
                txtDescription,
                txtPrice,
                txtQuantity,
            };
        }