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
- PipelineModuleStepContainer.cs
- ListBox.cs
- ActiveDesignSurfaceEvent.cs
- Rect3D.cs
- XmlWrappingReader.cs
- oledbmetadatacolumnnames.cs
- PhoneCallDesigner.cs
- ParenthesizePropertyNameAttribute.cs
- TypeValidationEventArgs.cs
- ControlValuePropertyAttribute.cs
- InitializingNewItemEventArgs.cs
- EventWaitHandle.cs
- InvokeProviderWrapper.cs
- RichTextBoxConstants.cs
- ServiceControllerDesigner.cs
- UnknownBitmapDecoder.cs
- ZoneMembershipCondition.cs
- CodeCommentStatement.cs
- XhtmlBasicLabelAdapter.cs
- RuleElement.cs
- IisTraceWebEventProvider.cs
- MarkupExtensionParser.cs
- DesignerCommandSet.cs
- DefaultCommandConverter.cs
- XmlSchemaExternal.cs
- FusionWrap.cs
- Vector3DIndependentAnimationStorage.cs
- SerialErrors.cs
- DataBoundControlAdapter.cs
- DetectRunnableInstancesTask.cs
- BezierSegment.cs
- InputReport.cs
- ToolStripGrip.cs
- RuleProcessor.cs
- NamedPipeConnectionPoolSettings.cs
- PeerCollaborationPermission.cs
- WinFormsSecurity.cs
- UserMapPath.cs
- CustomAttributeSerializer.cs
- KeyEventArgs.cs
- SmiMetaData.cs
- TableCellAutomationPeer.cs
- Light.cs
- DataTrigger.cs
- ConstructorExpr.cs
- HelpKeywordAttribute.cs
- SplineKeyFrames.cs
- Label.cs
- ResourceType.cs
- DataGridCellAutomationPeer.cs
- Win32PrintDialog.cs
- RepeatInfo.cs
- ColorContext.cs
- QilList.cs
- AccessDataSourceView.cs
- BroadcastEventHelper.cs
- XPathAxisIterator.cs
- DataGridTextBox.cs
- XmlMembersMapping.cs
- OdbcError.cs
- ControlBindingsCollection.cs
- XmlSchemaAnnotated.cs
- Point3DIndependentAnimationStorage.cs
- UnicodeEncoding.cs
- ToolStripCodeDomSerializer.cs
- ipaddressinformationcollection.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- OneWayChannelFactory.cs
- SQLSingle.cs
- ScaleTransform.cs
- KerberosTicketHashIdentifierClause.cs
- NullableFloatSumAggregationOperator.cs
- MobileContainerDesigner.cs
- CustomAssemblyResolver.cs
- PreloadedPackages.cs
- SizeValueSerializer.cs
- CompositeFontInfo.cs
- Adorner.cs
- XmlSchemaElement.cs
- QilVisitor.cs
- SQLGuidStorage.cs
- XslCompiledTransform.cs
- BindingsSection.cs
- RotationValidation.cs
- DataBindEngine.cs
- Light.cs
- FixedPageProcessor.cs
- DispatcherTimer.cs
- CodeDirectionExpression.cs
- UIElementAutomationPeer.cs
- CodeDirectoryCompiler.cs
- XdrBuilder.cs
- ObjectQuery_EntitySqlExtensions.cs
- FormatException.cs
- ManipulationStartedEventArgs.cs
- KeysConverter.cs
- ConstNode.cs
- cookiecollection.cs
- CodeParameterDeclarationExpression.cs
- DesignBindingConverter.cs