1.
this
.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this
.WindowState = FormWindowState.Maximized;
출처: https://outshine90.tistory.com/entry/폼-FullScreen [처음]
2.
fullScrenn_bounds = Rectangle.Empty;
foreach
(var screen
in
Screen.AllScreens)
{
fullScrenn_bounds = Rectangle.Union(fullScrenn_bounds, screen.Bounds);
}
this
.ClientSize =
new
Size(fullScrenn_bounds.Width, fullScrenn_bounds.Height);
this
.Location =
new
Point(fullScrenn_bounds.Left, fullScrenn_bounds.Top)
출처: https://outshine90.tistory.com/entry/폼-FullScreen [처음]
3.
this
.StartPosition = FormStartPosition.Manual;
fullScrenn_bounds = Rectangle.Empty;
foreach
(var screen
in
Screen.AllScreens)
{
fullScrenn_bounds = Rectangle.Union(fullScrenn_bounds, screen.Bounds);
}
this
.ClientSize =
new
Size(fullScrenn_bounds.Width, fullScrenn_bounds.Height);
this
.Location =
new
Point(fullScrenn_bounds.Left, fullScrenn_bounds.Top);
출처: https://outshine90.tistory.com/entry/폼-FullScreen [처음]
댓글