Click here to Skip to main content
15,887,854 members
Home / Discussions / C#
   

C#

 
GeneralExtreme memory consumption when launching multiple controls in Panel Pin
Magnus Green21-Sep-04 4:20
Magnus Green21-Sep-04 4:20 
GeneralRe: Extreme memory consumption when launching multiple controls in Panel Pin
Heath Stewart21-Sep-04 7:02
protectorHeath Stewart21-Sep-04 7:02 
GeneralRe: Extreme memory consumption when launching multiple controls in Panel Pin
Magnus Green22-Sep-04 1:36
Magnus Green22-Sep-04 1:36 
GeneralRe: Extreme memory consumption when launching multiple controls in Panel Pin
Heath Stewart22-Sep-04 6:53
protectorHeath Stewart22-Sep-04 6:53 
GeneralRemoving the cross from a form Pin
exhaulted21-Sep-04 4:16
exhaulted21-Sep-04 4:16 
GeneralRe: Removing the cross from a form Pin
Joel Lucsy21-Sep-04 5:37
Joel Lucsy21-Sep-04 5:37 
GeneralRe: Removing the cross from a form Pin
exhaulted21-Sep-04 5:46
exhaulted21-Sep-04 5:46 
GeneralRe: Removing the cross from a form Pin
Joel Lucsy21-Sep-04 5:53
Joel Lucsy21-Sep-04 5:53 
Then you're going to have to take a different approach. Windows itself requires a close box if either minimize or maximize is present.
Another method is to use the handler on the form for Closing. This will give you a change to say "no" and abort the close.
You'll get something like:
private void MainForm_Closing(object sender, System.ComponentModel.CancelEventArgs e)

where you can say:
e.Cancel = true;


--
Joel Lucsy
GeneralRe: Removing the cross from a form Pin
exhaulted21-Sep-04 6:27
exhaulted21-Sep-04 6:27 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz21-Sep-04 8:16
Stefan Troschuetz21-Sep-04 8:16 
GeneralRe: Removing the cross from a form Pin
exhaulted21-Sep-04 21:44
exhaulted21-Sep-04 21:44 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz21-Sep-04 22:02
Stefan Troschuetz21-Sep-04 22:02 
GeneralRe: Removing the cross from a form Pin
exhaulted22-Sep-04 1:40
exhaulted22-Sep-04 1:40 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz22-Sep-04 3:40
Stefan Troschuetz22-Sep-04 3:40 
GeneralRe: Removing the cross from a form Pin
exhaulted22-Sep-04 4:06
exhaulted22-Sep-04 4:06 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz22-Sep-04 4:35
Stefan Troschuetz22-Sep-04 4:35 
GeneralRe: Removing the cross from a form Pin
exhaulted22-Sep-04 4:48
exhaulted22-Sep-04 4:48 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz22-Sep-04 4:59
Stefan Troschuetz22-Sep-04 4:59 
AnswerRe: Removing the cross from a form Pin
walterhuang29-May-06 20:42
walterhuang29-May-06 20:42 
QuestionBest Practice - Webservice, Stored Procedure, both? Pin
KoalaCowboy21-Sep-04 3:32
KoalaCowboy21-Sep-04 3:32 
AnswerRe: Best Practice - Webservice, Stored Procedure, both? Pin
Heath Stewart21-Sep-04 6:52
protectorHeath Stewart21-Sep-04 6:52 
GeneralRe: Best Practice - Webservice, Stored Procedure, both? Pin
KoalaCowboy21-Sep-04 8:29
KoalaCowboy21-Sep-04 8:29 
GeneralRe: Best Practice - Webservice, Stored Procedure, both? Pin
Heath Stewart21-Sep-04 10:52
protectorHeath Stewart21-Sep-04 10:52 
GeneralRe: Best Practice - Webservice, Stored Procedure, both? Pin
KoalaCowboy21-Sep-04 10:56
KoalaCowboy21-Sep-04 10:56 
GeneralInsert a frequency time delay into a ThreadPool Pin
Fahad sarwar21-Sep-04 2:50
Fahad sarwar21-Sep-04 2:50 

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.