첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
------------------------------------------------------------------------------------------------------------------------------------------------------
728x90
728x170

■ Screen 클래스의 PrimaryScreen 정적 속성을 사용해 기본 디스플레이 해상도를 구하는 방법을 보여준다.

 

▶ 예제 코드 (C#)

using System.Windows.Forms;

int width  = Screen.PrimaryScreen.Bounds.Width;
int height = Screen.PrimaryScreen.Bounds.Height;
728x90
그리드형(광고전용)
Posted by icodebroker
,