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
- TypefaceMap.cs
- WindowsTooltip.cs
- DataGridToolTip.cs
- columnmapfactory.cs
- DataSetMappper.cs
- AssertSection.cs
- ITextView.cs
- XmlMapping.cs
- TargetControlTypeCache.cs
- DefaultBinder.cs
- Marshal.cs
- DefaultSerializationProviderAttribute.cs
- ProtectedConfigurationProviderCollection.cs
- OpenTypeLayoutCache.cs
- EntityDataSourceReferenceGroup.cs
- TypeUsageBuilder.cs
- OpenTypeLayoutCache.cs
- UIElementParaClient.cs
- ByeMessageApril2005.cs
- EmptyEnumerable.cs
- ConstrainedDataObject.cs
- WasEndpointConfigContainer.cs
- RepeatButton.cs
- SplineQuaternionKeyFrame.cs
- FocusTracker.cs
- Soap.cs
- JsonDeserializer.cs
- FixedSOMImage.cs
- SiteMapNodeItemEventArgs.cs
- TransactionTable.cs
- XsdSchemaFileEditor.cs
- TextParagraphProperties.cs
- SqlWebEventProvider.cs
- SeekStoryboard.cs
- ZipIOLocalFileBlock.cs
- InstanceDataCollection.cs
- ToolboxBitmapAttribute.cs
- _Semaphore.cs
- SpotLight.cs
- UpdateDelegates.Generated.cs
- UnsafeNativeMethodsPenimc.cs
- CryptoConfig.cs
- SynchronousChannelMergeEnumerator.cs
- HotCommands.cs
- BridgeDataRecord.cs
- ToolStripGrip.cs
- TextBoxView.cs
- NativeMethods.cs
- ButtonColumn.cs
- ClaimSet.cs
- PreProcessor.cs
- StopStoryboard.cs
- DataGridViewSortCompareEventArgs.cs
- MarkupCompilePass1.cs
- DiscoveryClientChannelFactory.cs
- SecurityUtils.cs
- DataGridBeginningEditEventArgs.cs
- TypeConverterAttribute.cs
- SectionInput.cs
- DerivedKeySecurityToken.cs
- ToolStripSeparator.cs
- ConvertTextFrag.cs
- LowerCaseStringConverter.cs
- PersonalizationProviderHelper.cs
- UserControl.cs
- RecordManager.cs
- XmlSerializerAssemblyAttribute.cs
- BuiltInPermissionSets.cs
- CodeMemberEvent.cs
- MouseEvent.cs
- WebHttpSecurityModeHelper.cs
- NavigationService.cs
- OSFeature.cs
- QilName.cs
- AnnotationMap.cs
- Cursors.cs
- ChangePasswordAutoFormat.cs
- DesignerMetadata.cs
- MetadataConversionError.cs
- WebConfigurationManager.cs
- ClientTarget.cs
- SectionRecord.cs
- SqlUserDefinedAggregateAttribute.cs
- DataListItem.cs
- ImageCollectionCodeDomSerializer.cs
- NetSectionGroup.cs
- ClrPerspective.cs
- TransformDescriptor.cs
- NameSpaceEvent.cs
- PrimitiveDataContract.cs
- RegexInterpreter.cs
- EventSourceCreationData.cs
- WebPartExportVerb.cs
- ObjectConverter.cs
- InteropBitmapSource.cs
- Command.cs
- Schema.cs
- RequestCacheManager.cs
- Stack.cs
- FixedTextBuilder.cs