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
- PreservationFileWriter.cs
- GlyphRunDrawing.cs
- uribuilder.cs
- HttpWebRequestElement.cs
- OptionUsage.cs
- ProxyDataContractResolver.cs
- CompositeKey.cs
- TabItemWrapperAutomationPeer.cs
- KeyValuePair.cs
- SaveWorkflowAsyncResult.cs
- LogWriteRestartAreaState.cs
- NameValuePair.cs
- GeometryConverter.cs
- InputLangChangeEvent.cs
- GetPageNumberCompletedEventArgs.cs
- ErrorRuntimeConfig.cs
- DataReaderContainer.cs
- SqlDelegatedTransaction.cs
- SmiEventSink_Default.cs
- XmlSchemaFacet.cs
- ThreadAbortException.cs
- SystemResourceHost.cs
- DataGridViewComboBoxCell.cs
- KeyEvent.cs
- VisualStates.cs
- DrawingContextWalker.cs
- GB18030Encoding.cs
- XmlNotation.cs
- OrderByBuilder.cs
- BlobPersonalizationState.cs
- SerializationInfoEnumerator.cs
- AnnotationAuthorChangedEventArgs.cs
- ComponentResourceKey.cs
- Merger.cs
- StructuralObject.cs
- Vector3dCollection.cs
- TabletCollection.cs
- SubqueryRules.cs
- EventLogHandle.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ShapingEngine.cs
- RoutingChannelExtension.cs
- IntegerFacetDescriptionElement.cs
- SmiEventSink.cs
- Label.cs
- DbException.cs
- CngAlgorithm.cs
- MenuBase.cs
- ObjectTag.cs
- InvokeCompletedEventArgs.cs
- XmlSchemaSimpleContent.cs
- bindurihelper.cs
- RouteUrlExpressionBuilder.cs
- FormViewDesigner.cs
- WeakEventManager.cs
- NotImplementedException.cs
- EntityDataSourceConfigureObjectContext.cs
- DeferredTextReference.cs
- BuildProviderCollection.cs
- RuntimeResourceSet.cs
- RegexWriter.cs
- RegisteredExpandoAttribute.cs
- CacheDependency.cs
- CancellationHandlerDesigner.cs
- DataBindingHandlerAttribute.cs
- ReachIDocumentPaginatorSerializer.cs
- ProcessDesigner.cs
- ParseNumbers.cs
- prompt.cs
- TransformerInfoCollection.cs
- InternalConfirm.cs
- ValidateNames.cs
- GraphicsPath.cs
- GroupDescription.cs
- AdornerPresentationContext.cs
- ValidatingReaderNodeData.cs
- ReadOnlyActivityGlyph.cs
- CompositeFontFamily.cs
- CompoundFileStreamReference.cs
- DesignerCalendarAdapter.cs
- Property.cs
- DataGridViewControlCollection.cs
- DataFormats.cs
- SplashScreen.cs
- RectAnimation.cs
- CounterSetInstanceCounterDataSet.cs
- WaitingCursor.cs
- UInt16Converter.cs
- StorageSetMapping.cs
- CryptoHelper.cs
- TextInfo.cs
- TypeElement.cs
- QuaternionKeyFrameCollection.cs
- UInt16.cs
- DataServiceRequest.cs
- JapaneseLunisolarCalendar.cs
- ToolboxItemFilterAttribute.cs
- SQLInt32Storage.cs
- ReadOnlyMetadataCollection.cs
- SimpleTextLine.cs