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
- IODescriptionAttribute.cs
- ClientSettingsSection.cs
- FixedTextSelectionProcessor.cs
- XmlILStorageConverter.cs
- X509ImageLogo.cs
- VariableModifiersHelper.cs
- ActivityWithResult.cs
- ColumnCollection.cs
- XpsS0ValidatingLoader.cs
- JapaneseCalendar.cs
- DesignerVerbToolStripMenuItem.cs
- XmlILModule.cs
- TCEAdapterGenerator.cs
- MSHTMLHost.cs
- DiscoveryMessageSequenceCD1.cs
- ToolStripGripRenderEventArgs.cs
- ChannelReliableSession.cs
- CompositeDispatchFormatter.cs
- DBDataPermission.cs
- ExpressionConverter.cs
- ImplicitInputBrush.cs
- RichTextBox.cs
- DataGridHeaderBorder.cs
- Pool.cs
- FixedSchema.cs
- App.cs
- RegexStringValidatorAttribute.cs
- FontTypeConverter.cs
- AssemblyAttributes.cs
- ItemsChangedEventArgs.cs
- ServiceBusyException.cs
- SqlWorkflowInstanceStoreLock.cs
- HitTestWithPointDrawingContextWalker.cs
- DesignDataSource.cs
- SecureStringHasher.cs
- TriggerCollection.cs
- SamlDelegatingWriter.cs
- Condition.cs
- HtmlInputControl.cs
- ComponentEditorPage.cs
- MemberPath.cs
- ClipboardProcessor.cs
- LinearQuaternionKeyFrame.cs
- Deflater.cs
- XmlSchemaSearchPattern.cs
- ReferenceList.cs
- SQLMembershipProvider.cs
- RootBuilder.cs
- __FastResourceComparer.cs
- IdleTimeoutMonitor.cs
- Serializer.cs
- MonthCalendar.cs
- PreservationFileWriter.cs
- CodeGotoStatement.cs
- AnimationClockResource.cs
- UseLicense.cs
- UdpDuplexChannel.cs
- GridViewRowCollection.cs
- ListBox.cs
- XmlElement.cs
- SafeCryptContextHandle.cs
- ConstraintCollection.cs
- StreamWithDictionary.cs
- ExpandableObjectConverter.cs
- PeerMessageDispatcher.cs
- Throw.cs
- AssociationProvider.cs
- TableStyle.cs
- SchemaNotation.cs
- AccessDataSourceView.cs
- FlowLayout.cs
- TemplatedWizardStep.cs
- ListSurrogate.cs
- Processor.cs
- Table.cs
- DataBindingCollection.cs
- AstNode.cs
- RelationshipConverter.cs
- ToolStripComboBox.cs
- PointValueSerializer.cs
- SendOperation.cs
- DataServiceHost.cs
- ChtmlPhoneCallAdapter.cs
- CodeTypeDeclaration.cs
- InternalsVisibleToAttribute.cs
- IDQuery.cs
- PrintDocument.cs
- RelatedView.cs
- ToolStripRenderEventArgs.cs
- ProfilePropertySettingsCollection.cs
- LineServicesRun.cs
- SafePointer.cs
- DataGridViewTextBoxCell.cs
- GeneralTransformGroup.cs
- PeerTransportListenAddressValidator.cs
- DataGridView.cs
- SqlRowUpdatedEvent.cs
- RemoteWebConfigurationHostServer.cs
- DataBindingCollectionConverter.cs
- util.cs