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
- ColumnClickEvent.cs
- RequestResizeEvent.cs
- ListBoxItem.cs
- HttpClientCertificate.cs
- GifBitmapEncoder.cs
- Control.cs
- WebPartVerbsEventArgs.cs
- BamlStream.cs
- RenameRuleObjectDialog.cs
- ConfigsHelper.cs
- DataGridViewImageColumn.cs
- SHA256.cs
- PictureBox.cs
- QuaternionValueSerializer.cs
- EndpointBehaviorElementCollection.cs
- Block.cs
- DictionarySectionHandler.cs
- MenuItemStyle.cs
- QilSortKey.cs
- ViewBase.cs
- BitmapScalingModeValidation.cs
- EastAsianLunisolarCalendar.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SystemIPInterfaceStatistics.cs
- OdbcConnectionPoolProviderInfo.cs
- TextSerializer.cs
- SessionStateItemCollection.cs
- FontSourceCollection.cs
- TraceContextRecord.cs
- DataSourceSelectArguments.cs
- QueryConverter.cs
- EventSourceCreationData.cs
- DataBoundControlAdapter.cs
- XmlNamespaceDeclarationsAttribute.cs
- TranslateTransform3D.cs
- FrameworkObject.cs
- TextEndOfLine.cs
- ChtmlLinkAdapter.cs
- StoryFragments.cs
- IconHelper.cs
- NumberFunctions.cs
- XmlWriterSettings.cs
- InputMethod.cs
- RouteCollection.cs
- RelationshipManager.cs
- SchemaMerger.cs
- DeviceContext2.cs
- XmlBufferReader.cs
- PiiTraceSource.cs
- UpdatePanelTriggerCollection.cs
- PathFigure.cs
- odbcmetadatacolumnnames.cs
- XmlSortKeyAccumulator.cs
- CacheForPrimitiveTypes.cs
- FontDialog.cs
- DataBindingCollection.cs
- PageOrientation.cs
- SelectionProviderWrapper.cs
- SqlProviderUtilities.cs
- ServicePoint.cs
- JsonXmlDataContract.cs
- ObjectHelper.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- HttpVersion.cs
- TextCompositionManager.cs
- CodeSpit.cs
- AsymmetricSignatureFormatter.cs
- ButtonColumn.cs
- versioninfo.cs
- EntityDataSourceColumn.cs
- PageRanges.cs
- WsdlInspector.cs
- DynamicUpdateCommand.cs
- DetailsViewUpdateEventArgs.cs
- ActivityXamlServices.cs
- CurrentChangedEventManager.cs
- QilNode.cs
- ObjectDataSourceDisposingEventArgs.cs
- TemplateControl.cs
- SymmetricAlgorithm.cs
- DataSourceXmlElementAttribute.cs
- XXXOnTypeBuilderInstantiation.cs
- Vector3dCollection.cs
- IntersectQueryOperator.cs
- SelectionRange.cs
- XmlCDATASection.cs
- ConstantProjectedSlot.cs
- ImageBrush.cs
- ChildrenQuery.cs
- ConfigXmlElement.cs
- AxParameterData.cs
- InputGestureCollection.cs
- WorkerRequest.cs
- DocumentPaginator.cs
- TreeNodeSelectionProcessor.cs
- GridProviderWrapper.cs
- RegionData.cs
- ResourceAttributes.cs
- XamlStream.cs
- SharedUtils.cs