J
Jan Obrestad
I'm working on the Compact Framework 1.0
A while ago I made this workaround to fixed the fact that the compact
framework does not have designer support for a forms that does not
directly inherit from System.Windows.Forms.Form
#If DESIGN Then
Inherits System.Windows.Forms.Form
#Else
Inherits BaseForm
#End If
This worked fine, it inherited from System.Windows.Forms.Form when I
viewed it in the designer, but it inherited BaseForm while compiling.
But when I try it now , the DESIGN flag is not set when the form is
viewed in design mode, so it inherits BaseForm in design mode as well.
Any ideas how I can get it to work again?
Jan
A while ago I made this workaround to fixed the fact that the compact
framework does not have designer support for a forms that does not
directly inherit from System.Windows.Forms.Form
#If DESIGN Then
Inherits System.Windows.Forms.Form
#Else
Inherits BaseForm
#End If
This worked fine, it inherited from System.Windows.Forms.Form when I
viewed it in the designer, but it inherited BaseForm while compiling.
But when I try it now , the DESIGN flag is not set when the form is
viewed in design mode, so it inherits BaseForm in design mode as well.
Any ideas how I can get it to work again?
Jan