Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- BuilderInfo.cs
- UIElementParaClient.cs
- SendDesigner.xaml.cs
- Calendar.cs
- BuildManager.cs
- DataSetUtil.cs
- ImageClickEventArgs.cs
- DocumentXmlWriter.cs
- CodeLinePragma.cs
- FontCollection.cs
- GridViewPageEventArgs.cs
- MexBindingElement.cs
- RenderContext.cs
- StylusEditingBehavior.cs
- AttachInfo.cs
- PointIndependentAnimationStorage.cs
- NavigationPropertyAccessor.cs
- FtpCachePolicyElement.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- RenderOptions.cs
- Dictionary.cs
- UInt16Converter.cs
- EndpointDispatcher.cs
- OpacityConverter.cs
- ModelTreeEnumerator.cs
- SecurityChannelListener.cs
- SiteMapDataSource.cs
- ListenerSessionConnectionReader.cs
- SessionParameter.cs
- XamlToRtfWriter.cs
- DependencyPropertyAttribute.cs
- WSHttpSecurity.cs
- ISessionStateStore.cs
- PEFileReader.cs
- CrossSiteScriptingValidation.cs
- ShaderEffect.cs
- GuidConverter.cs
- ZipQueryOperator.cs
- CompilerResults.cs
- TextPenaltyModule.cs
- ZipIOExtraFieldElement.cs
- IndentedTextWriter.cs
- Property.cs
- AnchoredBlock.cs
- FigureHelper.cs
- FixedNode.cs
- DbDataRecord.cs
- DesigntimeLicenseContextSerializer.cs
- LoadWorkflowCommand.cs
- ContextMenu.cs
- ReceiveActivityDesigner.cs
- HtmlTextBoxAdapter.cs
- CredentialCache.cs
- HandlerFactoryCache.cs
- BaseResourcesBuildProvider.cs
- XamlFilter.cs
- InternalSafeNativeMethods.cs
- ExpressionPrinter.cs
- ItemType.cs
- HebrewNumber.cs
- BrowserCapabilitiesCompiler.cs
- OracleInfoMessageEventArgs.cs
- TypeHelpers.cs
- ClearTypeHintValidation.cs
- DetailsViewActionList.cs
- DropTarget.cs
- EdmMember.cs
- SqlReferenceCollection.cs
- DataListCommandEventArgs.cs
- MediaPlayerState.cs
- ModifierKeysValueSerializer.cs
- FileDataSourceCache.cs
- DataKey.cs
- BitmapEffectDrawing.cs
- WsrmFault.cs
- ContainerFilterService.cs
- RegisteredHiddenField.cs
- BlurBitmapEffect.cs
- SqlWorkflowInstanceStoreLock.cs
- WindowsTokenRoleProvider.cs
- ConditionalWeakTable.cs
- Documentation.cs
- WebPartMovingEventArgs.cs
- RetrieveVirtualItemEventArgs.cs
- SqlProfileProvider.cs
- WebPartMenu.cs
- PathGradientBrush.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- Identity.cs
- DesignerRegionCollection.cs
- CodeCompiler.cs
- ItemsPresenter.cs
- EncodingTable.cs
- DbReferenceCollection.cs
- CodeNamespaceImportCollection.cs
- Vertex.cs
- DataKey.cs
- QueryPageSettingsEventArgs.cs
- InvalidPropValue.cs
- HttpWebResponse.cs