Skip to content

Commit

Permalink
3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension committed Nov 15, 2015
1 parent 407b519 commit f3ed908
Show file tree
Hide file tree
Showing 93 changed files with 2,566 additions and 567 deletions.
67 changes: 67 additions & 0 deletions SharpBoot/About.Designer.cs

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

13 changes: 13 additions & 0 deletions SharpBoot/About.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,24 @@ public About()
{
InitializeComponent();
lblAbout.Text = lblAbout.Text.Insert(9, " " + Program.GetVersion());
Utils.SetWindowTheme(lvTranslators.Handle, "explorer", null);
}

private void linkLabelClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(((LinkLabelEx)sender).Text);
}

private void lvTranslators_DoubleClick(object sender, System.EventArgs e)
{
if(lvTranslators.SelectedItems.Count == 1)
{
var it = lvTranslators.SelectedItems[0];
var url = "";
if (it.SubItems.Count > 1) url = it.SubItems[1].Text;
if(!string.IsNullOrEmpty(url)) Process.Start(url);
lvTranslators.SelectedIndices.Clear();
}
}
}
}
Loading

0 comments on commit f3ed908

Please sign in to comment.