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
- InvalidateEvent.cs
- DrawingBrush.cs
- CancelEventArgs.cs
- RectValueSerializer.cs
- _CacheStreams.cs
- HttpResponseHeader.cs
- XPathDocumentIterator.cs
- ExtenderControl.cs
- PathSegment.cs
- EntityDataSourceChangingEventArgs.cs
- Win32MouseDevice.cs
- MemberProjectionIndex.cs
- ClientRoleProvider.cs
- InfoCardRSACryptoProvider.cs
- FontCollection.cs
- KeyTimeConverter.cs
- PropertyKey.cs
- ToolStripDropTargetManager.cs
- XPathSelectionIterator.cs
- FormsAuthenticationUser.cs
- ServiceNameElement.cs
- CSharpCodeProvider.cs
- XNameTypeConverter.cs
- ColumnWidthChangedEvent.cs
- AvTraceDetails.cs
- StdValidatorsAndConverters.cs
- SevenBitStream.cs
- WebBrowser.cs
- Command.cs
- ToolboxComponentsCreatingEventArgs.cs
- MultiTrigger.cs
- CompositeScriptReference.cs
- ThreadPool.cs
- RequestSecurityTokenResponse.cs
- BasicCellRelation.cs
- DataGridViewTextBoxCell.cs
- FunctionImportElement.cs
- AlignmentXValidation.cs
- FaultConverter.cs
- XsdDateTime.cs
- DataGridViewHitTestInfo.cs
- TabControl.cs
- AnnotationMap.cs
- LayoutEditorPart.cs
- NameValueCollection.cs
- ValidatingReaderNodeData.cs
- RectConverter.cs
- AlphaSortedEnumConverter.cs
- SupportsPreviewControlAttribute.cs
- ColumnMapTranslator.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Int32Collection.cs
- NamespaceEmitter.cs
- TemplateXamlTreeBuilder.cs
- PrivilegeNotHeldException.cs
- ImageSource.cs
- StringValidatorAttribute.cs
- ImageFormatConverter.cs
- UnconditionalPolicy.cs
- GeneralTransform3DTo2DTo3D.cs
- QilStrConcat.cs
- MissingManifestResourceException.cs
- TypeValidationEventArgs.cs
- BoundsDrawingContextWalker.cs
- UnsafeNativeMethods.cs
- CultureInfo.cs
- UTF8Encoding.cs
- ObjectViewEntityCollectionData.cs
- DirectionalLight.cs
- FormattedTextSymbols.cs
- ClientUrlResolverWrapper.cs
- CodeMethodMap.cs
- HttpListenerContext.cs
- DictionaryManager.cs
- XmlSerializerImportOptions.cs
- ExecutionEngineException.cs
- HandleExceptionArgs.cs
- StylusPointProperty.cs
- UpDownEvent.cs
- ItemCheckEvent.cs
- RegexCapture.cs
- Item.cs
- FontSourceCollection.cs
- AttributeQuery.cs
- HttpWebRequest.cs
- OdbcCommand.cs
- BuildManagerHost.cs
- DoubleAnimation.cs
- dataprotectionpermission.cs
- CopyAction.cs
- ConvertersCollection.cs
- BidOverLoads.cs
- BamlLocalizer.cs
- MatrixTransform3D.cs
- TemplateColumn.cs
- DataGridViewCellStyleChangedEventArgs.cs
- WebPartEditorApplyVerb.cs
- URLAttribute.cs
- ImportedNamespaceContextItem.cs
- RichTextBoxAutomationPeer.cs