Skip to content

Commit

Permalink
Inline event handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnoakes committed Apr 2, 2018
1 parent 351f075 commit 8ce1836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.

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

11 changes: 2 additions & 9 deletions GitUI/CommandsDialogs/BrowseDialog/FormCommitCount.cs
Expand Up @@ -21,16 +21,9 @@ public FormCommitCount(GitUICommands commands)
InitializeComponent();
Loading.Image = Properties.Resources.loadingpanel;
Translate();
}

private void FormCommitCountLoad(object sender, EventArgs e)
{
FetchData();
}

private void cbIncludeSubmodules_CheckedChanged(object sender, EventArgs e)
{
FetchData();
Load += delegate { FetchData(); };
cbIncludeSubmodules.CheckedChanged += delegate { FetchData(); };
}

private void FetchData()
Expand Down

0 comments on commit 8ce1836

Please sign in to comment.