ke_junjie
2025-06-04 101c57ec4c28bc3c36e49c50a926e9e7c0dd0247
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using iWareSda_QQJF.WCSNEW.EDM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace iWareSda_QQJF
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
 
 
            bool result;
            Mutex MyMutex = new Mutex(true, "QQJF_SDA", out result);
            if (result)
            {
                //Application.Run(new FormMain());
                //模拟 暂时 测试
                Application.Run(new FormTest());
            }
            else
            {
                //程序已经启动
                MessageBox.Show("数据访问服务程序已启动");
            }
        }
    }
}