Method InitializeControls
InitializeControls(string, string)
Initializes the controls and layout for the window, setting up its appearance and behavior.
protected virtual void InitializeControls(string title, string details)
Parameters
titlestringThe text to display in title of the window.
detailsstringThe text to display in the read-only details section of the window.
Remarks
This method configures the window with predefined settings, including size, padding, and positioning. It creates a grid layout containing a read-only text box for displaying details and a "Close" button. The "Close" button is set as the default and cancel button for the window.