C# waiting one second in running program
<pre><code>dataGridView1.Rows[x1].Cells[y1].Style.BackColor = System.Drawing.Color.Red;
System.Threading.Thread.Sleep(1000);
</code></pre>

<p>İ will waiting about one seconds to printing my grids cells with this code.But it isn't waiting what can i do ?</p>
