private void loadTournamentbutton_Click(object sender, EventArgs e)
        {
            TournamentModel      tm  = (TournamentModel)loadExistingDashBoardDropBox.SelectedItem;
            TournamentViewerForm frm = new TournamentViewerForm(tm);

            frm.Show();
        }
        /// <summary>
        /// to perform the execution of the create tournament button.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e) // createTournamentbutton
        {
            //Validate data
            decimal fee           = 0;
            bool    feeAcceptable = decimal.TryParse(entryFeetextBox.Text, out fee);

            if (!feeAcceptable)
            {
                MessageBox.Show("You need to enter a Valid Entry Fee.",
                                "Invalid Fee",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Error);
                return;
            }
            //create our tournament model
            TournamentModel tm = new TournamentModel();

            tm.TournamentName = tournamentNametextBox.Text;
            tm.EntryFee       = fee;

            tm.Prizes       = selectedPrizes;
            tm.EnteredTeams = selectedTeams;

            // create our matchups
            TournamentLogic.CreateRounds(tm);


            //creater tournament entry
            // create all of the prizes entried.
            // create all of the team entries.
            GlobalConfig.Connection.CreateTournament(tm);

            tm.AlertUsersToNewRound();

            TournamentViewerForm frm = new TournamentViewerForm(tm);

            frm.Show();
            this.Close();
        }