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
- CorrelationManager.cs
- AuthenticationConfig.cs
- Subtree.cs
- ThicknessAnimation.cs
- MessageSecurityVersion.cs
- EnumUnknown.cs
- TaskFileService.cs
- DataGridViewColumnCollection.cs
- JsonDataContract.cs
- ProcessHostFactoryHelper.cs
- XmlAtomicValue.cs
- OleDbParameter.cs
- PlaceHolder.cs
- ScriptIgnoreAttribute.cs
- CodeMemberProperty.cs
- HotCommands.cs
- DataServiceQueryProvider.cs
- validationstate.cs
- DictionaryContent.cs
- ImportDesigner.xaml.cs
- ResourceExpressionBuilder.cs
- TabControlToolboxItem.cs
- DoubleAnimationUsingPath.cs
- HttpRequestCacheValidator.cs
- WpfXamlMember.cs
- HitTestParameters.cs
- webclient.cs
- TextRange.cs
- XmlNamedNodeMap.cs
- EntityConnectionStringBuilderItem.cs
- infer.cs
- SharedStatics.cs
- RepeatBehavior.cs
- Geometry3D.cs
- DashStyle.cs
- ToolStripItemClickedEventArgs.cs
- TextRenderer.cs
- BufferedOutputStream.cs
- ArraySubsetEnumerator.cs
- DbConnectionClosed.cs
- InitializingNewItemEventArgs.cs
- GlyphElement.cs
- VersionedStreamOwner.cs
- PixelFormats.cs
- XmlEventCache.cs
- SqlTypesSchemaImporter.cs
- DictionaryTraceRecord.cs
- PerfService.cs
- BooleanKeyFrameCollection.cs
- X500Name.cs
- FigureHelper.cs
- WindowProviderWrapper.cs
- SqlCaseSimplifier.cs
- MatrixTransform.cs
- DesignTimeDataBinding.cs
- CopyOfAction.cs
- LinkButton.cs
- Dump.cs
- XmlSchemaType.cs
- CompositionAdorner.cs
- ThreadPoolTaskScheduler.cs
- RightNameExpirationInfoPair.cs
- WebHeaderCollection.cs
- SevenBitStream.cs
- X509AudioLogo.cs
- JapaneseCalendar.cs
- WebServiceHandlerFactory.cs
- TrackingProfile.cs
- EditorZoneAutoFormat.cs
- PreloadedPackages.cs
- WebBrowserPermission.cs
- SnapLine.cs
- DataGridViewRowCollection.cs
- ClientSettingsStore.cs
- AsyncResult.cs
- ListBindingConverter.cs
- RecognizedAudio.cs
- SettingsProviderCollection.cs
- DriveNotFoundException.cs
- SiteMapDataSourceDesigner.cs
- PTConverter.cs
- HttpConfigurationContext.cs
- DurableInstance.cs
- RotateTransform3D.cs
- ColorConvertedBitmapExtension.cs
- IndexedEnumerable.cs
- IxmlLineInfo.cs
- SqlDataSourceSelectingEventArgs.cs
- DrawToolTipEventArgs.cs
- selecteditemcollection.cs
- RemoteWebConfigurationHostStream.cs
- DbExpressionBuilder.cs
- LayoutInformation.cs
- Receive.cs
- WebBrowsableAttribute.cs
- ACE.cs
- DivideByZeroException.cs
- UserMapPath.cs
- InputElement.cs
- TextPenaltyModule.cs