G
GD
Hi,
Some online articles claim that visual form inheritance at design time is
possible using VS.Net 2005 and Compact Framework 2.0. I wonder if anyone has
successfully made it work. Here is my unsuccessful sample code:
//Parent form
public class FormBase : System.Windows.Forms.Form
{
protected Button button1;
protected void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("This is the base form");
}
}
///Child form
public class FormChild : FormBase
{
}
The component in FormBase doesn't show up in FormChild during design time.
Any idea would be appreciated.
GD
Some online articles claim that visual form inheritance at design time is
possible using VS.Net 2005 and Compact Framework 2.0. I wonder if anyone has
successfully made it work. Here is my unsuccessful sample code:
//Parent form
public class FormBase : System.Windows.Forms.Form
{
protected Button button1;
protected void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("This is the base form");
}
}
///Child form
public class FormChild : FormBase
{
}
The component in FormBase doesn't show up in FormChild during design time.
Any idea would be appreciated.
GD