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
- ExtensionWindow.cs
- WebResponse.cs
- XmlIncludeAttribute.cs
- Array.cs
- CompoundFileReference.cs
- XmlSchemaObject.cs
- XmlSchema.cs
- WindowsClientCredential.cs
- SetState.cs
- HttpValueCollection.cs
- EntityDataSourceView.cs
- HttpConfigurationContext.cs
- TextRenderer.cs
- ControlAdapter.cs
- WebPartAddingEventArgs.cs
- ProfileEventArgs.cs
- MenuItem.cs
- MessagePropertyDescription.cs
- Keyboard.cs
- QueryInterceptorAttribute.cs
- MembershipPasswordException.cs
- DataGridState.cs
- Route.cs
- Sql8ExpressionRewriter.cs
- _ProxyRegBlob.cs
- PrintPreviewControl.cs
- Serialization.cs
- LOSFormatter.cs
- DataPagerFieldItem.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SnapLine.cs
- CorePropertiesFilter.cs
- XmlBinaryReader.cs
- FixedElement.cs
- PlatformCulture.cs
- XmlSchema.cs
- WindowVisualStateTracker.cs
- XmlSchemaCompilationSettings.cs
- ExistsInCollection.cs
- DbSourceParameterCollection.cs
- DBCSCodePageEncoding.cs
- FormsIdentity.cs
- DataObjectSettingDataEventArgs.cs
- FixedDocumentSequencePaginator.cs
- EnvelopedSignatureTransform.cs
- TreeNodeClickEventArgs.cs
- GeometryGroup.cs
- ScaleTransform.cs
- GridViewRow.cs
- ResXBuildProvider.cs
- Cursors.cs
- StickyNoteAnnotations.cs
- UpdatePanelTriggerCollection.cs
- PipeConnection.cs
- ModuleConfigurationInfo.cs
- InvalidPipelineStoreException.cs
- DSACryptoServiceProvider.cs
- CodeEntryPointMethod.cs
- AssociationSet.cs
- RelAssertionDirectKeyIdentifierClause.cs
- DBParameter.cs
- Model3D.cs
- Resources.Designer.cs
- GridViewDeleteEventArgs.cs
- ProcessDesigner.cs
- FlowLayoutPanel.cs
- RSAProtectedConfigurationProvider.cs
- EventLogPermissionEntry.cs
- NegationPusher.cs
- TypeLoadException.cs
- OrderingExpression.cs
- ListViewItem.cs
- HealthMonitoringSection.cs
- BinaryConverter.cs
- MatrixTransform.cs
- DesignerDataColumn.cs
- XPathArrayIterator.cs
- StyleCollectionEditor.cs
- SuppressIldasmAttribute.cs
- ReadOnlyObservableCollection.cs
- dbdatarecord.cs
- XpsManager.cs
- _ListenerRequestStream.cs
- SQLMembershipProvider.cs
- OdbcConnectionStringbuilder.cs
- EntityProviderFactory.cs
- DBCSCodePageEncoding.cs
- RequestCacheManager.cs
- AutomationTextAttribute.cs
- PagerSettings.cs
- ConditionalWeakTable.cs
- OleAutBinder.cs
- InstanceHandleReference.cs
- TextSelectionProcessor.cs
- PropertyEmitter.cs
- ValidationResult.cs
- OutputCacheProfileCollection.cs
- CharacterMetricsDictionary.cs
- ConfigurationSectionGroupCollection.cs
- GPPOINT.cs