Mono.UIAutomation.Winforms.FormProvider.Initialize C# (CSharp) 메소드

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void
		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));
		}