2 Star 0 Fork 0

FastTunnel / WindowsSeviceTool

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Program.cs 800 Bytes
Copy Edit Web IDE Raw Blame History
Gui.H authored 2017-12-27 15:07 . InitializeComponent
using log4net.Config;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Service
{
static class Program
{
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
// Log4net
string filePath = System.AppDomain.CurrentDomain.BaseDirectory + "\\Config\\Log4net.config";
FileInfo fileInfo = new FileInfo(filePath);
XmlConfigurator.ConfigureAndWatch(fileInfo);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new ServiceTool());
}
}
}

Comment ( 0 )

Sign in for post a comment

C#
1
https://gitee.com/Hgui/WindowsSeviceTool.git
git@gitee.com:Hgui/WindowsSeviceTool.git
Hgui
WindowsSeviceTool
WindowsSeviceTool
master

Search