Beispiel #1
0
 public static void ShowDialog(string CurrentBuild, string LatestBuild)
 {
     AboutBox Instance = new AboutBox();
     Instance.versionLabel.Text = "Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString()
                                  + ", build: " + CurrentBuild.Substring(0,8);
     Instance.ShowDialog();
 }
Beispiel #2
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AboutBox.ShowDialog(CurrentGitHash, LatestGitHash);
 }