How do i use labels that are in Form1 dsigner at the new class?
<p>For example in my new class i have this:</p>

<pre><code>if ((connectionStart[f] == i &amp;&amp; connectionEnd[f] == j) || (connectionStart[f] == j &amp;&amp; connectionEnd[f] == i)) // this checking dosent work good !
                {
                    //button2.Enabled = false;
                    return;
                }
                else
                {
                    /*label12.Text = connectionStart[f].ToString();
                    label11.Text = connectionEnd[f].ToString();
                    label9.Visible = true;
                    label10.Visible = true;
                    label11.Visible = true;
                    label12.Visible = true;*/
                } 
</code></pre>

<p>Marked them with /* and */ for now</p>

<p>But how can i use them also the button2 so it will take effect when running the program ?</p>

<p>I cant make the button or labels static in Form1 since they are in the designer and i dont want to use static.</p>

<p>And i dont want to create Form1 instance.</p>

<p>I also want to build for all the labels,buttons and other objects like that some function/s in the class so i can use them easy and so they will take effect when im running the program.</p>

<p>For now they are not exist in the new class that clear. </p>

<p>** Maybe to create a property in Form1 for all this objects so i can use them easy in the new Class ? **</p>
