You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
975 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SymbolLibManager
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//Application.Run(new frmMarkEditor());
string strDataPath = string.Empty;
if (args.Length > 0)
{
strDataPath = args[0];
}
if (string.IsNullOrEmpty(strDataPath))
{
string strPath = Path.GetDirectoryName(Application.StartupPath);
strDataPath = Path.Combine(strPath, "Symbol");
}
Application.Run(new FrmMarkMain(strDataPath));
}
}
}