private void editLineupMenuItem_Click(object sender, EventArgs e)
        {
            if (teamGrid.SelectedRows.Count == 1)
            {
                Team tm = (Team)teamGrid.SelectedRows[0].DataBoundItem;

                TeamLineupForm frm = new TeamLineupForm(tm);
                frm.GameMode = false;

                frm.ShowDialog();
            }
        }
        private void EditLineup(Team tm, bool homeTeam)
        {
            TeamLineupForm frm = new TeamLineupForm(tm, true);
            frm.GameMode = true;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                if (frm.PitcherModified == true)
                {
                    Label pitcherLabel = (homeTeam == true) ? lblHomepitcher : lblVispitcher;

                    pitcherLabel.Text = tm.CurrentPitcher.Name;

                    engine.SwapCurrentPitcher(homeTeam);
                }
            }
        }