Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- AsyncSerializedWorker.cs
- StringConverter.cs
- HGlobalSafeHandle.cs
- ConstructorBuilder.cs
- DisplayMemberTemplateSelector.cs
- PropertyManager.cs
- ObjectDataSourceEventArgs.cs
- FontCollection.cs
- DateTimeFormatInfoScanner.cs
- HttpInputStream.cs
- ClientProxyGenerator.cs
- SrgsRulesCollection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- EastAsianLunisolarCalendar.cs
- QuotedPrintableStream.cs
- CompressedStack.cs
- HttpDigestClientCredential.cs
- GridViewRowCollection.cs
- ScrollItemProviderWrapper.cs
- ComponentRenameEvent.cs
- CommandPlan.cs
- CallbackException.cs
- CustomCredentialPolicy.cs
- BaseHashHelper.cs
- RegistryKey.cs
- querybuilder.cs
- SynchronizedDispatch.cs
- OutOfMemoryException.cs
- DictionaryBase.cs
- DependencyObjectType.cs
- WindowsFormsHost.cs
- PageRanges.cs
- CodeExpressionCollection.cs
- Base64Stream.cs
- ClickablePoint.cs
- HtmlInputSubmit.cs
- PageCache.cs
- Vector3dCollection.cs
- ResXResourceReader.cs
- ReflectionServiceProvider.cs
- InvalidDocumentContentsException.cs
- PasswordBoxAutomationPeer.cs
- CreatingCookieEventArgs.cs
- ToolboxItemLoader.cs
- Activation.cs
- BoundColumn.cs
- FormViewUpdateEventArgs.cs
- ConditionCollection.cs
- EmptyCollection.cs
- HttpCacheVaryByContentEncodings.cs
- StorageMappingFragment.cs
- ThreadAttributes.cs
- EventlogProvider.cs
- DBDataPermissionAttribute.cs
- Brush.cs
- BitmapEffectInput.cs
- RenderContext.cs
- QilDataSource.cs
- ObjectDataSourceFilteringEventArgs.cs
- SByteStorage.cs
- ToolStripDropDown.cs
- DoWhileDesigner.xaml.cs
- RegisteredHiddenField.cs
- InkCanvasInnerCanvas.cs
- ProgressBarHighlightConverter.cs
- RoleGroupCollection.cs
- WriteableOnDemandStream.cs
- EnlistmentState.cs
- TextTreeInsertUndoUnit.cs
- TabControlCancelEvent.cs
- SeverityFilter.cs
- RegexCapture.cs
- XPathMessageFilter.cs
- Iis7Helper.cs
- HttpProfileBase.cs
- GenericWebPart.cs
- HashHelpers.cs
- ConfigsHelper.cs
- BuildManager.cs
- clipboard.cs
- DataGridViewColumnStateChangedEventArgs.cs
- DisposableCollectionWrapper.cs
- GenericNameHandler.cs
- XmlILAnnotation.cs
- StreamSecurityUpgradeAcceptorBase.cs
- NativeMethods.cs
- BaseResourcesBuildProvider.cs
- EventLogEntryCollection.cs
- RoleServiceManager.cs
- RemotingConfigParser.cs
- QueryCacheKey.cs
- CultureTable.cs
- CodeCompiler.cs
- ServiceModelPerformanceCounters.cs
- WorkflowOperationInvoker.cs
- FillBehavior.cs
- HostDesigntimeLicenseContext.cs
- Brush.cs
- SingleKeyFrameCollection.cs
- ConfigurationSectionGroup.cs