Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ConfigurationValidatorAttribute.cs
- RegexCharClass.cs
- BlurBitmapEffect.cs
- FeatureAttribute.cs
- ProfileSection.cs
- DependsOnAttribute.cs
- BindingExpressionUncommonField.cs
- PrinterUnitConvert.cs
- ExceptionUtil.cs
- X509ChainPolicy.cs
- BinaryHeap.cs
- LifetimeServices.cs
- OutputWindow.cs
- BlurBitmapEffect.cs
- BindValidationContext.cs
- DataSourceCacheDurationConverter.cs
- ListBindableAttribute.cs
- CodeCatchClauseCollection.cs
- DBCommandBuilder.cs
- DetailsViewCommandEventArgs.cs
- Tool.cs
- CngKeyCreationParameters.cs
- FilterFactory.cs
- ToolStripItemTextRenderEventArgs.cs
- SignedPkcs7.cs
- CssStyleCollection.cs
- ErrorStyle.cs
- EditBehavior.cs
- ComAdminInterfaces.cs
- TransformedBitmap.cs
- AvtEvent.cs
- ThemeConfigurationDialog.cs
- StrokeCollection.cs
- HttpHandlerActionCollection.cs
- AppDomainGrammarProxy.cs
- Rotation3DAnimation.cs
- ApplicationBuildProvider.cs
- CellLabel.cs
- ObjectToIdCache.cs
- FunctionGenerator.cs
- NameValuePair.cs
- AutomationElementCollection.cs
- SqlRowUpdatingEvent.cs
- LineServices.cs
- TextSchema.cs
- LongValidator.cs
- Point4D.cs
- ObjectViewFactory.cs
- NTAccount.cs
- SnapshotChangeTrackingStrategy.cs
- VisualCollection.cs
- XmlElementAttribute.cs
- SerializationEventsCache.cs
- Directory.cs
- StateItem.cs
- PathTooLongException.cs
- GridViewDeletedEventArgs.cs
- Error.cs
- ControlDesigner.cs
- ReplacementText.cs
- SelectorAutomationPeer.cs
- ChangeBlockUndoRecord.cs
- SizeKeyFrameCollection.cs
- ExtendedProperty.cs
- SymLanguageVendor.cs
- APCustomTypeDescriptor.cs
- TreeIterator.cs
- DeleteMemberBinder.cs
- FontEditor.cs
- Function.cs
- Selector.cs
- TemplateManager.cs
- CharAnimationBase.cs
- XamlFigureLengthSerializer.cs
- FindCriteriaApril2005.cs
- SourceChangedEventArgs.cs
- DocobjHost.cs
- AVElementHelper.cs
- ProfessionalColors.cs
- DoubleAnimation.cs
- LoginName.cs
- RequiredFieldValidator.cs
- ConfigXmlText.cs
- WebBrowserSiteBase.cs
- WebPartCollection.cs
- SigningCredentials.cs
- XmlSchemaSet.cs
- TitleStyle.cs
- EventLogPermission.cs
- UTF8Encoding.cs
- FocusChangedEventArgs.cs
- SequenceFullException.cs
- PropertyTab.cs
- CollectionEditorDialog.cs
- AutoCompleteStringCollection.cs
- XmlSchemaImporter.cs
- StoreUtilities.cs
- CustomAttributeFormatException.cs
- CodeDomComponentSerializationService.cs
- PeerObject.cs