Exemplo n.º 1
0
 public BasketGiftView(BasketTabPage btp)
 {
     InitializeComponent();
     ShowBasketlist();
     ListInit();
     this.btp = btp;
     Global.isgiftbastketorderbtn_clicked = true;
 }
Exemplo n.º 2
0
        public BasketShopView(BasketTabPage btp)
        {
            InitializeComponent();
            this.btp = btp;

            if (Global.b_user_login == true)
            {
                basketID = Global.ID;
                ShowBasketList();
            }
            else if (Global.b_user_login == false)
            {
                basketID = Global.non_user_id;
                ShowBasketList();
            }
        }
Exemplo n.º 3
0
        private void ChangeTabInitAsync()
        {
            DealTabPage   dtp;
            ShopTabPage   stp;
            BasketTabPage btp;
            MyPageTabPage mtp;

            #region OnAppearing을 사용해 사용중인 탭으로 되돌리기
            if (Global.isMainDeal == true)
            {
                //Tab_Changed(tablist[0], null);
                dtp = new DealTabPage(this);
                TabColorChanged("deal");
                Global.InitOnAppearingBool("deal");
                TabContent.Content = dtp;
            }
            else if (Global.isMainShop == true)
            {
                //Tab_Changed(tablist[1], null);
                stp = new ShopTabPage();
                TabColorChanged("shop");
                Global.InitOnAppearingBool("shop");
                TabContent.Content = stp;
            }
            else if (Global.isMainBasket == true)
            {
                //Tab_Changed(tablist[2], null);
                btp = new BasketTabPage();
                TabColorChanged("basket");
                Global.InitOnAppearingBool("basket");
                TabContent.Content = btp;
            }
            else if (Global.isMainMyinfo == true)
            {
                //Tab_Changed(tablist[3], null);
                mtp = new MyPageTabPage(this);
                TabColorChanged("myinfo");
                Global.InitOnAppearingBool("myinfo");
                TabContent.Content = mtp;
            }
            else if (Global.isMainDealDeatil == true)
            {
                ShowDealDetailAsync(Global.deal_select_category_num);
            }
            #endregion
        }