如何在C#中实现窗体全屏模式

对窗体如下设置就可以得到一个全屏的了.

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms;

namespace WindowsApplication5 {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;             this.WindowState = System.Windows.Forms.FormWindowState.Maximized;         }

            } }

posted @ 2012-01-31 13:31  肚肚  阅读(482)  评论(0编辑  收藏  举报