29 lines
694 B
C#
29 lines
694 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace USB_Lockdown
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
if (args.Length == 0)
|
|
{
|
|
Application.Run()
|
|
}
|
|
else if (args[0] == "LOCK")
|
|
{
|
|
Application.Run(new Form1());
|
|
}
|
|
}
|
|
}
|
|
}
|