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
- XmlAttributeCache.cs
- TypeHelpers.cs
- DataTrigger.cs
- CharKeyFrameCollection.cs
- Track.cs
- AtomMaterializerLog.cs
- BinHexEncoding.cs
- ConstructorNeedsTagAttribute.cs
- TextRenderer.cs
- CodeObjectCreateExpression.cs
- XmlElementAttributes.cs
- DesignerDeviceConfig.cs
- Registration.cs
- NavigatingCancelEventArgs.cs
- ClockGroup.cs
- XLinq.cs
- SubMenuStyle.cs
- LoadedOrUnloadedOperation.cs
- EditCommandColumn.cs
- BinaryKeyIdentifierClause.cs
- ObjectDataSourceEventArgs.cs
- BindingContext.cs
- InternalsVisibleToAttribute.cs
- DataGridViewButtonCell.cs
- SectionXmlInfo.cs
- FrameworkElementFactory.cs
- AsnEncodedData.cs
- QueryCacheManager.cs
- CodeGotoStatement.cs
- QilVisitor.cs
- UnmanagedHandle.cs
- ListViewUpdatedEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- ExpressionBindingCollection.cs
- CollectionContainer.cs
- CharConverter.cs
- ThaiBuddhistCalendar.cs
- AdornerPresentationContext.cs
- ECDsaCng.cs
- EventWaitHandleSecurity.cs
- TdsParserStateObject.cs
- DragDropHelper.cs
- HijriCalendar.cs
- GlyphingCache.cs
- CheckBox.cs
- OleDbInfoMessageEvent.cs
- Span.cs
- ToolTip.cs
- ImageSource.cs
- InkSerializer.cs
- Wrapper.cs
- FixedStringLookup.cs
- WsatAdminException.cs
- ArrayTypeMismatchException.cs
- ColorBuilder.cs
- InlineObject.cs
- IProvider.cs
- ExpressionBuilder.cs
- DeclarationUpdate.cs
- HttpDictionary.cs
- XmlNullResolver.cs
- FunctionMappingTranslator.cs
- EnumConverter.cs
- GeneralTransform3DGroup.cs
- DiagnosticTraceSource.cs
- RoutedEventArgs.cs
- OdbcFactory.cs
- EntitySqlQueryBuilder.cs
- ViewGenerator.cs
- ActiveDocumentEvent.cs
- XmlProcessingInstruction.cs
- GlobalItem.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ApplicationInterop.cs
- XmlExceptionHelper.cs
- OracleConnection.cs
- WebConfigurationHostFileChange.cs
- EventHandlerList.cs
- ReadContentAsBinaryHelper.cs
- BindStream.cs
- SignedInfo.cs
- StylusButton.cs
- SspiNegotiationTokenProvider.cs
- TableRowGroup.cs
- WebPartMenuStyle.cs
- MetaModel.cs
- ColumnMapCopier.cs
- NativeMethods.cs
- AnonymousIdentificationSection.cs
- ContainerAction.cs
- OutputCacheSection.cs
- WindowPattern.cs
- BaseDataListActionList.cs
- DataSourceSelectArguments.cs
- PauseStoryboard.cs
- Menu.cs
- CacheRequest.cs
- GroupPartitionExpr.cs
- GenerateHelper.cs
- RepeatEnumerable.cs