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
- ColumnHeaderCollectionEditor.cs
- SocketAddress.cs
- TreeNodeCollection.cs
- ExpressionBindingCollection.cs
- InvalidCastException.cs
- AnchoredBlock.cs
- ParameterBuilder.cs
- NavigationCommands.cs
- Types.cs
- SimpleParser.cs
- PageThemeParser.cs
- NativeMethods.cs
- DefaultValueTypeConverter.cs
- XPathExpr.cs
- TreeViewItemAutomationPeer.cs
- RenderContext.cs
- PseudoWebRequest.cs
- FormViewUpdateEventArgs.cs
- XamlHostingConfiguration.cs
- RoutedEventConverter.cs
- Delegate.cs
- RoutedCommand.cs
- SqlRowUpdatedEvent.cs
- Timer.cs
- Table.cs
- GZipStream.cs
- DataGridTable.cs
- MailMessageEventArgs.cs
- SqlBuilder.cs
- DetailsViewDeleteEventArgs.cs
- ChangeTracker.cs
- InspectionWorker.cs
- StrongNameIdentityPermission.cs
- TreeBuilder.cs
- StringKeyFrameCollection.cs
- AvtEvent.cs
- WebPartCollection.cs
- StrokeNodeOperations.cs
- HierarchicalDataBoundControl.cs
- SimpleTextLine.cs
- HttpServerVarsCollection.cs
- StringFreezingAttribute.cs
- DataGrid.cs
- TemplatedEditableDesignerRegion.cs
- UserControlFileEditor.cs
- __Filters.cs
- PrePostDescendentsWalker.cs
- ItemsPanelTemplate.cs
- UnsafeNativeMethods.cs
- PropertyFilterAttribute.cs
- WCFServiceClientProxyGenerator.cs
- DesignerActionMethodItem.cs
- DialogResultConverter.cs
- WindowsTokenRoleProvider.cs
- PermissionAttributes.cs
- WhitespaceRule.cs
- DataColumnChangeEvent.cs
- CodeTypeReferenceExpression.cs
- OleDbCommandBuilder.cs
- RecognizedPhrase.cs
- UnsafeNativeMethods.cs
- FillBehavior.cs
- CopyAttributesAction.cs
- VariableAction.cs
- CalendarAutomationPeer.cs
- ProxySimple.cs
- Number.cs
- CatchDesigner.xaml.cs
- StringExpressionSet.cs
- XPathAncestorIterator.cs
- KeyFrames.cs
- FirstMatchCodeGroup.cs
- CreateUserWizardAutoFormat.cs
- GridViewRowCollection.cs
- EntityParameterCollection.cs
- Vector3DAnimationBase.cs
- Crypto.cs
- ScrollBarRenderer.cs
- LabelLiteral.cs
- StructuralObject.cs
- IsolatedStoragePermission.cs
- MultiPropertyDescriptorGridEntry.cs
- RootProfilePropertySettingsCollection.cs
- DetailsViewRow.cs
- ContextMenu.cs
- CodeAccessPermission.cs
- CodeDirectionExpression.cs
- SourceElementsCollection.cs
- DrawItemEvent.cs
- autovalidator.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- SelectionChangedEventArgs.cs
- XmlSchemaParticle.cs
- Throw.cs
- SystemEvents.cs
- TransformationRules.cs
- RequestCache.cs
- MetadataUtil.cs
- WinFormsComponentEditor.cs
- RandomDelaySendsAsyncResult.cs