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
- QueryAccessibilityHelpEvent.cs
- RSAPKCS1SignatureDeformatter.cs
- SerializationFieldInfo.cs
- ChannelSinkStacks.cs
- MediaTimeline.cs
- FontStyle.cs
- DbConnectionPoolGroupProviderInfo.cs
- PathFigure.cs
- TextTreeUndo.cs
- ValidatingReaderNodeData.cs
- Delegate.cs
- COM2Enum.cs
- AssociatedControlConverter.cs
- DbConnectionPoolIdentity.cs
- CodeMemberField.cs
- Sql8ConformanceChecker.cs
- SqlSelectStatement.cs
- ObjectComplexPropertyMapping.cs
- ToolboxControl.cs
- AutoSizeToolBoxItem.cs
- ServiceObjectContainer.cs
- MenuItemStyleCollection.cs
- CodeGenerator.cs
- TransformDescriptor.cs
- __TransparentProxy.cs
- TableItemProviderWrapper.cs
- EventBookmark.cs
- OleDbParameterCollection.cs
- LoginName.cs
- DataTableCollection.cs
- _NtlmClient.cs
- OutputCacheModule.cs
- TableAdapterManagerHelper.cs
- XmlLanguage.cs
- SqlTriggerContext.cs
- PenThread.cs
- Internal.cs
- FormsAuthenticationUser.cs
- QueryAccessibilityHelpEvent.cs
- StateChangeEvent.cs
- ConcurrentBag.cs
- DataGridRelationshipRow.cs
- TemplateNameScope.cs
- XmlSchemaIdentityConstraint.cs
- HealthMonitoringSectionHelper.cs
- CodeIdentifier.cs
- ClientSideQueueItem.cs
- HwndHostAutomationPeer.cs
- XmlNode.cs
- ExtensionQuery.cs
- SerializationException.cs
- RemoteWebConfigurationHostStream.cs
- SoapIgnoreAttribute.cs
- GenericParameterDataContract.cs
- SpnegoTokenProvider.cs
- StylusCaptureWithinProperty.cs
- ListBoxItemWrapperAutomationPeer.cs
- UseLicense.cs
- HitTestParameters3D.cs
- CodeStatementCollection.cs
- CodeChecksumPragma.cs
- ToolstripProfessionalRenderer.cs
- Size.cs
- MappingSource.cs
- PrintDialog.cs
- HtmlToClrEventProxy.cs
- OwnerDrawPropertyBag.cs
- MultiView.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ClockGroup.cs
- WindowsToolbarAsMenu.cs
- TransformerTypeCollection.cs
- TextRenderingModeValidation.cs
- CodeSnippetExpression.cs
- DynamicDiscoSearcher.cs
- VectorAnimationUsingKeyFrames.cs
- FileIOPermission.cs
- LineServicesRun.cs
- MenuItemStyle.cs
- WsatTransactionFormatter.cs
- CachedBitmap.cs
- SqlInternalConnectionTds.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SecurityTokenAttachmentMode.cs
- CodeCastExpression.cs
- NotifyIcon.cs
- NavigationEventArgs.cs
- TypeDescriptor.cs
- SrgsSemanticInterpretationTag.cs
- Globals.cs
- CodeDelegateInvokeExpression.cs
- PasswordTextNavigator.cs
- DesignTimeTemplateParser.cs
- InvalidOperationException.cs
- EntityDataSourceView.cs
- XmlSerializationWriter.cs
- TaskHelper.cs
- PnrpPermission.cs
- Application.cs
- ResXFileRef.cs