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
- SkipStoryboardToFill.cs
- DispatcherHooks.cs
- DataGridViewCellStyle.cs
- ExtendedTransformFactory.cs
- CodeIdentifiers.cs
- ActivityIdHeader.cs
- DataGridViewCellEventArgs.cs
- AudioException.cs
- MemberPathMap.cs
- LinqDataSourceContextEventArgs.cs
- EventLogPermissionEntry.cs
- XPathMultyIterator.cs
- ToolStripDropTargetManager.cs
- CurrentChangingEventArgs.cs
- DataSourceConverter.cs
- DispatcherHookEventArgs.cs
- WebControlsSection.cs
- SortedDictionary.cs
- MetadataUtil.cs
- TypeHelpers.cs
- AlphaSortedEnumConverter.cs
- IISMapPath.cs
- XmlConverter.cs
- brushes.cs
- ScriptManager.cs
- Thread.cs
- coordinatorscratchpad.cs
- ExceptionUtil.cs
- DesignerTransaction.cs
- SchemaTableOptionalColumn.cs
- CustomWebEventKey.cs
- TraceListener.cs
- PeerPresenceInfo.cs
- DefaultHttpHandler.cs
- ReaderWriterLockWrapper.cs
- RsaSecurityTokenAuthenticator.cs
- NavigatingCancelEventArgs.cs
- HttpContext.cs
- PageClientProxyGenerator.cs
- HostExecutionContextManager.cs
- DefaultParameterValueAttribute.cs
- FieldAccessException.cs
- IncrementalReadDecoders.cs
- DiscoveryVersion.cs
- SystemIPInterfaceStatistics.cs
- StringArrayConverter.cs
- WSFederationHttpSecurityElement.cs
- Enumerable.cs
- CodeDirectionExpression.cs
- FunctionDetailsReader.cs
- MenuAutomationPeer.cs
- HtmlLink.cs
- TypedColumnHandler.cs
- NameSpaceExtractor.cs
- MinimizableAttributeTypeConverter.cs
- EventProviderWriter.cs
- SqlDataSourceFilteringEventArgs.cs
- InitializationEventAttribute.cs
- unsafeIndexingFilterStream.cs
- ToggleButton.cs
- WebServiceTypeData.cs
- DataGridViewRowPrePaintEventArgs.cs
- FrameworkElementFactory.cs
- Fault.cs
- SmiTypedGetterSetter.cs
- PrinterResolution.cs
- DataGridViewRowPostPaintEventArgs.cs
- HttpModuleActionCollection.cs
- EndpointDispatcherTable.cs
- Run.cs
- DataGridViewCellLinkedList.cs
- SapiInterop.cs
- Boolean.cs
- RecipientInfo.cs
- ToolStripDropDownMenu.cs
- FixedFlowMap.cs
- XmlPropertyBag.cs
- ResXDataNode.cs
- ParseHttpDate.cs
- EncoderExceptionFallback.cs
- PageContentCollection.cs
- NetworkCredential.cs
- OSFeature.cs
- EnvironmentPermission.cs
- Geometry3D.cs
- SizeConverter.cs
- TextCharacters.cs
- SerializationBinder.cs
- DataTableCollection.cs
- Stack.cs
- SqlDataReaderSmi.cs
- DocumentViewerAutomationPeer.cs
- SymbolMethod.cs
- Debug.cs
- WorkflowRuntimeService.cs
- PolicyStatement.cs
- WindowsProgressbar.cs
- DynamicResourceExtension.cs
- BoolExpression.cs
- ArraySubsetEnumerator.cs