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
- StylusDownEventArgs.cs
- GotoExpression.cs
- OdbcInfoMessageEvent.cs
- CopyNodeSetAction.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- EdmSchemaAttribute.cs
- ToolBarButtonClickEvent.cs
- ActionNotSupportedException.cs
- CheckBox.cs
- ExpressionBuilder.cs
- TextProviderWrapper.cs
- TerminateDesigner.cs
- WriteTimeStream.cs
- CodeIdentifier.cs
- DNS.cs
- MatrixKeyFrameCollection.cs
- DataGridCell.cs
- ExtentKey.cs
- Substitution.cs
- QueryInterceptorAttribute.cs
- WebPartManagerInternals.cs
- lengthconverter.cs
- ObjectToken.cs
- _NTAuthentication.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- ObjectTag.cs
- GridView.cs
- EmbeddedMailObject.cs
- TypeInitializationException.cs
- PeoplePickerWrapper.cs
- ImageProxy.cs
- Utils.cs
- MethodAccessException.cs
- ExternalCalls.cs
- ProtocolViolationException.cs
- QueryExtender.cs
- TimeSpanSecondsConverter.cs
- LineServices.cs
- WebBrowserNavigatingEventHandler.cs
- ClockController.cs
- SiteMapPath.cs
- DispatchOperation.cs
- ValueType.cs
- SimpleLine.cs
- SecuritySessionClientSettings.cs
- WebSysDisplayNameAttribute.cs
- Type.cs
- CodeGenerator.cs
- XmlUtil.cs
- BamlLocalizableResource.cs
- EFAssociationProvider.cs
- RootProfilePropertySettingsCollection.cs
- SafeLibraryHandle.cs
- DivideByZeroException.cs
- ActivityXamlServices.cs
- ProfileParameter.cs
- DataGridCommandEventArgs.cs
- ImagingCache.cs
- Line.cs
- PrincipalPermission.cs
- EntityDataSourceMemberPath.cs
- XmlTextAttribute.cs
- MetabaseServerConfig.cs
- ImageIndexConverter.cs
- FlowDocumentFormatter.cs
- ISAPIApplicationHost.cs
- AssemblyHash.cs
- NavigationWindowAutomationPeer.cs
- SqlFormatter.cs
- Random.cs
- Win32Interop.cs
- TabPage.cs
- PointAnimationClockResource.cs
- ScriptControlDescriptor.cs
- HtmlPanelAdapter.cs
- QilScopedVisitor.cs
- WebPartConnectionsConnectVerb.cs
- MemberAssignment.cs
- OleDbInfoMessageEvent.cs
- BaseParagraph.cs
- QueryOperationResponseOfT.cs
- ImageIndexEditor.cs
- TraceLevelStore.cs
- WindowsRebar.cs
- Journaling.cs
- SqlWriter.cs
- WebServiceHost.cs
- AssociatedControlConverter.cs
- RelationshipDetailsCollection.cs
- XmlSchemaAttribute.cs
- WebPartCollection.cs
- filewebresponse.cs
- QueryResponse.cs
- XmlAttributes.cs
- RegularExpressionValidator.cs
- InternalPermissions.cs
- TdsEnums.cs
- AmbientValueAttribute.cs
- WindowsClaimSet.cs
- TableMethodGenerator.cs