G
Guest
I inherited a C# Windows app (.net 2.0) . There is a main form with a panel
and menu. When the user selects a menu item, a usercontrol form is added to
the panel and displayed. The User control forms have things like
datagridview and command buttons, as well as a panel that gets loaded with
another user control. When modifying one of the user controls I can position
the components to where I want. However, when I run the app and a user
control is loaded to the panel, the components on the user control get
re-positioned. For example, on one user control there are two buttons
(side-by-side) and a datagridview (below the two buttons). When the app
runs, the position of the datagridview has moved to cover-up the two buttons.
I am new to the use of panels and user controls, and am not sure where to
look to figure out what is happening and how to resolve it. Can anyone point
me in the right direction?
thanks
Dan
and menu. When the user selects a menu item, a usercontrol form is added to
the panel and displayed. The User control forms have things like
datagridview and command buttons, as well as a panel that gets loaded with
another user control. When modifying one of the user controls I can position
the components to where I want. However, when I run the app and a user
control is loaded to the panel, the components on the user control get
re-positioned. For example, on one user control there are two buttons
(side-by-side) and a datagridview (below the two buttons). When the app
runs, the position of the datagridview has moved to cover-up the two buttons.
I am new to the use of panels and user controls, and am not sure where to
look to figure out what is happening and how to resolve it. Can anyone point
me in the right direction?
thanks
Dan