48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
|
using Prism.Events;
|
|||
|
using Prism.Ioc;
|
|||
|
using Prism.Regions;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows;
|
|||
|
using System.Windows.Controls;
|
|||
|
using System.Windows.Data;
|
|||
|
using System.Windows.Documents;
|
|||
|
using System.Windows.Input;
|
|||
|
using System.Windows.Media;
|
|||
|
using System.Windows.Media.Imaging;
|
|||
|
using System.Windows.Shapes;
|
|||
|
using Unity;
|
|||
|
using Unity.Lifetime;
|
|||
|
using DM_Weight.msg;
|
|||
|
using DM_Weight.util;
|
|||
|
|
|||
|
namespace DM_Weight.Views
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// MainWindow.xaml 的交互逻辑
|
|||
|
/// </summary>
|
|||
|
public partial class MainWindow : Window
|
|||
|
{
|
|||
|
//IRegionManager _regionManager;
|
|||
|
//IUnityContainer _container;
|
|||
|
public MainWindow()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
//_regionManager = regionManager;
|
|||
|
//_container = container;
|
|||
|
//System.Windows.Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Send, new Action(() =>
|
|||
|
//{
|
|||
|
|
|||
|
// _container.RegisterType<object, LoginWindow>("LoginWindow");
|
|||
|
// _regionManager.RequestNavigate("MainRegion", "LoginWindow");
|
|||
|
|
|||
|
//}));
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|