Start form on left down corner.

alexmartz710

New member
Joined
Dec 5, 2012
Messages
1
Programming Experience
Beginner
Hello, this is my first thread/post, I am a beginner on VB.NET, I need some help to position my form at the left down corner no matter what resolution you are using. I have this code which I got from the internet, it positions the form at the right down corner using WorkingArea, but I would like it to start at the left down corner.
VB.NET:
Dim working_area As Rectangle = SystemInformation.WorkingArea

        Dim x As Integer = working_area.Left + working_area.Width - Me.Width

        Dim y As Integer = working_area.Top + working_area.Height - Me.Height

        Me.Location = New Point(x, y)
May I have someone help me with this? I want it at the left down corner because it is a StartMenu that I am working on :) Thanks!
 
You are asking how to set x equal to working_area.Left ?
 
Back
Top