共用方式為


CWinFormsControl::operator ->

Replaces CWinFormsControl::GetControl in expressions.

inline TManagedControl^ operator->( ) const;

Remarks

This operator provides a convenient syntax that replaces GetControl in expressions.

For more information on Windows Forms, see Using a Windows Form User Control in MFC.

Requirements

Header: afxwinforms.h

See Also

Reference

CWinFormsControl Class

CWinFormsControl::GetControl

Other Resources

CWinFormsControl Members