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