Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed May 26, 2020
1 parent 6f46e59 commit 7538a04
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 28 deletions.
26 changes: 13 additions & 13 deletions GitHubNotifier/MainForm.Designer.cs

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

28 changes: 16 additions & 12 deletions GitHubNotifier/UserControls/RepositoryEntry.Designer.cs

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

6 changes: 3 additions & 3 deletions GitHubNotifier/UserControls/RepositoryEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public RepositoryEntry()
public RepositoryEntry(RepositorySettings repo) : this()
{
Repo = repo;
lnkLabel.Text = repo.RepoUrl;
lnkLabel.Text = repo.DisplayName;
timerUpdate.Interval = repo.UpdateMinutes * 60 * 1000;
lblNext.Text = "Next check: " + DateTime.Now.AddMilliseconds(repo.UpdateMinutes * 60 * 1000);
}
Expand Down Expand Up @@ -141,7 +141,7 @@ private async void btnCheckNow_Click(object sender, EventArgs e)

private void lnkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
OpenLink(lnkLabel.Text);
OpenLink(Repo.RepoUrl);
}

private void lnklblIssues_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
Expand All @@ -153,7 +153,7 @@ private void OpenLink(string url)
{
try
{
Process.Start(new ProcessStartInfo(url) {UseShellExecute = true});
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true });
}
catch (Exception exception)
{
Expand Down

0 comments on commit 7538a04

Please sign in to comment.