Code:
/ FX-1434 / FX-1434 / 1.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
- UrlPath.cs
- ResourceDefaultValueAttribute.cs
- URI.cs
- ParseChildrenAsPropertiesAttribute.cs
- EntityDataSourceConfigureObjectContext.cs
- TrackingConditionCollection.cs
- DescriptionAttribute.cs
- WCFBuildProvider.cs
- ContentTextAutomationPeer.cs
- TextHintingModeValidation.cs
- WebResponse.cs
- TypeLoadException.cs
- MULTI_QI.cs
- LinqDataSourceSelectEventArgs.cs
- CompatibleIComparer.cs
- RtfControlWordInfo.cs
- JoinElimination.cs
- COM2ExtendedTypeConverter.cs
- BrowserCapabilitiesCodeGenerator.cs
- TableItemStyle.cs
- TransactionFlowElement.cs
- XmlBinaryWriter.cs
- XamlReaderHelper.cs
- XamlTreeBuilderBamlRecordWriter.cs
- SessionStateModule.cs
- StatusBarItemAutomationPeer.cs
- PipeException.cs
- VirtualPathProvider.cs
- ConditionCollection.cs
- DefaultParameterValueAttribute.cs
- AttributeProviderAttribute.cs
- HandlerFactoryWrapper.cs
- SapiRecoContext.cs
- CodeStatementCollection.cs
- FormViewUpdatedEventArgs.cs
- SchemaNamespaceManager.cs
- MultipleViewProviderWrapper.cs
- WindowsRebar.cs
- ExpressionVisitor.cs
- WinCategoryAttribute.cs
- WebSysDisplayNameAttribute.cs
- ReverseInheritProperty.cs
- SettingsPropertyIsReadOnlyException.cs
- CustomPopupPlacement.cs
- Socket.cs
- ProfileEventArgs.cs
- StoreAnnotationsMap.cs
- EntityDataSourceSelectedEventArgs.cs
- RSACryptoServiceProvider.cs
- DynamicResourceExtension.cs
- _OSSOCK.cs
- Compiler.cs
- RequestDescription.cs
- ManagedWndProcTracker.cs
- DependentList.cs
- MenuBase.cs
- Normalization.cs
- BaseUriHelper.cs
- UriTemplate.cs
- SubpageParagraph.cs
- EventLogger.cs
- GifBitmapDecoder.cs
- CommandID.cs
- SendingRequestEventArgs.cs
- ComponentEditorPage.cs
- _IPv6Address.cs
- Message.cs
- TraceHandlerErrorFormatter.cs
- AutomationPropertyInfo.cs
- RadioButtonRenderer.cs
- Pen.cs
- ScrollBar.cs
- ContentPlaceHolder.cs
- CurrentChangedEventManager.cs
- Win32KeyboardDevice.cs
- XmlDataSourceView.cs
- WindowsAuthenticationModule.cs
- NameTable.cs
- DesignOnlyAttribute.cs
- MaskedTextProvider.cs
- DiscreteKeyFrames.cs
- infer.cs
- ScriptDescriptor.cs
- AttributeQuery.cs
- InfoCardSchemas.cs
- ObjectItemCollection.cs
- HotCommands.cs
- ConfigXmlDocument.cs
- XmlWrappingReader.cs
- CompositeFontInfo.cs
- sqlpipe.cs
- MarkupWriter.cs
- DataGridHeaderBorder.cs
- QilNode.cs
- SqlInternalConnectionTds.cs
- MarkupCompiler.cs
- SQLBoolean.cs
- BreakRecordTable.cs
- LongPath.cs
- SafeProcessHandle.cs