public ProductFinderControl() { InitializeComponent(); productController = new ProductController(); SoundHelper = new CustomSoundHelper(); PathHelper = new CustomPathHelper(); currentListOfProducts = new List <MDB_ProductModel>(); storeItemsDataGridView.DoubleBuffered(true); currentUser = productController.getCurrentUser(); currentUserLbl.Text = currentUser.full_name; //logo Image image = Image.FromFile(PathHelper.get_app_images_path() + "logo.png"); this.goToDashBoardBtn.BackgroundImage = image; }
public ReceiptGeneratorControl() { InitializeComponent(); itemsListForReceipt = new BindingList <MDB_SingleItemSale>(); soundHelper = new CustomSoundHelper(); }