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
- GradientPanel.cs
- TimeSpanValidator.cs
- UnauthorizedWebPart.cs
- InfoCardX509Validator.cs
- ServerType.cs
- HttpProfileBase.cs
- CapacityStreamGeometryContext.cs
- RestHandler.cs
- SHA1Managed.cs
- TableLayoutStyle.cs
- IntPtr.cs
- ResourcePart.cs
- TransactedBatchingElement.cs
- DrawToolTipEventArgs.cs
- OracleColumn.cs
- HtmlToClrEventProxy.cs
- JsonSerializer.cs
- XmlQueryOutput.cs
- ValidationHelpers.cs
- SHA1.cs
- Rect3D.cs
- SystemTcpConnection.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- CompatibleComparer.cs
- LayoutEditorPart.cs
- EdmFunction.cs
- QuadraticEase.cs
- XPathMultyIterator.cs
- RenamedEventArgs.cs
- TreeView.cs
- VerificationException.cs
- EmptyImpersonationContext.cs
- _SpnDictionary.cs
- DtrList.cs
- PartManifestEntry.cs
- FormsIdentity.cs
- PingOptions.cs
- BookmarkScope.cs
- ViewStateModeByIdAttribute.cs
- MultiByteCodec.cs
- ComboBoxItem.cs
- _ConnectStream.cs
- TableRowCollection.cs
- DbConnectionPoolOptions.cs
- ColumnMapVisitor.cs
- MdImport.cs
- MetadataSerializer.cs
- WebConfigurationFileMap.cs
- XpsSerializationManager.cs
- WebFormDesignerActionService.cs
- CommonProperties.cs
- ColumnResizeAdorner.cs
- SiteMap.cs
- Panel.cs
- InfoCardServiceInstallComponent.cs
- UnsafeNativeMethods.cs
- ValidationError.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- SequenceNumber.cs
- ImageCollectionEditor.cs
- ConnectionInterfaceCollection.cs
- DependencyPropertyChangedEventArgs.cs
- SettingsSection.cs
- AsymmetricAlgorithm.cs
- RepeaterItemEventArgs.cs
- ShaderEffect.cs
- DocumentViewerBaseAutomationPeer.cs
- DataQuery.cs
- PolyQuadraticBezierSegment.cs
- DataGridViewTextBoxEditingControl.cs
- ExpressionBuilderContext.cs
- Rectangle.cs
- NamespaceDecl.cs
- MetadataItem_Static.cs
- FixedTextSelectionProcessor.cs
- TempFiles.cs
- SessionParameter.cs
- SvcMapFileSerializer.cs
- ToolStripPanelRenderEventArgs.cs
- DataSourceSelectArguments.cs
- CreateUserErrorEventArgs.cs
- ClientSession.cs
- OrderedEnumerableRowCollection.cs
- SerialPinChanges.cs
- ExecutedRoutedEventArgs.cs
- Vector3DCollectionValueSerializer.cs
- ButtonFlatAdapter.cs
- MediaCommands.cs
- EntityContainerEmitter.cs
- AttachedAnnotation.cs
- XPathAncestorIterator.cs
- TemplateXamlTreeBuilder.cs
- ResourceReferenceExpression.cs
- XPathArrayIterator.cs
- DataGridCellsPresenter.cs
- ResourceWriter.cs
- ColumnResult.cs
- PointF.cs
- FtpWebResponse.cs
- ShapeTypeface.cs