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
- EventToken.cs
- EntityTransaction.cs
- Rectangle.cs
- RangeBaseAutomationPeer.cs
- PlaceHolder.cs
- propertyentry.cs
- SchemaImporter.cs
- WebConfigurationManager.cs
- WindowsGraphicsCacheManager.cs
- ObjectRef.cs
- DefaultProxySection.cs
- RichTextBox.cs
- RijndaelManagedTransform.cs
- TypeConstant.cs
- Container.cs
- StructureChangedEventArgs.cs
- DecoderReplacementFallback.cs
- HealthMonitoringSection.cs
- PasswordRecovery.cs
- EventMappingSettings.cs
- SoapSchemaMember.cs
- OrderPreservingPipeliningSpoolingTask.cs
- SqlConnectionManager.cs
- ContentFilePart.cs
- XmlElementAttribute.cs
- XmlUrlResolver.cs
- ExtensionSimplifierMarkupObject.cs
- TitleStyle.cs
- AssemblyContextControlItem.cs
- BinaryCommonClasses.cs
- SystemResourceKey.cs
- TableLayout.cs
- JournalEntryListConverter.cs
- SqlXml.cs
- adornercollection.cs
- IdnElement.cs
- X509Certificate2.cs
- InputScopeConverter.cs
- RoleManagerEventArgs.cs
- Latin1Encoding.cs
- UrlAuthorizationModule.cs
- DataPointer.cs
- DeclarativeCatalogPart.cs
- ToolZone.cs
- TemplateBamlTreeBuilder.cs
- ProtocolsConfigurationEntry.cs
- CodeIdentifier.cs
- XmlRawWriter.cs
- PropertyGrid.cs
- ClickablePoint.cs
- DataColumnCollection.cs
- FlowDocumentView.cs
- Exceptions.cs
- FlowLayoutPanelDesigner.cs
- ComplexPropertyEntry.cs
- PolicyManager.cs
- PackageDigitalSignature.cs
- UserPersonalizationStateInfo.cs
- GregorianCalendar.cs
- ResourceDictionaryCollection.cs
- MobileControlsSection.cs
- XPathAxisIterator.cs
- WebCategoryAttribute.cs
- ParallelTimeline.cs
- WebBrowserContainer.cs
- CurrentChangingEventArgs.cs
- WsatConfiguration.cs
- DataBoundLiteralControl.cs
- AvTraceDetails.cs
- XmlCharType.cs
- Convert.cs
- TypeConverterAttribute.cs
- CodeArgumentReferenceExpression.cs
- RightsManagementLicense.cs
- ReadOnlyDataSourceView.cs
- ColorTransformHelper.cs
- SessionIDManager.cs
- PolyQuadraticBezierSegment.cs
- TagMapCollection.cs
- PolyBezierSegmentFigureLogic.cs
- EntityCommand.cs
- ObservableCollection.cs
- MessageParameterAttribute.cs
- TextParagraphCache.cs
- FamilyMapCollection.cs
- InputChannelAcceptor.cs
- ToggleProviderWrapper.cs
- WeakReference.cs
- filewebrequest.cs
- MouseGesture.cs
- HtmlInputImage.cs
- XslVisitor.cs
- DataServiceRequestException.cs
- safex509handles.cs
- EarlyBoundInfo.cs
- ConfigurationElementProperty.cs
- KeyValueConfigurationCollection.cs
- EntityWrapper.cs
- AccessText.cs
- Visitor.cs