コード例 #1
0
 private void BtnAllItems_Click(object sender, EventArgs e)
 {
     if (menuAllItems != null)
     {
         Contain(menuAllItems);
     }
     else if (menuAllItems == null)
     {
         menuAllItems = new MenuAllItems();
         Contain(menuAllItems);
     }
 }
コード例 #2
0
 void StaticClear()
 {
     CheckOutApp.itemApps.Clear();
     CheckOut.TotalPrice = 0;
     if (CheckOut.lblTotalPrice != null)
     {
         CheckOut.lblTotalPrice.Text = "0.00";
     }
     if (Item.btnCheckOut != null)
     {
         Item.btnCheckOut = null;
     }
     btnCheckOut.Text = "( " + CheckOutApp.TotalItems() + " )    Check Out";
     user             = null;
     menuAllItems     = null;
     personalInfo     = null;
     checkOut         = null;
     //CheckOut.clearCartDel.Invoke();
     deliverySettings = null;
 }