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
- Wrapper.cs
- StrongNameMembershipCondition.cs
- ObjectDataSourceFilteringEventArgs.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- SignatureHelper.cs
- MethodBuilderInstantiation.cs
- AspNetSynchronizationContext.cs
- iisPickupDirectory.cs
- WebEvents.cs
- COM2ExtendedTypeConverter.cs
- RegexGroupCollection.cs
- StringAttributeCollection.cs
- SecurityStandardsManager.cs
- WebConfigurationManager.cs
- KeyManager.cs
- WorkflowInlining.cs
- EntityDataSourceWrapper.cs
- LayoutInformation.cs
- OracleCommand.cs
- ImageMetadata.cs
- SizeLimitedCache.cs
- TabItemWrapperAutomationPeer.cs
- RayMeshGeometry3DHitTestResult.cs
- AppDomainResourcePerfCounters.cs
- ChildrenQuery.cs
- StreamedWorkflowDefinitionContext.cs
- XmlValidatingReaderImpl.cs
- ResolveRequestResponseAsyncResult.cs
- TabletCollection.cs
- CodeMethodReturnStatement.cs
- ValidationRuleCollection.cs
- AmbiguousMatchException.cs
- invalidudtexception.cs
- SerializationObjectManager.cs
- Grant.cs
- WmlLinkAdapter.cs
- XmlMapping.cs
- FilteredXmlReader.cs
- FloatUtil.cs
- NetNamedPipeSecurityElement.cs
- OdbcEnvironmentHandle.cs
- ThemeDictionaryExtension.cs
- TypeConverterAttribute.cs
- AssemblySettingAttributes.cs
- ToolStripMenuItem.cs
- ActivityScheduledRecord.cs
- TypeSystemProvider.cs
- DBConcurrencyException.cs
- WeakReference.cs
- EventlogProvider.cs
- SymLanguageVendor.cs
- Pair.cs
- CorrelationExtension.cs
- dbenumerator.cs
- SystemIcmpV4Statistics.cs
- UriScheme.cs
- unsafeIndexingFilterStream.cs
- SizeChangedInfo.cs
- PagesSection.cs
- ReaderWriterLock.cs
- MethodCallExpression.cs
- MailHeaderInfo.cs
- UrlEncodedParameterWriter.cs
- connectionpool.cs
- DSASignatureFormatter.cs
- WSSecureConversationDec2005.cs
- cryptoapiTransform.cs
- SQLInt32.cs
- EventToken.cs
- Utilities.cs
- Stylesheet.cs
- BinaryObjectReader.cs
- GenericTypeParameterBuilder.cs
- RegistryPermission.cs
- SwitchLevelAttribute.cs
- KnownBoxes.cs
- ByteAnimationBase.cs
- AbstractExpressions.cs
- ShapeTypeface.cs
- ModifierKeysValueSerializer.cs
- QilReference.cs
- CodeExpressionRuleDeclaration.cs
- ClientFormsIdentity.cs
- AssemblyFilter.cs
- HttpChannelFactory.cs
- PageContentCollection.cs
- OSFeature.cs
- AssemblyBuilder.cs
- CompoundFileStorageReference.cs
- BitmapSource.cs
- VirtualizedCellInfoCollection.cs
- InputGestureCollection.cs
- FontCacheUtil.cs
- HttpHandlerActionCollection.cs
- RSAPKCS1SignatureFormatter.cs
- MemberAccessException.cs
- UnsafeNativeMethods.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- CqlQuery.cs
- Constraint.cs