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
- LoadedEvent.cs
- MethodExpr.cs
- UserControl.cs
- TextModifierScope.cs
- XmlNodeChangedEventArgs.cs
- DocumentStream.cs
- DeploymentExceptionMapper.cs
- NameTable.cs
- DragSelectionMessageFilter.cs
- RemotingException.cs
- TextEditorCopyPaste.cs
- SpecularMaterial.cs
- MembershipAdapter.cs
- SafeSecurityHandles.cs
- DataGridItemCollection.cs
- ThreadLocal.cs
- AxisAngleRotation3D.cs
- OracleConnection.cs
- SettingsPropertyValueCollection.cs
- StaticResourceExtension.cs
- LoginName.cs
- IntegerCollectionEditor.cs
- XmlBaseWriter.cs
- MenuItem.cs
- DbMetaDataFactory.cs
- AddDataControlFieldDialog.cs
- IChannel.cs
- DrawingAttributesDefaultValueFactory.cs
- BatchParser.cs
- DesignTimeType.cs
- SystemIPInterfaceProperties.cs
- ListView.cs
- Literal.cs
- StrokeNodeOperations2.cs
- NamespaceCollection.cs
- SqlBulkCopy.cs
- Int32RectValueSerializer.cs
- ListViewHitTestInfo.cs
- JavaScriptString.cs
- CapabilitiesState.cs
- EntityContainerEmitter.cs
- SqlParameterizer.cs
- XamlReaderHelper.cs
- HtmlInputRadioButton.cs
- RangeBaseAutomationPeer.cs
- X509UI.cs
- GenericTypeParameterBuilder.cs
- AuthorizationRuleCollection.cs
- EntitySqlException.cs
- MSHTMLHost.cs
- SecurityTokenException.cs
- ObjectStateEntry.cs
- PackageDigitalSignatureManager.cs
- DataBoundControl.cs
- CounterCreationData.cs
- GeneralTransform2DTo3D.cs
- DataBindingCollection.cs
- AttributeTableBuilder.cs
- InArgumentConverter.cs
- LexicalChunk.cs
- EventProvider.cs
- MemberHolder.cs
- GlyphCollection.cs
- WebFaultClientMessageInspector.cs
- DataObjectEventArgs.cs
- Point4D.cs
- ExtractorMetadata.cs
- TextServicesLoader.cs
- CrossSiteScriptingValidation.cs
- Function.cs
- HwndSourceParameters.cs
- Win32.cs
- MethodToken.cs
- QilSortKey.cs
- WindowsSysHeader.cs
- WindowsGraphicsCacheManager.cs
- CodeGenerator.cs
- BitmapEncoder.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TextMessageEncodingElement.cs
- MethodImplAttribute.cs
- CqlErrorHelper.cs
- Unit.cs
- ArraySubsetEnumerator.cs
- MsmqHostedTransportManager.cs
- StringStorage.cs
- ChannelProtectionRequirements.cs
- Attribute.cs
- FixedBufferAttribute.cs
- JumpItem.cs
- SecurityKeyIdentifierClause.cs
- OptimizedTemplateContentHelper.cs
- FlagsAttribute.cs
- TabControl.cs
- NodeLabelEditEvent.cs
- ComplexBindingPropertiesAttribute.cs
- XmlCharacterData.cs
- Baml2006SchemaContext.cs
- PtsContext.cs
- ElementsClipboardData.cs