Click here to Skip to main content
15,914,162 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to check Maximize button click event of a Form or how to check whether present size of form is maximum available size. Pin
Aryadip19-May-04 0:19
Aryadip19-May-04 0:19 
AnswerRe: How to check Maximize button click event of a Form or how to check whether present size of form is maximum available size. Pin
Heath Stewart19-May-04 4:20
protectorHeath Stewart19-May-04 4:20 
Generalretrieving the value of XML parent problem Pin
dhananjayav18-May-04 23:09
dhananjayav18-May-04 23:09 
GeneralRe: retrieving the value of XML parent problem Pin
Heath Stewart19-May-04 4:18
protectorHeath Stewart19-May-04 4:18 
GeneralDisplaying data from database into a checkbox list Pin
M3L18-May-04 22:47
M3L18-May-04 22:47 
GeneralRe: Displaying data from database into a checkbox list Pin
Heath Stewart19-May-04 4:13
protectorHeath Stewart19-May-04 4:13 
GeneralNetwork listener Pin
mhmoud rawas18-May-04 22:26
mhmoud rawas18-May-04 22:26 
QuestionDisposing Collection of IDisposable? Pin
Dr Herbie18-May-04 22:26
Dr Herbie18-May-04 22:26 
Hi folks,

Having just discovered the delights of using IDisposable properly, I have a question concerning the disposal of collections of IDisposable objects.

The scenario is as follows:

I have a class implementing IDisposable. This class owns a collection of other objects that implement IDisposable.

So, when I dispose the main object, should I dispose the contents of the array as well?

Any advise, comments and/or opinions welcome.

PS: Sorry for any typos I suffering mild RSI (three days of furious coding)

Dr Herbie @ Autoscribe

Remember, half the people out there have below average IQs.
AnswerRe: Disposing Collection of IDisposable? Pin
Daniel Turini18-May-04 22:43
Daniel Turini18-May-04 22:43 
GeneralDesign Time Property Window Pin
acidcrush18-May-04 22:19
acidcrush18-May-04 22:19 
GeneralRe: Design Time Property Window Pin
Heath Stewart19-May-04 4:08
protectorHeath Stewart19-May-04 4:08 
Generalproblem with using VNC hooking Pin
fu018-May-04 22:03
fu018-May-04 22:03 
GeneralRe: problem with using VNC hooking Pin
Dave Kreskowiak19-May-04 3:24
mveDave Kreskowiak19-May-04 3:24 
GeneralSockets question Pin
Vladimir Georgiev18-May-04 20:47
Vladimir Georgiev18-May-04 20:47 
GeneralRe: Sockets question Pin
Roman Rodov18-May-04 21:07
Roman Rodov18-May-04 21:07 
GeneralRe: Sockets question Pin
Vladimir Georgiev19-May-04 2:44
Vladimir Georgiev19-May-04 2:44 
GeneralRe: Sockets question Pin
Heath Stewart19-May-04 4:02
protectorHeath Stewart19-May-04 4:02 
Generalconnecting user controls in c sharp Pin
samithas18-May-04 19:33
samithas18-May-04 19:33 
GeneralRe: connecting user controls in c sharp Pin
etfintnick19-May-04 2:03
etfintnick19-May-04 2:03 
GeneralRe: connecting user controls in c sharp Pin
Heath Stewart19-May-04 3:55
protectorHeath Stewart19-May-04 3:55 
Generalregd C# classes Pin
karteek18-May-04 19:21
karteek18-May-04 19:21 
GeneralRe: regd C# classes Pin
Charlie Williams18-May-04 19:52
Charlie Williams18-May-04 19:52 
GeneralRe: regd C# classes Pin
sreejith ss nair18-May-04 20:21
sreejith ss nair18-May-04 20:21 
GeneralRe: regd C# classes Pin
etfintnick19-May-04 2:06
etfintnick19-May-04 2:06 
GeneralC# Class Pin
sreejith ss nair18-May-04 17:20
sreejith ss nair18-May-04 17:20 

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.