D
Deena
Hi
I create a abstract base class("MyBaseForm") which extends
System.Windows.Forms.Form class. I add buttons,.... . I then extend another
class("MyDerivedForm") from "MyBaseForm". This compiles fine, runs fine but
as soon as I double click - MyDerivedForm - to view the form in the IDE
designer - the IDE designer gives me an error.
Is the a bug? I saw a similar post earlier with no suitable explanation.
This is basically what we are trying to do. Create a base class with
something like this:
namespace MyFormClassLibrary
{
public abstract class MyBaseForm : System.Windows.Forms.Form
{
public MyBaseForm ()
{
}
}
}
Then create another Form and change the superclass from
"System.Windows.Forms.Form " to the "MyPage" class created above:
namespace MyFormClassLibrary
{
public class MyDerivedForm : MyBaseForm
{
public MyDerivedForm()
{
}
}
}
Is there a fix for the IDE?
I create a abstract base class("MyBaseForm") which extends
System.Windows.Forms.Form class. I add buttons,.... . I then extend another
class("MyDerivedForm") from "MyBaseForm". This compiles fine, runs fine but
as soon as I double click - MyDerivedForm - to view the form in the IDE
designer - the IDE designer gives me an error.
Is the a bug? I saw a similar post earlier with no suitable explanation.
This is basically what we are trying to do. Create a base class with
something like this:
namespace MyFormClassLibrary
{
public abstract class MyBaseForm : System.Windows.Forms.Form
{
public MyBaseForm ()
{
}
}
}
Then create another Form and change the superclass from
"System.Windows.Forms.Form " to the "MyPage" class created above:
namespace MyFormClassLibrary
{
public class MyDerivedForm : MyBaseForm
{
public MyDerivedForm()
{
}
}
}
Is there a fix for the IDE?