Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- RequestQueue.cs
- ObjectDataSourceEventArgs.cs
- Options.cs
- MatrixAnimationBase.cs
- MatrixAnimationBase.cs
- TemplateInstanceAttribute.cs
- CodeGeneratorOptions.cs
- LayoutSettings.cs
- DataGridSortCommandEventArgs.cs
- AttributeCollection.cs
- MetadataProperty.cs
- Hashtable.cs
- XmlRawWriter.cs
- RtfToXamlLexer.cs
- TextBoxLine.cs
- CrossContextChannel.cs
- WebConfigurationHostFileChange.cs
- WebSysDisplayNameAttribute.cs
- TextRunCacheImp.cs
- WindowsListViewSubItem.cs
- OdbcConnectionHandle.cs
- FontUnitConverter.cs
- KeyBinding.cs
- LinqDataSourceDisposeEventArgs.cs
- WebPartManagerDesigner.cs
- WpfXamlLoader.cs
- UIPermission.cs
- StylusLogic.cs
- EmptyElement.cs
- Privilege.cs
- LocatorManager.cs
- ImageInfo.cs
- PartBasedPackageProperties.cs
- PathFigureCollection.cs
- TraceHandlerErrorFormatter.cs
- RuntimeConfigurationRecord.cs
- CodeValidator.cs
- IItemProperties.cs
- Pair.cs
- EndpointFilterProvider.cs
- Trigger.cs
- TextTrailingCharacterEllipsis.cs
- DrawingState.cs
- DesignerVerbCollection.cs
- TextTreeText.cs
- SendOperation.cs
- VisualStyleTypesAndProperties.cs
- KerberosRequestorSecurityToken.cs
- ColorConvertedBitmapExtension.cs
- DesignerDataStoredProcedure.cs
- SqlTypeSystemProvider.cs
- ObsoleteAttribute.cs
- CompiledIdentityConstraint.cs
- ADMembershipProvider.cs
- ListBox.cs
- TypeConverterMarkupExtension.cs
- RightsManagementErrorHandler.cs
- DbProviderSpecificTypePropertyAttribute.cs
- HashAlgorithm.cs
- ButtonFieldBase.cs
- ZipIOModeEnforcingStream.cs
- MouseEventArgs.cs
- HttpProtocolReflector.cs
- ExtenderHelpers.cs
- AttachedAnnotationChangedEventArgs.cs
- LocationUpdates.cs
- Logging.cs
- HexParser.cs
- CompoundFileIOPermission.cs
- ByteAnimation.cs
- Serializer.cs
- BindingWorker.cs
- ErrorProvider.cs
- NamespaceInfo.cs
- Rectangle.cs
- unsafenativemethodstextservices.cs
- CommonDialog.cs
- AdapterUtil.cs
- WindowsFormsSectionHandler.cs
- dataprotectionpermission.cs
- ImageInfo.cs
- SettingsPropertyCollection.cs
- PenLineJoinValidation.cs
- SchemaElementLookUpTable.cs
- DataBindingCollection.cs
- GlyphTypeface.cs
- SoapExtension.cs
- DoubleAnimation.cs
- BrushValueSerializer.cs
- XmlElementAttributes.cs
- IndexExpression.cs
- AccessDataSource.cs
- OrderedParallelQuery.cs
- _Connection.cs
- WebBrowserDocumentCompletedEventHandler.cs
- DesignerActionPanel.cs
- Geometry3D.cs
- ToolStripInSituService.cs
- DataRelationCollection.cs
- EventBuilder.cs