Bug when using User Controls within containers ?
-
When using User Controls in a .NET Windows Forms app, the designer sometimes "activates" controls within a User Control when in design-mode, but only when the User Control have been placed within a container control (like a Panel or Groupbox). Look at this zipped AVI movie which demonstrates the problem : http://www.bean.dk/uctest/UCTest.avi.zip The full source code for the example can be found here : http://www.bean.dk/uctest/UCTest.source.zip This would normally only be a minor thing since the bug only occurs at design-time, but I'm using .NET's designer in my own app. so the users can design forms themselves. Is there a workaround to avoid controls within a User Control to be "activated" when the user clicks on them design-time ? Thanks in advance, /Bean
-
When using User Controls in a .NET Windows Forms app, the designer sometimes "activates" controls within a User Control when in design-mode, but only when the User Control have been placed within a container control (like a Panel or Groupbox). Look at this zipped AVI movie which demonstrates the problem : http://www.bean.dk/uctest/UCTest.avi.zip The full source code for the example can be found here : http://www.bean.dk/uctest/UCTest.source.zip This would normally only be a minor thing since the bug only occurs at design-time, but I'm using .NET's designer in my own app. so the users can design forms themselves. Is there a workaround to avoid controls within a User Control to be "activated" when the user clicks on them design-time ? Thanks in advance, /Bean