摘要:
bool fullscreen = false;Rectangle rect = new Rectangle();private void button4_Click(object sender, EventArgs e){ fullscreen = !fullscreen;//循环。点一次全屏,再点还原。 SetFullScreen(fullscreen, ref rect); if (fullscreen) { this.WindowState = FormWindowState.Maximized;//全屏 } else { this.WindowState = FormWindowSt 阅读全文