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 { /// /// 应用程序的主入口点。 /// [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)); } } }