Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentRenameEvent.cs / 1305376 / 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
- DataSourceSelectArguments.cs
- TypeConstant.cs
- UniqueIdentifierService.cs
- UIPermission.cs
- EditorPart.cs
- FormCollection.cs
- CodeArrayCreateExpression.cs
- ManagementPath.cs
- RIPEMD160.cs
- SmtpFailedRecipientsException.cs
- Line.cs
- ListView.cs
- DataGridHelper.cs
- XPathSelectionIterator.cs
- CodeMethodReturnStatement.cs
- Label.cs
- RegexRunner.cs
- BitmapMetadataEnumerator.cs
- ApplicationInterop.cs
- LongValidatorAttribute.cs
- VerificationAttribute.cs
- SmiTypedGetterSetter.cs
- UIElement3DAutomationPeer.cs
- BatchStream.cs
- Debug.cs
- MSG.cs
- SelectedGridItemChangedEvent.cs
- MissingFieldException.cs
- TypedTableBaseExtensions.cs
- RightsManagementEncryptionTransform.cs
- XmlJsonWriter.cs
- BitStream.cs
- Nodes.cs
- SqlClientFactory.cs
- HttpModulesInstallComponent.cs
- FontSizeConverter.cs
- LogSwitch.cs
- TimeZoneNotFoundException.cs
- ExpressionBuilder.cs
- CapabilitiesState.cs
- AutomationElementIdentifiers.cs
- ViewStateModeByIdAttribute.cs
- DataRecord.cs
- HttpProfileBase.cs
- updatecommandorderer.cs
- DataGridViewCellConverter.cs
- XmlSchemaChoice.cs
- MediaScriptCommandRoutedEventArgs.cs
- BreakSafeBase.cs
- DecimalFormatter.cs
- ExceptionValidationRule.cs
- DelegatedStream.cs
- TagMapInfo.cs
- AttachedAnnotation.cs
- BrowserCapabilitiesCompiler.cs
- ToolStripDropDownItemDesigner.cs
- HostedImpersonationContext.cs
- PrinterResolution.cs
- DrawingContextDrawingContextWalker.cs
- SettingsPropertyWrongTypeException.cs
- PointHitTestResult.cs
- StorageAssociationTypeMapping.cs
- ServiceModelConfigurationSection.cs
- DesignerActionPanel.cs
- securitycriticaldataformultiplegetandset.cs
- XmlElementCollection.cs
- TableAutomationPeer.cs
- ConvertTextFrag.cs
- CacheMemory.cs
- ReadOnlyDictionary.cs
- ToolStripLabel.cs
- Matrix3D.cs
- SqlServices.cs
- GridViewRow.cs
- UpdatePanel.cs
- ContentDisposition.cs
- ViewStateModeByIdAttribute.cs
- DbCommandDefinition.cs
- CustomAttribute.cs
- TabControlEvent.cs
- TransactionScope.cs
- CodeAttributeArgument.cs
- Sql8ExpressionRewriter.cs
- BrowserCapabilitiesCompiler.cs
- MaskedTextBox.cs
- ProcessHostMapPath.cs
- FigureHelper.cs
- FormViewModeEventArgs.cs
- _ConnectOverlappedAsyncResult.cs
- CryptoConfig.cs
- COM2TypeInfoProcessor.cs
- StrokeCollection.cs
- SmtpNetworkElement.cs
- Math.cs
- StorageEntityContainerMapping.cs
- SequentialActivityDesigner.cs
- filewebrequest.cs
- HelpProvider.cs
- CodePrimitiveExpression.cs
- AssociationSetMetadata.cs