Scroll To Top
Reader Level:
Article
Windows Forms

Floating Forms

By Edwin Lima on Oct 31, 2001
This is an example on how to implement a floating window application.

Description:

This is an example on how to implement a floating window application. I have used a timer control, in combination with the Point class to specify the position of the main form in the desktop. Combining those two elements I simulated the floating behavior of the main form re-defining its position on every Tick event fired by the Timer control.