Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangedEvent.cs / 1 / ComponentChangedEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public sealed class ComponentChangedEventArgs : EventArgs { private object component; private MemberDescriptor member; private object oldValue; private object newValue; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is the cause of this event. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member that is about to change. /// ////// public object NewValue { get { return newValue; } } ////// Gets or sets the new value of the changed member. /// ////// public object OldValue { get { return oldValue; } } ////// Gets or sets the old value of the changed member. /// ////// public ComponentChangedEventArgs(object component, MemberDescriptor member, object oldValue, object newValue) { this.component = component; this.member = member; this.oldValue = oldValue; this.newValue = newValue; } } }Initializes a new instance of the ///class.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlCharCheckingWriter.cs
- Simplifier.cs
- CommandBindingCollection.cs
- XPathAncestorIterator.cs
- GatewayDefinition.cs
- SqlDataSourceQueryEditor.cs
- BufferAllocator.cs
- OdbcError.cs
- MessagePropertyDescription.cs
- CheckedListBox.cs
- PeerCollaborationPermission.cs
- WindowsTitleBar.cs
- WpfSharedXamlSchemaContext.cs
- HttpCachePolicy.cs
- ArgumentValue.cs
- OutputCache.cs
- SpellerError.cs
- ImpersonateTokenRef.cs
- ArglessEventHandlerProxy.cs
- ClonableStack.cs
- SelectorItemAutomationPeer.cs
- SspiSecurityTokenProvider.cs
- SetIterators.cs
- ComUdtElement.cs
- ValidationHelper.cs
- SmiContext.cs
- HandledMouseEvent.cs
- InternalDispatchObject.cs
- ModelServiceImpl.cs
- NumericExpr.cs
- SchemaImporterExtensionsSection.cs
- TypedServiceChannelBuilder.cs
- HtmlInputText.cs
- ListBindingConverter.cs
- WebPartDisplayModeCancelEventArgs.cs
- RawTextInputReport.cs
- MimeFormatter.cs
- EventManager.cs
- ReflectPropertyDescriptor.cs
- CrossAppDomainChannel.cs
- WeakKeyDictionary.cs
- OdbcConnectionFactory.cs
- CollectionViewGroupRoot.cs
- BuildDependencySet.cs
- WorkflowDesignerColors.cs
- ButtonColumn.cs
- ComponentCodeDomSerializer.cs
- CaseInsensitiveComparer.cs
- ObjectListCommandCollection.cs
- RegexGroup.cs
- HtmlControlPersistable.cs
- Profiler.cs
- IsolationInterop.cs
- DetailsViewDeleteEventArgs.cs
- DoWorkEventArgs.cs
- DictionaryContent.cs
- ellipse.cs
- SessionStateUtil.cs
- MenuCommands.cs
- SafeNativeMethods.cs
- GeneralTransform3DTo2D.cs
- ThreadStateException.cs
- TextTreeDeleteContentUndoUnit.cs
- ConfigurationErrorsException.cs
- PersistenceTypeAttribute.cs
- AppearanceEditorPart.cs
- TemplateParser.cs
- SQLBytes.cs
- ConfigurationSectionGroup.cs
- DataGridViewComboBoxCell.cs
- OperationContractAttribute.cs
- CheckBoxList.cs
- ReplacementText.cs
- ObjectCloneHelper.cs
- RelationshipDetailsCollection.cs
- WindowsProgressbar.cs
- InternalCache.cs
- ToolStripSystemRenderer.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- XmlElementCollection.cs
- KeyPressEvent.cs
- TextElementCollection.cs
- WebPartZoneBase.cs
- DnsPermission.cs
- EndEvent.cs
- XmlAttributeAttribute.cs
- FixedNode.cs
- DescriptionAttribute.cs
- MasterPageCodeDomTreeGenerator.cs
- EntryIndex.cs
- SQLCharsStorage.cs
- ArrangedElement.cs
- CodeCompileUnit.cs
- DataContract.cs
- SafeCoTaskMem.cs
- CellCreator.cs
- ConfigurationSettings.cs
- TextEffect.cs
- X509ImageLogo.cs
- MatchingStyle.cs