private void buttonX5_Click(object sender, EventArgs e)
        {
            EditTame EditTame = new EditTame();

            EditTame.idVite = idvite;
            if (EditTame.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
            {
                TeamList.Add(EditTame.TeamEdit);
                IntAdderTeam.Add(TeamList.Count - 1);
                needSeaving = true;
            }
            ClassDataGridViewDo.DataGridEnterGridToWorkTeam(dataGridViewX1, TeamList);
        }
        private void dataGridViewX1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex >= 0)
            {
                EditTame Detalis1 = new EditTame();
                Detalis1.idVite   = idvite;
                this.Opacity      = 0.5;
                Detalis1.TeamEdit = TeamList[ClassDataGridViewDo.RetunIndexByIdSech(ClassConvert.Convint(dataGridViewX1.Rows[e.RowIndex].Cells[0].Value), TeamList)];
                if (Detalis1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    TeamList[ClassDataGridViewDo.RetunIndexByIdSech(ClassConvert.Convint(dataGridViewX1.Rows[e.RowIndex].Cells[0].Value), TeamList)] = Detalis1.TeamEdit;

                    if (ClassConvert.Convint(dataGridViewX1.Rows[e.RowIndex].Cells[0].Value) > 0)
                    {
                        IntEditTeam.Add(ClassDataGridViewDo.RetunIndexByIdSech(ClassConvert.Convint(dataGridViewX1.Rows[e.RowIndex].Cells[0].Value), TeamList));
                    }
                    needSeaving = true;
                }

                ClassDataGridViewDo.DataGridEnterGridToWorkTeam(dataGridViewX1, TeamList);
                this.Opacity = 1;
            }
        }