private void buttonRedProfile_Click(object sender, EventArgs e) { FormRunnerEditProfile runnerEditProfile = new FormRunnerEditProfile(email); runnerEditProfile.Show(); this.Hide(); }
private void editProfileButton_Click(object sender, EventArgs e) { FormRunnerEditProfile runnerEditProfile = new FormRunnerEditProfile(email); runnerEditProfile.labelEmail.Text = emailUserLabel.Text; runnerEditProfile.Show(); this.Hide(); }