工作列 程式 彈出 POPUPFORM
private void GoFullscreen(bool fullscreen)
{
if (fullscreen)
{
this.WindowState = FormWindowState.Normal;
//this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Bounds = Screen.PrimaryScreen.Bounds;
}
else
{
this.WindowState = FormWindowState.Maximized;
//this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
}
}