Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / RefreshEventArgs.cs / 1305376 / 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
- DataGridViewCellLinkedList.cs
- XmlCodeExporter.cs
- PropertyPathConverter.cs
- TextFormatterHost.cs
- PopupControlService.cs
- CapabilitiesUse.cs
- CatalogPartDesigner.cs
- ToolStripMenuItem.cs
- PerformanceCounterPermissionEntryCollection.cs
- AttributeInfo.cs
- WebDisplayNameAttribute.cs
- XmlHierarchicalDataSourceView.cs
- TextTreeInsertUndoUnit.cs
- AddInStore.cs
- ToolStripContentPanelRenderEventArgs.cs
- MasterPageCodeDomTreeGenerator.cs
- SiteMapNodeCollection.cs
- CodeSubDirectory.cs
- TextSelection.cs
- InvalidOleVariantTypeException.cs
- CollectionType.cs
- XmlDataContract.cs
- AutomationPattern.cs
- RelationshipDetailsRow.cs
- Overlapped.cs
- DataGridColumnHeaderCollection.cs
- Listbox.cs
- SimpleLine.cs
- DBSqlParserTableCollection.cs
- GeneralTransform2DTo3D.cs
- X509Extension.cs
- TargetParameterCountException.cs
- AnimationClockResource.cs
- JournalNavigationScope.cs
- WebPartVerb.cs
- ModelPropertyImpl.cs
- OleDbErrorCollection.cs
- DataBoundControlHelper.cs
- WindowVisualStateTracker.cs
- CanonicalFontFamilyReference.cs
- AssemblyAssociatedContentFileAttribute.cs
- TextEditorCopyPaste.cs
- BitVector32.cs
- NativeStructs.cs
- SafeHandles.cs
- DictionaryKeyPropertyAttribute.cs
- XmlCompatibilityReader.cs
- SqlMethodAttribute.cs
- ContentFileHelper.cs
- GridItemPatternIdentifiers.cs
- UIElementHelper.cs
- WebMessageEncodingBindingElement.cs
- AuthenticationServiceManager.cs
- RawStylusSystemGestureInputReport.cs
- MetafileHeaderWmf.cs
- ToolStripActionList.cs
- CalendarTable.cs
- SimpleLine.cs
- ViewBox.cs
- WebScriptMetadataInstanceContextProvider.cs
- AttributeCollection.cs
- remotingproxy.cs
- InertiaExpansionBehavior.cs
- BitConverter.cs
- MailWebEventProvider.cs
- AuthStoreRoleProvider.cs
- DataGridCaption.cs
- TreeViewCancelEvent.cs
- TargetFrameworkAttribute.cs
- BooleanProjectedSlot.cs
- FormatSelectingMessageInspector.cs
- UpdateManifestForBrowserApplication.cs
- AppDomainFactory.cs
- ContentAlignmentEditor.cs
- SQLDateTime.cs
- SHA512CryptoServiceProvider.cs
- __Filters.cs
- Transactions.cs
- CompositeScriptReference.cs
- RepeatBehavior.cs
- BitmapEffectDrawing.cs
- DiscreteKeyFrames.cs
- RightsManagementEncryptionTransform.cs
- WindowsSspiNegotiation.cs
- ProviderBase.cs
- _UriSyntax.cs
- Int64AnimationBase.cs
- IpcClientManager.cs
- WebRequest.cs
- NamespaceListProperty.cs
- CTreeGenerator.cs
- RubberbandSelector.cs
- MimePart.cs
- WeakReferenceList.cs
- EllipseGeometry.cs
- HyperlinkAutomationPeer.cs
- BasePattern.cs
- WindowsHyperlink.cs
- ChainedAsyncResult.cs
- XmlSchemaInclude.cs