winform窗体最大化、最小化、还原

//最大化

private void button_maxsize_Click(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
        }
        //最小化
        private void button_minisize_Click(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;
        }
       //向下还原
        private void button_normal_Click(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Normal;
        }

上一篇:automation轻松“一点”,搞定裸机安装系统


下一篇:文件下载:"Content-disposition","attachment; filename=中文名>>>解决方案