Israel

Israel

  • 693
  • 1.3k
  • 219.4k

Message informing when the stock is egual or minimum

Feb 23 2018 7:37 AM
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)