How can I ensure that my form will always be on the desktop?

Platform: WinForms| Category: Form

To set or control the location of the form using desktop coordinates, you can use the SetDeskTopLocation property.

You can do this by setting the child form’s TopMost to False and setting its Owner property to the Main Form.

[C#]
	this.SetDesktopLocation(1,1);

[VB.NET]
	Me.SetDesktopLocation(1,1)

Share with

Related FAQs

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

Please submit your question and answer.