Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created March 11, 2017 17:59
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 dsibinski/543cdbccbb0e28c144d15548db8b9e6f to your computer and use it in GitHub Desktop.
Save dsibinski/543cdbccbb0e28c144d15548db8b9e6f to your computer and use it in GitHub Desktop.
protected override void OnResume()
{
base.OnResume();
InitializeUserControlsEvents();
// TODO: retrieving variables (amount, number of people) from persistent storage (file, database)
}
// ...
private void InitializeUserControlsEvents()
{
_btnCalculate.Click += _btnCalculate_Click;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment