Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / RefreshEventArgs.cs / 1 / 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
- DecimalAnimationBase.cs
- SqlMethodAttribute.cs
- DispatchChannelSink.cs
- DataGridViewCellValueEventArgs.cs
- XPathDescendantIterator.cs
- HttpCapabilitiesBase.cs
- TextDecorationCollection.cs
- UiaCoreApi.cs
- QuadraticEase.cs
- AndMessageFilterTable.cs
- SHA1Cng.cs
- DesignerCategoryAttribute.cs
- IntersectQueryOperator.cs
- XmlQueryContext.cs
- ApplicationSettingsBase.cs
- DeploymentSectionCache.cs
- ListBindableAttribute.cs
- SchemaTypeEmitter.cs
- ButtonBaseAutomationPeer.cs
- SafeRightsManagementEnvironmentHandle.cs
- EntityDataSourceMemberPath.cs
- IdentityNotMappedException.cs
- AlignmentYValidation.cs
- XmlSerializationReader.cs
- SizeChangedInfo.cs
- BinaryKeyIdentifierClause.cs
- MetadataArtifactLoaderCompositeResource.cs
- PlainXmlSerializer.cs
- ExpressionBuilderContext.cs
- FtpRequestCacheValidator.cs
- PropagatorResult.cs
- ConfigPathUtility.cs
- WebConfigurationHostFileChange.cs
- ButtonChrome.cs
- EnumerationRangeValidationUtil.cs
- EnumerableCollectionView.cs
- GenerateTemporaryTargetAssembly.cs
- PlatformCulture.cs
- PostBackOptions.cs
- ApplicationDirectoryMembershipCondition.cs
- HtmlInputPassword.cs
- DefaultMergeHelper.cs
- DelayedRegex.cs
- XmlSiteMapProvider.cs
- UserControlCodeDomTreeGenerator.cs
- FileLevelControlBuilderAttribute.cs
- CompilerParameters.cs
- SessionEndedEventArgs.cs
- ValuePattern.cs
- CompoundFileStorageReference.cs
- CompiledQuery.cs
- HierarchicalDataBoundControl.cs
- Grid.cs
- SqlCacheDependency.cs
- TextEditorCopyPaste.cs
- BreakSafeBase.cs
- X509CertificateRecipientClientCredential.cs
- RegionData.cs
- AutomationAttributeInfo.cs
- MetadataArtifactLoaderResource.cs
- SynchronizationLockException.cs
- RadioButtonBaseAdapter.cs
- ImageAttributes.cs
- Mapping.cs
- XXXInfos.cs
- SetterBase.cs
- OleDbParameterCollection.cs
- CompilerLocalReference.cs
- SubMenuStyleCollection.cs
- SqlGenerator.cs
- StringKeyFrameCollection.cs
- AddDataControlFieldDialog.cs
- PnrpPeerResolverElement.cs
- BitStack.cs
- HandlerFactoryCache.cs
- XmlImplementation.cs
- NavigatorInvalidBodyAccessException.cs
- ColorInterpolationModeValidation.cs
- Win32Exception.cs
- CancellationHandlerDesigner.cs
- StopRoutingHandler.cs
- GregorianCalendar.cs
- BaseCollection.cs
- UserValidatedEventArgs.cs
- SortAction.cs
- SecurityIdentifierElementCollection.cs
- DrawingAttributesDefaultValueFactory.cs
- DefaultSettingsSection.cs
- Monitor.cs
- MobileComponentEditorPage.cs
- HotSpotCollection.cs
- MetadataAssemblyHelper.cs
- SourceFilter.cs
- Int32Rect.cs
- TransformCollection.cs
- tibetanshape.cs
- ReversePositionQuery.cs
- AVElementHelper.cs
- XPathParser.cs
- ObjectSecurityT.cs