30 lines
724 B
C#
30 lines
724 B
C#
using Lskj.Main.Model;
|
|
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Lskj.GetSecretKey
|
|
{
|
|
internal static class Program
|
|
{
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
//Application.EnableVisualStyles();
|
|
//Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
AboutDevCompanion DC = new AboutDevCompanion(1, false);
|
|
DC.Run();
|
|
using (var login = new LoginFrm())
|
|
{
|
|
if (login.ShowDialog() == DialogResult.OK)
|
|
{
|
|
Application.Run(new FrmMain());
|
|
}
|
|
// 取消或失败直接退出
|
|
}
|
|
DC.Stop();
|
|
|
|
}
|
|
}
|
|
}
|