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
- Soap.cs
- ActivityExecutor.cs
- ListControlConvertEventArgs.cs
- AddInProcess.cs
- LocalizableResourceBuilder.cs
- XmlSerializerOperationFormatter.cs
- WSFederationHttpBindingCollectionElement.cs
- NativeMethods.cs
- WebResourceAttribute.cs
- ListBase.cs
- TCPClient.cs
- DataQuery.cs
- Int32CollectionValueSerializer.cs
- MulticastDelegate.cs
- NavigationProperty.cs
- ActiveXContainer.cs
- FolderBrowserDialog.cs
- HebrewCalendar.cs
- Validator.cs
- ExceptionNotification.cs
- PEFileEvidenceFactory.cs
- EventlogProvider.cs
- MaterialGroup.cs
- LogicalExpressionEditor.cs
- AsyncPostBackTrigger.cs
- XsltCompileContext.cs
- ListViewCommandEventArgs.cs
- XmlDocumentFragment.cs
- VectorAnimationUsingKeyFrames.cs
- ListCardsInFileRequest.cs
- ToolStripPanelSelectionBehavior.cs
- BufferedStream.cs
- OleDbEnumerator.cs
- LinqToSqlWrapper.cs
- XamlReaderConstants.cs
- HtmlInputText.cs
- DesignTimeType.cs
- messageonlyhwndwrapper.cs
- XmlQueryStaticData.cs
- MethodBuilder.cs
- DateTimeFormat.cs
- DirectoryNotFoundException.cs
- AssemblyAttributes.cs
- TabRenderer.cs
- SrgsDocument.cs
- DataServiceQueryProvider.cs
- HttpCapabilitiesSectionHandler.cs
- SimpleApplicationHost.cs
- WebPartRestoreVerb.cs
- ScrollBarRenderer.cs
- TextRangeAdaptor.cs
- SqlDataSourceTableQuery.cs
- CheckBoxPopupAdapter.cs
- BaseHashHelper.cs
- ISCIIEncoding.cs
- WindowsListViewGroupHelper.cs
- DataControlLinkButton.cs
- TypeBinaryExpression.cs
- ConfigurationStrings.cs
- IisTraceWebEventProvider.cs
- CodeGotoStatement.cs
- SerializationHelper.cs
- RSAPKCS1SignatureFormatter.cs
- TemplatePropertyEntry.cs
- MetaDataInfo.cs
- sqlnorm.cs
- DataGrid.cs
- ActivatedMessageQueue.cs
- ConnectionOrientedTransportManager.cs
- FileDialog.cs
- IndexedString.cs
- validationstate.cs
- IList.cs
- FacetDescription.cs
- ByteStream.cs
- RequestSecurityTokenSerializer.cs
- HtmlUtf8RawTextWriter.cs
- EdmComplexPropertyAttribute.cs
- TreeNodeConverter.cs
- IDispatchConstantAttribute.cs
- VectorCollectionValueSerializer.cs
- ExpressionConverter.cs
- MsmqInputSessionChannel.cs
- XmlUtf8RawTextWriter.cs
- Perspective.cs
- SyndicationLink.cs
- DataGridViewRowPostPaintEventArgs.cs
- TextServicesDisplayAttribute.cs
- CanonicalFontFamilyReference.cs
- ToolboxDataAttribute.cs
- DataTableMapping.cs
- DataGridViewTopLeftHeaderCell.cs
- ZipPackagePart.cs
- TagNameToTypeMapper.cs
- IndexerNameAttribute.cs
- WebRequest.cs
- QueryActivatableWorkflowsCommand.cs
- EpmContentSerializer.cs
- DataBoundControlActionList.cs
- RequestCachePolicyConverter.cs