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 / AutomationEventArgs.cs / 1 / AutomationEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Pattern or custom event args class // // History: // 06/17/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace System.Windows.Automation { ////// Delegate to handle AutomationEvents /// #if (INTERNAL_COMPILE) internal delegate void AutomationEventHandler( object sender, AutomationEventArgs e ); #else public delegate void AutomationEventHandler( object sender, AutomationEventArgs e ); #endif ////// Pattern or custom event args class /// #if (INTERNAL_COMPILE) internal class AutomationEventArgs: EventArgs #else public class AutomationEventArgs: EventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for pattern or custom event args. /// /// Indicates which event this instance represents. public AutomationEventArgs(AutomationEvent eventId ) { _eventId = eventId; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// EventId indicating which event this instance represents. /// public AutomationEvent EventId { get { return _eventId; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationEvent _eventId; #endregion Private Fields } } // 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: Pattern or custom event args class // // History: // 06/17/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace System.Windows.Automation { ////// Delegate to handle AutomationEvents /// #if (INTERNAL_COMPILE) internal delegate void AutomationEventHandler( object sender, AutomationEventArgs e ); #else public delegate void AutomationEventHandler( object sender, AutomationEventArgs e ); #endif ////// Pattern or custom event args class /// #if (INTERNAL_COMPILE) internal class AutomationEventArgs: EventArgs #else public class AutomationEventArgs: EventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for pattern or custom event args. /// /// Indicates which event this instance represents. public AutomationEventArgs(AutomationEvent eventId ) { _eventId = eventId; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// EventId indicating which event this instance represents. /// public AutomationEvent EventId { get { return _eventId; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationEvent _eventId; #endregion Private Fields } } // 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
- HttpDictionary.cs
- SqlBulkCopy.cs
- BaseCollection.cs
- NumberAction.cs
- Page.cs
- ByteAnimationUsingKeyFrames.cs
- ISAPIApplicationHost.cs
- XamlDesignerSerializationManager.cs
- UInt16Converter.cs
- WebPartHeaderCloseVerb.cs
- PropertyGeneratedEventArgs.cs
- QilInvoke.cs
- OracleColumn.cs
- SqlNotificationEventArgs.cs
- MatrixIndependentAnimationStorage.cs
- SID.cs
- TextRangeAdaptor.cs
- MethodBuilder.cs
- OleDbPermission.cs
- NamespaceList.cs
- ClientConvert.cs
- GrowingArray.cs
- InternalMappingException.cs
- _SslStream.cs
- SqlTypesSchemaImporter.cs
- XmlSubtreeReader.cs
- ToolboxItemCollection.cs
- ValueTypeFixupInfo.cs
- TranslateTransform3D.cs
- dataSvcMapFileLoader.cs
- RoutedPropertyChangedEventArgs.cs
- SecureStringHasher.cs
- BlurEffect.cs
- DictionaryBase.cs
- ServiceModelActivationSectionGroup.cs
- WebControlsSection.cs
- ServiceObjectContainer.cs
- OutputScopeManager.cs
- ConcurrentStack.cs
- SymDocumentType.cs
- PolyBezierSegmentFigureLogic.cs
- ASCIIEncoding.cs
- BindableTemplateBuilder.cs
- DataGridViewColumnHeaderCell.cs
- QilUnary.cs
- Guid.cs
- XmlILIndex.cs
- XmlExtensionFunction.cs
- HttpWebResponse.cs
- Propagator.cs
- Win32.cs
- NavigateEvent.cs
- EditCommandColumn.cs
- SiteMapSection.cs
- MetadataArtifactLoaderResource.cs
- Rfc2898DeriveBytes.cs
- WindowsTab.cs
- XmlDataLoader.cs
- QueryBranchOp.cs
- SqlParameterizer.cs
- SwitchLevelAttribute.cs
- ListViewUpdateEventArgs.cs
- TagMapInfo.cs
- SapiInterop.cs
- PrinterSettings.cs
- MSAAEventDispatcher.cs
- XmlSchemaRedefine.cs
- Localizer.cs
- PropertyItemInternal.cs
- StylesEditorDialog.cs
- SessionStateItemCollection.cs
- AuthorizationRule.cs
- RemoteWebConfigurationHostServer.cs
- WSDualHttpSecurityElement.cs
- AttributeSetAction.cs
- EncryptedType.cs
- httpapplicationstate.cs
- TextTreeNode.cs
- QilTargetType.cs
- PagesChangedEventArgs.cs
- ProgressBarAutomationPeer.cs
- WebPartConnectionsCloseVerb.cs
- KeyedQueue.cs
- ReflectionTypeLoadException.cs
- SafeFileHandle.cs
- CheckBox.cs
- unitconverter.cs
- XmlTextWriter.cs
- TraceUtility.cs
- PageCodeDomTreeGenerator.cs
- handlecollector.cs
- Point3DConverter.cs
- MetaType.cs
- SettingsPropertyValueCollection.cs
- MD5HashHelper.cs
- ResourceProperty.cs
- WsrmTraceRecord.cs
- Encoder.cs
- SelectionProviderWrapper.cs
- DataComponentMethodGenerator.cs