Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- StylusShape.cs
- OpacityConverter.cs
- XmlUrlResolver.cs
- SimpleWebHandlerParser.cs
- WindowsScrollBar.cs
- ProcessThreadCollection.cs
- WebPartDescription.cs
- RemotingConfiguration.cs
- Logging.cs
- ListenerElementsCollection.cs
- RadioButton.cs
- RequestContext.cs
- ListViewGroup.cs
- ReaderWriterLock.cs
- GroupBox.cs
- InternalUserCancelledException.cs
- DataContractJsonSerializerOperationBehavior.cs
- HtmlString.cs
- Filter.cs
- CngProperty.cs
- WinEventWrap.cs
- DataSourceConverter.cs
- LocatorBase.cs
- DataServiceHostFactory.cs
- ConnectionManagementElement.cs
- ProcessManager.cs
- _ConnectStream.cs
- VisualTreeHelper.cs
- DataListCommandEventArgs.cs
- NotSupportedException.cs
- ClientScriptItemCollection.cs
- HttpResponse.cs
- PreservationFileReader.cs
- HtmlTernaryTree.cs
- Geometry.cs
- BamlLocalizabilityResolver.cs
- SizeAnimationUsingKeyFrames.cs
- TextSelection.cs
- ListControl.cs
- AutoResizedEvent.cs
- Label.cs
- SignHashRequest.cs
- KernelTypeValidation.cs
- WebAdminConfigurationHelper.cs
- StyleCollection.cs
- StructuralObject.cs
- DocumentSequence.cs
- XmlSecureResolver.cs
- WebPartManagerInternals.cs
- AuthorizationContext.cs
- Floater.cs
- StringFunctions.cs
- RequestNavigateEventArgs.cs
- CommonProperties.cs
- Action.cs
- TemplateApplicationHelper.cs
- Frame.cs
- OneOfScalarConst.cs
- Debug.cs
- PermissionListSet.cs
- WindowAutomationPeer.cs
- ScaleTransform3D.cs
- x509utils.cs
- ErrorRuntimeConfig.cs
- MobileControl.cs
- ButtonChrome.cs
- Pair.cs
- UrlPath.cs
- FeatureAttribute.cs
- NameValueCollection.cs
- QuaternionAnimation.cs
- HtmlTableRow.cs
- ConfigUtil.cs
- ConfigViewGenerator.cs
- SerializableAttribute.cs
- FixedSOMTable.cs
- Internal.cs
- SrgsElement.cs
- SafeRightsManagementSessionHandle.cs
- SqlDataRecord.cs
- DataGridViewUtilities.cs
- XmlStreamStore.cs
- ToolStripRendererSwitcher.cs
- HtmlInputPassword.cs
- ListView.cs
- LayoutUtils.cs
- SerializationBinder.cs
- DiagnosticSection.cs
- SystemWebSectionGroup.cs
- xsdvalidator.cs
- ConstraintConverter.cs
- DataFormats.cs
- ProfilePropertyNameValidator.cs
- TypeDelegator.cs
- Trigger.cs
- PolyLineSegmentFigureLogic.cs
- validationstate.cs
- WindowsScrollBarBits.cs
- IsolatedStorageFilePermission.cs
- DesignerAttribute.cs