Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Context.cs
- ThumbButtonInfo.cs
- TextRenderingModeValidation.cs
- TabItem.cs
- OracleString.cs
- ICspAsymmetricAlgorithm.cs
- WebConfigurationHost.cs
- MimeMultiPart.cs
- RenderTargetBitmap.cs
- ProxyWebPartConnectionCollection.cs
- StyleBamlTreeBuilder.cs
- ComAwareEventInfo.cs
- TransformGroup.cs
- XamlFigureLengthSerializer.cs
- UpdatePanel.cs
- BrowserDefinitionCollection.cs
- Pair.cs
- XmlSerializer.cs
- WebServiceData.cs
- InputLanguageProfileNotifySink.cs
- RTLAwareMessageBox.cs
- ClientType.cs
- OrderedDictionary.cs
- ListViewSortEventArgs.cs
- ParenthesizePropertyNameAttribute.cs
- ForAllOperator.cs
- Typography.cs
- SplineKeyFrames.cs
- ImageMetadata.cs
- XmlDocumentSerializer.cs
- StringArrayConverter.cs
- RegexRunnerFactory.cs
- PackWebRequestFactory.cs
- ContentWrapperAttribute.cs
- MergePropertyDescriptor.cs
- ForeignKeyFactory.cs
- VirtualizingStackPanel.cs
- DrawingAttributeSerializer.cs
- BeginCreateSecurityTokenRequest.cs
- LogSwitch.cs
- RemoteWebConfigurationHostStream.cs
- TraceListeners.cs
- ActivityStatusChangeEventArgs.cs
- VectorConverter.cs
- BitmapEffectInput.cs
- HandlerBase.cs
- DeobfuscatingStream.cs
- ParserContext.cs
- EdmSchemaAttribute.cs
- SqlBulkCopy.cs
- TextComposition.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- VisemeEventArgs.cs
- GridToolTip.cs
- SqlMetaData.cs
- SiteMapNodeItemEventArgs.cs
- SessionPageStatePersister.cs
- SplineKeyFrames.cs
- Geometry.cs
- Validator.cs
- NativeCppClassAttribute.cs
- SoapSchemaExporter.cs
- FragmentQueryProcessor.cs
- RecommendedAsConfigurableAttribute.cs
- ServiceDocument.cs
- AudioFormatConverter.cs
- ExpressionPrefixAttribute.cs
- SqlDataAdapter.cs
- IRCollection.cs
- RemoteWebConfigurationHostServer.cs
- wmiutil.cs
- TryCatchDesigner.xaml.cs
- ToolStripMenuItem.cs
- EditorPartChrome.cs
- BitmapEffectInput.cs
- ChannelSinkStacks.cs
- ReadOnlyDataSource.cs
- UIInitializationException.cs
- PagesSection.cs
- PageEventArgs.cs
- XmlIlTypeHelper.cs
- PageThemeParser.cs
- Baml2006KnownTypes.cs
- ExtenderProvidedPropertyAttribute.cs
- StrongNameUtility.cs
- RepeaterItemEventArgs.cs
- Cursors.cs
- ApplicationActivator.cs
- TreeNodeBinding.cs
- RawStylusInputReport.cs
- SqlServer2KCompatibilityCheck.cs
- PeerName.cs
- ExpressionBindingCollection.cs
- LinkClickEvent.cs
- SiteMapHierarchicalDataSourceView.cs
- DBBindings.cs
- TemplateControlBuildProvider.cs
- ListControl.cs
- SafeRightsManagementPubHandle.cs
- SqlUDTStorage.cs