Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } // 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
- CompiledQuery.cs
- ObjectRef.cs
- ExpandSegment.cs
- XsdBuilder.cs
- XMLUtil.cs
- PassportAuthentication.cs
- KeyNotFoundException.cs
- Int32Rect.cs
- AbsoluteQuery.cs
- TimeIntervalCollection.cs
- ParserHooks.cs
- ApplicationFileParser.cs
- ZipIOModeEnforcingStream.cs
- Color.cs
- WebConfigurationHostFileChange.cs
- AppDomainFactory.cs
- DirectionalAction.cs
- CriticalHandle.cs
- TableColumn.cs
- SqlNodeAnnotations.cs
- ErrorFormatterPage.cs
- SHA256Cng.cs
- MultiSelectRootGridEntry.cs
- SyndicationFeedFormatter.cs
- RedistVersionInfo.cs
- CheckPair.cs
- Executor.cs
- XmlSchemaElement.cs
- XmlDictionaryReader.cs
- XamlSerializerUtil.cs
- TextMetrics.cs
- LocatorManager.cs
- SecurityCriticalDataForSet.cs
- MessageBox.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- TableFieldsEditor.cs
- AnnotationObservableCollection.cs
- BooleanFacetDescriptionElement.cs
- StreamReader.cs
- SspiSecurityTokenParameters.cs
- IntSecurity.cs
- precedingsibling.cs
- RelationshipEndMember.cs
- UserControlAutomationPeer.cs
- UpdateTranslator.cs
- PageHandlerFactory.cs
- SelectionPattern.cs
- recordstatefactory.cs
- GlobalAllocSafeHandle.cs
- DataGridViewUtilities.cs
- SizeAnimationClockResource.cs
- SystemTcpConnection.cs
- DataAdapter.cs
- GlyphsSerializer.cs
- GradientSpreadMethodValidation.cs
- HtmlElementEventArgs.cs
- Quaternion.cs
- OrderedEnumerableRowCollection.cs
- AssociatedControlConverter.cs
- OleDbException.cs
- ReceiveContent.cs
- XamlTreeBuilder.cs
- Publisher.cs
- CombinedGeometry.cs
- InvalidPropValue.cs
- ProgressBar.cs
- ImmutableObjectAttribute.cs
- GZipStream.cs
- Binding.cs
- StorageTypeMapping.cs
- QilNode.cs
- ItemContainerPattern.cs
- CustomLineCap.cs
- RectValueSerializer.cs
- WindowsAltTab.cs
- NetTcpSection.cs
- StrongNameUtility.cs
- TimeZoneInfo.cs
- TreeViewEvent.cs
- MsmqIntegrationInputChannel.cs
- Debugger.cs
- ManagementBaseObject.cs
- TimeZone.cs
- ImmutableObjectAttribute.cs
- QueryStack.cs
- XmlJsonWriter.cs
- TextParagraph.cs
- TagElement.cs
- DateTimeParse.cs
- X509CertificateInitiatorServiceCredential.cs
- ExpressionVisitor.cs
- AnimationTimeline.cs
- InstanceDataCollection.cs
- ImportContext.cs
- EmptyControlCollection.cs
- HorizontalAlignConverter.cs
- List.cs
- VirtualDirectoryMappingCollection.cs
- NumberSubstitution.cs
- HwndMouseInputProvider.cs