private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (game_flag == true) { int recordnr = int.Parse(dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Cells["game_ID"].Value.ToString()); MessageBox.Show(recordnr.ToString()); game_results gf = new game_results(recordnr);//Calls Query 3 gf.Show(); } }
private void button3_Click(object sender, EventArgs e) { game_results gf = new game_results(); gf.Show(); }