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
- WebPartDisplayMode.cs
- TypedOperationInfo.cs
- XmlSchemaSimpleContentRestriction.cs
- XmlReflectionImporter.cs
- AdjustableArrowCap.cs
- Assembly.cs
- DataGridViewRowHeaderCell.cs
- StrokeRenderer.cs
- DataTableReader.cs
- SetIterators.cs
- HttpModuleActionCollection.cs
- ChannelBinding.cs
- TextCharacters.cs
- SmiEventStream.cs
- KeyPullup.cs
- JsonCollectionDataContract.cs
- FormClosingEvent.cs
- ElementProxy.cs
- ExpressionsCollectionEditor.cs
- SeekableMessageNavigator.cs
- ErrorWebPart.cs
- RadioButtonRenderer.cs
- DelayLoadType.cs
- NotCondition.cs
- IPHostEntry.cs
- StylusSystemGestureEventArgs.cs
- AssemblyBuilder.cs
- GridErrorDlg.cs
- SmiRequestExecutor.cs
- DictionaryTraceRecord.cs
- CheckedPointers.cs
- InstanceKeyNotReadyException.cs
- OuterGlowBitmapEffect.cs
- TemplateComponentConnector.cs
- IDQuery.cs
- LogStore.cs
- ActiveDocumentEvent.cs
- DBSqlParserColumn.cs
- AssemblyCollection.cs
- AppDomainCompilerProxy.cs
- baseaxisquery.cs
- SafeNativeMethods.cs
- Int32Animation.cs
- Privilege.cs
- TextServicesLoader.cs
- WindowsTokenRoleProvider.cs
- HideDisabledControlAdapter.cs
- Method.cs
- ListViewItem.cs
- EditorPart.cs
- RadioButtonRenderer.cs
- ZipPackage.cs
- TableCell.cs
- AppDomainShutdownMonitor.cs
- PropertyManager.cs
- ComponentCommands.cs
- StorageEndPropertyMapping.cs
- EdmComplexPropertyAttribute.cs
- SqlConnectionHelper.cs
- FloaterParagraph.cs
- HostingEnvironment.cs
- FontStyleConverter.cs
- ValueUtilsSmi.cs
- BrowserInteropHelper.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ObjectListDesigner.cs
- DbConnectionStringCommon.cs
- AuthenticationManager.cs
- _SslStream.cs
- ApplicationGesture.cs
- SizeValueSerializer.cs
- DataSetUtil.cs
- FillBehavior.cs
- ServiceDefaults.cs
- SQLCharsStorage.cs
- WorkflowDesignerColors.cs
- PackWebRequest.cs
- SqlOuterApplyReducer.cs
- RtfControlWordInfo.cs
- ReferencedAssemblyResolver.cs
- OperationPickerDialog.designer.cs
- Thread.cs
- DeleteMemberBinder.cs
- SqlServer2KCompatibilityAnnotation.cs
- DataGridViewRowCollection.cs
- QilInvoke.cs
- NotConverter.cs
- XmlElementAttribute.cs
- NativeMethods.cs
- MenuItemBinding.cs
- Package.cs
- Paragraph.cs
- ClientTargetSection.cs
- CultureInfoConverter.cs
- WebServiceClientProxyGenerator.cs
- TraceHandler.cs
- ChangeNode.cs
- UniqueID.cs
- TypeSystem.cs
- MembershipUser.cs