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
- HostProtectionException.cs
- DotExpr.cs
- AnnotationStore.cs
- HttpAsyncResult.cs
- ScalarOps.cs
- ContainerControl.cs
- RequiredAttributeAttribute.cs
- ReachIDocumentPaginatorSerializer.cs
- TableLayoutStyle.cs
- ClientBuildManagerCallback.cs
- DbCommandTree.cs
- SubqueryRules.cs
- ServiceOperationParameter.cs
- HtmlElementErrorEventArgs.cs
- SuppressMessageAttribute.cs
- StreamAsIStream.cs
- ClockGroup.cs
- XmlAttributeOverrides.cs
- EncryptedReference.cs
- ManagementBaseObject.cs
- ExpressionEditorAttribute.cs
- ActivitySurrogate.cs
- TableRowsCollectionEditor.cs
- ValueChangedEventManager.cs
- ProtocolsConfiguration.cs
- Function.cs
- HtmlString.cs
- DetailsViewUpdateEventArgs.cs
- DetailsViewPagerRow.cs
- MSAAWinEventWrap.cs
- HttpModuleCollection.cs
- EntityParameter.cs
- ToolStripDesignerAvailabilityAttribute.cs
- _BasicClient.cs
- OdbcFactory.cs
- HtmlInputSubmit.cs
- ViewManager.cs
- RegexInterpreter.cs
- CultureMapper.cs
- ResXDataNode.cs
- EncoderFallback.cs
- FlowDocumentReader.cs
- XmlBinaryReader.cs
- RuntimeHelpers.cs
- CatalogZone.cs
- TypeBuilder.cs
- DiagnosticSection.cs
- LocalizedNameDescriptionPair.cs
- EntityContainer.cs
- TextSelection.cs
- FileRecordSequenceHelper.cs
- _IPv4Address.cs
- EncodingTable.cs
- XamlFigureLengthSerializer.cs
- MembershipValidatePasswordEventArgs.cs
- DataPointer.cs
- ClickablePoint.cs
- isolationinterop.cs
- EntityCommandDefinition.cs
- StylusButtonEventArgs.cs
- DataKeyCollection.cs
- AnnotationHelper.cs
- FormatConvertedBitmap.cs
- MobileTemplatedControlDesigner.cs
- DbConnectionFactory.cs
- NativeMethods.cs
- ValidateNames.cs
- ClientEndpointLoader.cs
- remotingproxy.cs
- SharedDp.cs
- ModelUIElement3D.cs
- StackOverflowException.cs
- Set.cs
- ObjectTag.cs
- InvokePatternIdentifiers.cs
- FixUpCollection.cs
- ISCIIEncoding.cs
- SizeAnimationUsingKeyFrames.cs
- FlagsAttribute.cs
- RichTextBoxConstants.cs
- DataGridViewRowHeaderCell.cs
- DescriptionAttribute.cs
- SignedInfo.cs
- WebPartMenu.cs
- XmlSchemaComplexContentExtension.cs
- DataGridViewRow.cs
- AttachedProperty.cs
- SmtpSection.cs
- MatcherBuilder.cs
- VerificationException.cs
- TextTreeObjectNode.cs
- StatusBar.cs
- SpeechRecognizer.cs
- WebPartRestoreVerb.cs
- GZipStream.cs
- MarkerProperties.cs
- ClientApiGenerator.cs
- C14NUtil.cs
- DesignerHelpers.cs
- ColumnCollection.cs