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
- HandoffBehavior.cs
- EventProviderWriter.cs
- Hash.cs
- LicenseManager.cs
- Dictionary.cs
- WorkflowView.cs
- XMLDiffLoader.cs
- HostingPreferredMapPath.cs
- ToolStripCustomTypeDescriptor.cs
- RelatedView.cs
- SizeConverter.cs
- ByteStreamGeometryContext.cs
- MainMenu.cs
- DataList.cs
- ColumnReorderedEventArgs.cs
- KeyboardDevice.cs
- TextUtf8RawTextWriter.cs
- TransferRequestHandler.cs
- DataGridViewSelectedRowCollection.cs
- ParserStreamGeometryContext.cs
- OrderedEnumerableRowCollection.cs
- ComponentChangingEvent.cs
- DataBindingCollection.cs
- BaseTemplateBuildProvider.cs
- ProjectedWrapper.cs
- WizardPanelChangingEventArgs.cs
- AuthenticodeSignatureInformation.cs
- EffectiveValueEntry.cs
- InheritablePropertyChangeInfo.cs
- FileLevelControlBuilderAttribute.cs
- NullToBooleanConverter.cs
- FormsAuthenticationUser.cs
- TrackingParameters.cs
- ListViewSortEventArgs.cs
- DecoratedNameAttribute.cs
- Formatter.cs
- SafeProcessHandle.cs
- CompilerTypeWithParams.cs
- FrameDimension.cs
- X509ChainPolicy.cs
- StreamMarshaler.cs
- RegistryConfigurationProvider.cs
- LocationUpdates.cs
- SystemKeyConverter.cs
- NetDataContractSerializer.cs
- HttpCacheVaryByContentEncodings.cs
- DynamicObjectAccessor.cs
- TemplatingOptionsDialog.cs
- ToolStripContentPanelRenderEventArgs.cs
- ProviderCollection.cs
- EntityDesignerDataSourceView.cs
- DateTimeStorage.cs
- ToolBarButtonClickEvent.cs
- EncodingDataItem.cs
- GeneralTransform2DTo3DTo2D.cs
- RedirectionProxy.cs
- BeginEvent.cs
- NonVisualControlAttribute.cs
- ContactManager.cs
- XmlSchemaAnyAttribute.cs
- AxParameterData.cs
- CharEntityEncoderFallback.cs
- SubpageParagraph.cs
- QuaternionAnimation.cs
- documentsequencetextview.cs
- HitTestWithPointDrawingContextWalker.cs
- ResourceAttributes.cs
- UnionQueryOperator.cs
- TaiwanLunisolarCalendar.cs
- TextServicesLoader.cs
- ViewUtilities.cs
- HtmlInputImage.cs
- WinEventWrap.cs
- StylusLogic.cs
- EndpointIdentity.cs
- WebPart.cs
- PermissionSet.cs
- RefreshEventArgs.cs
- TreeNode.cs
- ContentElement.cs
- DesignerActionItemCollection.cs
- ListItemCollection.cs
- DirectoryInfo.cs
- LocalFileSettingsProvider.cs
- ComplexPropertyEntry.cs
- EntityContainer.cs
- ChannelBase.cs
- MediaContextNotificationWindow.cs
- ComplexLine.cs
- PerformanceCounterManager.cs
- OdbcReferenceCollection.cs
- EmptyStringExpandableObjectConverter.cs
- SiteMapNodeCollection.cs
- ReadOnlyDictionary.cs
- EntityDataSourceSelectingEventArgs.cs
- XpsPackagingException.cs
- AuthStoreRoleProvider.cs
- VectorKeyFrameCollection.cs
- altserialization.cs
- TextRunCacheImp.cs