public override void Initialize ()
{
base.Initialize ();
// Behaviors
SetBehavior (WindowPatternIdentifiers.Pattern,
new WindowProviderBehavior (this));
SetBehavior (TransformPatternIdentifiers.Pattern,
new TransformProviderBehavior (this));
// Events
SetEvent (ProviderEventType.AutomationFocusChangedEvent,
new FormAutomationFocusChangedEvent (this));
// Internal Event
SetEvent (ProviderEventType.WindowDeactivatedEvent,
new WindowDeactivatedEvent (this));
}