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
- Pen.cs
- TextMarkerSource.cs
- SessionStateModule.cs
- URLEditor.cs
- Helpers.cs
- PeerCollaboration.cs
- HyperLinkField.cs
- GridViewSortEventArgs.cs
- HashAlgorithm.cs
- oledbconnectionstring.cs
- GeometryCombineModeValidation.cs
- ResourcePermissionBase.cs
- MimeMapping.cs
- Enlistment.cs
- CompilationUtil.cs
- _LazyAsyncResult.cs
- DataBoundLiteralControl.cs
- CodeCompiler.cs
- IMembershipProvider.cs
- TimeSpanFormat.cs
- X509SecurityTokenProvider.cs
- WebPartConnectionsCancelEventArgs.cs
- CultureTableRecord.cs
- BindingSource.cs
- Operators.cs
- Opcode.cs
- NameValuePair.cs
- UIntPtr.cs
- ProcessInfo.cs
- ToolboxItem.cs
- XmlFormatWriterGenerator.cs
- AddToCollection.cs
- StructuralObject.cs
- AmbientLight.cs
- BulletedList.cs
- PagesSection.cs
- NonParentingControl.cs
- CompareValidator.cs
- ChooseAction.cs
- MimeTypePropertyAttribute.cs
- CultureInfoConverter.cs
- CharacterMetricsDictionary.cs
- XmlTypeMapping.cs
- WebPartCloseVerb.cs
- TraceHandler.cs
- SafeNativeMethods.cs
- ThreadAbortException.cs
- SafeTokenHandle.cs
- BamlResourceDeserializer.cs
- XmlSchemaCollection.cs
- BuiltInExpr.cs
- FixedPage.cs
- Point3DCollection.cs
- UIElementParagraph.cs
- ObjectListComponentEditor.cs
- DiffuseMaterial.cs
- ReadOnlyDataSource.cs
- WindowsImpersonationContext.cs
- IImplicitResourceProvider.cs
- HashSetDebugView.cs
- BaseUriHelper.cs
- Comparer.cs
- CharacterBuffer.cs
- UnsafeMethods.cs
- CollectionDataContractAttribute.cs
- SessionStateUtil.cs
- DateTimeSerializationSection.cs
- DataGridViewLinkColumn.cs
- QuestionEventArgs.cs
- IPEndPoint.cs
- TdsParserSessionPool.cs
- ConnectionsZone.cs
- _SpnDictionary.cs
- CodeDelegateInvokeExpression.cs
- CompositeFontFamily.cs
- ClientSettings.cs
- Context.cs
- NotImplementedException.cs
- FixedTextBuilder.cs
- ConfigXmlDocument.cs
- VectorCollectionValueSerializer.cs
- FixedPage.cs
- Matrix.cs
- FixedDocumentPaginator.cs
- PeerNameRegistration.cs
- Ppl.cs
- storepermissionattribute.cs
- MatrixTransform3D.cs
- CodeSnippetExpression.cs
- ViewKeyConstraint.cs
- DesignerAdRotatorAdapter.cs
- IgnoreFileBuildProvider.cs
- TypefaceMap.cs
- DataGridViewRowPrePaintEventArgs.cs
- CorrelationManager.cs
- WindowsSlider.cs
- ObjectStateManagerMetadata.cs
- AnnotationAuthorChangedEventArgs.cs
- ProcessHostFactoryHelper.cs
- PersonalizationProviderHelper.cs