Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / RefreshEventArgs.cs / 1305376 / RefreshEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class RefreshEventArgs : EventArgs { private object componentChanged; private Type typeChanged; ////// Provides data for the ///event. /// /// public RefreshEventArgs(object componentChanged) { this.componentChanged = componentChanged; this.typeChanged = componentChanged.GetType(); } ////// Initializes a new instance of the ///class with /// the component that has /// changed. /// /// public RefreshEventArgs(Type typeChanged) { this.typeChanged = typeChanged; } ////// Initializes a new instance of the ///class with /// the type /// of component that has changed. /// /// public object ComponentChanged { get { return componentChanged; } } ////// Gets the component that has changed /// its properties, events, or /// extenders. /// ////// public Type TypeChanged { get { return typeChanged; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets the type that has changed its properties, or events. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class RefreshEventArgs : EventArgs { private object componentChanged; private Type typeChanged; ////// Provides data for the ///event. /// /// public RefreshEventArgs(object componentChanged) { this.componentChanged = componentChanged; this.typeChanged = componentChanged.GetType(); } ////// Initializes a new instance of the ///class with /// the component that has /// changed. /// /// public RefreshEventArgs(Type typeChanged) { this.typeChanged = typeChanged; } ////// Initializes a new instance of the ///class with /// the type /// of component that has changed. /// /// public object ComponentChanged { get { return componentChanged; } } ////// Gets the component that has changed /// its properties, events, or /// extenders. /// ////// public Type TypeChanged { get { return typeChanged; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the type that has changed its properties, or events. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeViewCancelEvent.cs
- ValueType.cs
- WebPartEventArgs.cs
- TdsParserSafeHandles.cs
- OAVariantLib.cs
- SizeAnimationClockResource.cs
- WebPartsPersonalizationAuthorization.cs
- Attribute.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SqlPersonalizationProvider.cs
- QilName.cs
- WorkflowEnvironment.cs
- TimelineGroup.cs
- XPathSelfQuery.cs
- DigestComparer.cs
- RegularExpressionValidator.cs
- XPathItem.cs
- MaskPropertyEditor.cs
- ProxyAttribute.cs
- MessageLoggingElement.cs
- ContentPresenter.cs
- BorderSidesEditor.cs
- RelatedEnd.cs
- SyndicationItemFormatter.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- XmlStreamNodeWriter.cs
- DocumentApplicationJournalEntry.cs
- XmlTextReaderImpl.cs
- Mapping.cs
- MissingFieldException.cs
- EarlyBoundInfo.cs
- GraphicsPathIterator.cs
- VisualTreeUtils.cs
- StylusLogic.cs
- CompoundFileReference.cs
- ModelPropertyImpl.cs
- StandardCommandToolStripMenuItem.cs
- MultiSelector.cs
- ValueTable.cs
- DefaultTextStore.cs
- SystemWebSectionGroup.cs
- ContainerControl.cs
- GACMembershipCondition.cs
- RoleServiceManager.cs
- PropertyBuilder.cs
- DetailsViewUpdateEventArgs.cs
- UriTemplateDispatchFormatter.cs
- ListDataHelper.cs
- ComplusEndpointConfigContainer.cs
- SqlClientPermission.cs
- HttpModulesSection.cs
- TextRenderingModeValidation.cs
- NativeMethods.cs
- UrlUtility.cs
- CachedBitmap.cs
- DbConnectionPoolIdentity.cs
- MissingMethodException.cs
- WizardStepBase.cs
- MemoryResponseElement.cs
- FormsAuthentication.cs
- SqlProfileProvider.cs
- XmlNamespaceDeclarationsAttribute.cs
- CodeBinaryOperatorExpression.cs
- MultiTrigger.cs
- SafeNativeMethods.cs
- SqlUdtInfo.cs
- EditCommandColumn.cs
- Currency.cs
- ProjectionQueryOptionExpression.cs
- TransactionChannel.cs
- UnaryQueryOperator.cs
- EnterpriseServicesHelper.cs
- VirtualPath.cs
- CryptoApi.cs
- ServiceContractListItemList.cs
- SimpleMailWebEventProvider.cs
- KeyPressEvent.cs
- HtmlTableCell.cs
- Win32.cs
- PeerInputChannel.cs
- DateTimeOffsetAdapter.cs
- WebPartCloseVerb.cs
- OdbcRowUpdatingEvent.cs
- SystemParameters.cs
- RubberbandSelector.cs
- AccessDataSourceDesigner.cs
- ResourcePool.cs
- FrameworkElement.cs
- _NetworkingPerfCounters.cs
- CqlGenerator.cs
- AtomEntry.cs
- storepermission.cs
- OdbcStatementHandle.cs
- SHA256CryptoServiceProvider.cs
- AmbientLight.cs
- OdbcReferenceCollection.cs
- BitmapFrameEncode.cs
- TypeConverterHelper.cs
- CurrencyManager.cs
- Duration.cs