|
-
May 13th, 2005, 07:59 AM
#1
Thread Starter
Hyperactive Member
Getting usercontrol from string
G'day all,
I've got the following situation: I have a basic usercontrol. All my other user controls inherit from that control. Let say: usrBasic, and usrRelations inherits usrBasic, so does usrProducts and so on.
I want to load usrRelations onto a form. The only thing I've got is its string with the type, let's say: "Consultic.UserControls.usrRelations"
Does anyone know how to load this usercontrol on a windows form? Setting properties like anchor and so on isn't the problem, purely loading the usercontrol onto the form when only knowing its type...
Thanx in advance,
Marco
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|