Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlSchemaSequence.cs
- BaseParser.cs
- TemplateBaseAction.cs
- RenderData.cs
- DataContractSet.cs
- CookielessHelper.cs
- Monitor.cs
- ConfigurationSettings.cs
- PassportAuthentication.cs
- DataGridViewControlCollection.cs
- WebPartDescription.cs
- FactoryGenerator.cs
- XomlCompilerResults.cs
- PkcsUtils.cs
- FileDialog.cs
- StaticFileHandler.cs
- ListBoxItem.cs
- PhysicalFontFamily.cs
- __ConsoleStream.cs
- MessageQueuePermission.cs
- CatalogPartCollection.cs
- XmlConvert.cs
- EncoderParameter.cs
- ConstraintCollection.cs
- TextStore.cs
- GlyphsSerializer.cs
- MoveSizeWinEventHandler.cs
- BinaryWriter.cs
- UnsafeNativeMethodsCLR.cs
- Timer.cs
- PathTooLongException.cs
- MeasureItemEvent.cs
- FilterElement.cs
- DrawingCollection.cs
- KerberosReceiverSecurityToken.cs
- DataGridViewToolTip.cs
- InputMethodStateChangeEventArgs.cs
- QueryRewriter.cs
- AnchoredBlock.cs
- ActivityTypeDesigner.xaml.cs
- InvalidDataContractException.cs
- InternalTypeHelper.cs
- AppDomainShutdownMonitor.cs
- ConnectionManagementElement.cs
- StatusBar.cs
- RemoteCryptoSignHashRequest.cs
- ScrollEvent.cs
- CqlErrorHelper.cs
- ComponentRenameEvent.cs
- TextTreePropertyUndoUnit.cs
- ComplexLine.cs
- BuiltInExpr.cs
- ResourceReader.cs
- PathFigureCollectionConverter.cs
- DataRecordObjectView.cs
- EventHandlers.cs
- QuotedStringWriteStateInfo.cs
- SecurityContextCookieSerializer.cs
- XmlQualifiedName.cs
- DataSourceHelper.cs
- WebPartConnectVerb.cs
- EventSource.cs
- FlowLayout.cs
- ClaimComparer.cs
- EventArgs.cs
- SchemaImporter.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- EnvelopedPkcs7.cs
- Int32Animation.cs
- XPathSingletonIterator.cs
- ImageField.cs
- CookielessHelper.cs
- ControlCachePolicy.cs
- AutomationProperties.cs
- CheckoutException.cs
- GeometryConverter.cs
- DelegatingTypeDescriptionProvider.cs
- Panel.cs
- EntityContainerEmitter.cs
- LocatorPart.cs
- UserControlParser.cs
- StrongNameUtility.cs
- WebControlsSection.cs
- CodeVariableDeclarationStatement.cs
- WsatEtwTraceListener.cs
- SocketElement.cs
- BindUriHelper.cs
- IntersectQueryOperator.cs
- Bidi.cs
- Calendar.cs
- HttpRequestMessageProperty.cs
- SvcMapFile.cs
- RuntimeIdentifierPropertyAttribute.cs
- SystemIPAddressInformation.cs
- ReaderContextStackData.cs
- XmlElementCollection.cs
- AnnotationAdorner.cs
- AdRotator.cs
- MessagePartSpecification.cs
- StrongName.cs