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
- HtmlElement.cs
- Expressions.cs
- ArraySegment.cs
- DynamicMethod.cs
- ExpressionBinding.cs
- GenericTypeParameterBuilder.cs
- TreeIterator.cs
- XmlWrappingReader.cs
- XmlDataSource.cs
- FileNameEditor.cs
- _ConnectionGroup.cs
- ListViewInsertedEventArgs.cs
- SharedConnectionWorkflowTransactionService.cs
- CellParaClient.cs
- TextSyndicationContentKindHelper.cs
- ToggleButtonAutomationPeer.cs
- SaveFileDialog.cs
- ContentWrapperAttribute.cs
- StaticTextPointer.cs
- ProviderException.cs
- UnsafeNativeMethods.cs
- DispatcherHooks.cs
- BamlRecordWriter.cs
- ReverseComparer.cs
- HtmlHistory.cs
- XmlHierarchicalDataSourceView.cs
- Point3DValueSerializer.cs
- DataListItem.cs
- ChainOfDependencies.cs
- WebPartDisplayModeCancelEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- AutoCompleteStringCollection.cs
- Vector3DConverter.cs
- TreeNode.cs
- MailSettingsSection.cs
- streamingZipPartStream.cs
- ModelItemDictionaryImpl.cs
- RouteTable.cs
- EmissiveMaterial.cs
- ExpressionCopier.cs
- HandoffBehavior.cs
- XmlCodeExporter.cs
- MetadataProperty.cs
- AlphabeticalEnumConverter.cs
- recordstate.cs
- PassportIdentity.cs
- AggregateNode.cs
- MemoryStream.cs
- OracleTransaction.cs
- XmlNamespaceManager.cs
- SHA384Managed.cs
- PenThreadWorker.cs
- ServiceObjectContainer.cs
- ValidatedControlConverter.cs
- EmptyTextWriter.cs
- MemberListBinding.cs
- SystemGatewayIPAddressInformation.cs
- StatusBarItem.cs
- SqlMethodAttribute.cs
- DataGridItemEventArgs.cs
- cryptoapiTransform.cs
- XmlConvert.cs
- SessionPageStateSection.cs
- KernelTypeValidation.cs
- AppDomainShutdownMonitor.cs
- DocumentCollection.cs
- ArcSegment.cs
- PageContent.cs
- ProfilePropertyNameValidator.cs
- SelectionProcessor.cs
- Html32TextWriter.cs
- AssemblyName.cs
- EntityDataSourceSelectedEventArgs.cs
- ITextView.cs
- ZeroOpNode.cs
- WmlLabelAdapter.cs
- OleDbWrapper.cs
- CacheAxisQuery.cs
- ArgumentReference.cs
- ColorAnimationUsingKeyFrames.cs
- WeakReferenceEnumerator.cs
- RewritingPass.cs
- TextContainerChangedEventArgs.cs
- Matrix.cs
- EntityKeyElement.cs
- FormatStringEditor.cs
- DesignerVerbCollection.cs
- SrgsRulesCollection.cs
- GradientPanel.cs
- TreeNodeBindingCollection.cs
- AutomationPropertyChangedEventArgs.cs
- FileDialogCustomPlaces.cs
- DocumentReferenceCollection.cs
- CalculatedColumn.cs
- EntityException.cs
- InstanceOwnerException.cs
- IISMapPath.cs
- UnsafeNativeMethods.cs
- FixedPageAutomationPeer.cs
- RelatedImageListAttribute.cs