获取程序版本号
AssemblyLabel.Text = "系统版本:V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
AssemblyLabel.Text += "文件版本:" + System.Windows.Forms.Application.ProductVersion.ToString() + "\n";
AssemblyLabel.Text += "部署版本:" + System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();