Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / WindowClosedEventArgs.cs / 1 / WindowClosedEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: WindowClosedEventArgs event args class // // History: // 12/11/2003 : Micw Added // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; using MS.Internal.Automation; namespace System.Windows.Automation { ////// WindowClosedEventArgs event args class /// #if (INTERNAL_COMPILE) internal sealed class WindowClosedEventArgs : AutomationEventArgs #else public sealed class WindowClosedEventArgs : AutomationEventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for top-level window event args. /// public WindowClosedEventArgs (int [] runtimeId) : base(WindowPatternIdentifiers.WindowClosedEvent) { if (runtimeId == null) { throw new ArgumentNullException("runtimeId"); } _runtimeId = (int[])runtimeId.Clone(); } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Returns the Windows UI Automation runtime identifier /// public int [] GetRuntimeId() { return (int [])_runtimeId.Clone(); } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private int [] _runtimeId; #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: WindowClosedEventArgs event args class // // History: // 12/11/2003 : Micw Added // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; using MS.Internal.Automation; namespace System.Windows.Automation { ////// WindowClosedEventArgs event args class /// #if (INTERNAL_COMPILE) internal sealed class WindowClosedEventArgs : AutomationEventArgs #else public sealed class WindowClosedEventArgs : AutomationEventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for top-level window event args. /// public WindowClosedEventArgs (int [] runtimeId) : base(WindowPatternIdentifiers.WindowClosedEvent) { if (runtimeId == null) { throw new ArgumentNullException("runtimeId"); } _runtimeId = (int[])runtimeId.Clone(); } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Returns the Windows UI Automation runtime identifier /// public int [] GetRuntimeId() { return (int [])_runtimeId.Clone(); } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private int [] _runtimeId; #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
- PingReply.cs
- CompilerLocalReference.cs
- AccessKeyManager.cs
- SvcMapFileSerializer.cs
- MasterPageBuildProvider.cs
- CodeDomLocalizationProvider.cs
- InputScope.cs
- TypeToArgumentTypeConverter.cs
- Package.cs
- DeviceContext.cs
- ServicePoint.cs
- EndpointDiscoveryMetadataCD1.cs
- HostedTransportConfigurationBase.cs
- SchemaNames.cs
- Style.cs
- Timeline.cs
- RadioButtonFlatAdapter.cs
- DataGridViewComboBoxColumnDesigner.cs
- AmbientLight.cs
- HashSetEqualityComparer.cs
- AffineTransform3D.cs
- WebControl.cs
- InfoCardCryptoHelper.cs
- InternalConfigSettingsFactory.cs
- XmlEventCache.cs
- PageTheme.cs
- MetadataItem_Static.cs
- XPathScanner.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- BindingContext.cs
- DataRowComparer.cs
- WmlPhoneCallAdapter.cs
- AlphabetConverter.cs
- SessionStateUtil.cs
- FontNamesConverter.cs
- CategoryNameCollection.cs
- DataGridViewTopRowAccessibleObject.cs
- MD5.cs
- SoapFault.cs
- DispatcherHooks.cs
- BindingsSection.cs
- WindowsFormsSectionHandler.cs
- Util.cs
- DataGridDesigner.cs
- StringArrayConverter.cs
- CoTaskMemHandle.cs
- Set.cs
- OdbcCommandBuilder.cs
- TPLETWProvider.cs
- RijndaelManagedTransform.cs
- Highlights.cs
- altserialization.cs
- safex509handles.cs
- _PooledStream.cs
- Transform.cs
- DataGridParentRows.cs
- ScrollViewer.cs
- Utils.cs
- BinHexEncoding.cs
- MultiBinding.cs
- AppDomain.cs
- SimpleHandlerFactory.cs
- RegistryHandle.cs
- AuthorizationRule.cs
- ConfigurationPropertyAttribute.cs
- InfoCardXmlSerializer.cs
- MailSettingsSection.cs
- SecurityDescriptor.cs
- SettingsBase.cs
- QilReference.cs
- StringReader.cs
- safemediahandle.cs
- HMACSHA1.cs
- PeerName.cs
- Rfc2898DeriveBytes.cs
- CollectionViewGroupInternal.cs
- PriorityBinding.cs
- ToolStripItemRenderEventArgs.cs
- MergeFailedEvent.cs
- DataGridCell.cs
- ClientRoleProvider.cs
- DateTimeFormatInfo.cs
- ProfilePropertyMetadata.cs
- PrefixQName.cs
- AudioFormatConverter.cs
- Clock.cs
- XmlDigitalSignatureProcessor.cs
- CategoryEditor.cs
- TextAction.cs
- AnnotationResourceChangedEventArgs.cs
- DisposableCollectionWrapper.cs
- HtmlTableCell.cs
- EventNotify.cs
- EventLogPermissionAttribute.cs
- NetworkStream.cs
- TogglePattern.cs
- Encoding.cs
- X509CertificateCollection.cs
- ShutDownListener.cs
- SessionIDManager.cs