G
Greg Smith
I am attempting to inherit a form that has a parameter passed to it:
public frmListbox_c0(string strConnectionString)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
The form tests successfully if included in a program but when inherited for
a class library it gets the error:
"An exception occurred while trying to create an instance of
Listbox.frmListbox_c0. The exception was "Constructor on type
Listbox.frmListbox_c0 not found.".
Is this a do-able thing?
Any help is greatly appreciated.
public frmListbox_c0(string strConnectionString)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
The form tests successfully if included in a program but when inherited for
a class library it gets the error:
"An exception occurred while trying to create an instance of
Listbox.frmListbox_c0. The exception was "Constructor on type
Listbox.frmListbox_c0 not found.".
Is this a do-able thing?
Any help is greatly appreciated.