D
DavidGB
I have a base form that is used to provide basic graphics, code etc for the
sub forms that the users will see.
In this base form, I want to reference some properties and methods that the
sub forms must implement, so I want to define them as
Public MustOverride Property ...
When I do this, VS 2008 (correctly) complains that the base form must be
declared as MustInherit.
However, if I make it MustInherit, I get all kinds of weird errors, for
example:
A) None of the subforms can be viewed in the designer. It gives the error:
"The designer must create an instance of type 'BaseForm' but it cannot
because the type is declared as abstract"
B) VS starts to complain that several forms have "inconsistent line endings"
Has anyone seen this before, or can anyone suggest what I'm doing wrong?
Thanks
DavidBGB
sub forms that the users will see.
In this base form, I want to reference some properties and methods that the
sub forms must implement, so I want to define them as
Public MustOverride Property ...
When I do this, VS 2008 (correctly) complains that the base form must be
declared as MustInherit.
However, if I make it MustInherit, I get all kinds of weird errors, for
example:
A) None of the subforms can be viewed in the designer. It gives the error:
"The designer must create an instance of type 'BaseForm' but it cannot
because the type is declared as abstract"
B) VS starts to complain that several forms have "inconsistent line endings"
Has anyone seen this before, or can anyone suggest what I'm doing wrong?
Thanks
DavidBGB