Code:
/ FX-1434 / FX-1434 / 1.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
- SignatureHelper.cs
- GridViewRowEventArgs.cs
- SocketStream.cs
- RawStylusInputCustomData.cs
- EpmTargetPathSegment.cs
- UriTemplateVariableQueryValue.cs
- ListManagerBindingsCollection.cs
- translator.cs
- XmlSchemaExternal.cs
- CqlParserHelpers.cs
- Identity.cs
- BitmapEffect.cs
- ErrorWrapper.cs
- GroupBox.cs
- PtsPage.cs
- EdmItemCollection.OcAssemblyCache.cs
- Serializer.cs
- EventProvider.cs
- TextSelection.cs
- GridEntry.cs
- SafeBitVector32.cs
- TableRowGroup.cs
- DefaultSerializationProviderAttribute.cs
- HttpConfigurationContext.cs
- StringUtil.cs
- SafeEventLogWriteHandle.cs
- VBCodeProvider.cs
- AssemblyResourceLoader.cs
- ValidationErrorInfo.cs
- SymmetricCryptoHandle.cs
- CurrentChangingEventArgs.cs
- MimePart.cs
- EmissiveMaterial.cs
- ProviderBase.cs
- InternalBase.cs
- DBCommand.cs
- DataGridHeaderBorder.cs
- VersionValidator.cs
- Adorner.cs
- ResourceReader.cs
- EntityWithKeyStrategy.cs
- XmlSchemaSimpleType.cs
- DecoderBestFitFallback.cs
- LongTypeConverter.cs
- BridgeDataReader.cs
- WhitespaceSignificantCollectionAttribute.cs
- DocumentXPathNavigator.cs
- IisTraceWebEventProvider.cs
- InvalidComObjectException.cs
- RegexTypeEditor.cs
- CodeDomDesignerLoader.cs
- TextProperties.cs
- webclient.cs
- StaticContext.cs
- OleDbSchemaGuid.cs
- Resources.Designer.cs
- MultiView.cs
- RelationshipEndMember.cs
- ClientBuildManager.cs
- DiscoveryOperationContextExtension.cs
- HostUtils.cs
- ProcessModelSection.cs
- EmptyReadOnlyDictionaryInternal.cs
- TypeBuilderInstantiation.cs
- QilIterator.cs
- KeyProperty.cs
- RectangleHotSpot.cs
- RadialGradientBrush.cs
- ColumnBinding.cs
- ColumnMapProcessor.cs
- ContentWrapperAttribute.cs
- ObjectDataSource.cs
- SqlProcedureAttribute.cs
- PaintEvent.cs
- RMPublishingDialog.cs
- ResponseBodyWriter.cs
- WebPartCancelEventArgs.cs
- LineProperties.cs
- Accessors.cs
- XPathEmptyIterator.cs
- LeaseManager.cs
- Unit.cs
- ZoomingMessageFilter.cs
- SafeFileMappingHandle.cs
- EventRecordWrittenEventArgs.cs
- XmlNotation.cs
- UserMapPath.cs
- RequestUriProcessor.cs
- PasswordRecovery.cs
- StateManagedCollection.cs
- AuthenticatingEventArgs.cs
- WebPartConnection.cs
- WebServiceTypeData.cs
- SystemBrushes.cs
- ListViewGroupItemCollection.cs
- GlyphInfoList.cs
- WorkflowOperationInvoker.cs
- EventMappingSettings.cs
- BlurEffect.cs
- counter.cs