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
- WebPermission.cs
- ReachDocumentSequenceSerializerAsync.cs
- _DomainName.cs
- QilStrConcatenator.cs
- SecurityChannelListener.cs
- BindableTemplateBuilder.cs
- OleDbCommand.cs
- WebPartDisplayModeCollection.cs
- LinqDataSourceView.cs
- NetCodeGroup.cs
- ZipIOModeEnforcingStream.cs
- TextureBrush.cs
- BitmapCodecInfoInternal.cs
- PathGeometry.cs
- SeekStoryboard.cs
- FormatConvertedBitmap.cs
- ThaiBuddhistCalendar.cs
- PropertyItemInternal.cs
- MatrixCamera.cs
- InvokeProviderWrapper.cs
- ZipPackagePart.cs
- UndoUnit.cs
- baseshape.cs
- SecureStringHasher.cs
- Track.cs
- ThreadStateException.cs
- SamlSecurityToken.cs
- WorkflowServiceHost.cs
- securitycriticaldata.cs
- WorkflowServiceNamespace.cs
- WorkflowInstanceExtensionManager.cs
- DataTableReader.cs
- SHA256.cs
- HtmlGenericControl.cs
- Configuration.cs
- MailDefinition.cs
- RadioButtonAutomationPeer.cs
- FrameDimension.cs
- TreeWalker.cs
- CustomErrorCollection.cs
- BindableTemplateBuilder.cs
- ProxyWebPartManager.cs
- TreeNodeCollection.cs
- SafeReadContext.cs
- RecordManager.cs
- __ConsoleStream.cs
- ToolboxItemCollection.cs
- HitTestParameters3D.cs
- ContourSegment.cs
- Validator.cs
- TextPointerBase.cs
- EdmError.cs
- UrlMapping.cs
- ObjectParameter.cs
- DataQuery.cs
- HijriCalendar.cs
- MethodBuilder.cs
- HttpCookie.cs
- CodeParameterDeclarationExpressionCollection.cs
- HtmlTableCellCollection.cs
- OutputCacheSettingsSection.cs
- NeutralResourcesLanguageAttribute.cs
- XsltException.cs
- FixedSOMTable.cs
- WorkflowViewElement.cs
- TreeNodeCollection.cs
- StandardToolWindows.cs
- URI.cs
- Internal.cs
- EditingScopeUndoUnit.cs
- Misc.cs
- PersistChildrenAttribute.cs
- VirtualizingStackPanel.cs
- RepeatInfo.cs
- ForeignConstraint.cs
- PrintDialog.cs
- PropertyTabChangedEvent.cs
- CopyCodeAction.cs
- safesecurityhelperavalon.cs
- CodeIdentifiers.cs
- WebPartDescriptionCollection.cs
- XmlSchemaResource.cs
- Compilation.cs
- MemoryPressure.cs
- NotImplementedException.cs
- ClientTarget.cs
- NestedContainer.cs
- StrongNameKeyPair.cs
- TextRange.cs
- ColorConvertedBitmap.cs
- RtfControlWordInfo.cs
- SystemDropShadowChrome.cs
- InternalTransaction.cs
- OdbcError.cs
- CompositeFontParser.cs
- RelatedView.cs
- AsyncMethodInvoker.cs
- CharEntityEncoderFallback.cs
- ClientRequest.cs
- FileUtil.cs