Constructs a ExcelForm object and attaches it to Excel's application window
XllPlus::Forms::ExcelForm( ); |
This constructor is all that is required to initialise the object.
Because ExcelForm is a managed class, you should use gcnew
to construct it, rather than new, as shown below.
System::Windows::Forms::MessageBox::Show(
gcnew XllPlus::Forms::ExcelForm(),
"Hello from .NET");
Header: xlpclrforms.h