Web Form and User Controls
I need help figuring out how I can do what i want to do in C#2005.
I have a window form and 8 user controls that I want to redraw in the same Windows form.
The questions are in my form1 class
do I need to do the following call for all of my user controls?
private namespace.folder.classname general;
What does private void classname_Load_1(object sender, EventArgs e)
do? I've tried looking for this event but I don't understand would this be the place that I tell it that I want it load the other user control?
Would I have a paint method in my form to redraw the different user controls?
would it be in the individual controls where i tell it to hide while another user control is on top?
Are there any threading issues I will need to be aware of?
Would I need to pass in the form to my user control classes so that they know where to redraw?
Originally I was thinking of just using Panel class and trying to add logic to switch between the panels similar with what I'm doing with the user controls, is it easier using panels?
I'm just looking for some guidance.