Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I ensure that a form will always be on the desktop?

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.

this.SetDesktopLocation( 1, 1 ); 

Contributed from George Shepherd's Windows Forms FAQ



Page view counter