之前写过一篇是通过底层调用来创建移动的非全屏窗体http://www.cnblogs.com/abob/archive/2008/01/11/1035285.html,如果不需要移动的话,cf是可以实现的:

再说cf下的非全屏窗体

几个关键性的属性设置

            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.ClientSize = new System.Drawing.Size(235, 152);
            this.ControlBox = false;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Location = new System.Drawing.Point(3, 80);
            this.MinimizeBox = false;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2022-02-14
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案