0
I have a table called Tournament and would like to make Doubleclick on the type of game open all the teams of that game.
I have 4 buttons that represent the 4 games I have, in the 4 games I have the tournaments the teams and the classifications and when entering a tournament I wanted that when I Doubleclick in the game open all the teams of each game that are already by classification in a datagridview.
The code is as follows::
private void Dgv1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (dataGridView1.CurrentCell.ColumnIndex == dataGridView1.Columns["Jogos"].Index)
            {
                EquipasLOL Tela = new EquipasLOL(dataGridView1.SelectedRows[0].Cells["Jogos"].ToString());
                Tela.Show();
                this.Hide();
            }
        }
Thanks for the help!
Forms are inside the DMV?
– Mikev
Yeah, they’re all inside the DMV, but I can’t seem to make the connection by Doubleclick in the column of the type of game.
– Jose Badim