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
- ButtonChrome.cs
- FormatConvertedBitmap.cs
- ResourceCategoryAttribute.cs
- PositiveTimeSpanValidatorAttribute.cs
- RemoteWebConfigurationHostStream.cs
- FillRuleValidation.cs
- AppSettingsReader.cs
- HttpModuleCollection.cs
- FormViewDeletedEventArgs.cs
- SQLBinaryStorage.cs
- CodeBinaryOperatorExpression.cs
- BamlLocalizationDictionary.cs
- CharUnicodeInfo.cs
- PictureBox.cs
- Funcletizer.cs
- WebDisplayNameAttribute.cs
- X509SecurityTokenParameters.cs
- Int16AnimationUsingKeyFrames.cs
- ParameterCollection.cs
- BaseConfigurationRecord.cs
- XamlPathDataSerializer.cs
- CodeMemberField.cs
- DocumentsTrace.cs
- SoapAttributeOverrides.cs
- StrokeCollection.cs
- SingleAnimationUsingKeyFrames.cs
- SqlUnionizer.cs
- TemplatePagerField.cs
- UserControl.cs
- MetadataItem.cs
- VerificationAttribute.cs
- ToolStripCustomTypeDescriptor.cs
- ColorConvertedBitmap.cs
- HierarchicalDataBoundControl.cs
- NonVisualControlAttribute.cs
- ClientUtils.cs
- RuntimeConfigLKG.cs
- DataReaderContainer.cs
- ExpandSegmentCollection.cs
- DesignerActionUI.cs
- DataGridLinkButton.cs
- XmlChildEnumerator.cs
- XmlAttributeOverrides.cs
- PtsPage.cs
- SelectionList.cs
- ClientEndpointLoader.cs
- RootCodeDomSerializer.cs
- BaseTemplateParser.cs
- Timer.cs
- TabControl.cs
- ByteStreamMessageUtility.cs
- CreateBookmarkScope.cs
- ControllableStoryboardAction.cs
- EncryptedKey.cs
- ToolboxItemAttribute.cs
- DataGridViewImageCell.cs
- RoleManagerModule.cs
- MediaPlayer.cs
- ServicesExceptionNotHandledEventArgs.cs
- BamlMapTable.cs
- ObjectManager.cs
- EntityDescriptor.cs
- Animatable.cs
- ProfileSection.cs
- DbProviderFactory.cs
- LoginDesigner.cs
- SqlCommand.cs
- SerializationAttributes.cs
- IxmlLineInfo.cs
- SchemaImporterExtensionElementCollection.cs
- StringSorter.cs
- XPathCompileException.cs
- DashStyles.cs
- ApplicationSecurityManager.cs
- ViewBox.cs
- Encoder.cs
- OracleRowUpdatingEventArgs.cs
- PointCollectionConverter.cs
- IdentityHolder.cs
- XmlSchemaNotation.cs
- TextTreeText.cs
- IDispatchConstantAttribute.cs
- XmlHierarchicalDataSourceView.cs
- VariantWrapper.cs
- ExtendedProtectionPolicyTypeConverter.cs
- BuildResult.cs
- ConsoleCancelEventArgs.cs
- Int32CollectionConverter.cs
- BufferBuilder.cs
- RegionData.cs
- RadioButton.cs
- InvokeBinder.cs
- ColorContextHelper.cs
- _RequestCacheProtocol.cs
- ProtocolException.cs
- SQLSingle.cs
- ProviderException.cs
- WriteStateInfoBase.cs
- StructuredTypeEmitter.cs
- RewritingProcessor.cs