Code:
public void MakeOnTop()
{
myTopForm.TopMost = true;
}
public void MakeOnTop()
{
myTopForm.TopMost = true;
}
public bool CheckExisting()
{
foreach(ID_ROW row IN DATABASE_TABLE)
{
if (row == tbxProductID.Text)
{
return true;
}
}
return false;
}
$(window).resize(function()
string AddedproductID = (the new id)
foreach (item I in cart)
{
int loop++;
if (AddedProductID == I.ID)
{
MessageBox.show("Already exists");
int matches++;
}
if(matches ==0 && loop ==cart.count)
{
//code to add item to list
}
}
Leave a comment: