共用方式為


CWinFormsView::operator Control^

Casts a type as a pointer to a Windows Forms control.

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

Remarks

This operator allows you to pass a CWinFormsView view to functions that accept a pointer to a Windows Forms control of type Control.

Example

See CWinFormsView::GetControl.

Requirements

Header: afxwinforms.h

See Also

Reference

CWinFormsView Class