2025-03-28 09:49:56 +08:00

29 lines
742 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using SuperMap.RealEstate.Windows.Utility;
namespace SocketTransfer
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
//判断是否已有实例运行
if (ApplicationHelper.ExistsProcess("SocketTransfer", ""))
{
MessageBox.Show("不可重复打开!");
return;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Sender());
}
}
}