/// <summary>
        /// shoppin card sayfasını gösteren buton.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnShoppingCart_Click(object sender, EventArgs e)
        {
            Logger.logger("Main Form Shopping Cart");
            CurrentProductList.Clear();
            list = new List <ShoppingCardItemPanel>();
            list = shoppingCart.ShowProducts();
            ShoppingCartPanel pnl = ShoppingCartPanel.Shopping(list);

            flpnlShowItem.Controls.Clear();
            pnl.fillPanel();
            flpnlShowItem.Controls.Add(pnl);
        }
        /// <summary>
        /// ürünleri gösteren fonksiyon.
        /// </summary>
        /// <returns></returns>
        public List <ShoppingCardItemPanel> ShowProducts()
        {
            list = new List <ShoppingCardItemPanel>();
            foreach (ItemToPurchase item in ItemsToPurchase)
            {
                ShoppingCardItemPanel pnl = new ShoppingCardItemPanel(item);
                list.Add(pnl);
            }
            shoppingPanel = ShoppingCartPanel.Shopping(list);
            if (list.Count != 0)
            {
                shoppingPanel.Show();
            }

            return(list);
        }