1、

///   <summary>
///   应用程序的主入口点。
///   </summary>
[STAThread]
static   void   Main(string[]   args)  
{
Application.Run(new   Form1(args))
}

------------------------
public   Form1(string[]   args)
{
      使用args
}

2、

任何地方都可用string   []   strArgs=System.Environment.GetCommandLineArgs();