Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / RefreshEventArgs.cs / 1305376 / 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
- SecurityKeyIdentifierClause.cs
- HtmlForm.cs
- WebPartActionVerb.cs
- CodeTypeDeclarationCollection.cs
- GridViewEditEventArgs.cs
- ArraySubsetEnumerator.cs
- XamlInt32CollectionSerializer.cs
- RSAPKCS1KeyExchangeFormatter.cs
- NamespaceMapping.cs
- TextStore.cs
- SecurityResources.cs
- _SSPIWrapper.cs
- GenericUriParser.cs
- DuplicateWaitObjectException.cs
- CodeDelegateInvokeExpression.cs
- FolderLevelBuildProvider.cs
- FilteredDataSetHelper.cs
- XmlRawWriterWrapper.cs
- TableNameAttribute.cs
- Group.cs
- BaseProcessProtocolHandler.cs
- GridView.cs
- CompleteWizardStep.cs
- IxmlLineInfo.cs
- RootBrowserWindowAutomationPeer.cs
- UpdateTracker.cs
- TextTreeUndo.cs
- CodeExpressionCollection.cs
- RulePatternOps.cs
- AbandonedMutexException.cs
- WmlValidatorAdapter.cs
- SQLMoneyStorage.cs
- MimeReflector.cs
- HtmlWindowCollection.cs
- CompoundFileDeflateTransform.cs
- XamlParser.cs
- Panel.cs
- SystemIPv6InterfaceProperties.cs
- XPathSingletonIterator.cs
- XmlSiteMapProvider.cs
- CommunicationObject.cs
- PenThreadWorker.cs
- IndexOutOfRangeException.cs
- HttpServerUtilityWrapper.cs
- CacheOutputQuery.cs
- TextProperties.cs
- LinearGradientBrush.cs
- ReadContentAsBinaryHelper.cs
- ControlIdConverter.cs
- BuildResult.cs
- SQLMoney.cs
- XmlChildEnumerator.cs
- InvalidComObjectException.cs
- DefaultTextStoreTextComposition.cs
- BitStream.cs
- ToolStripStatusLabel.cs
- UserPersonalizationStateInfo.cs
- SmiContextFactory.cs
- GridViewRowEventArgs.cs
- DesignerTextBoxAdapter.cs
- SHA1CryptoServiceProvider.cs
- __Filters.cs
- Console.cs
- XmlSecureResolver.cs
- SqlConnectionPoolProviderInfo.cs
- AnnotationComponentManager.cs
- ProfileInfo.cs
- XsltOutput.cs
- Debug.cs
- OutputCacheSettingsSection.cs
- ValidationEventArgs.cs
- DelayedRegex.cs
- MiniConstructorInfo.cs
- NetCodeGroup.cs
- CommonDialog.cs
- CollectionConverter.cs
- WorkflowPrinting.cs
- XmlQueryStaticData.cs
- FontWeight.cs
- streamingZipPartStream.cs
- MobileCapabilities.cs
- NonParentingControl.cs
- OdbcConnectionHandle.cs
- ReadOnlyAttribute.cs
- DesignerResources.cs
- TreeBuilder.cs
- HandlerFactoryWrapper.cs
- Stack.cs
- FormDesigner.cs
- BypassElement.cs
- ResolveCompletedEventArgs.cs
- ScriptingSectionGroup.cs
- EntityContainerEmitter.cs
- ObjectTokenCategory.cs
- ImageMetadata.cs
- WebPartDeleteVerb.cs
- ConvertTextFrag.cs
- CompilerResults.cs
- PerformanceCounterManager.cs
- SqlInfoMessageEvent.cs