Cosmos/source2/Cosmos.Deploy.Pixie.GUI/App.xaml.cs
kudzu_cp c9bc5ae7fb
2012-06-25 16:57:58 +00:00

25 lines
632 B
C#

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
namespace Cosmos.Deploy.Pixie.GUI {
public partial class App : Application {
static public string PxePath;
static public string IpAddress;
static public string Title = "Cosmos PXE Server";
private void Application_Startup(object sender, StartupEventArgs e) {
if (e.Args.Length < 2) {
MessageBox.Show("Not enough parameters.", Title);
Shutdown(-1);
}
IpAddress = e.Args[0];
PxePath = e.Args[1];
}
}
}