aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/App.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/App.xaml.cs')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/App.xaml.cs48
1 files changed, 0 insertions, 48 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/App.xaml.cs b/Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/App.xaml.cs
deleted file mode 100644
index f3bce6c99..000000000
--- a/Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/App.xaml.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-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();
-
- string[] args = null;
- if (AppDomain.CurrentDomain.SetupInformation.ActivationArguments != null)
- {
- string[] inputArgs = AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData;
-
- if (inputArgs != null && inputArgs.Length > 0)
- {
- char[] spearator = { ','};
- args = inputArgs[0].Split(spearator);
- }
- }
- else if (e.Args.Length > 0)
- {
- char[] spearator = { ',' };
- args = e.Args[0].Split(spearator);
- }
- if(args != null && args.Length > 0)
- {
- //MessageBox.Show("Before generate" + String.Join(" ", args));
- wnd.GenerateResultsInBackground(args);
- }
- else
- {
- wnd.Show();
- }
- }
- }
-}