|
-
May 19th, 2010, 10:58 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Allow a form to be minimized, but not closed
I am working on a program that will allow the user to disconnect from a VPN session. I don't want the users to close the form because then they wouldn't be able to disconnect (well wouldn't be able to do it easily).
In other words, I want users to be able to minimize the form, but not be able to close it. If I use a BorderStyle of "none", can I still minimize it to the taskbar? I will have a button on the form that says "minimize" so I don't care about having the little minimize dash in the upper right of the form. If I can't have a borderless form that minimizes to the taskbar, does anyone know how I can accomplish it in another way?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|