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
- DomNameTable.cs
- MarkupProperty.cs
- DbUpdateCommandTree.cs
- XPathBuilder.cs
- Label.cs
- TimelineClockCollection.cs
- SamlSerializer.cs
- X509ClientCertificateCredentialsElement.cs
- WsatEtwTraceListener.cs
- ErrorTableItemStyle.cs
- EnumMember.cs
- LinqDataSourceView.cs
- SubstitutionList.cs
- DPTypeDescriptorContext.cs
- RegionInfo.cs
- GroupBoxAutomationPeer.cs
- CustomBinding.cs
- EntityCommandExecutionException.cs
- UntypedNullExpression.cs
- TextSelectionHelper.cs
- DataMisalignedException.cs
- NotifyParentPropertyAttribute.cs
- PartialCachingControl.cs
- TagPrefixInfo.cs
- TextEncodedRawTextWriter.cs
- DynamicActivity.cs
- DataBoundControlHelper.cs
- MergePropertyDescriptor.cs
- _TimerThread.cs
- DataServiceException.cs
- TextEditorSelection.cs
- EncoderNLS.cs
- EntityCommandCompilationException.cs
- DecoderBestFitFallback.cs
- SerializeAbsoluteContext.cs
- CompositeDataBoundControl.cs
- DataTableReader.cs
- ResponseBodyWriter.cs
- InkCanvasAutomationPeer.cs
- InvalidChannelBindingException.cs
- WeakReference.cs
- AssemblyResourceLoader.cs
- SimpleWorkerRequest.cs
- SqlSupersetValidator.cs
- CodeAccessPermission.cs
- BoundPropertyEntry.cs
- Scripts.cs
- XamlClipboardData.cs
- XmlSequenceWriter.cs
- SqlGatherProducedAliases.cs
- AppliedDeviceFiltersDialog.cs
- WebPartHeaderCloseVerb.cs
- ImpersonateTokenRef.cs
- IDReferencePropertyAttribute.cs
- Attributes.cs
- CommandBinding.cs
- MultipleCopiesCollection.cs
- DataGridViewControlCollection.cs
- pingexception.cs
- StatusCommandUI.cs
- WebPartCatalogCloseVerb.cs
- BrushProxy.cs
- GeneralTransformGroup.cs
- WindowsFormsHostPropertyMap.cs
- ListSortDescription.cs
- iisPickupDirectory.cs
- ExtensionFile.cs
- ResourceDescriptionAttribute.cs
- RequestCachingSection.cs
- IERequestCache.cs
- CounterCreationData.cs
- Message.cs
- EventBuilder.cs
- SqlConnectionHelper.cs
- ProtocolsConfigurationEntry.cs
- PasswordRecovery.cs
- CorrelationManager.cs
- SmiXetterAccessMap.cs
- ScanQueryOperator.cs
- Decoder.cs
- XamlSerializerUtil.cs
- SplitContainerDesigner.cs
- ControlBuilderAttribute.cs
- IndependentlyAnimatedPropertyMetadata.cs
- HttpHandlerAction.cs
- DesignTimeTemplateParser.cs
- OledbConnectionStringbuilder.cs
- NativeMethods.cs
- ChtmlMobileTextWriter.cs
- UpdateException.cs
- _OSSOCK.cs
- IncrementalReadDecoders.cs
- ServiceNameElement.cs
- EncryptedReference.cs
- NullableDoubleMinMaxAggregationOperator.cs
- QuadraticBezierSegment.cs
- Int32Storage.cs
- ResponseBodyWriter.cs
- StorageComplexPropertyMapping.cs
- LayoutEditorPart.cs