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.

37 lines
997 B
C#

1 month ago
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using GeoSigmaDrawLib;
namespace PcgDraw
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
var symbolFilePath = Directory.GetParent(Application.StartupPath);
string libPath = Path.Combine(symbolFilePath.FullName, "Mark");
string strNodeData = string.Empty;
GeoSigmaDrawLib.GeoSigmaXY.InitLibrary(libPath, ref strNodeData);
if (args.Length > 0)
{
Application.Run(new FormMain(args));
}
else
{
Application.Run(new FormMain());
}
}
}
}