Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Overlapped.cs
- HttpCapabilitiesSectionHandler.cs
- RemoteWebConfigurationHost.cs
- SqlNamer.cs
- BitmapMetadata.cs
- DES.cs
- ArraySortHelper.cs
- DataGridView.cs
- Help.cs
- ExtendedPropertiesHandler.cs
- AssemblyUtil.cs
- ApplicationBuildProvider.cs
- TransactedBatchingElement.cs
- HttpApplicationFactory.cs
- BufferModesCollection.cs
- LinearGradientBrush.cs
- DragEventArgs.cs
- _AutoWebProxyScriptEngine.cs
- TextElementCollection.cs
- MsmqIntegrationInputMessage.cs
- TextDecorationUnitValidation.cs
- DesignerActionService.cs
- CheckPair.cs
- ClientConfigurationSystem.cs
- GenericRootAutomationPeer.cs
- CaseCqlBlock.cs
- BoundPropertyEntry.cs
- PrintPreviewControl.cs
- DataGridViewComboBoxCell.cs
- FragmentQueryProcessor.cs
- NativeMethods.cs
- XamlReader.cs
- MergeEnumerator.cs
- Label.cs
- MergeExecutor.cs
- RequiredFieldValidator.cs
- SettingsAttributes.cs
- WinEventHandler.cs
- DocumentViewerConstants.cs
- ResourceProviderFactory.cs
- infer.cs
- TraceProvider.cs
- XmlSchemaIdentityConstraint.cs
- QueryStringParameter.cs
- MenuAutomationPeer.cs
- QueueProcessor.cs
- Rect3D.cs
- Int32Converter.cs
- ActivityCompletionCallbackWrapper.cs
- RoutedPropertyChangedEventArgs.cs
- BasicCellRelation.cs
- RegexCharClass.cs
- MD5CryptoServiceProvider.cs
- Focus.cs
- GcSettings.cs
- CommandBindingCollection.cs
- XPathParser.cs
- ObservableCollection.cs
- HttpException.cs
- X509CertificateValidationMode.cs
- SapiRecoContext.cs
- NativeMethods.cs
- Debug.cs
- PlacementWorkspace.cs
- RectangleConverter.cs
- EntityDataSourceChangingEventArgs.cs
- SecurityException.cs
- PackagePart.cs
- MbpInfo.cs
- ValueUtilsSmi.cs
- Effect.cs
- TextUtf8RawTextWriter.cs
- CacheSection.cs
- ToolBarTray.cs
- WorkflowItemPresenter.cs
- XMLUtil.cs
- LayoutEvent.cs
- OleDbRowUpdatedEvent.cs
- TreeNodeStyleCollection.cs
- COM2FontConverter.cs
- SerialReceived.cs
- CustomPopupPlacement.cs
- Expander.cs
- WorkflowTransactionService.cs
- Vector3D.cs
- DeviceContexts.cs
- XmlReaderSettings.cs
- ComponentDispatcherThread.cs
- XmlILModule.cs
- storepermission.cs
- ListViewSortEventArgs.cs
- RuleConditionDialog.Designer.cs
- MarshalByRefObject.cs
- LoginUtil.cs
- ExpressionBuilderCollection.cs
- FixedDSBuilder.cs
- AutomationAttributeInfo.cs
- DataListItemCollection.cs
- XmlLanguageConverter.cs
- MaskedTextProvider.cs