Skip to content

Commit

Permalink
Add link to license in context menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrt54g committed Aug 19, 2022
1 parent 0d19a3f commit 06a2b62
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
22 changes: 16 additions & 6 deletions MainForm.Designer.cs

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

5 changes: 5 additions & 0 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ private void defaultdpiBar_Scroll(object sender, EventArgs e)
_OCR.DefaultScaleDPI = defaultdpiBar.Value;
defaultdpiLabel.Text = defaultdpiBar.Value.ToString();
}

private void contextMenuLicense_Click(object sender, EventArgs e)
{
Process.Start($"https://github.com/{_LiveUpdater.Repository}/blob/master/LICENSE.md");
}
// End of context menu links.
}
}

0 comments on commit 06a2b62

Please sign in to comment.