G
genc ymeri
Hi,
I have a form class which I would like to have two overloaded contructors.
But I want the second constructor to call the first too. How can I cal lthe
first constractor within the second one ?
Thanks in advance
public frmUI4Properties()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
MessageBox.Show("First Constructor");
//
// TODO: Add any constructor code after InitializeComponent call
//
}
public frmUI4Properties(string Hello)
{
//???How can I call the first constructor ?
MessageBox.Show(Hello + "Second contructor);
}
I have a form class which I would like to have two overloaded contructors.
But I want the second constructor to call the first too. How can I cal lthe
first constractor within the second one ?
Thanks in advance
public frmUI4Properties()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
MessageBox.Show("First Constructor");
//
// TODO: Add any constructor code after InitializeComponent call
//
}
public frmUI4Properties(string Hello)
{
//???How can I call the first constructor ?
MessageBox.Show(Hello + "Second contructor);
}