You can use an instance of the form and set the TopMost property to True.
<h / "> If you want to be above all Windows, there is another way to call Win32 Api .
Here is what you could do:
In your form class add:
[System.Runtime.InteropServices.DllImport("user32.dll")] public static extern bool SetForegroundWindow(IntPtr hWnd);
In the download form you can add:
SetForegroundWindow(this.Handle);
That should do the trick.
Update
TopMost should complete the task BUT: Top most OR / And the Win32 Api call will work only inside Visual Studio (well, for Vista and VS2008 I tested it ... I can not tell others). Try to run the program using .Exe from the / bin directory, it will work.
Patrick desjardins
source share