Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- PropertyGridCommands.cs
- Underline.cs
- DataServiceConfiguration.cs
- WebPartConnectionsDisconnectVerb.cs
- StyleTypedPropertyAttribute.cs
- CompositeDataBoundControl.cs
- HtmlInputHidden.cs
- PipeStream.cs
- ExpandedWrapper.cs
- IgnoreFlushAndCloseStream.cs
- DirectionalAction.cs
- IgnoreSectionHandler.cs
- AxDesigner.cs
- SqlDataSourceQueryEditor.cs
- CursorEditor.cs
- PermissionAttributes.cs
- MessageSmuggler.cs
- SByteConverter.cs
- ObjectCloneHelper.cs
- ZipIOCentralDirectoryBlock.cs
- HotSpotCollection.cs
- ImageList.cs
- LeafCellTreeNode.cs
- PropertyFilterAttribute.cs
- SessionStateUtil.cs
- ListCollectionView.cs
- ReflectionTypeLoadException.cs
- TypeConverterValueSerializer.cs
- DecimalAnimationUsingKeyFrames.cs
- Span.cs
- ListViewItemMouseHoverEvent.cs
- DataGridViewSelectedCellCollection.cs
- WebPartZoneBase.cs
- DirectionalLight.cs
- ReadContentAsBinaryHelper.cs
- StringArrayConverter.cs
- MediaSystem.cs
- PropertyEntry.cs
- StringToken.cs
- Size.cs
- HtmlElement.cs
- Token.cs
- ColumnResizeUndoUnit.cs
- AnnotationStore.cs
- SuppressedPackageProperties.cs
- DesignTimeVisibleAttribute.cs
- ControlUtil.cs
- CodeSnippetStatement.cs
- VideoDrawing.cs
- DataGridViewLinkColumn.cs
- CacheOutputQuery.cs
- _NetRes.cs
- TableRowCollection.cs
- OletxResourceManager.cs
- UIElement3D.cs
- httpserverutility.cs
- MetabaseSettings.cs
- DataServiceConfiguration.cs
- EmptyEnumerable.cs
- UrlPath.cs
- HttpCapabilitiesSectionHandler.cs
- KeyValuePairs.cs
- XsltLibrary.cs
- RuleDefinitions.cs
- DependencyPropertyAttribute.cs
- DiscoveryClientBindingElement.cs
- COM2IDispatchConverter.cs
- MethodRental.cs
- WindowsListViewItemStartMenu.cs
- ToolStripCustomTypeDescriptor.cs
- RegistryConfigurationProvider.cs
- WebPartEventArgs.cs
- RemotingSurrogateSelector.cs
- RuleSetReference.cs
- SerializerDescriptor.cs
- DesignerTransactionCloseEvent.cs
- QueuePropertyVariants.cs
- MimeBasePart.cs
- OracleInfoMessageEventArgs.cs
- TypeNameConverter.cs
- ExceptionUtility.cs
- TheQuery.cs
- BounceEase.cs
- SamlNameIdentifierClaimResource.cs
- ParentQuery.cs
- WebEventCodes.cs
- KeyInterop.cs
- ControlUtil.cs
- FixedSOMPage.cs
- EndpointAddressMessageFilter.cs
- RefreshEventArgs.cs
- FontFamilyIdentifier.cs
- IgnoreFileBuildProvider.cs
- ActivityExecutorSurrogate.cs
- SettingsAttributeDictionary.cs
- PointLightBase.cs
- BuildProvider.cs
- AudioException.cs
- ThreadStaticAttribute.cs
- MobileComponentEditorPage.cs