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
- Errors.cs
- ToolStripArrowRenderEventArgs.cs
- Guid.cs
- ControlPropertyNameConverter.cs
- WindowsFont.cs
- SafePEFileHandle.cs
- ClientCultureInfo.cs
- XPathNavigatorReader.cs
- NativeMethods.cs
- DeferredBinaryDeserializerExtension.cs
- TransactionManager.cs
- AdornerLayer.cs
- SafeLibraryHandle.cs
- SettingsAttributeDictionary.cs
- TextRangeEdit.cs
- Reference.cs
- StrokeDescriptor.cs
- PageThemeCodeDomTreeGenerator.cs
- UniqueConstraint.cs
- SqlStream.cs
- AdornerDecorator.cs
- Configuration.cs
- InstanceData.cs
- OrderingInfo.cs
- WebPartEventArgs.cs
- ProtocolElement.cs
- ErrorRuntimeConfig.cs
- CompilerState.cs
- PackWebRequest.cs
- ResourceExpressionBuilder.cs
- SqlUDTStorage.cs
- WmlObjectListAdapter.cs
- DataGridViewColumn.cs
- NaturalLanguageHyphenator.cs
- PassportAuthentication.cs
- CaseInsensitiveComparer.cs
- AuthenticationModuleElement.cs
- CustomWebEventKey.cs
- ImpersonationContext.cs
- WebFormDesignerActionService.cs
- PasswordBox.cs
- OutputCacheModule.cs
- WindowsComboBox.cs
- HtmlTableRowCollection.cs
- ScrollProperties.cs
- ObjectParameterCollection.cs
- XslAstAnalyzer.cs
- MgmtConfigurationRecord.cs
- DataReceivedEventArgs.cs
- TextParagraph.cs
- BaseCAMarshaler.cs
- ResXBuildProvider.cs
- _ListenerResponseStream.cs
- HwndPanningFeedback.cs
- TransactionChannelFactory.cs
- AddingNewEventArgs.cs
- RoutedCommand.cs
- DateTime.cs
- PageParser.cs
- ThaiBuddhistCalendar.cs
- EncryptedKey.cs
- InstancePersistenceCommand.cs
- HandleCollector.cs
- ArgIterator.cs
- HttpListener.cs
- ReliableOutputConnection.cs
- EntityDataSourceDataSelection.cs
- WmpBitmapEncoder.cs
- RowCache.cs
- Vector.cs
- cache.cs
- OperationInvokerTrace.cs
- Activity.cs
- HtmlElementCollection.cs
- StatusBarDrawItemEvent.cs
- DeclaredTypeElement.cs
- GZipStream.cs
- UnsafeCollabNativeMethods.cs
- MutexSecurity.cs
- AmbientProperties.cs
- VectorConverter.cs
- ClientApiGenerator.cs
- ExceptionHandlersDesigner.cs
- Keywords.cs
- recordstatefactory.cs
- SchemaNamespaceManager.cs
- XAMLParseException.cs
- XmlMembersMapping.cs
- PolyQuadraticBezierSegment.cs
- TranslateTransform3D.cs
- FixedPageStructure.cs
- ProcessHostServerConfig.cs
- DataGridCommandEventArgs.cs
- RegexRunner.cs
- TextSpan.cs
- HtmlInputText.cs
- SizeAnimationClockResource.cs
- XmlReaderDelegator.cs
- xml.cs
- ImageListImageEditor.cs