buralara bi göz at

http://ryanfarley.com/blog/archive/2004/03/18/447.aspx

http://stackoverflow.com/questions/8...ispose-pattern