The UI service supports interaction with the user interface of the object that is hosting the designer. You can use this service to display error messages, show dialog boxes, and get ambient properties of the host.
IUIService
[Visual Basic] Public Interface IUIService [C#] public interface IUIService [C++] public __gc __interface IUIService
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
[To be supplied.]
Namespace: System.WinForms.Design
Assembly: System.WinForms.dll