Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / 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 : [....] 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
- SqlCaseSimplifier.cs
- EntitySqlQueryCacheKey.cs
- OleDbEnumerator.cs
- MemoryRecordBuffer.cs
- BitmapEffectState.cs
- SecurityContext.cs
- AssertUtility.cs
- WindowsEditBox.cs
- HtmlTableCell.cs
- ZipIOFileItemStream.cs
- DocumentsTrace.cs
- FontFaceLayoutInfo.cs
- UnescapedXmlDiagnosticData.cs
- DataGrid.cs
- HexParser.cs
- RequiredFieldValidator.cs
- UIPropertyMetadata.cs
- NamedPipeTransportElement.cs
- SemanticResolver.cs
- InvokePattern.cs
- regiisutil.cs
- ApplicationGesture.cs
- X509ChainElement.cs
- ConfigXmlComment.cs
- BamlResourceSerializer.cs
- BaseParaClient.cs
- SqlDataSourceQueryConverter.cs
- SapiRecognizer.cs
- XmlMapping.cs
- ListViewContainer.cs
- METAHEADER.cs
- ADRoleFactoryConfiguration.cs
- NamespaceQuery.cs
- XmlBinaryReaderSession.cs
- RPIdentityRequirement.cs
- RelationshipType.cs
- CompressStream.cs
- GeneralTransform3DGroup.cs
- TaskFileService.cs
- DefaultBindingPropertyAttribute.cs
- WrappedIUnknown.cs
- ClientTargetCollection.cs
- RenderContext.cs
- ToolStripCustomTypeDescriptor.cs
- XmlSchemaNotation.cs
- SiteIdentityPermission.cs
- Compiler.cs
- FocusManager.cs
- ParallelTimeline.cs
- codemethodreferenceexpression.cs
- X509CertificateCollection.cs
- SqlRemoveConstantOrderBy.cs
- XmlElement.cs
- NopReturnReader.cs
- XmlElementCollection.cs
- TagPrefixInfo.cs
- XamlWriter.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ColumnResizeUndoUnit.cs
- StyleSheetRefUrlEditor.cs
- StrokeNode.cs
- XmlDocumentViewSchema.cs
- DeclarativeCatalogPart.cs
- RangeValuePatternIdentifiers.cs
- X509UI.cs
- XsltArgumentList.cs
- SkinBuilder.cs
- SafeFileMappingHandle.cs
- NamespaceInfo.cs
- ApplicationContext.cs
- CoTaskMemHandle.cs
- Encoder.cs
- diagnosticsswitches.cs
- behaviorssection.cs
- _SafeNetHandles.cs
- ArrayListCollectionBase.cs
- HtmlForm.cs
- FillBehavior.cs
- ScriptingRoleServiceSection.cs
- MLangCodePageEncoding.cs
- ImageBrush.cs
- RIPEMD160.cs
- SchemaElementLookUpTableEnumerator.cs
- SecurityTokenRequirement.cs
- TemplateBindingExtension.cs
- SafeCancelMibChangeNotify.cs
- SimpleRecyclingCache.cs
- VisualStateChangedEventArgs.cs
- SafeRightsManagementHandle.cs
- WsdlBuildProvider.cs
- DataSourceIDConverter.cs
- HttpListenerResponse.cs
- WebServiceResponse.cs
- ConstructorExpr.cs
- DrawingGroup.cs
- BaseParaClient.cs
- Int32Converter.cs
- StylusPointProperty.cs
- KeySplineConverter.cs
- Comparer.cs