G
Gravy
Hi there,
can someone clarify something for me please? I have a windows form class
that contains a Font private member which is initialised (new'ed) in the
forms constructor. The font is used in formatting a richtextbox control.
Do I have to dispose of the font member in the forms Dispose method or does
this happen automatically because it is a member of the form?
I think I need to call font.Dispose on it but I wanted some confirmation on
this first. If I do have to call Dispose on it should I do this in the
form's Dispose method?
Regards
Graham Allwood
can someone clarify something for me please? I have a windows form class
that contains a Font private member which is initialised (new'ed) in the
forms constructor. The font is used in formatting a richtextbox control.
Do I have to dispose of the font member in the forms Dispose method or does
this happen automatically because it is a member of the form?
I think I need to call font.Dispose on it but I wanted some confirmation on
this first. If I do have to call Dispose on it should I do this in the
form's Dispose method?
Regards
Graham Allwood