Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentRenameEvent.cs / 1 / ComponentRenameEvent.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.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentRenameEventArgs : EventArgs { private object component; private string oldName; private string newName; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being renamed. /// ////// public virtual string OldName { get { return oldName; } } ////// Gets or /// sets the name of the component before the rename. /// ////// public virtual string NewName { get { return newName; } } ////// Gets or /// sets the current name of the component. /// ////// public ComponentRenameEventArgs(object component, string oldName, string newName) { this.oldName = oldName; this.newName = newName; this.component = component; } } }/// Initializes a new instance of the ////// class. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AliasGenerator.cs
- HostedBindingBehavior.cs
- Codec.cs
- LinqDataSourceUpdateEventArgs.cs
- PasswordTextContainer.cs
- _ListenerResponseStream.cs
- FormattedText.cs
- MediaSystem.cs
- WebHttpSecurityModeHelper.cs
- cookieexception.cs
- ComponentRenameEvent.cs
- WebPartMenu.cs
- ClockController.cs
- TemplatedWizardStep.cs
- ClientEventManager.cs
- PenThreadWorker.cs
- NewExpression.cs
- WsdlBuildProvider.cs
- ProcessHostServerConfig.cs
- Point4DConverter.cs
- StatusBarItemAutomationPeer.cs
- MemoryRecordBuffer.cs
- ProfileManager.cs
- TableTextElementCollectionInternal.cs
- ProcessInfo.cs
- CriticalExceptions.cs
- Mappings.cs
- ParameterBuilder.cs
- HtmlButton.cs
- ChildTable.cs
- ConnectionStringsSection.cs
- CodePrimitiveExpression.cs
- FlowchartDesignerCommands.cs
- IntegerValidatorAttribute.cs
- SignedXml.cs
- ipaddressinformationcollection.cs
- ExceptionCollection.cs
- EncryptedKey.cs
- PageCatalogPart.cs
- Image.cs
- AnnotationStore.cs
- TimeSpanConverter.cs
- UnsafeNativeMethodsTablet.cs
- Msec.cs
- KnownTypeHelper.cs
- LeafCellTreeNode.cs
- LeaseManager.cs
- OrCondition.cs
- PerformanceCounterLib.cs
- CompositionAdorner.cs
- TemplateParser.cs
- ProcessProtocolHandler.cs
- Vector3DValueSerializer.cs
- DisplayNameAttribute.cs
- TimeManager.cs
- Native.cs
- IgnoreDeviceFilterElementCollection.cs
- AttachInfo.cs
- CodeSnippetTypeMember.cs
- MessageQueueTransaction.cs
- SatelliteContractVersionAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- EventlogProvider.cs
- WorkflowPersistenceContext.cs
- RowToFieldTransformer.cs
- BinHexDecoder.cs
- ChannelManager.cs
- ResourceDictionary.cs
- columnmapkeybuilder.cs
- DataControlFieldCollection.cs
- ExpressionCopier.cs
- WorkflowRuntimeServiceElementCollection.cs
- UrlAuthFailedErrorFormatter.cs
- DataGridItemCollection.cs
- DataControlLinkButton.cs
- WindowsAltTab.cs
- NetworkStream.cs
- DataColumnChangeEvent.cs
- BeginEvent.cs
- FullTextState.cs
- TagElement.cs
- OuterGlowBitmapEffect.cs
- PieceNameHelper.cs
- RadioButton.cs
- WebPartDisplayMode.cs
- ColumnClickEvent.cs
- FixedDSBuilder.cs
- CodeSubDirectory.cs
- SynchronizationHandlesCodeDomSerializer.cs
- FileCodeGroup.cs
- AssemblyCollection.cs
- XmlSchemaInferenceException.cs
- versioninfo.cs
- CodeTypeDeclaration.cs
- SynchronizedDispatch.cs
- Scripts.cs
- PlainXmlDeserializer.cs
- StateMachine.cs
- DiscoveryExceptionDictionary.cs
- FontResourceCache.cs