Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- List.cs
- OptimisticConcurrencyException.cs
- NeutralResourcesLanguageAttribute.cs
- ProfileGroupSettings.cs
- addressfiltermode.cs
- MachineKeyConverter.cs
- TransactionScope.cs
- ValidationErrorInfo.cs
- ReservationCollection.cs
- ListenerUnsafeNativeMethods.cs
- TdsParserStaticMethods.cs
- Queue.cs
- SqlCacheDependencySection.cs
- LicenseManager.cs
- TextEditorLists.cs
- ControlBuilder.cs
- SQLBoolean.cs
- CallbackBehaviorAttribute.cs
- HashFinalRequest.cs
- DialogResultConverter.cs
- DataGridTextBoxColumn.cs
- DeclaredTypeElement.cs
- DbProviderManifest.cs
- ExtendLockCommand.cs
- TransformPattern.cs
- EventDescriptorCollection.cs
- CookieHandler.cs
- AutomationPropertyInfo.cs
- ContentPosition.cs
- StylesEditorDialog.cs
- DataGridViewCheckBoxCell.cs
- LicenseException.cs
- ComplexTypeEmitter.cs
- ControlCollection.cs
- ModelService.cs
- localization.cs
- SamlSerializer.cs
- BitStack.cs
- HeaderPanel.cs
- WebPermission.cs
- MailHeaderInfo.cs
- EdmConstants.cs
- ProfileSection.cs
- filewebrequest.cs
- DataBoundControlAdapter.cs
- FrameworkContextData.cs
- InvalidPipelineStoreException.cs
- CommentEmitter.cs
- WindowsNonControl.cs
- StructuredType.cs
- SignatureHelper.cs
- ForeignConstraint.cs
- storepermissionattribute.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- StringInfo.cs
- PassportIdentity.cs
- SafeCryptoKeyHandle.cs
- X509CertificateRecipientClientCredential.cs
- GridViewColumnCollection.cs
- QilPatternVisitor.cs
- BoolExpression.cs
- XmlJsonWriter.cs
- GlyphManager.cs
- AssertFilter.cs
- RSAProtectedConfigurationProvider.cs
- DeclaredTypeValidatorAttribute.cs
- FieldInfo.cs
- DataGridViewBand.cs
- MergeFilterQuery.cs
- QueuePathDialog.cs
- WebPartConnectVerb.cs
- CodeBinaryOperatorExpression.cs
- ByteAnimationBase.cs
- WizardForm.cs
- Assembly.cs
- SqlTypesSchemaImporter.cs
- FlowDocumentPage.cs
- SystemInfo.cs
- shaperfactoryquerycacheentry.cs
- MatrixTransform.cs
- DataListItemEventArgs.cs
- PropertyInformation.cs
- ExpandSegment.cs
- ZipPackagePart.cs
- WorkflowPrinting.cs
- XamlRtfConverter.cs
- _CacheStreams.cs
- Stack.cs
- CharacterBuffer.cs
- EncryptedData.cs
- DataGrid.cs
- ManagementExtension.cs
- PolicyLevel.cs
- TextFragmentEngine.cs
- precedingquery.cs
- EntityDataSourceStatementEditor.cs
- OdbcFactory.cs
- XmlSubtreeReader.cs
- XmlQualifiedName.cs
- DelayLoadType.cs