コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <summary>
 /// paneli yenileyen fonksiyon.
 /// </summary>
 public void refreshPanel()
 {
     shoppingPanel.fillPanel();
 }