private void 修改游戏ToolStripMenuItem_Click(object sender, EventArgs e) { string[] str = { dataGridView1.SelectedCells[0].Value.ToString(), dataGridView1.SelectedCells[1].Value.ToString(), dataGridView1.SelectedCells[2].Value.ToString(), dataGridView1.SelectedCells[3].Value.ToString() }; admin_add f = new admin_add(str, this); f.ShowDialog(); }
private void 添加游戏ToolStripMenuItem_Click(object sender, EventArgs e) { admin_add f = new admin_add(this); f.ShowDialog(); }