Screen.FromControl(Control) 메서드

정의

Screen 지정된 컨트롤의 가장 큰 부분을 포함하는 디스플레이의 값을 검색합니다.

public:
 static System::Windows::Forms::Screen ^ FromControl(System::Windows::Forms::Control ^ control);
public static System.Windows.Forms.Screen FromControl(System.Windows.Forms.Control control);
static member FromControl : System.Windows.Forms.Control -> System.Windows.Forms.Screen
Public Shared Function FromControl (control As Control) As Screen

매개 변수

control
Control

Control 를 검색할 A입니다Screen.

반품

Screen 지정된 컨트롤의 가장 큰 영역을 포함하는 디스플레이의 A입니다. 컨트롤을 포함하는 디스플레이가 없는 여러 디스플레이 환경에서는 지정된 컨트롤에 가장 가까운 디스플레이가 반환됩니다.

적용 대상