Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- WhiteSpaceTrimStringConverter.cs
- WebPartEditorOkVerb.cs
- ThumbAutomationPeer.cs
- ActivityInterfaces.cs
- NotImplementedException.cs
- ValueTypeFixupInfo.cs
- QilIterator.cs
- BitmapEffectState.cs
- ImageListImageEditor.cs
- ComplexType.cs
- QueryModel.cs
- DynamicObject.cs
- ColorContext.cs
- BindingsCollection.cs
- Normalization.cs
- RichTextBox.cs
- Resources.Designer.cs
- SafePEFileHandle.cs
- OdbcConnectionFactory.cs
- ChtmlTextWriter.cs
- CfgArc.cs
- GridSplitterAutomationPeer.cs
- AndMessageFilterTable.cs
- EditorZone.cs
- SpinLock.cs
- ToolboxBitmapAttribute.cs
- WebRequest.cs
- Font.cs
- RangeValueProviderWrapper.cs
- KeyValuePair.cs
- PropertyChangingEventArgs.cs
- AppDomainUnloadedException.cs
- AdornerPresentationContext.cs
- KeyboardDevice.cs
- FormViewRow.cs
- DataGridParentRows.cs
- HexParser.cs
- RIPEMD160.cs
- ConfigDefinitionUpdates.cs
- CryptoStream.cs
- SharedPersonalizationStateInfo.cs
- OutputCacheProfile.cs
- EntityException.cs
- DescendentsWalkerBase.cs
- TdsEnums.cs
- SafeNativeMethods.cs
- InternalBase.cs
- Literal.cs
- ObjectViewFactory.cs
- Compiler.cs
- MessagePropertyFilter.cs
- QueuePathEditor.cs
- StoragePropertyMapping.cs
- BuildProvider.cs
- ConfigurationManagerInternal.cs
- DateTimeUtil.cs
- QilUnary.cs
- IgnorePropertiesAttribute.cs
- AutomationPatternInfo.cs
- cookieexception.cs
- CodeTypeConstructor.cs
- ValidationHelper.cs
- SplitterCancelEvent.cs
- CodeParameterDeclarationExpression.cs
- TrustManagerPromptUI.cs
- AnnotationHighlightLayer.cs
- TextEndOfSegment.cs
- MimeObjectFactory.cs
- OwnerDrawPropertyBag.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- basemetadatamappingvisitor.cs
- WebBrowserPermission.cs
- FloatUtil.cs
- IsolatedStorage.cs
- ApplicationFileParser.cs
- CryptoStream.cs
- HtmlLabelAdapter.cs
- GlyphInfoList.cs
- MenuItem.cs
- GridViewRow.cs
- XmlSchemaGroup.cs
- TableLayoutPanelResizeGlyph.cs
- SqlFormatter.cs
- HwndSourceParameters.cs
- NegationPusher.cs
- DataColumnPropertyDescriptor.cs
- PickBranch.cs
- JoinElimination.cs
- MSG.cs
- OdbcParameter.cs
- MouseCaptureWithinProperty.cs
- XPathNodeList.cs
- OdbcCommand.cs
- FullTrustAssembliesSection.cs
- CheckBoxList.cs
- EntityAdapter.cs
- WindowsFormsHost.cs
- WebServiceFault.cs
- MultiView.cs
- Parallel.cs