private void button1_Click(object sender, EventArgs e) { button1.BackColor = Color.Red; button1.Text = "1"; Thread.Sleep(2000); button1.BackColor = Color.Purple; button1.Text = "2"; Thread.Sleep(2000); button1.BackColor = Color.White; button1.Text = "3"; }
Thread.Sleep(2000);
button1.Refresh()
Thread.Sleeep()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)