Listing 1

public static void Main(string[] args)
{
string StartupMode = "";

if(args.Length < 1)
{
Application.Exit();
}
else
{
if(args[0].Length > 2)
{
	StartupMode = args[0].Substring(0,3).ToLower();
}
else
{
	StartupMode = args[0].ToLower();
}
}

switch(StartupMode)
{
	case "/c":
	//Configuration Form
	MessageBox.Show ("There are no Configuration Settings.");
	Application.Exit();
	break;
	case "/s":
		//Run Normally
		Form1 WMIForm = new Form1();

		WMIForm.Show();
Application.Run();
break;
}
}