Casting question (creating things on the fly)
Paul <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Organization | Home |
| Message-ID | <[email protected]> |
Hi, Is it possible to create a winform object using something stored in a string? For example string m = "Label"; object n = (object)m; n foo = new n(); I'd imagine it can be, but after 20 mins of googling around, can't see anything that says I can... TTFN Paul -- Biggles was quietly reading his favourite book when Algy burst through the door. Distracted for a moment, Biggles surveyed what had happened and turned a page. "Algy old man" he said, clearing his throat, "use the handle next time..." - Taken from "Biggles combs his Hair" _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEUEABECAAYFAkv7apMACgkQaomOUCNPh0LoOwCeLCSmPhXE67X67kjb09dCRKgD VVwAmK70KTBzn4F2hvm9pGzg9XQe/G8= =fmAc -----END PGP SIGNATURE-----