Пример #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 private AppLoadingWindowObject()
 {
     try
     {
         _window = new AppLoadingWindow();
     }
     catch (Exception ex)
     {
         SeatManage.SeatManageComm.WriteLog.Write("窗体初始化失败:" + ex.Message);
         throw ex;
     }
 }
Пример #2
0
        public static void Main()
        {
            AppLoadingWindow loadWindow = new AppLoadingWindow();

            loadWindow.ShowDialog();
            if (loadWindow.viewModel.InitializeState == SeatManage.EnumType.HandleResult.Failed)
            {
                return;
            }
            App app = new App();

            app.InitializeComponent();
            app.Run();
        }