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
- SystemFonts.cs
- AesCryptoServiceProvider.cs
- cookieexception.cs
- DatasetMethodGenerator.cs
- DictionaryBase.cs
- PeerNearMe.cs
- ControlEvent.cs
- SafeMILHandle.cs
- PenThread.cs
- DBPropSet.cs
- VisualStyleTypesAndProperties.cs
- CheckBoxAutomationPeer.cs
- CompilationLock.cs
- SymbolTable.cs
- ValidatorCompatibilityHelper.cs
- ModelItemCollectionImpl.cs
- ServiceSecurityAuditBehavior.cs
- HideDisabledControlAdapter.cs
- RadioButtonRenderer.cs
- DetailsViewUpdateEventArgs.cs
- ToolStripContainerDesigner.cs
- GiveFeedbackEvent.cs
- HandlerBase.cs
- WindowsTab.cs
- ThumbAutomationPeer.cs
- ApplicationSecurityInfo.cs
- ConfigurationSettings.cs
- _ListenerResponseStream.cs
- TemplateApplicationHelper.cs
- ArgumentNullException.cs
- HostedElements.cs
- TryCatchDesigner.xaml.cs
- PlainXmlDeserializer.cs
- ColumnResult.cs
- TypeReference.cs
- XmlJsonReader.cs
- DbConnectionClosed.cs
- DataTemplateSelector.cs
- PixelFormats.cs
- FixedSOMTableCell.cs
- OneWayChannelFactory.cs
- EqualityComparer.cs
- LineGeometry.cs
- UIPropertyMetadata.cs
- FileUpload.cs
- GenerateTemporaryTargetAssembly.cs
- DataFormat.cs
- TraceListeners.cs
- DefaultTextStoreTextComposition.cs
- OdbcCommand.cs
- BamlRecordReader.cs
- ControlPropertyNameConverter.cs
- WindowsListViewGroupHelper.cs
- MetadataFile.cs
- CommandSet.cs
- DynamicDocumentPaginator.cs
- ComponentSerializationService.cs
- IndexerNameAttribute.cs
- ObjectListItem.cs
- IDQuery.cs
- SecUtil.cs
- SchemaElementDecl.cs
- BaseResourcesBuildProvider.cs
- DictionaryEntry.cs
- LogLogRecordHeader.cs
- ClientConvert.cs
- DataTemplateSelector.cs
- ResourceReferenceExpressionConverter.cs
- WebWorkflowRole.cs
- GatewayDefinition.cs
- XmlAttributeAttribute.cs
- HtmlControl.cs
- SqlExpander.cs
- ListViewSortEventArgs.cs
- RectangleHotSpot.cs
- basenumberconverter.cs
- AccessedThroughPropertyAttribute.cs
- SimpleColumnProvider.cs
- HtmlInputHidden.cs
- EndpointPerformanceCounters.cs
- ExpressionConverter.cs
- AsymmetricKeyExchangeFormatter.cs
- GraphicsContainer.cs
- HistoryEventArgs.cs
- ScrollChrome.cs
- DataControlImageButton.cs
- NativeMsmqMessage.cs
- Unit.cs
- Zone.cs
- ConsoleKeyInfo.cs
- ChangeConflicts.cs
- MarkupObject.cs
- SafeMemoryMappedViewHandle.cs
- DocumentViewerHelper.cs
- ActivityInterfaces.cs
- WebPartDescriptionCollection.cs
- FontSource.cs
- _BaseOverlappedAsyncResult.cs
- XpsFontSubsetter.cs
- ConsumerConnectionPointCollection.cs