Method ShowDialog
ShowDialog(string, string)
Displays a dialog window with the specified title and details.
public static void ShowDialog(string title, string details)
Parameters
titlestringThe title of the dialog window. Cannot be null or empty.
detailsstringThe details or message to display in the dialog window. Cannot be null or empty.
Remarks
This method creates a dialog window and displays it asynchronously.
The dialog is disposed of automatically after it is closed.
Ensure that both title and details
are valid strings to avoid unexpected behavior.