-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.xaml.cs
42 lines (40 loc) · 1.31 KB
/
App.xaml.cs
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
32
33
34
35
36
37
38
39
40
41
42
//-----------------------------------------------------------------------
// <copyright file="App.xaml.cs" company="StrikeByte">
// StrikeByte Software, Inc. 2011-
// </copyright>
//-----------------------------------------------------------------------
namespace Pickler
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
/// <summary>
/// Gets or sets the parmeters.
/// </summary>
/// <value>
/// The parms for the application.
/// </value>
public static string[] Parms { get; set; }
/// <summary>
/// Handles the Startup event of the Application control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.Windows.StartupEventArgs"/> instance containing the event data.</param>
private void Application_Startup(object sender, StartupEventArgs e)
{
if (e.Args.Length > 0)
{
Parms = new string[e.Args.Length];
Parms = e.Args;
}
}
}
}