title: How to loop through all textBox controls and change associated label color
body: <pre><code>        foreach (Control c in this.Controls)
          {
             if (c is TextBox &amp;&amp; c.Text.Length==0)
             {
                 // [Associatedlabel].ForeColor = System.Drawing.Color.Red;
                 err = true;
             }
  </code></pre>
  
  <p>instead of [Associatedlabel], I want to associate each textbox to label, so eventually all labels near the textbox that are empty will be red, how it can be done?
  Thanks.</p>