K
Kevin Peck
We have various user controls and forms that will be loaded and unloaded
during a program run. I want to be sure we are not going to leak memory.
In the InitializeComponent method a lot of events are being added via +=
calls. Do I need to clean any of these up?
We create basic fonts as member variables. Do I need to dispose of them?
We create pens and brushes as member variables. Do I need to dispose of
them?
I assume that any += delegate not in the InitializeComponent is up to me to
clean up.
during a program run. I want to be sure we are not going to leak memory.
In the InitializeComponent method a lot of events are being added via +=
calls. Do I need to clean any of these up?
We create basic fonts as member variables. Do I need to dispose of them?
We create pens and brushes as member variables. Do I need to dispose of
them?
I assume that any += delegate not in the InitializeComponent is up to me to
clean up.