Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // 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
- SplineKeyFrames.cs
- ActiveXHelper.cs
- MetadataArtifactLoaderFile.cs
- XmlText.cs
- AssignDesigner.xaml.cs
- ILGenerator.cs
- ClientRuntimeConfig.cs
- QueryableDataSourceHelper.cs
- CounterSampleCalculator.cs
- MetabaseServerConfig.cs
- SiteMapNodeCollection.cs
- TextViewSelectionProcessor.cs
- TableLayoutSettingsTypeConverter.cs
- LayoutUtils.cs
- EpmSyndicationContentDeSerializer.cs
- ClientProxyGenerator.cs
- BuildManager.cs
- FastPropertyAccessor.cs
- SubclassTypeValidator.cs
- TabItem.cs
- ChangePassword.cs
- LambdaCompiler.Statements.cs
- ConfigurationFileMap.cs
- StrokeIntersection.cs
- BindingListCollectionView.cs
- EnumValidator.cs
- WebPartActionVerb.cs
- StdValidatorsAndConverters.cs
- DrawingVisual.cs
- ResourceSet.cs
- Registry.cs
- DataGridViewImageColumn.cs
- RegexStringValidatorAttribute.cs
- BitSet.cs
- HwndSubclass.cs
- DemultiplexingDispatchMessageFormatter.cs
- InstanceDataCollectionCollection.cs
- SelectionBorderGlyph.cs
- RuntimeHandles.cs
- XmlHelper.cs
- LinqDataSourceHelper.cs
- WhitespaceRuleLookup.cs
- SHA1.cs
- HtmlInputHidden.cs
- PartialCachingControl.cs
- PersistChildrenAttribute.cs
- _ListenerResponseStream.cs
- NetMsmqSecurity.cs
- ResourcePart.cs
- GeneralTransform3D.cs
- DbProviderManifest.cs
- ListBindingConverter.cs
- TimeSpanParse.cs
- PointKeyFrameCollection.cs
- CacheDependency.cs
- AppSettingsSection.cs
- WmlValidationSummaryAdapter.cs
- DropShadowEffect.cs
- XMLSyntaxException.cs
- OrthographicCamera.cs
- Axis.cs
- WebPartCloseVerb.cs
- EventHandlerService.cs
- GeometryConverter.cs
- EventManager.cs
- UIElementParagraph.cs
- ClosableStream.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SetStoryboardSpeedRatio.cs
- ReferenceEqualityComparer.cs
- EnumType.cs
- ServiceThrottle.cs
- XmlSchemaSimpleType.cs
- ContainsSearchOperator.cs
- SyndicationDeserializer.cs
- EndpointInfoCollection.cs
- CheckBoxList.cs
- SqlTypeConverter.cs
- CultureSpecificStringDictionary.cs
- FtpCachePolicyElement.cs
- TimerElapsedEvenArgs.cs
- MeasureItemEvent.cs
- PropertyDescriptor.cs
- HttpHandlerAction.cs
- TraceListener.cs
- OdbcConnectionStringbuilder.cs
- TextEditorThreadLocalStore.cs
- TableCellAutomationPeer.cs
- UrlAuthFailedErrorFormatter.cs
- KeyboardDevice.cs
- ZipPackagePart.cs
- IntAverageAggregationOperator.cs
- MessageLogTraceRecord.cs
- InputBinder.cs
- DocumentsTrace.cs
- FocusTracker.cs
- CodeArrayIndexerExpression.cs
- WizardPanel.cs
- PackageStore.cs
- XmlSchema.cs