G
Guest
Basically when auser clicks on a button on my form I want my user control to
be loaded
"ctlAddProject controlAddProject;Controls.Add(controlAddProject);"
which is easy enough.
Now there is a public method called doBind(string fName) on the control
which I want to call from the parent form passing the appropriate string.
If the control was added at design time I could do something like :
controlAddProject.doBind("StringHere");
How do I do this now the control is added at run time ?
be loaded
"ctlAddProject controlAddProject;Controls.Add(controlAddProject);"
which is easy enough.
Now there is a public method called doBind(string fName) on the control
which I want to call from the parent form passing the appropriate string.
If the control was added at design time I could do something like :
controlAddProject.doBind("StringHere");
How do I do this now the control is added at run time ?