2019-08-23 11:56:54 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace BfAeDebug
|
|
|
|
|
{
|
|
|
|
|
static class Program
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The main entry point for the application.
|
|
|
|
|
/// </summary>
|
|
|
|
|
///
|
|
|
|
|
public static String sProcessId;
|
|
|
|
|
public static String sEventId;
|
|
|
|
|
|
|
|
|
|
[STAThread]
|
|
|
|
|
static void Main(String[] args)
|
|
|
|
|
{
|
|
|
|
|
if (args.Length < 2)
|
|
|
|
|
{
|
|
|
|
|
String argStr = "Args: ";
|
|
|
|
|
foreach (var arg in args)
|
|
|
|
|
argStr += arg;
|
|
|
|
|
MessageBox.Show(argStr);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sProcessId = args[args.Length - 2];
|
|
|
|
|
sEventId = args[args.Length - 1];
|
|
|
|
|
|
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2019-08-29 14:19:07 -07:00
|
|
|
|
Application.Run(new Form1(args));
|
2019-08-23 11:56:54 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|