Add a Hashtable to Applicatoin to save Global data
- From: "Ryan Liu" <rliu@xxxxxxxxxxxxx>
- Date: Sun, 30 Dec 2007 16:09:59 +0800
Is that a good idea to add a Hashtable to System.Windows.Forms.Application class? And we can put any user global data in it.
I have some class library used by a few other applications in slight different way. This way (and ocz there are other ways) I don't have to user different parameter to call a method or invent an other global data repository.
Regards,
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Ryan Liu
Shanghai Fengpu Software Co. Ltd
Shanghai , China
http://www.PowerCATI.com Powerful CATI!
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
.
- Follow-Ups:
- Re: Add a Hashtable to Applicatoin to save Global data
- From: Peter Duniho
- Re: Add a Hashtable to Applicatoin to save Global data
- Prev by Date: Reading from text from another application
- Next by Date: Re: service soemtime will get slower -- what to watch
- Previous by thread: Reading from text from another application
- Next by thread: Re: Add a Hashtable to Applicatoin to save Global data
- Index(es):