共用方式為


CWinFormsView::GetControl

Retrieves a pointer to the Windows Forms control.

System::Windows::Forms::Control^ GetControl( ) const;

Return Value

A pointer to a System.Windows.Forms.Control object.

Remarks

For an example of how to use Windows Forms, see Using a Windows Form User Control in MFC.

Requirements

Header: afxwinforms.h

See Also

Reference

CWinFormsView Class

Concepts

CWinFormsView Members