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
- XmlQueryContext.cs
- AliasedExpr.cs
- CqlLexer.cs
- RequestCacheEntry.cs
- MarkupCompilePass1.cs
- CodeObjectCreateExpression.cs
- ProcessModule.cs
- BeginStoryboard.cs
- AnnotationMap.cs
- TagElement.cs
- ContentPosition.cs
- CursorConverter.cs
- CombinedTcpChannel.cs
- EntitySetBase.cs
- BaseEntityWrapper.cs
- Typeface.cs
- ConvertersCollection.cs
- ReadContentAsBinaryHelper.cs
- KeyedCollection.cs
- HintTextConverter.cs
- LineGeometry.cs
- BitmapEffectInputData.cs
- IssuanceTokenProviderBase.cs
- MachineKeyValidationConverter.cs
- RSACryptoServiceProvider.cs
- MatrixCamera.cs
- MethodCallTranslator.cs
- EventLogEntry.cs
- RenderOptions.cs
- ExtensionSurface.cs
- ReflectionTypeLoadException.cs
- TextRange.cs
- ServiceModelStringsVersion1.cs
- ScrollViewerAutomationPeer.cs
- TableItemPattern.cs
- Literal.cs
- PictureBox.cs
- TextLine.cs
- _CommandStream.cs
- EventSourceCreationData.cs
- Panel.cs
- ToolStripDropDownButton.cs
- TextTreeExtractElementUndoUnit.cs
- OdbcErrorCollection.cs
- AsymmetricCryptoHandle.cs
- InkCollectionBehavior.cs
- ObjectParameterCollection.cs
- AssemblyBuilder.cs
- FileLoadException.cs
- SingleQueryOperator.cs
- ObjectDisposedException.cs
- DataBindEngine.cs
- SplineQuaternionKeyFrame.cs
- CodePrimitiveExpression.cs
- WebExceptionStatus.cs
- RowType.cs
- ReflectionPermission.cs
- PolyQuadraticBezierSegment.cs
- MetafileHeaderWmf.cs
- ObjectSet.cs
- Restrictions.cs
- CachingHintValidation.cs
- ECDiffieHellmanCng.cs
- SiteMapProvider.cs
- NotificationContext.cs
- FigureHelper.cs
- BinaryObjectWriter.cs
- StorageMappingFragment.cs
- DispatcherOperation.cs
- CodePropertyReferenceExpression.cs
- BaseDataListActionList.cs
- HashStream.cs
- CommonDialog.cs
- ExpressionVisitor.cs
- XamlReaderHelper.cs
- DoubleIndependentAnimationStorage.cs
- EntityDesignerBuildProvider.cs
- InternalsVisibleToAttribute.cs
- InvariantComparer.cs
- TextParaLineResult.cs
- WSSecurityPolicy11.cs
- FormCollection.cs
- PrePrepareMethodAttribute.cs
- AdapterUtil.cs
- CustomWebEventKey.cs
- TreeNodeStyle.cs
- LockRecoveryTask.cs
- CatalogZone.cs
- CompoundFileStorageReference.cs
- HandleCollector.cs
- BuildManager.cs
- DelimitedListTraceListener.cs
- ShaderEffect.cs
- ReferentialConstraintRoleElement.cs
- XLinq.cs
- PersonalizationProvider.cs
- DoubleAnimationBase.cs
- ControlParameter.cs
- ColumnCollection.cs
- CapabilitiesAssignment.cs