TEL : +33 (0)9 72 13 15 17
Accueil
Services
Logiciels
Competences
Contact
La boutique
Forums
Windows Forms FAQ resources
18. Windows Forms Tips
18.4 How do I position my form to the bottom right of the screen when it opens up the first time above the system tray?
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)
online visitor count