32.13 How can I ensure that my 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.

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

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


© 2001-2010 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap