摘要: 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 阅读全文
posted @ 2013-08-21 16:16 金虹巴巴 阅读(4133) 评论(0) 推荐(0) 编辑