using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;namespace WindowsApplication34
{
public class Form1 : System.Windows.Forms.Form
{
private System.ComponentModel.Container components = null; public Form1()
{
InitializeComponent();
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void InitializeComponent()
{
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(636, 468);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load); } [STAThread]
static void Main()
{
Application.Run(new Form1());
} private void Form1_Load(object sender, System.EventArgs e)
{
MessageBox.Show("hello");
}
}
}
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;namespace WindowsApplication34
{
public class Form1 : System.Windows.Forms.Form
{
private System.ComponentModel.Container components = null; public Form1()
{
InitializeComponent();
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void InitializeComponent()
{
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(636, 468);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load); } [STAThread]
static void Main()
{
Application.Run(new Form1());
} private void Form1_Load(object sender, System.EventArgs e)
{
MessageBox.Show("hello");
}
}
}
解决方案 »
- windows service 什么时候用,有什么好处?
- 如何在panel上面画线?
- 【菜鸟发问】一个非常简单的向数据库中插入数据的问题!
- dsoframer嵌套子窗体操作打开Excel出现锁定的问题
- Datetime.Parse 如何按照自定义格式转换string 到 Datetime.
- 那位告诉能讲一下事件里面的sender 和e?
- vs2005 的工具箱全部变成灰色
- 关于编译生成DLL文件。
- 请问任何用WMI获取安装程序列表~~~
- 很急的问题,请高手救我。
- 如何将word存入oracle的clob字段,并且能够取出?
- help!!!javascript popWindow can't use server controls in c#.
private void Form1_Load(object sender, System.EventArgs e)
{
this.Show();
MessageBox.Show("hello");
}
Thread.Sleep(1000);
MessageBox.Show("aaa");