摘要:
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(); 阅读全文
posted @ 2011-06-15 17:20 codingsilence 阅读(464) 评论(0) 推荐(0) 编辑