110,534
社区成员
发帖
与我相关
我的任务
分享
static class Program
{
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1(args));
}
}
public Form1(string[] args)
{
InitializeComponent();
if (args.Length != 0)
{
//我的代码....
}
直接就可以了 不需要什么Properties的 浪费资源 public string FOX
{
set{ filePath.Text = .....}
get{ ......}
}
以你现在的编程习惯所显露出来的“苗头”,希望你还是多学一点规矩,才好真正有利于工作。