Ejemplo n.º 1
0
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     NewGame ng = dataGridView1.Rows[((System.Windows.Forms.DataGridView)sender).CurrentCellAddress.Y].DataBoundItem as NewGame;
     //refreshPrices(ng);
     //dataGridView1.Refresh();
     GameInfo gi = new GameInfo(ng);
     gi.Show();
 }
Ejemplo n.º 2
0
 private void button8_Click(object sender, EventArgs e)
 {
     NewGame ng = new NewGame();
     games.Add(ng);
     GameInfo gi = new GameInfo(ng);
     gi.Show();
 }