Поделиться через


CWinFormsDialog Class

A wrapper for an MFC dialog class that hosts a Windows Forms user control.

template <typename TManagedControl>
class CWinFormsDialog : 
   public CDialog

Параметры

  • TManagedControl
    The .NET Framework user control to be displayed in the MFC application.

Заметки

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 Form User Control in MFC and Hosting a Windows Form User Control as an MFC Dialog Box.

Требования

Header: afxwinforms.h

См. также

Основные понятия

CWinFormsDialog Members

CWnd Class

CWinFormsView Class

CDialog Class

Ссылки

System.Windows.Forms.UserControl