3个属性this.ControlBox = false;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
解决方案 »
- 请教泛型基础知识
- 把一个字符串 相邻 的相同字符合并成一个
- 反射的DLL中不能加载xml文件.为什么?
- 锁定ctrl+alt+delete程序,运行时出错。显示:无法加载“native.dll”:找不到指定的模块(异常来自HRESULT:0x8007007E)
- 关于C#和delphi的交互
- 在数据库中,BBS的留言内容怎么保存?
- (50分)有没有人实现过System.CodeDOM.Compiler中的ICodeParser接口啊!高手们能指点一二啊!
- excel导入datagridview出问题
- Visual Studio 2010编译的C#程序如何支持Windows 2000
- 怎么找到List里面最大(小)某项的index?
- .NET下报表打印完美解决方案
- 有空过来看看,我又要骂人了
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;namespace WindowsApplication1
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null; public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent(); //
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
} /// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
} #region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(292, 273);
this.ControlBox = false;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Form1";
this.Text = "Form1";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; }
#endregion /// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
}
}
Form的Size属性设置为显示器的分辨率即可.