共用方式為


CWinFormsDialog::GetControl

Retrieves a reference to the Windows Forms user control.

inline TManagedControl^ GetControl( ) const;

Return Value

Returns a reference to the UserControl control in the MFC dialog box.

Requirements

Header: afxwinforms.h

See Also

Reference

CWinFormsDialog Class

CWinFormsDialog::GetControlHandle

UserControl

CDialog Class

UserControl