frame at bottom left corner

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,

I want to show a frame at the bottom left corner. Some knows how I can do
this? I know this.StartPosition = FormStartPosition.Manual but have no ideaa
on how to alter the Manual parameters.

Best regards
Stijn
 
Hi Stijn,

this.Location = new Point(Screen.Bounds.Width - this.Size.Width,
Screen.Bounds.Height - this.Size.Height);

Not sure if Screen.Bounds is the best property to use but this should at
least give you some ideas (provided I understood your question correctly).
Note that this will put it aligned with bottom right. Subsitute the first
parameter with 0 to left align the window.
 
Back
Top