You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using BPA.Helper;
- using BPASmart.Model;
- using System;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Data;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows;
- using BPA.Communication;
- using System.IO;
- using System.Diagnostics;
-
- namespace BPASmart.ConfigurationSoftware
- {
- /// <summary>
- /// Interaction logic for App.xaml
- /// </summary>
- public partial class App : Application
- {
- protected override void OnStartup(StartupEventArgs e)
- {
- base.OnStartup(e);
- if (e.Args != null && e.Args.Length == 1)
- {
- var res = e.Args[0];
- Json<ProjectModel>.Read(res);
- var pages = Json<ProjectModel>.Data.Pages.OrderBy(p => p.Key).ToDictionary(p => p.Key, s => s.Value);
- }
- MainWindow window = new MainWindow();
- window.Show();
- }
-
- protected override void OnExit(ExitEventArgs e)
- {
- base.OnExit(e);
- }
- }
- }
|