private void btnEditPlayer_Click(object sender, EventArgs e) { if (CurrentPlayer != null) { CPform = new CreatePlayerForm(this, CurrentPlayer); CPform.Show(); this.Hide(); } }
private void addPlayerbtn_Click(object sender, EventArgs e) { CPform = new CreatePlayerForm(this); CPform.Show(); this.Hide(); }