Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
QuestionHow to remove the form close button( not to disable)? Pin
lovnin27-Mar-08 17:56
lovnin27-Mar-08 17:56 
Answer[Message Deleted] Pin
Parwej Ahamad27-Mar-08 18:42
professionalParwej Ahamad27-Mar-08 18:42 
GeneralRe: How to remove the form close button( not to disable)? Pin
lovnin30-Mar-08 16:59
lovnin30-Mar-08 16:59 
AnswerRe: How to remove the form close button( not to disable)? Pin
MarkB77727-Mar-08 21:07
MarkB77727-Mar-08 21:07 
GeneralRe: How to remove the form close button( not to disable)? Pin
Denver Thomas28-Mar-08 0:20
Denver Thomas28-Mar-08 0:20 
GeneralRe: How to remove the form close button( not to disable)? Pin
MarkB77728-Mar-08 0:36
MarkB77728-Mar-08 0:36 
GeneralRe: How to remove the form close button( not to disable)? Pin
lovnin30-Mar-08 16:57
lovnin30-Mar-08 16:57 
AnswerRe: How to remove the form close button( not to disable)? Pin
DaveyM6928-Mar-08 2:04
professionalDaveyM6928-Mar-08 2:04 
It can't be done AFAIK. You can disable it, remove the Close menu (and separator) from the system menu and handle Alt+F4 - but that's as close as you can get.

You could create your own control class that has this functionality but it would be a LOT of work to just make a button invisible when it can be disabled with little effort.

Dave

AnswerRe: How to remove the form close button( not to disable)? Pin
PIEBALDconsult28-Mar-08 4:47
mvePIEBALDconsult28-Mar-08 4:47 
GeneralRe: How to remove the form close button( not to disable)? Pin
DaveyM6928-Mar-08 8:48
professionalDaveyM6928-Mar-08 8:48 
GeneralRe: How to remove the form close button( not to disable)? Pin
lovnin30-Mar-08 16:58
lovnin30-Mar-08 16:58 
QuestionWhat method returns directory? Pin
TheJudeDude27-Mar-08 12:04
TheJudeDude27-Mar-08 12:04 
AnswerRe: What method returns directory? Pin
Christian Graus27-Mar-08 12:17
protectorChristian Graus27-Mar-08 12:17 
GeneralProperties and GUI changes Pin
Sam Pearson27-Mar-08 9:35
Sam Pearson27-Mar-08 9:35 
GeneralRe: Properties and GUI changes Pin
half-life27-Mar-08 9:45
half-life27-Mar-08 9:45 
GeneralRe: Properties and GUI changes [modified] Pin
papadimitriou27-Mar-08 10:22
papadimitriou27-Mar-08 10:22 
QuestionNo breakpoints in Console?? Pin
som.nitk27-Mar-08 9:28
som.nitk27-Mar-08 9:28 
GeneralRe: No breakpoints in Console?? Pin
Judah Gabriel Himango27-Mar-08 10:06
sponsorJudah Gabriel Himango27-Mar-08 10:06 
GeneralRe: No breakpoints in Console?? Pin
Roger Alsing27-Mar-08 22:46
Roger Alsing27-Mar-08 22:46 
GeneralBackgroundWorker selecting from database Pin
Gareth H27-Mar-08 9:23
Gareth H27-Mar-08 9:23 
GeneralRe: BackgroundWorker selecting from database Pin
Luc Pattyn27-Mar-08 9:27
sitebuilderLuc Pattyn27-Mar-08 9:27 
GeneralRe: BackgroundWorker selecting from database Pin
Gareth H27-Mar-08 9:29
Gareth H27-Mar-08 9:29 
QuestionWhy? Pin
Marc Clifton27-Mar-08 9:04
mvaMarc Clifton27-Mar-08 9:04 
AnswerRe: Why? Pin
Luc Pattyn27-Mar-08 9:32
sitebuilderLuc Pattyn27-Mar-08 9:32 
GeneralRe: Why? Pin
half-life27-Mar-08 9:57
half-life27-Mar-08 9:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.