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
- CircleHotSpot.cs
- Single.cs
- HtmlFormParameterWriter.cs
- Brush.cs
- Trigger.cs
- SqlBuffer.cs
- DynamicActivityProperty.cs
- SubstitutionResponseElement.cs
- OverrideMode.cs
- AttachedAnnotationChangedEventArgs.cs
- FailedToStartupUIException.cs
- TextInfo.cs
- TokenBasedSet.cs
- ControlBuilderAttribute.cs
- FilePrompt.cs
- CodeArrayCreateExpression.cs
- BamlTreeUpdater.cs
- hebrewshape.cs
- TempEnvironment.cs
- UInt16Storage.cs
- BindingsCollection.cs
- SiteMapSection.cs
- JavaScriptSerializer.cs
- VScrollBar.cs
- BamlResourceSerializer.cs
- DataTransferEventArgs.cs
- DataGridViewElement.cs
- SqlUserDefinedTypeAttribute.cs
- OracleBinary.cs
- WindowsToolbar.cs
- XmlSchemaDocumentation.cs
- ClientBase.cs
- XMLUtil.cs
- ChildTable.cs
- XmlBinaryReader.cs
- BindingWorker.cs
- ExceptionTrace.cs
- DataGridViewImageColumn.cs
- ButtonFieldBase.cs
- RoleGroup.cs
- XmlCompatibilityReader.cs
- ShaderEffect.cs
- ScaleTransform3D.cs
- X509ClientCertificateAuthentication.cs
- RadioButtonPopupAdapter.cs
- FastEncoderStatics.cs
- _FixedSizeReader.cs
- XmlSchemaSimpleContent.cs
- NativeMethods.cs
- HttpApplicationFactory.cs
- PageContentAsyncResult.cs
- WSMessageEncoding.cs
- cookieexception.cs
- DecimalConstantAttribute.cs
- CodeMethodInvokeExpression.cs
- SqlInternalConnectionTds.cs
- ManualWorkflowSchedulerService.cs
- ProcessProtocolHandler.cs
- InputElement.cs
- DtdParser.cs
- XmlSchemaParticle.cs
- ConfigXmlDocument.cs
- DelayedRegex.cs
- CryptoStream.cs
- CodeGenerationManager.cs
- EventlogProvider.cs
- WebPartConnectionsDisconnectVerb.cs
- TypeDescriptionProviderAttribute.cs
- XmlAnyElementAttribute.cs
- SmiMetaData.cs
- PermissionListSet.cs
- SkewTransform.cs
- SqlDataSourceCache.cs
- TableSectionStyle.cs
- GridViewColumnCollection.cs
- followingquery.cs
- ContractUtils.cs
- XhtmlConformanceSection.cs
- FontWeight.cs
- sitestring.cs
- TextMarkerSource.cs
- CodeCompileUnit.cs
- DispatcherExceptionFilterEventArgs.cs
- ExtensionFile.cs
- RulePatternOps.cs
- DataServiceProviderWrapper.cs
- PeerName.cs
- TemplateControlCodeDomTreeGenerator.cs
- PingReply.cs
- sqlpipe.cs
- BitStack.cs
- RectangleGeometry.cs
- DataAdapter.cs
- MailAddressCollection.cs
- StreamGeometryContext.cs
- OleDbParameter.cs
- HtmlImage.cs
- OdbcConnectionString.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SchemaImporterExtensionsSection.cs