Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentRenameEvent.cs / 1305376 / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the ////// class. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartUtil.cs
- SqlBuffer.cs
- ImageInfo.cs
- GPPOINT.cs
- Accessible.cs
- CodeAccessPermission.cs
- HttpContext.cs
- ContentPresenter.cs
- AssociationTypeEmitter.cs
- KeySplineConverter.cs
- OledbConnectionStringbuilder.cs
- QilPatternVisitor.cs
- ErrorRuntimeConfig.cs
- PointLight.cs
- GridViewColumn.cs
- GeometryCollection.cs
- LinqDataSourceEditData.cs
- QueryAccessibilityHelpEvent.cs
- Exceptions.cs
- Matrix.cs
- ListItemsCollectionEditor.cs
- ToolStripSeparator.cs
- SystemResourceKey.cs
- _BaseOverlappedAsyncResult.cs
- XhtmlTextWriter.cs
- ComponentResourceManager.cs
- ImageListUtils.cs
- DataServiceOperationContext.cs
- PreviewPageInfo.cs
- CodeTryCatchFinallyStatement.cs
- AttributeProviderAttribute.cs
- RequestCacheManager.cs
- EntityDataSourceView.cs
- WebPartPersonalization.cs
- InternalConfigSettingsFactory.cs
- Point3DCollection.cs
- XmlCharType.cs
- BatchParser.cs
- SqlAliasesReferenced.cs
- Viewport2DVisual3D.cs
- base64Transforms.cs
- DockPatternIdentifiers.cs
- PerformanceCounterPermission.cs
- ColorPalette.cs
- QilCloneVisitor.cs
- EntityCommand.cs
- NativeMethods.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- CaseExpr.cs
- XmlEncodedRawTextWriter.cs
- CacheMemory.cs
- UInt64.cs
- SignedInfo.cs
- SiteMap.cs
- RotateTransform3D.cs
- ProtocolsConfigurationEntry.cs
- RequestCacheEntry.cs
- XmlAnyElementAttribute.cs
- UnicastIPAddressInformationCollection.cs
- DataGridViewColumnStateChangedEventArgs.cs
- DataRowView.cs
- XmlWrappingReader.cs
- DisplayMemberTemplateSelector.cs
- InvalidPropValue.cs
- ItemContainerGenerator.cs
- RegexCharClass.cs
- StringFreezingAttribute.cs
- DataGridViewImageColumn.cs
- AnimationStorage.cs
- OverlappedAsyncResult.cs
- ForceCopyBuildProvider.cs
- PropertyMap.cs
- tabpagecollectioneditor.cs
- CompilerGlobalScopeAttribute.cs
- DataSysAttribute.cs
- LocatorPartList.cs
- ResXBuildProvider.cs
- XmlSerializerAssemblyAttribute.cs
- OutputScopeManager.cs
- ExpressionPrefixAttribute.cs
- CustomPopupPlacement.cs
- RC2.cs
- Vector3DKeyFrameCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- TextTreeRootNode.cs
- XmlSchemaSimpleContent.cs
- DocumentViewerConstants.cs
- FontUnitConverter.cs
- HitTestDrawingContextWalker.cs
- AliasedSlot.cs
- ResponseStream.cs
- TextRangeEditLists.cs
- Transform3D.cs
- counter.cs
- OleDbConnection.cs
- CorrelationInitializer.cs
- ComPlusTypeLoader.cs
- QuadraticBezierSegment.cs
- SqlInternalConnectionTds.cs
- XPathNode.cs