//最大化
this.WindowState = FormWindowState.Maximized;
//去掉标题栏
this.FormBorderStyle = FormBorderStyle.None; //设置picbox
this.pictureBox1.Width = this.Width;
this.pictureBox1.Height = this.Height;
this.pictureBox1.Left = ;
this.pictureBox1.Top = ;
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;//设置背景图像布局
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; //随着父级一起改变
this.pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;//自适应
  //最大化
this.WindowState = FormWindowState.Maximized;
////去掉标题栏
//this.FormBorderStyle = FormBorderStyle.None; //设置picbox
this.axWindowsMediaPlayer1.Width = this.Width;
this.axWindowsMediaPlayer1.Height = this.Height;
this.axWindowsMediaPlayer1.Left = ;
this.axWindowsMediaPlayer1.Top = ;
this.axWindowsMediaPlayer1.Dock = System.Windows.Forms.DockStyle.Fill; //随着父级一起改变

最新文章

  1. ural 1069. Prufer Code
  2. Android 2.3 不支持印度文
  3. web.xml中contextConfigLocation的作用
  4. Asp.net简单代码设置GridView自适应列宽不变形
  5. 关于Response.redirect和Response.End出现线程中止异常的处理
  6. JMeter性能测试,完整入门篇
  7. Git学习(2)-使用Git 代码将本地文件提交到 GitHub
  8. hdu 4533 线段树(问题转化+)
  9. SpringMVC接收json数组对象
  10. 扒一扒EOS的前世今生
  11. python chrome的自定义启动
  12. SVG的学习(34—36)
  13. python面向对象--类
  14. FTP主动模式与被动模式,及java FTPClient模式设置
  15. Linux系统如何让显示中文?英文centos切换中文
  16. Sql日期时间格式转换[zhuan]
  17. 学习笔记12—linux下文件的复制、移动与删除
  18. iOS block 机制
  19. Python练习环境搭建-引入预定义数据
  20. centos7 安装 supervisor

热门文章

  1. RMAN RECOVERY
  2. maven更改镜像路径为阿里镜像,以便下载速度快
  3. Jquery Mac OS Desktop项目想启动
  4. 1695 windows 2013
  5. Robot Framework 使用技巧 快捷键
  6. RegisterAttached 两种绑定方式
  7. C. Unusual Product(cf)
  8. Elasticsearch搜索常用API(利用Kibana来操作)
  9. Java 集合 ArrayList 需要知道的几个问题
  10. ACM_Cipher(异或运算)