Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Rotation3D.cs
- Base64Encoder.cs
- SiblingIterators.cs
- XamlWriter.cs
- ExecutedRoutedEventArgs.cs
- Soap.cs
- Content.cs
- DragEvent.cs
- TraceListener.cs
- ObjectSelectorEditor.cs
- BrowserDefinition.cs
- ListItemCollection.cs
- DeleteIndexBinder.cs
- BinaryMethodMessage.cs
- OutputScopeManager.cs
- UITypeEditor.cs
- XmlSchemaAppInfo.cs
- LocatorBase.cs
- DataSourceCache.cs
- ListSortDescriptionCollection.cs
- EpmContentSerializer.cs
- MDIClient.cs
- XmlDataContract.cs
- CookieParameter.cs
- MultipartContentParser.cs
- ArglessEventHandlerProxy.cs
- TextBlock.cs
- NamedObject.cs
- GridViewDeleteEventArgs.cs
- CompoundFileStreamReference.cs
- ToolStripItemGlyph.cs
- SqlWebEventProvider.cs
- SafeTimerHandle.cs
- Table.cs
- _ConnectStream.cs
- UrlAuthFailedErrorFormatter.cs
- HwndMouseInputProvider.cs
- Span.cs
- ManipulationLogic.cs
- SafeCryptHandles.cs
- Directory.cs
- FormView.cs
- IdentityModelStringsVersion1.cs
- ReachDocumentSequenceSerializerAsync.cs
- EventToken.cs
- AutomationFocusChangedEventArgs.cs
- HostedElements.cs
- Quaternion.cs
- DropTarget.cs
- BitmapEffectInput.cs
- XmlAttribute.cs
- DataChangedEventManager.cs
- UserPreferenceChangingEventArgs.cs
- Point3DAnimation.cs
- PerfCounterSection.cs
- SchemaInfo.cs
- BinaryObjectReader.cs
- ReturnType.cs
- ObjectTokenCategory.cs
- MouseDevice.cs
- ClientType.cs
- TextPattern.cs
- FileLoadException.cs
- BindingWorker.cs
- WindowsAuthenticationModule.cs
- ReadOnlyHierarchicalDataSource.cs
- ResourceAssociationType.cs
- SqlXmlStorage.cs
- RadioButtonPopupAdapter.cs
- FixedSOMLineCollection.cs
- DefaultShape.cs
- OleDbDataReader.cs
- BulletedList.cs
- DataGridViewElement.cs
- SharedPersonalizationStateInfo.cs
- Matrix.cs
- DCSafeHandle.cs
- BorderGapMaskConverter.cs
- ListCollectionView.cs
- StickyNoteHelper.cs
- UInt64Storage.cs
- BridgeDataRecord.cs
- DesignerMetadata.cs
- SqlWorkflowInstanceStore.cs
- ItemChangedEventArgs.cs
- CompositeActivityCodeGenerator.cs
- ArrayConverter.cs
- DeclaredTypeElement.cs
- HitTestFilterBehavior.cs
- MultiAsyncResult.cs
- StyleCollectionEditor.cs
- CollectionExtensions.cs
- DependencySource.cs
- Menu.cs
- DataColumnPropertyDescriptor.cs
- LinkArea.cs
- ScriptHandlerFactory.cs
- HtmlWindow.cs
- ObjectPropertyMapping.cs
- RandomNumberGenerator.cs