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
- InstanceKeyNotReadyException.cs
- ContactManager.cs
- DateTimeValueSerializerContext.cs
- TraceHandler.cs
- DescriptionAttribute.cs
- Part.cs
- BaseCodeDomTreeGenerator.cs
- DurableRuntimeValidator.cs
- Stack.cs
- VirtualizingStackPanel.cs
- SHA384CryptoServiceProvider.cs
- CodeNamespace.cs
- AsymmetricKeyExchangeDeformatter.cs
- SqlClientFactory.cs
- ThemeDictionaryExtension.cs
- LicenseException.cs
- WhitespaceRule.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- TableLayoutPanelResizeGlyph.cs
- printdlgexmarshaler.cs
- RIPEMD160.cs
- NameSpaceEvent.cs
- RuleSettingsCollection.cs
- PagesSection.cs
- TextEditorThreadLocalStore.cs
- CodePrimitiveExpression.cs
- CroppedBitmap.cs
- While.cs
- TagPrefixAttribute.cs
- SR.cs
- OracleConnectionString.cs
- WorkflowStateRollbackService.cs
- HeaderUtility.cs
- XmlExtensionFunction.cs
- PartialClassGenerationTask.cs
- MobileTextWriter.cs
- Command.cs
- BoundField.cs
- DataSvcMapFile.cs
- FixedPosition.cs
- DropShadowBitmapEffect.cs
- SyndicationSerializer.cs
- WebPartZoneBaseDesigner.cs
- OpenFileDialog.cs
- StylusButtonEventArgs.cs
- SafeRightsManagementPubHandle.cs
- BufferedGraphics.cs
- RemotingConfigParser.cs
- DataGridViewImageCell.cs
- Win32KeyboardDevice.cs
- XmlSchemaGroup.cs
- XhtmlTextWriter.cs
- GiveFeedbackEvent.cs
- StreamHelper.cs
- FocusManager.cs
- ContextStaticAttribute.cs
- EventHandlerList.cs
- TextEffectResolver.cs
- PropertyPushdownHelper.cs
- AddInStore.cs
- XmlPropertyBag.cs
- DocumentApplication.cs
- ListSurrogate.cs
- DataGridColumn.cs
- EventBindingService.cs
- URLAttribute.cs
- RelationshipEnd.cs
- DataGridTableCollection.cs
- TextAdaptor.cs
- CodeNamespace.cs
- Wizard.cs
- Module.cs
- SQLBinaryStorage.cs
- InvalidCastException.cs
- ConfigurationFileMap.cs
- SynthesizerStateChangedEventArgs.cs
- SynchronizedDispatch.cs
- PenLineJoinValidation.cs
- DbParameterCollectionHelper.cs
- ItemCollection.cs
- ApplicationException.cs
- ProfileGroupSettingsCollection.cs
- errorpatternmatcher.cs
- DockAndAnchorLayout.cs
- COAUTHINFO.cs
- Validator.cs
- CategoryGridEntry.cs
- versioninfo.cs
- RadioButtonPopupAdapter.cs
- NotifyIcon.cs
- ListChangedEventArgs.cs
- EncryptedReference.cs
- ObjectListCommandCollection.cs
- DesigntimeLicenseContext.cs
- xml.cs
- Pair.cs
- HttpListenerPrefixCollection.cs
- HostExecutionContextManager.cs
- ServiceDebugBehavior.cs
- XmlSchemaInferenceException.cs