Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- TextBox.cs
- smtpconnection.cs
- GPRECT.cs
- XmlDocumentSerializer.cs
- EventDescriptor.cs
- StaticExtension.cs
- ListBoxChrome.cs
- _AutoWebProxyScriptWrapper.cs
- WrapperSecurityCommunicationObject.cs
- SchemaTypeEmitter.cs
- AuthenticationException.cs
- XmlSerializableReader.cs
- TransportConfigurationTypeElement.cs
- PersonalizationProviderHelper.cs
- StylusPointProperties.cs
- PermissionRequestEvidence.cs
- Itemizer.cs
- XPathException.cs
- CodeAccessSecurityEngine.cs
- StatusBarItem.cs
- OpenFileDialog.cs
- SecurityRuntime.cs
- InputScopeAttribute.cs
- CharacterMetricsDictionary.cs
- SecurityTokenException.cs
- StylusPlugInCollection.cs
- ExpressionVisitor.cs
- ClickablePoint.cs
- ExpressionNode.cs
- ActiveXContainer.cs
- EventManager.cs
- X509ChainPolicy.cs
- LabelAutomationPeer.cs
- DocumentGridPage.cs
- HtmlImage.cs
- CryptoConfig.cs
- ScanQueryOperator.cs
- Container.cs
- serverconfig.cs
- SocketException.cs
- PrePrepareMethodAttribute.cs
- DataSvcMapFile.cs
- PropertyChangingEventArgs.cs
- CustomServiceCredentials.cs
- FacetValues.cs
- EffectiveValueEntry.cs
- WorkflowRuntimeServiceElementCollection.cs
- ExpressionBuilderCollection.cs
- TitleStyle.cs
- ChannelSinkStacks.cs
- XmlTextReaderImplHelpers.cs
- ScriptMethodAttribute.cs
- ConnectionInterfaceCollection.cs
- ToolStripItemEventArgs.cs
- DataGridViewAddColumnDialog.cs
- DataGridBoolColumn.cs
- RijndaelCryptoServiceProvider.cs
- OleDbDataReader.cs
- CodeGen.cs
- GuidTagList.cs
- SqlFactory.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- FrameDimension.cs
- RangeBase.cs
- KeyValuePairs.cs
- DataGridViewMethods.cs
- HttpHandlerActionCollection.cs
- TextFormatter.cs
- CheckBox.cs
- DeviceOverridableAttribute.cs
- CalloutQueueItem.cs
- RNGCryptoServiceProvider.cs
- HandledMouseEvent.cs
- ToolBarButton.cs
- UIElement3D.cs
- ObsoleteAttribute.cs
- TraceContextEventArgs.cs
- ProfilePropertyMetadata.cs
- ConfigurationException.cs
- TextAnchor.cs
- IndexedGlyphRun.cs
- InstanceCompleteException.cs
- OracleConnectionStringBuilder.cs
- TableChangeProcessor.cs
- XslException.cs
- EncryptedType.cs
- Comparer.cs
- ParameterBuilder.cs
- StackOverflowException.cs
- DataGridState.cs
- ActivityIdHeader.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ThaiBuddhistCalendar.cs
- Cursor.cs
- DataGridViewComboBoxCell.cs
- _ServiceNameStore.cs
- Button.cs
- ReadOnlyObservableCollection.cs
- QueryOptionExpression.cs
- Delegate.cs