private void InternetGameButton_Click(object sender, EventArgs e) { InternetProfile internetProfile = new InternetProfile(); internetProfile.Show(); this.Hide(); }
private void OKButton_Click(object sender, EventArgs e) { if (person2 != null) { OneComputerProfile.clear(person1, person2); OneComputerProfile.Show(); this.Hide(); } else { InternetProfile.clear(person1); InternetProfile.Show(); this.Hide(); } }