共用方式為


CWinFormsControl::GetControl

Retrieves a pointer to the Windows Forms control.

inline TManagedControl^ GetControl( ) const;

Return Value

Returns a pointer to the Windows Forms control.

Example

See CWinFormsControl::CreateManagedControl.

Requirements

Header: afxwinforms.h

See Also

Reference

CWinFormsControl Class

CWinFormsControl::GetControlHandle

CWinFormsControl::CreateManagedControl

Other Resources

CWinFormsControl Members