Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the ////// class. /// // 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the ////// class. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SerializerProvider.cs
- JsonServiceDocumentSerializer.cs
- ChildTable.cs
- ExpressionNormalizer.cs
- TableRow.cs
- CategoryGridEntry.cs
- CaseInsensitiveComparer.cs
- MoveSizeWinEventHandler.cs
- ListControlConvertEventArgs.cs
- StateChangeEvent.cs
- ListBoxChrome.cs
- FontFamily.cs
- WhileDesigner.cs
- TitleStyle.cs
- OleDbError.cs
- XPathExpr.cs
- InvalidComObjectException.cs
- thaishape.cs
- EntityViewGenerationAttribute.cs
- Repeater.cs
- contentDescriptor.cs
- ScriptIgnoreAttribute.cs
- XmlArrayAttribute.cs
- XPathNode.cs
- DesignerTransactionCloseEvent.cs
- PointAnimationBase.cs
- UnknownExceptionActionHelper.cs
- HtmlEmptyTagControlBuilder.cs
- CodeArrayCreateExpression.cs
- FileUtil.cs
- ProtocolElement.cs
- OuterGlowBitmapEffect.cs
- Buffer.cs
- QueryHandler.cs
- Matrix3DConverter.cs
- StringFreezingAttribute.cs
- OpenTypeLayoutCache.cs
- LocatorManager.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Propagator.Evaluator.cs
- DataGrid.cs
- DesignerPerfEventProvider.cs
- SqlUserDefinedTypeAttribute.cs
- RequestSecurityTokenResponseCollection.cs
- CodeExporter.cs
- DesignRelationCollection.cs
- ReadOnlyActivityGlyph.cs
- ComboBox.cs
- ApplicationManager.cs
- DataSetUtil.cs
- Section.cs
- HostVisual.cs
- DESCryptoServiceProvider.cs
- DependencyPropertyAttribute.cs
- Html32TextWriter.cs
- TrackBarRenderer.cs
- DataGrid.cs
- Group.cs
- PresentationAppDomainManager.cs
- TraceContextEventArgs.cs
- CodeDomLoader.cs
- CatalogZoneAutoFormat.cs
- XmlCharCheckingReader.cs
- CodeNamespaceImport.cs
- CompareValidator.cs
- HijriCalendar.cs
- MethodToken.cs
- Int64Storage.cs
- Pkcs7Signer.cs
- Parser.cs
- WebServiceData.cs
- MeshGeometry3D.cs
- InputScope.cs
- SyndicationItem.cs
- HttpResponse.cs
- HttpRequest.cs
- SelectionRange.cs
- WmlValidatorAdapter.cs
- PropertyChangedEventManager.cs
- MobileComponentEditorPage.cs
- _SslSessionsCache.cs
- SingleStorage.cs
- OptimalBreakSession.cs
- SmtpFailedRecipientException.cs
- MulticastNotSupportedException.cs
- ButtonBase.cs
- HandlerBase.cs
- SamlAuthorizationDecisionClaimResource.cs
- AuthenticationManager.cs
- TextWriterTraceListener.cs
- ClientSettingsStore.cs
- PopupEventArgs.cs
- XmlSchemaSimpleTypeList.cs
- DesignerTextWriter.cs
- TagPrefixCollection.cs
- DataGridParentRows.cs
- IndexerNameAttribute.cs
- AdRotator.cs
- HttpCookiesSection.cs
- DataGridColumnCollection.cs