View Single Post
  #8 (permalink)  
Old 07-21-2007, 06:09 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
Do i need to worry about the font setting in the control properties?
I don't know what control you are using but I would try it and see. I think most of the existing controls come with a default font already set.

Quote:
Originally Posted by Cableguy View Post
I'm also ading a button to the control...(It's an About Panel) shhh.....how do I implement dispose with the button click event?
I'm not sure what you mean but normally in .NET code you don't need to ever implement a disposal function as the .NET Garbage Collector will remove an object when there are no further references to it. Disposal is normally only needed when your code has acquired resources from outside .NET (like mallocing memory or interacting with non-managed dlls) that need to be explicitly freed. Doing this is unsafe code that should be avoided if at all possible as you are then losing the safe coding advantages of the .NET Framwork.
Reply With Quote