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
- IgnoreSectionHandler.cs
- EUCJPEncoding.cs
- WsatTransactionInfo.cs
- FixedHyperLink.cs
- FormViewInsertEventArgs.cs
- Literal.cs
- ObjectHandle.cs
- SqlNodeTypeOperators.cs
- StylusDevice.cs
- CertificateReferenceElement.cs
- Aggregates.cs
- SmiRequestExecutor.cs
- ConnectionManagementSection.cs
- SelectionEditor.cs
- PhoneCallDesigner.cs
- BodyGlyph.cs
- SmiRequestExecutor.cs
- LoginUtil.cs
- CommandPlan.cs
- ImpersonationContext.cs
- XmlEntityReference.cs
- ViewCellRelation.cs
- dbdatarecord.cs
- DataGridTablesFactory.cs
- Point3D.cs
- HealthMonitoringSectionHelper.cs
- HtmlTernaryTree.cs
- PersonalizableTypeEntry.cs
- RTLAwareMessageBox.cs
- Compiler.cs
- PersonalizationState.cs
- ProxyWebPartManager.cs
- DoubleCollectionConverter.cs
- ButtonChrome.cs
- DbMetaDataFactory.cs
- DynamicDataManager.cs
- SkewTransform.cs
- ControlCollection.cs
- HtmlHead.cs
- TextCollapsingProperties.cs
- UnaryQueryOperator.cs
- RoleGroup.cs
- TypeResolvingOptionsAttribute.cs
- Inline.cs
- Variable.cs
- XmlDocumentType.cs
- DetailsView.cs
- ButtonPopupAdapter.cs
- IDispatchConstantAttribute.cs
- AppDomainUnloadedException.cs
- CodeConstructor.cs
- SignedXml.cs
- DataRecordInternal.cs
- DLinqAssociationProvider.cs
- MetadataItem.cs
- TypeForwardedFromAttribute.cs
- HashHelper.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- TemplateBindingExpressionConverter.cs
- SecurityValidationBehavior.cs
- WindowPattern.cs
- MultiSelectRootGridEntry.cs
- CreateUserWizardDesigner.cs
- UrlAuthorizationModule.cs
- BrowserInteropHelper.cs
- TrailingSpaceComparer.cs
- SynchronizingStream.cs
- ResourcePermissionBase.cs
- Win32PrintDialog.cs
- FormatControl.cs
- RequiredAttributeAttribute.cs
- Propagator.cs
- DesignSurfaceCollection.cs
- ComponentDispatcher.cs
- AddInProcess.cs
- DecimalStorage.cs
- List.cs
- ScriptManagerProxy.cs
- AppSecurityManager.cs
- FixedSOMPage.cs
- FlowPosition.cs
- _KerberosClient.cs
- CodeTypeOfExpression.cs
- AxHostDesigner.cs
- MatrixTransform3D.cs
- SessionEndedEventArgs.cs
- FixedDocumentSequencePaginator.cs
- TdsParserSafeHandles.cs
- SpellerInterop.cs
- SecurityStandardsManager.cs
- SchemaTypeEmitter.cs
- FunctionDefinition.cs
- SessionEndingCancelEventArgs.cs
- SettingsPropertyIsReadOnlyException.cs
- RtfControls.cs
- DataBindEngine.cs
- NavigationWindow.cs
- SystemIPv4InterfaceProperties.cs
- WebControlParameterProxy.cs
- WebService.cs