Positioning forms according to system resolution using c# windows?
<p>I am working on a c# windows application where, user will have a tab control which is placed on bottom of the screen [exactly where windows task bar is there.] Everything is perfect except the position of form which has tab control.</p>

<p>when i run this application with a resolution of 1680 X 1050, the position is perfect with the below code. But this application will also be running in 800 X 600. </p>

<p>How can i do this ? I want the position to be generic on resolution. Thanks.</p>

<p>The code that works for 1680 X 1050 resolution.</p>

<pre><code> private void TaskBar_Load(object sender, EventArgs e)
        {
                this.DesktopLocation = new Point(0, 1020); 
        }
</code></pre>
