Register an IWindow with the Interaction Client. Once registered, this window will appear in the list of choices the user can select to add to their client user interface.

Namespace: ININ.InteractionClient.AddIn
Assembly: ININ.InteractionClient.AddIn (in ININ.InteractionClient.AddIn.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
void RegisterWindow<TWindow>(
	WindowRegistrationParameters registrationParameters,
	CreateWindowDelegate createWindow
)
where TWindow : IWindow
Visual Basic
Sub RegisterWindow(Of TWindow As IWindow) ( _
	registrationParameters As WindowRegistrationParameters, _
	createWindow As CreateWindowDelegate _
)

Parameters

registrationParameters
Type: ININ.InteractionClient.AddIn..::..WindowRegistrationParameters
The parameters to use when registering the window. Pass in a new instance of this class to specify category and window identifiers (unique IDs) and display names.
createWindow
Type: ININ.InteractionClient.AddIn..::..CreateWindowDelegate
A delegate invoked by the Interaction Client when the registered window is being added to the user interface. This delegate should create a new instance of the window and return it. Use this, for example, if your window class (TWindow) does not have a default empty constructor and requires constructor arguments.

Type Parameters

TWindow
The Type of the IWindow to register.

Exceptions

ExceptionCondition
ININ.InteractionClient.AddIn..::..DuplicateWindowExceptionThrown when a window with the same WindowId and CategoryId has already been registered.

See Also