Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- XmlNamespaceMappingCollection.cs
- DataGridViewCellPaintingEventArgs.cs
- DesignTimeParseData.cs
- XsdValidatingReader.cs
- StylusDownEventArgs.cs
- XmlSchemaAttribute.cs
- Pair.cs
- SafeArrayRankMismatchException.cs
- TypeExtension.cs
- RightsManagementInformation.cs
- ElementProxy.cs
- AssemblyBuilder.cs
- QilScopedVisitor.cs
- CapabilitiesState.cs
- StandardOleMarshalObject.cs
- DataGridState.cs
- ControlBuilder.cs
- IdnMapping.cs
- CommandField.cs
- LogFlushAsyncResult.cs
- XmlILTrace.cs
- Duration.cs
- TextProviderWrapper.cs
- PageCatalogPartDesigner.cs
- WrapPanel.cs
- XmlHierarchicalDataSourceView.cs
- OdbcConnectionOpen.cs
- ResXBuildProvider.cs
- CustomErrorsSection.cs
- sqlstateclientmanager.cs
- TextElement.cs
- SurrogateEncoder.cs
- InfoCardX509Validator.cs
- ProcessThreadCollection.cs
- DataTableReaderListener.cs
- DynamicPhysicalDiscoSearcher.cs
- AnnotationStore.cs
- SQLMembershipProvider.cs
- MenuItemCollection.cs
- MenuItemCollection.cs
- HitTestDrawingContextWalker.cs
- SynchronizedDispatch.cs
- WSHttpSecurityElement.cs
- SqlBulkCopyColumnMapping.cs
- HotSpotCollection.cs
- ListItemDetailViewAttribute.cs
- SqlCacheDependency.cs
- HttpRequestTraceRecord.cs
- RunClient.cs
- TextDecorationCollection.cs
- ADMembershipUser.cs
- Material.cs
- EntityConnectionStringBuilder.cs
- ReflectPropertyDescriptor.cs
- BindingContext.cs
- RemoteWebConfigurationHost.cs
- StyleTypedPropertyAttribute.cs
- NetTcpSectionData.cs
- DataExpression.cs
- WebBrowserUriTypeConverter.cs
- Point3DIndependentAnimationStorage.cs
- DataServiceSaveChangesEventArgs.cs
- UnauthorizedAccessException.cs
- MouseActionValueSerializer.cs
- TypedCompletedAsyncResult.cs
- QueryOperationResponseOfT.cs
- WinEventWrap.cs
- ServerReliableChannelBinder.cs
- BinaryConverter.cs
- DBSqlParser.cs
- PermissionSetEnumerator.cs
- UInt16Converter.cs
- InputScope.cs
- ConnectionStringsExpressionEditor.cs
- StrokeNodeData.cs
- CollectionViewGroup.cs
- ViewCellSlot.cs
- SerializationObjectManager.cs
- AnnotationComponentChooser.cs
- SortDescription.cs
- FilterFactory.cs
- SecurityTokenException.cs
- DataSetViewSchema.cs
- ConnectionManagementElementCollection.cs
- BaseValidator.cs
- XmlWrappingWriter.cs
- CollectionContainer.cs
- BindingCompleteEventArgs.cs
- SQLDecimalStorage.cs
- ConfigXmlText.cs
- ScrollEventArgs.cs
- DetailsViewRow.cs
- XPathBinder.cs
- OutputScopeManager.cs
- MouseCaptureWithinProperty.cs
- VisualStateGroup.cs
- ProfileSettings.cs
- TextRangeEditLists.cs
- ThicknessConverter.cs
- IIS7WorkerRequest.cs