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
- WebPartVerb.cs
- WhereQueryOperator.cs
- XPathAxisIterator.cs
- MenuStrip.cs
- ChildrenQuery.cs
- Image.cs
- FrameworkObject.cs
- Assert.cs
- BinaryMethodMessage.cs
- log.cs
- WsatConfiguration.cs
- WarningException.cs
- StylusButtonEventArgs.cs
- XmlPreloadedResolver.cs
- DataGridHeaderBorder.cs
- LayoutDump.cs
- EventLog.cs
- SwitchElementsCollection.cs
- TypeBuilder.cs
- DataFormats.cs
- ParamArrayAttribute.cs
- ICspAsymmetricAlgorithm.cs
- DurationConverter.cs
- DataListItemCollection.cs
- Update.cs
- PersonalizationAdministration.cs
- bidPrivateBase.cs
- SessionEndingEventArgs.cs
- ConfigurationElementCollection.cs
- BitVector32.cs
- DateTimePicker.cs
- Transform3DGroup.cs
- MembershipUser.cs
- MimeMapping.cs
- DesignerUtils.cs
- InteropTrackingRecord.cs
- BindingCompleteEventArgs.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TemplateInstanceAttribute.cs
- UriSection.cs
- GPPOINT.cs
- DependencyPropertyConverter.cs
- Pen.cs
- UTF7Encoding.cs
- Win32MouseDevice.cs
- QueryExecutionOption.cs
- State.cs
- CommandID.cs
- ParenthesizePropertyNameAttribute.cs
- User.cs
- GatewayIPAddressInformationCollection.cs
- ScriptControlDescriptor.cs
- XmlSchemaCollection.cs
- OutputCacheModule.cs
- OLEDB_Util.cs
- Ops.cs
- DeploymentExceptionMapper.cs
- XPathMultyIterator.cs
- SecurityTokenSerializer.cs
- InstanceDataCollection.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- RotateTransform.cs
- DataGridTextBoxColumn.cs
- HttpContext.cs
- ReadOnlyDataSource.cs
- ButtonChrome.cs
- ListViewDesigner.cs
- UIElement3D.cs
- XmlKeywords.cs
- TagMapInfo.cs
- ConnectionPoint.cs
- TargetControlTypeAttribute.cs
- WebPartConnectionCollection.cs
- GridViewRowCollection.cs
- TextElementEditingBehaviorAttribute.cs
- DebugInfo.cs
- InputReferenceExpression.cs
- CheckBox.cs
- QueryAccessibilityHelpEvent.cs
- SiblingIterators.cs
- BypassElementCollection.cs
- XPathNavigatorReader.cs
- TreeNodeBindingCollection.cs
- QueryContinueDragEventArgs.cs
- SQLDateTime.cs
- LambdaCompiler.Unary.cs
- DivideByZeroException.cs
- WebBodyFormatMessageProperty.cs
- SqlFunctionAttribute.cs
- ScriptingRoleServiceSection.cs
- Repeater.cs
- AuthStoreRoleProvider.cs
- SafeNativeMethodsMilCoreApi.cs
- ValidatorCompatibilityHelper.cs
- EntryPointNotFoundException.cs
- PixelFormat.cs
- COM2PictureConverter.cs
- HeaderedItemsControl.cs
- ArgumentsParser.cs
- DragEvent.cs