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
- DirectoryObjectSecurity.cs
- FieldBuilder.cs
- EntitySetDataBindingList.cs
- XsltContext.cs
- WmfPlaceableFileHeader.cs
- ListViewDeleteEventArgs.cs
- TreeNodeBindingCollection.cs
- BlobPersonalizationState.cs
- SessionChannels.cs
- TypeNameConverter.cs
- FrameworkContentElement.cs
- DataGridParentRows.cs
- RequestNavigateEventArgs.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TextMetrics.cs
- BuildDependencySet.cs
- SqlCacheDependencySection.cs
- CheckBoxField.cs
- FtpWebResponse.cs
- SqlClientWrapperSmiStream.cs
- RangeValueProviderWrapper.cs
- XmlDataSourceDesigner.cs
- PeerCollaborationPermission.cs
- InplaceBitmapMetadataWriter.cs
- LoadItemsEventArgs.cs
- FreezableCollection.cs
- ApplicationManager.cs
- DesignerCategoryAttribute.cs
- ChooseAction.cs
- PageParserFilter.cs
- NameTable.cs
- LayoutTableCell.cs
- BuildResultCache.cs
- AffineTransform3D.cs
- CriticalFinalizerObject.cs
- SqlRewriteScalarSubqueries.cs
- RelationshipDetailsCollection.cs
- XmlCompatibilityReader.cs
- ToolStripButton.cs
- FixedSOMElement.cs
- AssemblyBuilder.cs
- MissingMemberException.cs
- InvokeCompletedEventArgs.cs
- WorkflowMarkupSerializer.cs
- BuildProviderCollection.cs
- StateMachineSubscriptionManager.cs
- DataGridViewCellLinkedList.cs
- SurrogateSelector.cs
- PassportPrincipal.cs
- SqlFileStream.cs
- BuildProvider.cs
- CustomGrammar.cs
- ProjectionCamera.cs
- CredentialManagerDialog.cs
- OracleConnectionString.cs
- CreateUserWizard.cs
- DocumentApplicationJournalEntryEventArgs.cs
- PersonalizationEntry.cs
- HtmlInputReset.cs
- TextureBrush.cs
- StandardToolWindows.cs
- XmlSchema.cs
- XmlNotation.cs
- EdmComplexPropertyAttribute.cs
- DetailsViewDeletedEventArgs.cs
- SharedStatics.cs
- CacheVirtualItemsEvent.cs
- InputScope.cs
- SharedUtils.cs
- elementinformation.cs
- CharAnimationUsingKeyFrames.cs
- ColorMatrix.cs
- MustUnderstandSoapException.cs
- SiteMapNode.cs
- ResolveCriteriaCD1.cs
- SqlCachedBuffer.cs
- TraceFilter.cs
- Clock.cs
- ImportDesigner.xaml.cs
- SerializationFieldInfo.cs
- StubHelpers.cs
- WaveHeader.cs
- SerializationSectionGroup.cs
- WebBrowsableAttribute.cs
- PropertyTab.cs
- Rect3DConverter.cs
- RegexWriter.cs
- ValidatorCompatibilityHelper.cs
- CodeDelegateInvokeExpression.cs
- SqlFunctionAttribute.cs
- AssemblyUtil.cs
- Int32Animation.cs
- XmlReader.cs
- SEHException.cs
- BitmapMetadataBlob.cs
- SqlDataReaderSmi.cs
- HtmlButton.cs
- AuthorizationRuleCollection.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- ADRoleFactory.cs