public void NewProfile(object sender, EventArgs e) { FormEdit edit = new FormEdit(false, this); edit.ShowDialog(); }
// edita profilo esistente public void EditProfile(object sender, EventArgs e) { FormEdit edit = new FormEdit(true, selectedProfile, this); edit.ShowDialog(); }