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
- CodeSubDirectory.cs
- HttpResponseHeader.cs
- ControlDesigner.cs
- ExtractorMetadata.cs
- CngAlgorithm.cs
- CodeDelegateInvokeExpression.cs
- mediapermission.cs
- DecoratedNameAttribute.cs
- WmfPlaceableFileHeader.cs
- LinkedResourceCollection.cs
- ConnectionPointGlyph.cs
- ItemMap.cs
- ByteStreamGeometryContext.cs
- XslTransform.cs
- MatrixKeyFrameCollection.cs
- StylusTip.cs
- RegionData.cs
- CompModSwitches.cs
- CqlLexer.cs
- InputBinder.cs
- FreezableDefaultValueFactory.cs
- LayoutTableCell.cs
- NativeMethods.cs
- MobileSysDescriptionAttribute.cs
- ExceptionHelpers.cs
- ConnectionsZone.cs
- DesignerDataSourceView.cs
- ThreadAttributes.cs
- BeginSelectCardRequest.cs
- DecoderReplacementFallback.cs
- SourceLineInfo.cs
- XmlSchemaAny.cs
- MimeFormReflector.cs
- AgileSafeNativeMemoryHandle.cs
- SafeThemeHandle.cs
- WindowsSpinner.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TreeNodeStyleCollection.cs
- CalendarDay.cs
- VoiceChangeEventArgs.cs
- IncomingWebRequestContext.cs
- RotateTransform3D.cs
- HtmlElementEventArgs.cs
- WindowsFormsSectionHandler.cs
- WebRequestModulesSection.cs
- TextEditorCopyPaste.cs
- TdsValueSetter.cs
- TransactionException.cs
- ProfessionalColorTable.cs
- HttpCookieCollection.cs
- Compiler.cs
- cache.cs
- AspCompat.cs
- WebProxyScriptElement.cs
- DefaultBinder.cs
- CustomLineCap.cs
- IdentityManager.cs
- DataGridViewCellEventArgs.cs
- ListViewItem.cs
- DataSourceCacheDurationConverter.cs
- AnimatedTypeHelpers.cs
- DateTimeFormatInfoScanner.cs
- SafeWaitHandle.cs
- TypeBuilderInstantiation.cs
- Axis.cs
- PingOptions.cs
- CngKey.cs
- EventWaitHandleSecurity.cs
- ConcurrentBag.cs
- DataGridViewLayoutData.cs
- MbpInfo.cs
- TextCollapsingProperties.cs
- BinHexDecoder.cs
- BypassElement.cs
- Vars.cs
- MailMessageEventArgs.cs
- DBBindings.cs
- XmlnsCache.cs
- CheckBox.cs
- Parser.cs
- HScrollProperties.cs
- Point4D.cs
- QueryOperationResponseOfT.cs
- InternalCache.cs
- RandomNumberGenerator.cs
- WebPartConnection.cs
- EncryptedPackage.cs
- StorageAssociationTypeMapping.cs
- TableHeaderCell.cs
- AvTrace.cs
- Environment.cs
- PropertyRecord.cs
- CheckBoxRenderer.cs
- CleanUpVirtualizedItemEventArgs.cs
- MailDefinition.cs
- WindowsIdentity.cs
- LocalizeDesigner.cs
- HtmlElement.cs
- ObjectDataSource.cs
- WebPartEditorCancelVerb.cs