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
- MenuItem.cs
- ExpressionPrefixAttribute.cs
- MediaContextNotificationWindow.cs
- StructuredTypeInfo.cs
- SmiSettersStream.cs
- PeerNameRecordCollection.cs
- Logging.cs
- ExeContext.cs
- RoleManagerSection.cs
- SegmentInfo.cs
- WebPartVerbsEventArgs.cs
- ListViewInsertionMark.cs
- RegistryExceptionHelper.cs
- TraceContextRecord.cs
- SplashScreenNativeMethods.cs
- CompositeCollectionView.cs
- PkcsUtils.cs
- SourceLineInfo.cs
- ComponentDispatcher.cs
- SystemIPv6InterfaceProperties.cs
- MsmqInputMessage.cs
- ImageAutomationPeer.cs
- DocobjHost.cs
- Executor.cs
- DispatcherProcessingDisabled.cs
- VerificationAttribute.cs
- ListBase.cs
- LastQueryOperator.cs
- COM2ComponentEditor.cs
- ByeOperation11AsyncResult.cs
- Delegate.cs
- NonParentingControl.cs
- TreeNodeEventArgs.cs
- SecurityState.cs
- SmtpClient.cs
- WebControl.cs
- ByteKeyFrameCollection.cs
- SqlUDTStorage.cs
- EarlyBoundInfo.cs
- UnsafeNativeMethods.cs
- CorrelationToken.cs
- WebPartTransformerAttribute.cs
- ProtectedConfiguration.cs
- CryptographicAttribute.cs
- PerfCounters.cs
- XmlSchemaType.cs
- PropertyOrder.cs
- SqlInternalConnectionTds.cs
- HtmlToClrEventProxy.cs
- NavigatorOutput.cs
- ProgressBarBrushConverter.cs
- WaitForChangedResult.cs
- Rectangle.cs
- EditorZoneAutoFormat.cs
- OleDbParameter.cs
- AuthenticationException.cs
- SectionVisual.cs
- ChtmlFormAdapter.cs
- ProfilePropertyNameValidator.cs
- DetailsViewInsertedEventArgs.cs
- AssemblyAssociatedContentFileAttribute.cs
- Fx.cs
- HitTestParameters.cs
- ValueUtilsSmi.cs
- ValidateNames.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- PrimitiveXmlSerializers.cs
- RepeatBehavior.cs
- IImplicitResourceProvider.cs
- RangeValidator.cs
- WebBrowserNavigatedEventHandler.cs
- ContainerVisual.cs
- ProgressBarRenderer.cs
- DataGridViewButtonColumn.cs
- ObjectDataProvider.cs
- ReliableReplySessionChannel.cs
- SqlBulkCopyColumnMappingCollection.cs
- XmlSchemaAttributeGroupRef.cs
- WebPartConnectionCollection.cs
- HostingEnvironmentWrapper.cs
- OleDbStruct.cs
- ValueOfAction.cs
- Transform3DGroup.cs
- TimeStampChecker.cs
- MtomMessageEncoder.cs
- UserControl.cs
- WebPartRestoreVerb.cs
- WorkflowEventArgs.cs
- CustomErrorCollection.cs
- XamlStream.cs
- Queue.cs
- TimeZone.cs
- DesignBindingPicker.cs
- ObjectDataSourceFilteringEventArgs.cs
- DocumentViewer.cs
- MessageBuffer.cs
- SqlGatherConsumedAliases.cs
- ColumnClickEvent.cs
- ListenerElementsCollection.cs
- TypedDataSetSchemaImporterExtension.cs