G
Guest
Hi,
I created an abstract base class with some features in it, something like:
public abstract class MyBaseClass : Form
{
// constructor, destructor, etc...
}
And I created a derived class from it, like:
public class MyDerivedClass : MyBaseClass
{
// constructor, destructor, etc...
}
When I try to open the derived class in the VS.NET form designer, it shows
an error stating that VS.NET cannot open an abstract class. But if I try to
open the base class, VS.NET opens it without any problem.
Is this a VS.NET issue? Has anybody seen this behavior before? Is there a
workaround for this?
Thanks,
Edmundo
I created an abstract base class with some features in it, something like:
public abstract class MyBaseClass : Form
{
// constructor, destructor, etc...
}
And I created a derived class from it, like:
public class MyDerivedClass : MyBaseClass
{
// constructor, destructor, etc...
}
When I try to open the derived class in the VS.NET form designer, it shows
an error stating that VS.NET cannot open an abstract class. But if I try to
open the base class, VS.NET opens it without any problem.
Is this a VS.NET issue? Has anybody seen this behavior before? Is there a
workaround for this?
Thanks,
Edmundo