基于C#開發Windows Mobile英語使視窗全螢幕顯示的方法如下:
全屏:
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Menu = null; //若不設定為null則底端的菜單仍然會顯示
this.ControlBox = false;
恢複正常:
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
this.Menu = this.mainMenu1; //mainMenu1為VS自動生成的名稱,可根據情況自行修改
this.ControlBox = true;