private void BtnAllItems_Click(object sender, EventArgs e) { if (menuAllItems != null) { Contain(menuAllItems); } else if (menuAllItems == null) { menuAllItems = new MenuAllItems(); Contain(menuAllItems); } }
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; }