blob: d70c2e7a8fb8d06c784c8dda4be7739fbbc91ee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
namespace Tango.DispenserAnalyzer.UI
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private void Application_Startup(object sender, StartupEventArgs e)
{
MainWindow wnd = new MainWindow();
if (e.Args.Length > 0)
{
wnd.GenerateResultsInBackground(e.Args);
//Current.Shutdown();
}
else
{
wnd.Show();
}
}
}
}
|