Creato form per Clienti/Prospect

This commit is contained in:
2025-07-08 15:33:33 +02:00
parent bf2e1b65f0
commit 65e48777e6
8 changed files with 272 additions and 10 deletions

View File

@@ -25,4 +25,23 @@ public class ModalHelpers
return await modal.Result;
}
public static async Task<DialogResult?> OpenUserForm(IDialogService dialog, string? codAnag)
{
var modal = await dialog.ShowAsync<UserForm>(
"User form",
new DialogParameters<UserForm>
{
{ x => x.CodAnag, codAnag }
},
new DialogOptions
{
FullScreen = true,
CloseButton = false,
NoHeader = true
}
);
return await modal.Result;
}
}