private void pbxPlus_Click(object sender, EventArgs e) { UserProfileDetailsForm updf = new UserProfileDetailsForm(aux); updf.Show(); this.Hide(); }
private void pbxEdit_Click(object sender, EventArgs e) { int idUserProfile = Int32.Parse(dgvProfile.SelectedRows[0].Cells[0].Value.ToString()); UserProfileDetailsForm updf = new UserProfileDetailsForm(aux); updf.Show(); this.Close(); }