6
Answers

Message informing when the stock is egual or minimum

Israel

Israel

7y
638
1
Hi!
 
I need to have a message saying that the stock is minimum. How can I say if the number is egal or minus to 5 into my textbox1 say Stock is minimum.
 
private void button1_Click(object sender, EventArgs e)
{
if (textbox1 >= 5)
MessageBox.Show('Stock is minimum');
}
Answers (6)