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
- Update.cs
- ContentDisposition.cs
- XmlQueryRuntime.cs
- Light.cs
- XhtmlConformanceSection.cs
- ValidationSummary.cs
- DocumentPage.cs
- PrimitiveSchema.cs
- DocumentSequenceHighlightLayer.cs
- DataTableNewRowEvent.cs
- GregorianCalendar.cs
- SimpleBitVector32.cs
- MsmqChannelListenerBase.cs
- AttachedAnnotation.cs
- RemoveStoryboard.cs
- Timer.cs
- SplineKeyFrames.cs
- TemplatePropertyEntry.cs
- ContainerParaClient.cs
- DecimalSumAggregationOperator.cs
- EventRecordWrittenEventArgs.cs
- ToolStripButton.cs
- InputBindingCollection.cs
- FastEncoderWindow.cs
- MediaPlayer.cs
- ContentValidator.cs
- RelationshipFixer.cs
- OleDbDataReader.cs
- WinInetCache.cs
- HttpApplicationFactory.cs
- WebPartDeleteVerb.cs
- PowerModeChangedEventArgs.cs
- MSG.cs
- DesignTimeParseData.cs
- MissingMethodException.cs
- PerformanceCounterLib.cs
- CompModHelpers.cs
- TextBoxAutomationPeer.cs
- DbConnectionHelper.cs
- Pair.cs
- WebHttpBehavior.cs
- GeneralTransformGroup.cs
- PolyLineSegmentFigureLogic.cs
- RequestCacheEntry.cs
- SmiRequestExecutor.cs
- Operator.cs
- AmbientProperties.cs
- MarkupCompiler.cs
- RegexGroup.cs
- ReadOnlyNameValueCollection.cs
- DataFormat.cs
- UnitySerializationHolder.cs
- EntitySqlQueryCacheKey.cs
- CircleHotSpot.cs
- InvalidCastException.cs
- DataObjectMethodAttribute.cs
- ConnectionsZone.cs
- ImageListStreamer.cs
- TextTreeExtractElementUndoUnit.cs
- SQLDecimalStorage.cs
- DbConnectionPoolIdentity.cs
- SqlBuilder.cs
- DbConnectionFactory.cs
- ProgressChangedEventArgs.cs
- PassportPrincipal.cs
- HtmlTableRow.cs
- EraserBehavior.cs
- TriggerActionCollection.cs
- AsymmetricKeyExchangeDeformatter.cs
- NavigationService.cs
- UserValidatedEventArgs.cs
- UserControlParser.cs
- WpfSharedXamlSchemaContext.cs
- Array.cs
- PerfProviderCollection.cs
- QuinticEase.cs
- FastEncoderWindow.cs
- RenderContext.cs
- BitmapEffectGeneralTransform.cs
- BamlRecordHelper.cs
- XslNumber.cs
- VectorCollection.cs
- InkCollectionBehavior.cs
- SaveFileDialog.cs
- SmtpNetworkElement.cs
- XmlSchemaAttributeGroupRef.cs
- TextTreeObjectNode.cs
- StylusPointPropertyUnit.cs
- TypedReference.cs
- MobileComponentEditorPage.cs
- BitmapEffectState.cs
- TabControl.cs
- BufferedReadStream.cs
- WebPartUtil.cs
- InkCanvasInnerCanvas.cs
- BlockUIContainer.cs
- DataControlPagerLinkButton.cs
- oledbmetadatacollectionnames.cs
- StructureChangedEventArgs.cs
- GridViewCancelEditEventArgs.cs