Logo
Explore Help
Register Sign In
yuuko/WinformsApp1
1
0
Fork 0
You've already forked WinformsApp1
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
WinformsApp1/WinFormsApp1/Program.cs

19 lines
436 B
C#
Raw Normal View History

修复.NET Framework 4.8兼容性问题 - 添加必要的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>
2025-11-20 14:23:05 +08:00
using System;
using System.Windows.Forms;
添加项目文件。
2025-11-20 11:10:53 +08:00
namespace WinFormsApp1
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
修复.NET Framework 4.8兼容性问题 - 添加必要的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>
2025-11-20 14:23:05 +08:00
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
添加项目文件。
2025-11-20 11:10:53 +08:00
Application.Run(new Form1());
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 23.8.0 Page: 24ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API