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
- UmAlQuraCalendar.cs
- ToolStripMenuItem.cs
- RoutedEventValueSerializer.cs
- ToolStripSystemRenderer.cs
- Compiler.cs
- XmlNamedNodeMap.cs
- AvTraceFormat.cs
- CodeTypeConstructor.cs
- CopyNamespacesAction.cs
- AsyncPostBackTrigger.cs
- ApplicationServiceManager.cs
- ComponentDispatcherThread.cs
- SourceFilter.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- SQLBytesStorage.cs
- Logging.cs
- Label.cs
- RSAPKCS1SignatureDeformatter.cs
- __ConsoleStream.cs
- ToolStripItemTextRenderEventArgs.cs
- ServiceBehaviorElement.cs
- PlatformCulture.cs
- TryCatchDesigner.xaml.cs
- FolderBrowserDialog.cs
- CodeNamespaceImport.cs
- IntegrationExceptionEventArgs.cs
- WebMessageBodyStyleHelper.cs
- SetStateDesigner.cs
- EncodingInfo.cs
- TextRangeSerialization.cs
- UIElementPropertyUndoUnit.cs
- Pkcs7Signer.cs
- ServiceBuildProvider.cs
- OracleParameterBinding.cs
- datacache.cs
- Content.cs
- ConversionContext.cs
- FileDialogPermission.cs
- ChannelSinkStacks.cs
- Module.cs
- Serializer.cs
- FixedPageAutomationPeer.cs
- EditorPartCollection.cs
- VariableExpressionConverter.cs
- LassoSelectionBehavior.cs
- DirectionalLight.cs
- VersionedStream.cs
- QilChoice.cs
- ApplicationInterop.cs
- DataListCommandEventArgs.cs
- EntityDataSource.cs
- SiteMapNodeCollection.cs
- DemultiplexingClientMessageFormatter.cs
- RuleConditionDialog.cs
- WebResourceUtil.cs
- HtmlHistory.cs
- AssociationSetEnd.cs
- DataColumnCollection.cs
- Compensate.cs
- KeyFrames.cs
- TreeNodeMouseHoverEvent.cs
- ApplicationActivator.cs
- HotSpot.cs
- XXXInfos.cs
- DiscoveryClientRequestChannel.cs
- ApplicationServicesHostFactory.cs
- ExpressionVisitor.cs
- HttpPostProtocolImporter.cs
- ClaimComparer.cs
- SqlSupersetValidator.cs
- ClientReliableChannelBinder.cs
- TableProviderWrapper.cs
- GeometryDrawing.cs
- XmlReflectionImporter.cs
- SiteMapNodeItem.cs
- FormattedText.cs
- SourceInterpreter.cs
- GeneralTransform3D.cs
- Delegate.cs
- ByeMessageApril2005.cs
- MimeObjectFactory.cs
- WindowsFormsHelpers.cs
- CorePropertiesFilter.cs
- TextLine.cs
- OdbcDataReader.cs
- ObsoleteAttribute.cs
- Options.cs
- SystemIPv6InterfaceProperties.cs
- TokenBasedSet.cs
- OleDbReferenceCollection.cs
- PreviewKeyDownEventArgs.cs
- PriorityBindingExpression.cs
- VirtualizedItemProviderWrapper.cs
- CryptoHelper.cs
- NavigationPropertyEmitter.cs
- RemotingHelper.cs
- AddToCollection.cs
- Message.cs
- View.cs
- DrawingAttributes.cs