Used to link .NET forms to Excel.
The ExcelForm class establishes a link between the Excel application window and the .NET runtime Forms classes. In order to show a modal dialog during an add-in function (or during an add-in library event handler), you should construct a ExcelForm to use as the parent of your own window.
ExcelForm implements the
and can be used wherever .NET expects a window handle, as in the
example C++/CLI code below.
System::Windows::Forms::MessageBox::Show( gcnew XllPlus::Forms::ExcelForm(), "Hello from .NET");