[Mono-winforms-list] Is this possible? (casting Q)
Paul
paul at all-the-johnsons.co.uk
Mon May 24 19:14:24 EDT 2010
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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100525/207461fe/attachment.bin
More information about the Mono-winforms-list
mailing list