// WinForm for Adding a Player private void button_AddPlayer_Click(object sender, EventArgs e) { AddPlayer Player_Win = new AddPlayer(); Player_Win.AddDialog(ref dataGridView_Players); Update_TotPlayers(); }
// WinForm for Editing the Player private void dataGridView_Players_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { AddPlayer Player_Win = new AddPlayer(); Player_Win.EditDialog(ref dataGridView_Players); }