I would like to display a status window in my C # Windows Forms application that informs the user when the application is waiting for a lock. This application is defined by the application, however, the window should be visible and always stay on top of all other windows of my application, even when the user clicks on another window (for example, the larger main window behind it).
It should not be modal (therefore, ShowDialog () cannot be used), because the application should continue to try in the background and automatically close the window if the lock can ultimately be obtained, and it really should not be the largest for the whole window station (i.e. all applications running in this terminal session).
I know the Form.TopMost property, but it can only display one window on top of all the others, even from other applications. This is clearly not what I am looking for.
I know that this is possible, I have seen this many times before in other applications. I just donโt know how to do this.
c # window topmost
ygoe Sep 08 '09 at 10:42 2009-09-08 10:42
source share