Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / RefreshEventArgs.cs / 1305376 / RefreshEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
///
/// Provides data for the event.
///
///
[HostProtection(SharedState = true)]
public class RefreshEventArgs : EventArgs {
private object componentChanged;
private Type typeChanged;
///
///
/// Initializes a new instance of the class with
/// the component that has
/// changed.
///
///
public RefreshEventArgs(object componentChanged) {
this.componentChanged = componentChanged;
this.typeChanged = componentChanged.GetType();
}
///
///
/// Initializes a new instance of the class with
/// the type
/// of component that has changed.
///
///
public RefreshEventArgs(Type typeChanged) {
this.typeChanged = typeChanged;
}
///
///
/// Gets the component that has changed
/// its properties, events, or
/// extenders.
///
///
public object ComponentChanged {
get {
return componentChanged;
}
}
///
///
/// Gets the type that has changed its properties, or events.
///
///
public Type TypeChanged {
get {
return typeChanged;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogExtentCollection.cs
- VisualTreeUtils.cs
- Function.cs
- ServiceDefaults.cs
- XPathCompiler.cs
- NavigationWindowAutomationPeer.cs
- SpeechRecognitionEngine.cs
- TextWriter.cs
- SettingsProviderCollection.cs
- ToolTipAutomationPeer.cs
- AttributeUsageAttribute.cs
- CacheDependency.cs
- HttpHandlersSection.cs
- OrthographicCamera.cs
- Socket.cs
- HttpDebugHandler.cs
- dsa.cs
- PropertyPath.cs
- RuleSetBrowserDialog.cs
- __FastResourceComparer.cs
- MatrixAnimationUsingKeyFrames.cs
- SinglePhaseEnlistment.cs
- ItemCollection.cs
- WebScriptMetadataMessageEncoderFactory.cs
- MailAddressCollection.cs
- XPathCompiler.cs
- LocalValueEnumerator.cs
- ListBindingHelper.cs
- FormViewPageEventArgs.cs
- PersonalizationAdministration.cs
- StringArrayConverter.cs
- ContentValidator.cs
- TextSelectionHelper.cs
- ObjectDataProvider.cs
- WindowsListViewItem.cs
- EventLogPermissionAttribute.cs
- ConnectionStringsExpressionBuilder.cs
- SelectorItemAutomationPeer.cs
- CompiledXpathExpr.cs
- ContractMethodParameterInfo.cs
- printdlgexmarshaler.cs
- DrawingContextFlattener.cs
- PropertyPathConverter.cs
- OleDbCommandBuilder.cs
- RectAnimationBase.cs
- ByteViewer.cs
- FontEditor.cs
- ControlBuilder.cs
- WebPartConnectionsCloseVerb.cs
- ObjectTag.cs
- LoginView.cs
- CodeConstructor.cs
- codemethodreferenceexpression.cs
- XmlAtomicValue.cs
- FixedSchema.cs
- ProviderException.cs
- Item.cs
- XmlTypeAttribute.cs
- TextReader.cs
- WorkerRequest.cs
- BooleanAnimationBase.cs
- PartBasedPackageProperties.cs
- MDIControlStrip.cs
- DependencyObjectValidator.cs
- StringValidator.cs
- XmlCompatibilityReader.cs
- FontFamily.cs
- PenThreadWorker.cs
- PersonalizationEntry.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- EntityTypeBase.cs
- TypeInitializationException.cs
- DefaultBinder.cs
- WorkItem.cs
- SQLConvert.cs
- SessionParameter.cs
- CriticalFinalizerObject.cs
- Cursor.cs
- FramingFormat.cs
- AllMembershipCondition.cs
- Bits.cs
- PrintPreviewDialog.cs
- webproxy.cs
- ConditionCollection.cs
- FixedTextBuilder.cs
- WmlControlAdapter.cs
- UIElement3DAutomationPeer.cs
- EntryWrittenEventArgs.cs
- RecognizeCompletedEventArgs.cs
- SudsParser.cs
- StorageEndPropertyMapping.cs
- SignedXmlDebugLog.cs
- CompiledXpathExpr.cs
- PathNode.cs
- ZipPackagePart.cs
- DocumentSchemaValidator.cs
- DbProviderFactories.cs
- Selection.cs
- ListViewTableRow.cs