Code:
/ FX-1434 / FX-1434 / 1.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
- ObjectSerializerFactory.cs
- MissingMemberException.cs
- ClientSettingsProvider.cs
- ZoneLinkButton.cs
- Selection.cs
- StringValidatorAttribute.cs
- ResolveResponse.cs
- wgx_exports.cs
- WithParamAction.cs
- StreamAsIStream.cs
- ImageAnimator.cs
- _SslSessionsCache.cs
- ActivityWithResultWrapper.cs
- AsyncMethodInvoker.cs
- TimeSpanStorage.cs
- SizeAnimationUsingKeyFrames.cs
- SqlUtil.cs
- QueryOutputWriter.cs
- PageParser.cs
- FocusTracker.cs
- SafeNativeMethods.cs
- HttpHandlersSection.cs
- TrackingDataItem.cs
- CodeAttributeDeclarationCollection.cs
- BasePattern.cs
- PixelShader.cs
- SmtpDateTime.cs
- SchemaCollectionCompiler.cs
- FileLevelControlBuilderAttribute.cs
- WebServiceFaultDesigner.cs
- Point.cs
- IncrementalCompileAnalyzer.cs
- PhysicalOps.cs
- Overlapped.cs
- Membership.cs
- CultureNotFoundException.cs
- AutomationProperty.cs
- MediaElement.cs
- ScriptingSectionGroup.cs
- OpenTypeLayoutCache.cs
- AdRotator.cs
- AlignmentXValidation.cs
- SessionStateContainer.cs
- OperandQuery.cs
- FileSecurity.cs
- FileSecurity.cs
- WindowsTreeView.cs
- SqlCacheDependencyDatabase.cs
- XsltLoader.cs
- WSMessageEncoding.cs
- QilReplaceVisitor.cs
- PackagePart.cs
- InputElement.cs
- mediapermission.cs
- EpmContentDeSerializerBase.cs
- DmlSqlGenerator.cs
- VersionValidator.cs
- RepeaterItemCollection.cs
- DockPatternIdentifiers.cs
- RouteItem.cs
- RegexRunnerFactory.cs
- LinearGradientBrush.cs
- DataGridViewAdvancedBorderStyle.cs
- Label.cs
- PeerObject.cs
- OleDbConnectionInternal.cs
- DataListItem.cs
- ExpressionVisitorHelpers.cs
- PersonalizationState.cs
- AmbientLight.cs
- DynamicPropertyHolder.cs
- ReadWriteObjectLock.cs
- ControlOperationInvoker.cs
- SchemaComplexType.cs
- Span.cs
- TraceLog.cs
- SymbolPair.cs
- SSmlParser.cs
- HeaderedContentControl.cs
- EFTableProvider.cs
- filewebresponse.cs
- DataGridViewTextBoxColumn.cs
- ThreadAttributes.cs
- RelatedCurrencyManager.cs
- XmlWrappingReader.cs
- WebEncodingValidatorAttribute.cs
- SerializableAttribute.cs
- AsyncCompletedEventArgs.cs
- SimpleNameService.cs
- StaticDataManager.cs
- HitTestResult.cs
- InvalidCastException.cs
- Size3DConverter.cs
- PrimitiveXmlSerializers.cs
- SuppressMessageAttribute.cs
- XPathNode.cs
- FormatConvertedBitmap.cs
- DebugView.cs
- RegexCaptureCollection.cs
- CacheAxisQuery.cs