Example #1
0
        public ProductsOverview()
        {
            InitializeComponent();
            msh = new MySqlhelper();

            foreach (string item in msh.GetProductsForSelling())
            {
                cbProductsSold.Items.Add(item);
            }
            foreach (string item in msh.GetProductsForRenting())
            {
                cbProductsLoaned.Items.Add(item);
            }
        }