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
- HierarchicalDataBoundControlAdapter.cs
- ObjectStateFormatter.cs
- DesignerLoader.cs
- TagElement.cs
- DebuggerAttributes.cs
- Trace.cs
- XmlCharCheckingReader.cs
- ConditionCollection.cs
- NodeFunctions.cs
- BuildProviderCollection.cs
- CheckedListBox.cs
- ResourceLoader.cs
- RectangleConverter.cs
- EventDescriptor.cs
- DbConnectionPoolIdentity.cs
- DropSource.cs
- SqlCacheDependencyDatabase.cs
- ListViewContainer.cs
- MatrixStack.cs
- ResourceExpression.cs
- ObjectViewEntityCollectionData.cs
- SystemIPv6InterfaceProperties.cs
- MultipleViewProviderWrapper.cs
- ContainerParaClient.cs
- CompositionTarget.cs
- AnnotationObservableCollection.cs
- MaterialCollection.cs
- RenderDataDrawingContext.cs
- XamlSerializer.cs
- AuthenticatedStream.cs
- OpCopier.cs
- OleAutBinder.cs
- FormViewRow.cs
- SchemaElementDecl.cs
- UndirectedGraph.cs
- Authorization.cs
- ImageBrush.cs
- LocalBuilder.cs
- ColumnPropertiesGroup.cs
- HttpAsyncResult.cs
- XPathMultyIterator.cs
- AnimatedTypeHelpers.cs
- InputLanguageManager.cs
- _SafeNetHandles.cs
- safesecurityhelperavalon.cs
- PackWebRequestFactory.cs
- QuaternionAnimation.cs
- BitStack.cs
- XmlCharCheckingReader.cs
- XmlKeywords.cs
- FocusChangedEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- CompensationExtension.cs
- MembershipValidatePasswordEventArgs.cs
- InvalidPrinterException.cs
- ToolBarOverflowPanel.cs
- EventRouteFactory.cs
- OptimizerPatterns.cs
- AcceleratedTokenProviderState.cs
- TableItemPattern.cs
- AttachedPropertyMethodSelector.cs
- HelpKeywordAttribute.cs
- ObjectList.cs
- SafeNativeMethodsOther.cs
- StaticDataManager.cs
- AccessorTable.cs
- TextUtf8RawTextWriter.cs
- ContextStaticAttribute.cs
- SafeLocalMemHandle.cs
- ListView.cs
- GraphicsContainer.cs
- NetworkInformationPermission.cs
- NamedPermissionSet.cs
- ConfigXmlAttribute.cs
- CompiledQuery.cs
- Rect.cs
- Regex.cs
- ListControl.cs
- CrossSiteScriptingValidation.cs
- FileDialogCustomPlace.cs
- TagMapCollection.cs
- AssemblyBuilder.cs
- TextRenderer.cs
- ConnectionsZoneDesigner.cs
- AttributeProviderAttribute.cs
- InvalidEnumArgumentException.cs
- HighlightVisual.cs
- ILGen.cs
- TransportListener.cs
- XmlEncoding.cs
- EncodingTable.cs
- DrawingVisualDrawingContext.cs
- TextEndOfSegment.cs
- GatewayDefinition.cs
- XmlChildEnumerator.cs
- ContractMethodInfo.cs
- Wildcard.cs
- MembershipSection.cs
- XmlSchemaAny.cs
- HandleRef.cs