You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
972 B
26 lines
972 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Sql
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// 应用程序的主入口点。
|
|
/// </summary>
|
|
[STAThread]//(单一线程单元线程)
|
|
static void Main()//上面的注释会让鼠标移到Main的时候显示注释内容
|
|
{
|
|
Application.EnableVisualStyles();//此方法为应用程序启用可视样式。
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
//作用:在应用程序范围内设置控件显示文本的默认方式(可以设为使用新的GDI+ , 还是旧的GDI)
|
|
//true使用GDI + 方式显示文本,
|
|
//false使用GDI方式显示文本。
|
|
Application.Run(new Form1());//在当前线程上开始运行标准应用程序消息循环。这里就是进入了Form1.cs的意思
|
|
}
|
|
}
|
|
}
|