By default a WinForms application has a Main function without parameters
To utilize command line arguments simply modify the implementation of your Main function in Program.cs
static void Main(string[] args)
{
// command line args
//
for (int iArg = 0; iArg < args.Length; iArg++)
{
Console.WriteLine("args[{0}] == {1}", iArg, args[iArg]);
}
....
}