Ultron.Ngrok/Ultron.Update/Program.cs

29 lines
647 B
C#
Raw Normal View History

2019-04-01 14:10:58 +08:00
using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace Ultron.Update
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if (args.Length == 0)
{
Application.Run(new UpdateForm());
}
else
{
Application.Run(new UpdateForm(args));
}
}
}
}