1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00
Beef/BeefTools/BfAeDebug/Program.cs

39 lines
961 B
C#
Raw Normal View History

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);
Application.Run(new Form1());
}
}
}