G
Guest
This is bizarre, but is there any way to inherit from one control at design
time but from another at run time? Something like this:
#if <some design time indicator>
public class UserControl1 : System.Windows.Forms.UserControl
#else
public class UserControl1 : System.Windows.Forms.Control
#endif
I’m really just looking for some solution to a defect, where a mdi child
form with a UserControl on it has problems remembering focus when switching
to another mdi child form and back. Any ideas on how to deal with that would
be appreciated.
Gary
time but from another at run time? Something like this:
#if <some design time indicator>
public class UserControl1 : System.Windows.Forms.UserControl
#else
public class UserControl1 : System.Windows.Forms.Control
#endif
I’m really just looking for some solution to a defect, where a mdi child
form with a UserControl on it has problems remembering focus when switching
to another mdi child form and back. Any ideas on how to deal with that would
be appreciated.
Gary