using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; namespace TestApplication { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { log4net.Config.XmlConfigurator.Configure(new FileInfo("Log4Net.xml")); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } } }