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
- WindowsContainer.cs
- Page.cs
- SafeUserTokenHandle.cs
- SpecialNameAttribute.cs
- SelectionListComponentEditor.cs
- OracleMonthSpan.cs
- TimeManager.cs
- RIPEMD160Managed.cs
- EntityDataSourceViewSchema.cs
- DataSourceControl.cs
- MissingMemberException.cs
- DataSourceXmlSerializationAttribute.cs
- ContentIterators.cs
- CacheChildrenQuery.cs
- ServicePoint.cs
- TextWriterEngine.cs
- HttpCookie.cs
- ByteAnimation.cs
- ReadOnlyPermissionSet.cs
- SystemIPGlobalProperties.cs
- SessionState.cs
- ConsumerConnectionPointCollection.cs
- VectorKeyFrameCollection.cs
- PersistenceTypeAttribute.cs
- SiteIdentityPermission.cs
- EntityReference.cs
- Exception.cs
- CacheMemory.cs
- RuleElement.cs
- ExpressionUtilities.cs
- RectangleHotSpot.cs
- RadioButtonFlatAdapter.cs
- WindowsFormsSectionHandler.cs
- ToolStripItemClickedEventArgs.cs
- FontFamilyIdentifier.cs
- WebServiceAttribute.cs
- ByteFacetDescriptionElement.cs
- HandlerBase.cs
- LinqDataSourceStatusEventArgs.cs
- COM2ComponentEditor.cs
- PersistenceTypeAttribute.cs
- DbProviderServices.cs
- WindowsAuthenticationEventArgs.cs
- CaseExpr.cs
- DoubleCollection.cs
- OptimizedTemplateContentHelper.cs
- SignatureToken.cs
- ValueHandle.cs
- RegexCode.cs
- Baml2006Reader.cs
- parserscommon.cs
- PageWrapper.cs
- TypeElement.cs
- LabelAutomationPeer.cs
- ProcessModuleCollection.cs
- FileUpload.cs
- SoapSchemaImporter.cs
- ComboBoxAutomationPeer.cs
- SecurityResources.cs
- httpstaticobjectscollection.cs
- GifBitmapDecoder.cs
- ErrorWrapper.cs
- Expression.cs
- BeginStoryboard.cs
- Baml2006ReaderFrame.cs
- WindowsGraphics.cs
- QilName.cs
- CompiledQuery.cs
- HttpApplicationFactory.cs
- Help.cs
- WebPartConnection.cs
- XmlDocumentSchema.cs
- tibetanshape.cs
- Evidence.cs
- TypeSystem.cs
- SizeConverter.cs
- ToolStripItemImageRenderEventArgs.cs
- TableParaClient.cs
- LockRecursionException.cs
- XmlQualifiedNameTest.cs
- DataGridViewToolTip.cs
- WasAdminWrapper.cs
- EditorAttributeInfo.cs
- DataGridViewButtonColumn.cs
- XmlFormatExtensionAttribute.cs
- DynamicVirtualDiscoSearcher.cs
- ExitEventArgs.cs
- HtmlEncodedRawTextWriter.cs
- DynamicPropertyHolder.cs
- ItemsControlAutomationPeer.cs
- ToolStripLocationCancelEventArgs.cs
- TdsValueSetter.cs
- DelegatingConfigHost.cs
- WebBaseEventKeyComparer.cs
- MasterPageCodeDomTreeGenerator.cs
- ServiceHostingEnvironmentSection.cs
- XmlEncoding.cs
- SubpageParagraph.cs
- PreviewKeyDownEventArgs.cs
- ImageAnimator.cs