Hi I have been trying to add a button into my program that when you click the button it displays text in a label, waits so the user can read it, then exits the program. but if I run it and try it it only waits then exits without displaying text. sorry if that was a bad explanation I just got into coding. This is what I have.
private void button3_Click(object sender, EventArgs e)
{
label1.Text = "Text Here";
Thread.Sleep(500);
this.Close();
}