Code:
/ 4.0 / 4.0 / 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. /// // 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
- XPathAxisIterator.cs
- SrgsElementList.cs
- RelationshipEndMember.cs
- TcpChannelHelper.cs
- State.cs
- HttpSocketManager.cs
- ImageDrawing.cs
- RtType.cs
- ViewBox.cs
- DaylightTime.cs
- SystemIPInterfaceStatistics.cs
- MemberInfoSerializationHolder.cs
- PropertyGridView.cs
- DeflateStream.cs
- FontCollection.cs
- ClientSettingsProvider.cs
- ProgressBar.cs
- ColorConvertedBitmap.cs
- EntityTypeEmitter.cs
- BaseCollection.cs
- WindowsGraphics2.cs
- SchemaNames.cs
- Configuration.cs
- AuthStoreRoleProvider.cs
- PackageProperties.cs
- WorkerRequest.cs
- EdmType.cs
- MaskedTextBoxTextEditor.cs
- CreateDataSourceDialog.cs
- CodeGeneratorOptions.cs
- DispatchChannelSink.cs
- DefinitionUpdate.cs
- httpserverutility.cs
- XmlCodeExporter.cs
- ListItemParagraph.cs
- CommandField.cs
- DecimalAnimationBase.cs
- SoapProtocolReflector.cs
- SortedDictionary.cs
- DecimalAnimation.cs
- SqlInternalConnectionSmi.cs
- TypeConverterHelper.cs
- Drawing.cs
- ReadOnlyCollectionBase.cs
- X509CertificateStore.cs
- MaterialGroup.cs
- Range.cs
- ResXResourceWriter.cs
- CompoundFileReference.cs
- TileBrush.cs
- RestClientProxyHandler.cs
- ResourceDescriptionAttribute.cs
- Constraint.cs
- EntityDesignerUtils.cs
- PtsPage.cs
- BinaryKeyIdentifierClause.cs
- DefaultMemberAttribute.cs
- MetafileHeader.cs
- DataTableTypeConverter.cs
- MethodCallConverter.cs
- CommonRemoteMemoryBlock.cs
- ArgIterator.cs
- VSWCFServiceContractGenerator.cs
- ImageListImageEditor.cs
- CheckedListBox.cs
- ValidationErrorInfo.cs
- XPathArrayIterator.cs
- ElementFactory.cs
- SSmlParser.cs
- SourceSwitch.cs
- MouseOverProperty.cs
- NumberFunctions.cs
- XmlSchemaExporter.cs
- XPathAncestorQuery.cs
- ViewGenResults.cs
- PageOutputColor.cs
- WebPartMinimizeVerb.cs
- StringWriter.cs
- SizeLimitedCache.cs
- BeginEvent.cs
- ImmutableObjectAttribute.cs
- activationcontext.cs
- ExpressionStringBuilder.cs
- GeneratedView.cs
- DocumentGridPage.cs
- _SSPIWrapper.cs
- FrameAutomationPeer.cs
- TypeSystem.cs
- DispatcherOperation.cs
- AnnotationHighlightLayer.cs
- RankException.cs
- Positioning.cs
- UdpReplyToBehavior.cs
- ResourceProperty.cs
- MdiWindowListItemConverter.cs
- DesignTimeTemplateParser.cs
- FormViewUpdatedEventArgs.cs
- MimeImporter.cs
- AssemblyCollection.cs
- SamlConstants.cs