C
cfps.Christian
I've created 4 user controls. 1 is the main control that holds the
other 3. When the form loads it takes an object and creates the first
user control which in turn takes aspects of the objects and creates
the other three user controls. In the new event of the three user
controls I set the values of the forms within the user controls
(generally combobox). Unfortunately this does not update the combobox
itself (my selectedindex is 2 and it displays 1). I can change these
things manually as if using the form just not by using code for some
reason.
I've tried update, invalidate, refresh, and a couple others that I've
forgotten to no avail. I've also tried to load the values in
UserControl_Load rather than New and didn't work. What am I doing
wrong?
other 3. When the form loads it takes an object and creates the first
user control which in turn takes aspects of the objects and creates
the other three user controls. In the new event of the three user
controls I set the values of the forms within the user controls
(generally combobox). Unfortunately this does not update the combobox
itself (my selectedindex is 2 and it displays 1). I can change these
things manually as if using the form just not by using code for some
reason.
I've tried update, invalidate, refresh, and a couple others that I've
forgotten to no avail. I've also tried to load the values in
UserControl_Load rather than New and didn't work. What am I doing
wrong?