Live Chat Icon For mobile
Live Chat Icon

How do I position my form to the bottom right of the screen when it opens up the first time above the system tray?

Platform: WinForms| Category: Tips

Do as follows in your Form’s constructor after setting the StartPosition to Manual:


[C#]
this.SetBounds(Screen.GetWorkingArea(this).Width-this.Width
			,Screen.GetWorkingArea(this).Height-this.Height , this.Width, this.Height);

[VB.Net]
Me.SetBounds(Screen.GetWorkingArea(Me).Width-Me.Width
				,Screen.GetWorkingArea(Me).Height-Me.Height , Me.Width, Me.Height)

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.