- 添加必要的using引用(System, System.Windows.Forms, System.Drawing等) - 修复Program.cs中的ApplicationConfiguration.Initialize()为.NET Framework兼容方法 - 简化System.Data.DataTable和System.Data.DataRow类型引用 - 解决Win7兼容性编译错误问题 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
436 B
C#
19 lines
436 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace WinFormsApp1
|
|
{
|
|
internal static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new Form1());
|
|
}
|
|
}
|
|
} |