日期:2014-05-18 浏览次数:21488 次
                //将窗口最大化,并去掉边界
                this.FormBorderStyle = FormBorderStyle.None;
                this.WindowState = FormWindowState.Maximized;
                this.pl_play.Dock = DockStyle.Fill; 
                //隐藏掉工具栏
                this.ms_player.Visible = false;
                this.ts_player.Visible = false;
                this.pl_player_bottom.Visible = false;
                //将panel大小设为设备窗口大小
                this.pl_play.Height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Size.Height;
                this.pl_play.Width = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Size.Width;