Files
wcs/货架标准上位机/App.xaml.cs
2024-10-31 13:57:24 +08:00

35 lines
774 B
C#

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Management.Instrumentation;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace WCS管理系统
{
/// <summary>
/// App.xaml 的交互逻辑
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
if (LocalFile.Config.IsMx)
{
MainWindow = new MXMainWindow();
}
else
{
MainWindow = new MainWindow1();
}
MainWindow.ShowDialog();
}
}
}