private void MainForm_Load(object sender, EventArgs e) { if (ApplicationDeployment.IsNetworkDeployed) { this.label2.Text = "Version: " + ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(); } else { this.label2.Text = "Version: Testing"; } }
No comments:
Post a Comment