private void SearchResultsView_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int multiverseid = Convert.ToInt32(SearchResultsView.Rows[e.RowIndex].Cells["MultiverseID"].Value.ToString()); CardWin Card = new CardWin(multiverseid); Card.Show(); }
private void MyCards_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int multiverseid = Convert.ToInt32(MyCards[0, e.RowIndex].Value.ToString()); CardWin Card = new CardWin(multiverseid); Card.Show(); }