Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / AutomationEvent.cs / 1 / AutomationEvent.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Identifier for Automation Events // // History: // 06/02/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Identifier for Automation Events /// #if (INTERNAL_COMPILE) internal class AutomationEvent: AutomationIdentifier #else public class AutomationEvent: AutomationIdentifier #endif { internal AutomationEvent(int id, Guid guid, string programmaticName) : base(UiaCoreTypesApi.AutomationIdType.Event, id, guid, programmaticName) { } ////// internal static AutomationEvent Register(Guid guid, string programmaticName) { return (AutomationEvent)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Event, guid, programmaticName); } ////// public static AutomationEvent LookupById(int id) { return (AutomationEvent)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Event, id); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Identifier for Automation Events // // History: // 06/02/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Identifier for Automation Events /// #if (INTERNAL_COMPILE) internal class AutomationEvent: AutomationIdentifier #else public class AutomationEvent: AutomationIdentifier #endif { internal AutomationEvent(int id, Guid guid, string programmaticName) : base(UiaCoreTypesApi.AutomationIdType.Event, id, guid, programmaticName) { } ////// internal static AutomationEvent Register(Guid guid, string programmaticName) { return (AutomationEvent)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Event, guid, programmaticName); } ////// public static AutomationEvent LookupById(int id) { return (AutomationEvent)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Event, id); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FieldBuilder.cs
- TimelineCollection.cs
- ToolboxItem.cs
- ZoneIdentityPermission.cs
- ConfigurationSectionGroupCollection.cs
- InkCollectionBehavior.cs
- JoinQueryOperator.cs
- MetadataItemSerializer.cs
- WindowsGrip.cs
- XamlGridLengthSerializer.cs
- RegexCode.cs
- Encoding.cs
- Internal.cs
- ScrollPattern.cs
- BamlLocalizableResourceKey.cs
- InvalidCastException.cs
- DataGridLinkButton.cs
- X509PeerCertificateAuthenticationElement.cs
- StringReader.cs
- SchemaInfo.cs
- ParserOptions.cs
- CallSiteOps.cs
- SafeHandle.cs
- SQLDecimalStorage.cs
- NavigateEvent.cs
- TableItemStyle.cs
- Point3DCollection.cs
- ProviderCollection.cs
- Button.cs
- GradientSpreadMethodValidation.cs
- LinkDescriptor.cs
- XmlBufferedByteStreamReader.cs
- Transform3DGroup.cs
- ToolboxControl.cs
- Pens.cs
- GrammarBuilderDictation.cs
- IRCollection.cs
- ObjectReferenceStack.cs
- CodeAssignStatement.cs
- GeneratedCodeAttribute.cs
- Properties.cs
- NodeCounter.cs
- RemotingConfigParser.cs
- Signature.cs
- SemanticResultValue.cs
- Int16.cs
- KeyValueInternalCollection.cs
- _Rfc2616CacheValidators.cs
- UpdatePanelControlTrigger.cs
- ListBindableAttribute.cs
- WebPartTransformerAttribute.cs
- ConfigPathUtility.cs
- Int32KeyFrameCollection.cs
- DataGridPageChangedEventArgs.cs
- SecurityStateEncoder.cs
- GroupItemAutomationPeer.cs
- DiscoveryMessageSequenceGenerator.cs
- SkinBuilder.cs
- GeneratedView.cs
- ServiceContractListItemList.cs
- XmlQueryRuntime.cs
- RelatedImageListAttribute.cs
- OutputCacheProfile.cs
- TargetConverter.cs
- InvokePatternIdentifiers.cs
- DBConnectionString.cs
- ListenerConfig.cs
- COM2ExtendedUITypeEditor.cs
- SingleResultAttribute.cs
- WebPartEventArgs.cs
- AutoGeneratedFieldProperties.cs
- InvalidAsynchronousStateException.cs
- codemethodreferenceexpression.cs
- InkSerializer.cs
- ControlEvent.cs
- Vector3DAnimationBase.cs
- TextOutput.cs
- DataControlLinkButton.cs
- RemoteWebConfigurationHost.cs
- OdbcStatementHandle.cs
- RuleSettingsCollection.cs
- CodeComment.cs
- RelatedPropertyManager.cs
- Literal.cs
- DiscreteKeyFrames.cs
- Events.cs
- SamlEvidence.cs
- NodeInfo.cs
- LogLogRecordHeader.cs
- HighlightComponent.cs
- RayHitTestParameters.cs
- ContextStack.cs
- FamilyCollection.cs
- ExternalDataExchangeService.cs
- EnumValidator.cs
- CodeMemberMethod.cs
- SqlConnection.cs
- EmbeddedObject.cs
- MetaForeignKeyColumn.cs
- TextParagraph.cs