You can build a window from scratch, for example, to create windows that are not based on existing windows.
When you build a window, you:
To support these scripts, you can define new events for the window and its controls, and declare functions, indexers, properties, enumerations, structures, and variables for the window.