CWinFormsDialog Class
Visual Studio 2008
A wrapper for an MFC dialog class that hosts a Windows Forms user control.
template <typename TManagedControl> class CWinFormsDialog : public CDialog
CWinFormsDialog is a wrapper for an MFC dialog class (CDialog) that hosts a Windows Forms (UserControl) user control. This allows the display of .NET Framework controls on a modal or modeless MFC dialog box.
For more information on using Windows Forms, see Using a Windows Forms User Control in MFC and Hosting a Windows Forms User Control as an MFC Dialog Box.