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
- OciEnlistContext.cs
- StateMachineWorkflow.cs
- EnumerableCollectionView.cs
- UITypeEditor.cs
- KeyNotFoundException.cs
- SqlGenericUtil.cs
- _UriTypeConverter.cs
- SafeViewOfFileHandle.cs
- CustomAttributeFormatException.cs
- FileInfo.cs
- WebPartZoneCollection.cs
- SqlCharStream.cs
- ExpressionConverter.cs
- RectangleF.cs
- RowTypeElement.cs
- XmlNullResolver.cs
- ProfileProvider.cs
- OneOf.cs
- Vertex.cs
- DiffuseMaterial.cs
- DataContractJsonSerializer.cs
- TransactionException.cs
- __ConsoleStream.cs
- MembershipUser.cs
- HotSpot.cs
- NameTable.cs
- DoubleSumAggregationOperator.cs
- ConnectionManagementElement.cs
- CodeTypeDeclaration.cs
- SchemaTypeEmitter.cs
- MultiSelectRootGridEntry.cs
- HttpPostedFileWrapper.cs
- DataPagerFieldItem.cs
- EncoderReplacementFallback.cs
- ConfigurationSettings.cs
- ComContractElement.cs
- ErrorHandlerModule.cs
- LassoSelectionBehavior.cs
- XmlDataSourceNodeDescriptor.cs
- PackUriHelper.cs
- SqlRowUpdatingEvent.cs
- AxHost.cs
- GenerateTemporaryAssemblyTask.cs
- SerializationObjectManager.cs
- RegisteredScript.cs
- _SecureChannel.cs
- TableRow.cs
- BodyGlyph.cs
- MenuRendererClassic.cs
- SkinBuilder.cs
- GeneralTransform3D.cs
- ConstraintStruct.cs
- DocumentReference.cs
- AccessibleObject.cs
- FactoryMaker.cs
- CompositeFontParser.cs
- XmlFormatMapping.cs
- ColumnBinding.cs
- FtpRequestCacheValidator.cs
- FixedSOMGroup.cs
- ChangeNode.cs
- DbException.cs
- XmlMemberMapping.cs
- DataServiceException.cs
- DataSetUtil.cs
- SRGSCompiler.cs
- DataQuery.cs
- _NtlmClient.cs
- WebConvert.cs
- ReadOnlyAttribute.cs
- X509KeyIdentifierClauseType.cs
- InstallerTypeAttribute.cs
- XmlSignatureManifest.cs
- SqlBooleanMismatchVisitor.cs
- FilteredSchemaElementLookUpTable.cs
- ISAPIRuntime.cs
- DBConnectionString.cs
- BitmapEffectInputConnector.cs
- TypeDelegator.cs
- MatrixTransform3D.cs
- SqlBuilder.cs
- RectangleGeometry.cs
- CommonRemoteMemoryBlock.cs
- ProfessionalColors.cs
- WindowsTokenRoleProvider.cs
- SingleTagSectionHandler.cs
- OdbcConnectionFactory.cs
- EndPoint.cs
- BeginStoryboard.cs
- Grammar.cs
- ContextBase.cs
- WindowsIdentity.cs
- Tile.cs
- Partitioner.cs
- DefaultShape.cs
- SchemaContext.cs
- WinHttpWebProxyFinder.cs
- SafeFindHandle.cs
- ApplicationSettingsBase.cs
- SqlIdentifier.cs