Click here to Skip to main content
15,897,315 members
Home / Discussions / C#
   

C#

 
GeneralRe: Subscribing multiple forms to a single Resize event Pin
Heath Stewart21-Sep-04 7:08
protectorHeath Stewart21-Sep-04 7:08 
GeneralRe: Subscribing multiple forms to a single Resize event Pin
Bisbal22-Sep-04 4:46
sussBisbal22-Sep-04 4:46 
GeneralSubscribing multiple forms to a single Resize event Pin
Anonymous21-Sep-04 5:15
Anonymous21-Sep-04 5:15 
GeneralDATAGRID INDEX .There are some mistakes. Please help.Im having a heck of a time Pin
macsgirl21-Sep-04 5:08
macsgirl21-Sep-04 5:08 
QuestionHow to change the color of status bar? Pin
kaalpu21-Sep-04 4:45
kaalpu21-Sep-04 4:45 
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 
Thanks for a great answer,

The UserControls used in the application host a number of other controls, grids, UserConrolsetc.
In addition to these the UserControls also has some DataSets which are bound to the UI controls. I've written code for disposing the resources used by the user control by overrinding the Dispose method of the UserControl. Is it necessary to explicity dispose of all Controls being used by the host control? All these conrols implement the IDisposable interface. Either way I still have a memory leak although I've tried to clean up my act.

When the main application window is minimized I notice that the resources used by the application is freed and that the memory usage drops down to a reasonable amount. Has anyone got a short explanation for this? Is there a way to do this without having to minimize the window?

Magnus Green
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 
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 

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.