Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PageMediaSize.cs
- TemplatePropertyEntry.cs
- RIPEMD160Managed.cs
- HashMembershipCondition.cs
- SafeHandle.cs
- CollectionChange.cs
- NullToBooleanConverter.cs
- RawStylusSystemGestureInputReport.cs
- Transform.cs
- _UriSyntax.cs
- MediaScriptCommandRoutedEventArgs.cs
- ArraySegment.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PopupRoot.cs
- DockingAttribute.cs
- COMException.cs
- FormParameter.cs
- PathGeometry.cs
- HttpPostedFile.cs
- SmuggledIUnknown.cs
- ControlCollection.cs
- MethodAccessException.cs
- WebService.cs
- SqlDelegatedTransaction.cs
- EntityCommandDefinition.cs
- ContextStaticAttribute.cs
- CardSpacePolicyElement.cs
- AutomationPatternInfo.cs
- FolderBrowserDialog.cs
- NativeRightsManagementAPIsStructures.cs
- ChtmlTextWriter.cs
- CodeRegionDirective.cs
- ProfileGroupSettingsCollection.cs
- CounterCreationDataCollection.cs
- DiagnosticsConfigurationHandler.cs
- SubtreeProcessor.cs
- ContextProperty.cs
- DecimalConstantAttribute.cs
- OLEDB_Enum.cs
- SelfIssuedAuthAsymmetricKey.cs
- BufferedGraphicsContext.cs
- SqlCrossApplyToCrossJoin.cs
- SerialPort.cs
- FloaterParagraph.cs
- SizeAnimationUsingKeyFrames.cs
- Propagator.Evaluator.cs
- FontDialog.cs
- SqlDataSourceView.cs
- ChannelBinding.cs
- MobileTemplatedControlDesigner.cs
- ManagementEventWatcher.cs
- ObjectKeyFrameCollection.cs
- CommonObjectSecurity.cs
- AmbientEnvironment.cs
- Symbol.cs
- ValidatorUtils.cs
- ProcessHostServerConfig.cs
- EntityDataSourceContainerNameConverter.cs
- SerializationAttributes.cs
- ReadOnlyHierarchicalDataSource.cs
- ProfileGroupSettingsCollection.cs
- SignedPkcs7.cs
- DataReaderContainer.cs
- TextOutput.cs
- DataGridViewControlCollection.cs
- ScriptResourceAttribute.cs
- WebPartActionVerb.cs
- OdbcEnvironment.cs
- CompoundFileStorageReference.cs
- StringPropertyBuilder.cs
- ActiveXHelper.cs
- ProtectedConfigurationSection.cs
- HttpContextServiceHost.cs
- XmlIlTypeHelper.cs
- StorageComplexTypeMapping.cs
- RadialGradientBrush.cs
- WebServiceEnumData.cs
- BackStopAuthenticationModule.cs
- SchemaImporterExtension.cs
- DetailsViewActionList.cs
- DataTableMapping.cs
- PlainXmlWriter.cs
- InputDevice.cs
- CustomValidator.cs
- HelloOperationAsyncResult.cs
- PartialCachingControl.cs
- MetadataCacheItem.cs
- ExpressionBindings.cs
- ModelTreeEnumerator.cs
- UnsafeNativeMethods.cs
- TextAction.cs
- FieldCollectionEditor.cs
- PartialToken.cs
- XmlSchemaDocumentation.cs
- TextServicesProperty.cs
- ProvideValueServiceProvider.cs
- RoleManagerEventArgs.cs
- CodeCatchClauseCollection.cs
- EmissiveMaterial.cs
- basecomparevalidator.cs