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
- ProcessHost.cs
- MenuAdapter.cs
- CreateInstanceBinder.cs
- WinInetCache.cs
- NonPrimarySelectionGlyph.cs
- storepermission.cs
- TerminateSequence.cs
- SafeThreadHandle.cs
- NavigationFailedEventArgs.cs
- WebHostScriptMappingsInstallComponent.cs
- InstanceStore.cs
- CodeConditionStatement.cs
- ButtonAutomationPeer.cs
- ConnectionStringSettingsCollection.cs
- File.cs
- WindowsFormsHost.cs
- ClientFormsIdentity.cs
- XmlNodeChangedEventManager.cs
- EventLogEntryCollection.cs
- SerialPort.cs
- ParameterCollection.cs
- BitmapEffectCollection.cs
- WSTrustDec2005.cs
- AutomationProperties.cs
- AuthenticationServiceManager.cs
- MultiBinding.cs
- RequestContext.cs
- WebRequestModulesSection.cs
- SurrogateSelector.cs
- PenThreadPool.cs
- CircleHotSpot.cs
- PersonalizationProvider.cs
- XmlEventCache.cs
- control.ime.cs
- DSASignatureDeformatter.cs
- WmlLiteralTextAdapter.cs
- Permission.cs
- BrowserDefinition.cs
- HttpConfigurationContext.cs
- MenuItemAutomationPeer.cs
- DataServices.cs
- BitmapMetadataEnumerator.cs
- XPathBinder.cs
- XmlNodeChangedEventArgs.cs
- SendSecurityHeaderElement.cs
- NavigationEventArgs.cs
- DataGridViewColumnConverter.cs
- PageBuildProvider.cs
- DataGridLengthConverter.cs
- ParameterRefs.cs
- MetadataFile.cs
- storepermission.cs
- DefaultDialogButtons.cs
- Gdiplus.cs
- WeakReferenceKey.cs
- SocketException.cs
- XmlTextEncoder.cs
- EndPoint.cs
- ImpersonateTokenRef.cs
- XsltContext.cs
- RegexMatch.cs
- Process.cs
- WindowsStatusBar.cs
- MessageCredentialType.cs
- MultitargetUtil.cs
- KeyEventArgs.cs
- ProcessHost.cs
- BindableAttribute.cs
- MappingMetadataHelper.cs
- CodeEventReferenceExpression.cs
- ArrayTypeMismatchException.cs
- FreezableDefaultValueFactory.cs
- FormViewPageEventArgs.cs
- Statements.cs
- TerminateDesigner.cs
- SystemTcpConnection.cs
- AnimationClockResource.cs
- _OSSOCK.cs
- SchemaImporter.cs
- httpstaticobjectscollection.cs
- COM2PictureConverter.cs
- ProcessThreadDesigner.cs
- OAVariantLib.cs
- PrintingPermissionAttribute.cs
- ApplyImportsAction.cs
- ConsoleTraceListener.cs
- Main.cs
- SequentialUshortCollection.cs
- Debug.cs
- Int64Storage.cs
- BindingValueChangedEventArgs.cs
- Confirm.cs
- _ScatterGatherBuffers.cs
- CommandManager.cs
- DelegatingConfigHost.cs
- _AcceptOverlappedAsyncResult.cs
- XmlEncodedRawTextWriter.cs
- GroupBox.cs
- CssStyleCollection.cs
- EventManager.cs