public static void Execute(DirectumsForm ownerForm, bool showNew = false) { UserManagementForm form = new UserManagementForm(ownerForm.Config, showNew); form.ShowDialog(ownerForm); }
public static bool Execute(DirectumsForm ownerForm, User user) { UserEditForm form = new UserEditForm(ownerForm.Config, user); return form.ShowDialog(ownerForm) == DialogResult.OK; }