private void bntUpdateTeam_Click(object sender, EventArgs e)
        {
            if (Tile_Click != null)
            {
                panelMain.Controls.Clear();
                ucTeamDetail uc = new ucTeamDetail(Tile_Click.Name.Trim(), seasonID.Trim());
                uc.Dock = DockStyle.Fill;
                panelMain.Controls.Add(uc);
            }

            //for (int i = 0; i < tileControl1.Groups[0].Items.Count; i++)
            //{
            //    if (itemName.Equals(tileControl1.Groups[0].Items[i].Name))  // dung item dang chon
            //    {
            //        frmTeamDetail teamDetail = new frmTeamDetail(seasonName, tileControl1.Groups[0].Items[i].Name);
            //        teamDetail.Show();
            //    }
            //}
        }
        void newTile_ItemDoubleClick(object sender, TileItemEventArgs e)
        {
            TileItem Tile = (TileItem)sender;

            if (Tile_Click != null)
            {
                panelMain.Controls.Clear();
                ucTeamDetail uc = new ucTeamDetail(Tile_Click.Name.Trim(), seasonID.Trim());
                uc.Dock = DockStyle.Fill;
                panelMain.Controls.Add(uc);
            }
        }
 private void bntAddTeam_Click(object sender, EventArgs e)
 {
     panelMain.Controls.Clear();
     ucTeamDetail uc = new ucTeamDetail( seasonID.Trim());
     uc.Dock = DockStyle.Fill;
     panelMain.Controls.Add(uc);
 }