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
- GridItemPattern.cs
- ChannelSinkStacks.cs
- XmlSchemaInfo.cs
- ToolStripItemCollection.cs
- CommandTreeTypeHelper.cs
- Timeline.cs
- HttpProfileGroupBase.cs
- OdbcException.cs
- TypeProvider.cs
- AuthorizationRuleCollection.cs
- ParenthesizePropertyNameAttribute.cs
- XmlElement.cs
- ProfileService.cs
- SoapExtensionTypeElement.cs
- AnyAllSearchOperator.cs
- SQLDecimal.cs
- DbMetaDataFactory.cs
- VectorKeyFrameCollection.cs
- DefaultEvaluationContext.cs
- BoolLiteral.cs
- CacheVirtualItemsEvent.cs
- UniqueConstraint.cs
- IndependentlyAnimatedPropertyMetadata.cs
- CodeMemberProperty.cs
- SharedUtils.cs
- FilteredDataSetHelper.cs
- TraceInternal.cs
- RefreshPropertiesAttribute.cs
- SqlDataSourceQueryEditorForm.cs
- SafeProcessHandle.cs
- ImageField.cs
- HighContrastHelper.cs
- CodeTypeOfExpression.cs
- WSSecurityXXX2005.cs
- ExtensibleClassFactory.cs
- BuildProvider.cs
- EventLogEntryCollection.cs
- UpdateManifestForBrowserApplication.cs
- KeyFrames.cs
- IdentitySection.cs
- DataGridGeneralPage.cs
- VirtualDirectoryMapping.cs
- EventLogQuery.cs
- ViewCellRelation.cs
- VBCodeProvider.cs
- Transactions.cs
- IPPacketInformation.cs
- TemplateApplicationHelper.cs
- Viewport3DAutomationPeer.cs
- DaylightTime.cs
- AlphabeticalEnumConverter.cs
- CodeEventReferenceExpression.cs
- ExponentialEase.cs
- Stacktrace.cs
- DBDataPermissionAttribute.cs
- GridView.cs
- HyperLinkColumn.cs
- XmlSchemaInferenceException.cs
- ConstraintCollection.cs
- ReadOnlyMetadataCollection.cs
- TextSpanModifier.cs
- WorkflowNamespace.cs
- LineUtil.cs
- ComboBoxItem.cs
- SessionStateContainer.cs
- TimeSpan.cs
- ServiceModelSecurityTokenRequirement.cs
- FormsAuthenticationCredentials.cs
- Triplet.cs
- UseLicense.cs
- BoundField.cs
- DataGridViewTextBoxCell.cs
- Vars.cs
- OleAutBinder.cs
- EntitySqlQueryCacheEntry.cs
- ObjectTypeMapping.cs
- CapabilitiesRule.cs
- Thread.cs
- AutoResetEvent.cs
- MissingFieldException.cs
- HttpCapabilitiesBase.cs
- PasswordPropertyTextAttribute.cs
- WeakRefEnumerator.cs
- XmlNodeList.cs
- BuildProvider.cs
- ComAdminWrapper.cs
- ExclusiveTcpTransportManager.cs
- SoapCommonClasses.cs
- DataSvcMapFileSerializer.cs
- PathGeometry.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TextDecorations.cs
- MemoryMappedFileSecurity.cs
- PagerSettings.cs
- EncoderBestFitFallback.cs
- ElementMarkupObject.cs
- PreProcessor.cs
- Internal.cs
- RuntimeWrappedException.cs
- MetadataPropertyvalue.cs