O
Olivier Sauterel
Hi all,
Anyone can tell me if the derived forms need to call the constructor of the
ancestor Form ?
Also it's needed to call InitializeComponent() from Ancestor form or not ?
Sample:
public Class AncestorForm: System.Windows.Forms.Form
{
Public AncestorForm() //:base() needed or not ?
{
InitializeComponent();
}
}
public Class DerivedForm: AncestorForm
{
Public DerivedForm(): base() //:base() needed of not ?
{
InitializeComponent();
}
}
Tanks for your help
Anyone can tell me if the derived forms need to call the constructor of the
ancestor Form ?
Also it's needed to call InitializeComponent() from Ancestor form or not ?
Sample:
public Class AncestorForm: System.Windows.Forms.Form
{
Public AncestorForm() //:base() needed or not ?
{
InitializeComponent();
}
}
public Class DerivedForm: AncestorForm
{
Public DerivedForm(): base() //:base() needed of not ?
{
InitializeComponent();
}
}
Tanks for your help