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
- XmlMemberMapping.cs
- WindowsAltTab.cs
- SoapObjectReader.cs
- GroupBox.cs
- DisplayNameAttribute.cs
- XsltFunctions.cs
- RadioButtonRenderer.cs
- Bold.cs
- Region.cs
- ObjectSet.cs
- VirtualDirectoryMappingCollection.cs
- VerificationAttribute.cs
- ContainerVisual.cs
- HierarchicalDataTemplate.cs
- ProtocolReflector.cs
- StyleCollectionEditor.cs
- HttpValueCollection.cs
- LinearGradientBrush.cs
- FilterFactory.cs
- TextFormatterContext.cs
- XmlSchemaChoice.cs
- DataGridViewBindingCompleteEventArgs.cs
- ScrollViewerAutomationPeer.cs
- BindingMAnagerBase.cs
- BamlLocalizer.cs
- RuleInfoComparer.cs
- SudsParser.cs
- Literal.cs
- Panel.cs
- Resources.Designer.cs
- ApplicationActivator.cs
- TabletCollection.cs
- PersonalizationAdministration.cs
- BamlRecordWriter.cs
- RegisteredArrayDeclaration.cs
- MultipleViewPattern.cs
- UrlPropertyAttribute.cs
- FileLogRecordHeader.cs
- LinkConverter.cs
- securestring.cs
- AdapterDictionary.cs
- EffectiveValueEntry.cs
- UpdateException.cs
- UniqueIdentifierService.cs
- DataProtection.cs
- RenderContext.cs
- RectangleGeometry.cs
- InstanceData.cs
- ClientApiGenerator.cs
- _Connection.cs
- wmiprovider.cs
- TextChangedEventArgs.cs
- DSACryptoServiceProvider.cs
- TypeHelpers.cs
- DataQuery.cs
- XmlILConstructAnalyzer.cs
- SortFieldComparer.cs
- DocumentXPathNavigator.cs
- IdentityHolder.cs
- PermissionToken.cs
- DeferredSelectedIndexReference.cs
- AnimationClock.cs
- EventMappingSettings.cs
- TransformedBitmap.cs
- SQLResource.cs
- Point3DCollection.cs
- StylusPlugInCollection.cs
- StartUpEventArgs.cs
- SortExpressionBuilder.cs
- SelectorItemAutomationPeer.cs
- ComboBoxItem.cs
- EmptyStringExpandableObjectConverter.cs
- HuffModule.cs
- ConfigurationManager.cs
- QueryStringParameter.cs
- RegistryPermission.cs
- LogSwitch.cs
- QueryServiceConfigHandle.cs
- KeyBinding.cs
- OdbcParameter.cs
- UIElement.cs
- FontUnit.cs
- CatalogZone.cs
- QueryStringParameter.cs
- MonthChangedEventArgs.cs
- DataTableReader.cs
- TrackingProfileDeserializationException.cs
- UIElement.cs
- EndPoint.cs
- COAUTHINFO.cs
- TransportDefaults.cs
- CodeAttributeDeclaration.cs
- EntityDataSourceQueryBuilder.cs
- Transform3D.cs
- StreamReader.cs
- BlockExpression.cs
- HuffCodec.cs
- PostBackOptions.cs
- JournalEntry.cs
- ErrorTableItemStyle.cs