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
- RequestCacheManager.cs
- XmlCustomFormatter.cs
- DetailsViewDeleteEventArgs.cs
- RouteItem.cs
- ListViewItem.cs
- KeyboardDevice.cs
- DataGridPagerStyle.cs
- ValueType.cs
- Comparer.cs
- SoapElementAttribute.cs
- QueryOpeningEnumerator.cs
- DataGridViewCellFormattingEventArgs.cs
- LinqMaximalSubtreeNominator.cs
- CodeNamespaceImport.cs
- TextElementEnumerator.cs
- ResolveDuplex11AsyncResult.cs
- PersonalizationProviderHelper.cs
- PrePostDescendentsWalker.cs
- CallSiteOps.cs
- LineSegment.cs
- ClonableStack.cs
- SystemTcpStatistics.cs
- ToolStripDropDownClosingEventArgs.cs
- HierarchicalDataBoundControl.cs
- FastEncoder.cs
- WsatConfiguration.cs
- BamlBinaryWriter.cs
- AnnotationResourceCollection.cs
- HtmlInputText.cs
- XmlSchemaSimpleContentExtension.cs
- ServiceObjectContainer.cs
- ScrollItemPatternIdentifiers.cs
- PreviewPrintController.cs
- TypeConverterHelper.cs
- SqlTriggerContext.cs
- ChildTable.cs
- Rect3D.cs
- StickyNoteContentControl.cs
- BasicViewGenerator.cs
- HtmlElement.cs
- MgmtResManager.cs
- HebrewCalendar.cs
- ToolStripDropDown.cs
- PagedDataSource.cs
- BezierSegment.cs
- SetStoryboardSpeedRatio.cs
- TcpServerChannel.cs
- TableStyle.cs
- IgnoreSectionHandler.cs
- Int64.cs
- Expander.cs
- OdbcInfoMessageEvent.cs
- control.ime.cs
- StatusBarPanelClickEvent.cs
- SharedConnectionInfo.cs
- PersonalizationDictionary.cs
- InsufficientMemoryException.cs
- KeysConverter.cs
- BufferModesCollection.cs
- SpeechRecognizer.cs
- Paragraph.cs
- Propagator.Evaluator.cs
- EntitySqlQueryCacheEntry.cs
- DefaultTypeArgumentAttribute.cs
- ForeignKeyConstraint.cs
- Configuration.cs
- tibetanshape.cs
- TimeSpanMinutesConverter.cs
- ScrollViewerAutomationPeer.cs
- StringUtil.cs
- ArrangedElement.cs
- TemplateXamlTreeBuilder.cs
- QilFactory.cs
- GeometryGroup.cs
- KeyInterop.cs
- KeyFrames.cs
- EditorPartCollection.cs
- PostBackOptions.cs
- BidOverLoads.cs
- Section.cs
- Control.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- ScriptingSectionGroup.cs
- CultureTableRecord.cs
- HideDisabledControlAdapter.cs
- HMACSHA384.cs
- SmtpCommands.cs
- IBuiltInEvidence.cs
- UTF7Encoding.cs
- OdbcCommandBuilder.cs
- LabelExpression.cs
- XmlDataSourceDesigner.cs
- SubordinateTransaction.cs
- BinHexDecoder.cs
- RuleAttributes.cs
- SequentialUshortCollection.cs
- RadioButtonRenderer.cs
- CrossAppDomainChannel.cs
- WebAdminConfigurationHelper.cs
- CapabilitiesRule.cs