Exemplo n.º 1
0
        void ShowDialogInternal(string name, IDialogParameters parameters, Action <IDialogResult> callback, string windowName = null)
        {
            IDialogWindow contentDialog = CreateDialogWindow(windowName);

            ConfigureDialogWindowEvents(contentDialog, callback);
            ConfigureDialogWindowContent(name, contentDialog, parameters);

            _ = contentDialog.ShowAsync();
        }