private void btnAddClub_Click(object sender, RoutedEventArgs e)
        {
            // create the edit window in add mode passing the parent window

            EditClub editClub = new EditClub(this);

            editClub.Show();
        }
        private void btnUpdateClub_Click(object sender, RoutedEventArgs e)
        {
            if (grdClub.SelectedItem != null)
            {
                // Retrieve the row to edit

                int clubId = ((ClubManager)grdClub.SelectedItem).ID.Value;

                /* Create the edit window in edit mode passing the parent
                 * window & club id */

                EditClub editClub = new EditClub(this, clubId);
                editClub.Show();
            }
        }