WindowsFormsApp/Program.cs

(完整代码) 918B

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;

namespace WindowsFormsApp
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            // 配置文件位置
            FileInfo logConfig = new FileInfo(Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "log4Config.xml"));
            // 配置日志
            log4net.Config.XmlConfigurator.ConfigureAndWatch(logConfig);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new FrmDrawImage());
            //Application.Run(new FrmDrawPanel());
            //Application.Run(new BufferingExample());
            Application.Run(new FrmLines());
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。