添加项目文件。

This commit is contained in:
2026-03-16 10:36:47 +08:00
parent aa2e0d4a45
commit 54b11c9c84
309 changed files with 41803 additions and 0 deletions

25
GroupLine.App/App.xaml.cs Normal file
View File

@@ -0,0 +1,25 @@
using System.Windows;
namespace GroupLine.App
{
/// <summary>
/// App.xaml 的交互逻辑
/// </summary>
public partial class App : Application
{
private static System.Threading.Mutex mutex;
protected override void OnStartup(StartupEventArgs e)
{
mutex = new System.Threading.Mutex(true, "OnlyRun_CRNS");
if (mutex.WaitOne(0, false))
{
base.OnStartup(e);
}
else
{
MessageBox.Show("程序已经在运行!", "提示");
this.Shutdown();
}
}
}
}