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
- VerificationException.cs
- DataViewSetting.cs
- LiteralControl.cs
- DynamicValidatorEventArgs.cs
- InProcStateClientManager.cs
- HttpChannelHelper.cs
- MessageDecoder.cs
- ConfigurationElement.cs
- AnnotationStore.cs
- InternalConfigRoot.cs
- ApplicationFileParser.cs
- XmlChildNodes.cs
- EntityDataSourceContextCreatedEventArgs.cs
- InputScopeNameConverter.cs
- IxmlLineInfo.cs
- grammarelement.cs
- TemplateParser.cs
- IdlingCommunicationPool.cs
- ResourceDescriptionAttribute.cs
- SettingsBase.cs
- HelpKeywordAttribute.cs
- EntityDataSourceDataSelection.cs
- UshortList2.cs
- OleDbMetaDataFactory.cs
- DataIdProcessor.cs
- RenderOptions.cs
- SqlFormatter.cs
- TextElement.cs
- objectresult_tresulttype.cs
- ReflectPropertyDescriptor.cs
- RadioButtonBaseAdapter.cs
- DbDataReader.cs
- ColorTransform.cs
- EffectiveValueEntry.cs
- MetaColumn.cs
- SerializerProvider.cs
- TrustManager.cs
- ShaderEffect.cs
- ArgumentException.cs
- Pen.cs
- PageOrientation.cs
- SqlDataSourceSelectingEventArgs.cs
- Lease.cs
- KnownAssembliesSet.cs
- ViewValidator.cs
- DrawingServices.cs
- PixelFormatConverter.cs
- ColorPalette.cs
- SoapAttributes.cs
- CommandLineParser.cs
- cookieexception.cs
- FixedPosition.cs
- xmlglyphRunInfo.cs
- SafeSecurityHandles.cs
- _ScatterGatherBuffers.cs
- ValidatorCompatibilityHelper.cs
- COM2TypeInfoProcessor.cs
- Wildcard.cs
- ExceptionWrapper.cs
- EDesignUtil.cs
- IdnElement.cs
- BindingManagerDataErrorEventArgs.cs
- ManualResetEvent.cs
- EmptyCollection.cs
- CompilationUtil.cs
- SiteMapNodeItem.cs
- TemplateNameScope.cs
- ValidatorCompatibilityHelper.cs
- EventlogProvider.cs
- MulticastNotSupportedException.cs
- TypeConverter.cs
- LastQueryOperator.cs
- SqlTypesSchemaImporter.cs
- XmlValueConverter.cs
- HGlobalSafeHandle.cs
- CompilerScope.cs
- DesignerEventService.cs
- GPRECT.cs
- PropertyGridCommands.cs
- SaveRecipientRequest.cs
- CodeTryCatchFinallyStatement.cs
- SmiMetaDataProperty.cs
- SQLByteStorage.cs
- SystemUnicastIPAddressInformation.cs
- RoutedEvent.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- JournalNavigationScope.cs
- _Rfc2616CacheValidators.cs
- EasingKeyFrames.cs
- ConfigXmlAttribute.cs
- ReaderContextStackData.cs
- RSAOAEPKeyExchangeFormatter.cs
- TextEditorDragDrop.cs
- DesignerForm.cs
- CodeTypeDeclarationCollection.cs
- RawAppCommandInputReport.cs
- Trigger.cs
- EnvironmentPermission.cs
- HttpListener.cs
- TextProperties.cs