리눅스맨

c# 윈폼 전체화면 여백 자동설정 WorkingArea

※ 위 배너를 클릭하면 1달러에 (900원~1800원) 살 수 있는 가성비 레어템 많습니다.

this.Text = string.Empty;
this.ControlBox = false;

// 전체화면 만들면 왼쪽,아래,오른쪽 여백을 남김
this.MaximizedBounds = Screen.FromHandle(this.Handle).WorkingArea;

 

[적용상태]

 

[미적용상태]

적용안할경우 전체화면에 꽉 차는 프로그램을 만들수 있습니다.


게시됨

카테고리

작성자

태그: