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
- MetadataArtifactLoaderCompositeFile.cs
- EntityDataSourceValidationException.cs
- Hash.cs
- Pair.cs
- EpmSourceTree.cs
- Substitution.cs
- SettingsProperty.cs
- MergeFailedEvent.cs
- TextParagraphCache.cs
- BitmapEffectDrawingContextWalker.cs
- FileLoadException.cs
- SiteMembershipCondition.cs
- OutputCacheModule.cs
- ArglessEventHandlerProxy.cs
- KeyEventArgs.cs
- ExpressionPrinter.cs
- PersonalizationProviderCollection.cs
- DesignerVerbCollection.cs
- NetTcpSection.cs
- Rect3DConverter.cs
- HttpTransportManager.cs
- HTTPNotFoundHandler.cs
- ManualResetEvent.cs
- ClrProviderManifest.cs
- HttpCookiesSection.cs
- arclist.cs
- RightsManagementPermission.cs
- Rotation3DAnimation.cs
- WindowsListViewGroupHelper.cs
- BaseResourcesBuildProvider.cs
- SafeWaitHandle.cs
- ApplicationId.cs
- SpeechSeg.cs
- OracleBinary.cs
- Symbol.cs
- ToolZone.cs
- AuthenticationModuleElement.cs
- WebPageTraceListener.cs
- ListViewItem.cs
- SR.cs
- CodeConditionStatement.cs
- PropertyChangedEventArgs.cs
- GradientStop.cs
- ModelTreeManager.cs
- IsolatedStorageException.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ConsoleKeyInfo.cs
- CharEnumerator.cs
- PageAsyncTaskManager.cs
- ContextActivityUtils.cs
- SqlCacheDependencySection.cs
- CompilationPass2TaskInternal.cs
- ProviderConnectionPoint.cs
- TextTreeInsertElementUndoUnit.cs
- NonParentingControl.cs
- UInt16.cs
- SafeFileMappingHandle.cs
- ProcessInfo.cs
- WindowsSpinner.cs
- Int16Animation.cs
- SolidColorBrush.cs
- ProxyWebPart.cs
- FocusTracker.cs
- _LocalDataStoreMgr.cs
- TableLayoutStyleCollection.cs
- DataGridViewColumnConverter.cs
- httpstaticobjectscollection.cs
- TreeNodeBindingCollection.cs
- SmtpDateTime.cs
- TrustSection.cs
- ScriptControlDescriptor.cs
- SortedSet.cs
- XmlText.cs
- DbProviderFactoriesConfigurationHandler.cs
- PagesChangedEventArgs.cs
- TextBoxBase.cs
- CachedBitmap.cs
- PathSegmentCollection.cs
- ConfigurationManagerInternal.cs
- ReadOnlyCollectionBase.cs
- BulletedListDesigner.cs
- RoutedEventConverter.cs
- TemplateColumn.cs
- ComNativeDescriptor.cs
- ElementHost.cs
- Size.cs
- Splitter.cs
- Registry.cs
- WorkflowInvoker.cs
- ExpressionConverter.cs
- UnsafeNativeMethods.cs
- UnsafeNativeMethods.cs
- DayRenderEvent.cs
- TabItemAutomationPeer.cs
- CrossAppDomainChannel.cs
- HttpFileCollection.cs
- SvcMapFileLoader.cs
- Byte.cs
- ToolStripHighContrastRenderer.cs
- ConstraintEnumerator.cs