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
- HGlobalSafeHandle.cs
- OAVariantLib.cs
- TdsParameterSetter.cs
- HostVisual.cs
- AnnotationResourceCollection.cs
- DictionaryEditChange.cs
- BufferModeSettings.cs
- ContextProperty.cs
- RequestCacheEntry.cs
- ProcessInputEventArgs.cs
- Rect3DConverter.cs
- StickyNoteContentControl.cs
- ProviderSettingsCollection.cs
- SqlRowUpdatingEvent.cs
- HashCodeCombiner.cs
- CodeCompileUnit.cs
- XamlStream.cs
- MTConfigUtil.cs
- ConstructorNeedsTagAttribute.cs
- NetSectionGroup.cs
- GestureRecognitionResult.cs
- BooleanStorage.cs
- SecurityManager.cs
- StylusShape.cs
- AttachedAnnotation.cs
- BindingListCollectionView.cs
- ListBindingConverter.cs
- ActivityCodeDomSerializer.cs
- TargetPerspective.cs
- PeerContact.cs
- StackSpiller.Generated.cs
- DataService.cs
- KeyPullup.cs
- ScriptControlManager.cs
- ItemsPresenter.cs
- GradientStopCollection.cs
- Figure.cs
- NullableFloatMinMaxAggregationOperator.cs
- IgnoreFlushAndCloseStream.cs
- InArgument.cs
- FontStyleConverter.cs
- Matrix3D.cs
- UncommonField.cs
- EngineSite.cs
- XmlSerializer.cs
- PreProcessor.cs
- AmbiguousMatchException.cs
- Point.cs
- BaseParser.cs
- QueueException.cs
- PropertyManager.cs
- RequestTimeoutManager.cs
- LassoSelectionBehavior.cs
- DBConnectionString.cs
- DirectoryInfo.cs
- DataGridToolTip.cs
- SessionState.cs
- FileNotFoundException.cs
- StringComparer.cs
- DataGridViewAutoSizeModeEventArgs.cs
- UrlPropertyAttribute.cs
- isolationinterop.cs
- Label.cs
- ContentElementAutomationPeer.cs
- PersistenceTypeAttribute.cs
- EntityProviderFactory.cs
- ParameterCollection.cs
- WindowsListViewGroup.cs
- MarkedHighlightComponent.cs
- validationstate.cs
- Psha1DerivedKeyGeneratorHelper.cs
- SizeAnimationClockResource.cs
- SecurityHelper.cs
- BitmapImage.cs
- HandlerFactoryCache.cs
- UiaCoreTypesApi.cs
- DataGridViewColumnCollection.cs
- securestring.cs
- DataViewSetting.cs
- ListControlConvertEventArgs.cs
- DispatcherHooks.cs
- ConfigurationSectionCollection.cs
- NoneExcludedImageIndexConverter.cs
- PropertyFilterAttribute.cs
- ObjectConverter.cs
- MenuItemCollection.cs
- DateTimePicker.cs
- ProgressBarHighlightConverter.cs
- log.cs
- versioninfo.cs
- RowVisual.cs
- ClientBuildManager.cs
- DataPager.cs
- TextServicesPropertyRanges.cs
- cookiecollection.cs
- ListControlStringCollectionEditor.cs
- BitStack.cs
- StoreAnnotationsMap.cs
- TransformedBitmap.cs
- StrokeCollection.cs