Skip to content

Commit

Permalink
add "about tabler" window
Browse files Browse the repository at this point in the history
  • Loading branch information
bux committed Jul 6, 2015
1 parent 76c49f1 commit 18c017a
Show file tree
Hide file tree
Showing 10 changed files with 16,240 additions and 209 deletions.
130 changes: 130 additions & 0 deletions tabler/Forms/About.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions tabler/Forms/About.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System;
using System.Diagnostics;
using System.Reflection;
using System.Windows.Forms;

namespace tabler {
public partial class About : Form {
public About() {
InitializeComponent();
}

private void About_Load(object sender, System.EventArgs e) {

var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);

lblCopyright.Text = versionInfo.LegalCopyright.ToString();
lblVersion.Text = versionInfo.FileVersion.ToString();

const string licenseUrl = "http://creativecommons.org/licenses/by-sa/4.0/";
lnkLicense.Links.Add(0, licenseUrl.Length, licenseUrl);

const string githubUrl = "https://github.com/bux578/tabler";
lnkGithub.Links.Add(0, githubUrl.Length, githubUrl);
}
}
}
Loading

0 comments on commit 18c017a

Please sign in to comment.