Skip to content

Instantly share code, notes, and snippets.

@jbrechtel
Created April 9, 2009 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbrechtel/92492 to your computer and use it in GitHub Desktop.
Save jbrechtel/92492 to your computer and use it in GitHub Desktop.
private void LoadRecentPlayers()
{
var repo = ObjectFactory.Get<IPlayerRepository>();
try
{
var players = repo.RecentPlayers(100);
FinishLoad(players, button1);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
// ResetControl(button1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment