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
- SessionSwitchEventArgs.cs
- HashMembershipCondition.cs
- SqlDataSourceCache.cs
- URLMembershipCondition.cs
- ViewGenResults.cs
- ByteStreamGeometryContext.cs
- SqlDelegatedTransaction.cs
- IPPacketInformation.cs
- PolicyException.cs
- ServiceThrottlingElement.cs
- BigInt.cs
- ConfigurationSectionGroup.cs
- DataTable.cs
- TableLayoutStyleCollection.cs
- ExtensionElementCollection.cs
- NextPreviousPagerField.cs
- securitycriticaldataClass.cs
- VolatileResourceManager.cs
- WebException.cs
- AspNetCompatibilityRequirementsMode.cs
- HealthMonitoringSectionHelper.cs
- IntegerValidatorAttribute.cs
- DeclarativeCatalogPart.cs
- LogEntryHeaderv1Deserializer.cs
- SimpleMailWebEventProvider.cs
- ConsoleCancelEventArgs.cs
- TypeValidationEventArgs.cs
- SystemIPGlobalStatistics.cs
- TextTreeNode.cs
- ListMarkerLine.cs
- RegexCapture.cs
- InkCollectionBehavior.cs
- RecipientIdentity.cs
- UserValidatedEventArgs.cs
- XmlBinaryReader.cs
- ColorInterpolationModeValidation.cs
- LinearGradientBrush.cs
- SendMailErrorEventArgs.cs
- BamlRecordWriter.cs
- DynamicFilter.cs
- UriTemplateVariableQueryValue.cs
- PageHandlerFactory.cs
- OperationCanceledException.cs
- CellPartitioner.cs
- UpdateProgress.cs
- TCPClient.cs
- SecurityKeyIdentifierClause.cs
- TrackingParameters.cs
- serverconfig.cs
- SocketSettings.cs
- ThreadExceptionDialog.cs
- XmlSchemaComplexContentExtension.cs
- SchemaNamespaceManager.cs
- PowerStatus.cs
- Line.cs
- DetailsViewDeleteEventArgs.cs
- SqlDataSource.cs
- MenuItemCollectionEditorDialog.cs
- InternalConfigSettingsFactory.cs
- TraceUtils.cs
- TextBoxAutomationPeer.cs
- StaticExtensionConverter.cs
- ElementHostPropertyMap.cs
- serverconfig.cs
- Drawing.cs
- ActivityBindForm.cs
- SizeFConverter.cs
- AccessedThroughPropertyAttribute.cs
- UTF7Encoding.cs
- ButtonField.cs
- XmlHierarchyData.cs
- PersonalizationStateInfoCollection.cs
- LinkTarget.cs
- HyperLinkField.cs
- FileLogRecordStream.cs
- XmlParserContext.cs
- ExtenderControl.cs
- DataList.cs
- DbConnectionPoolIdentity.cs
- ThreadSafeList.cs
- NamedPipeConnectionPoolSettings.cs
- ClientData.cs
- ReadContentAsBinaryHelper.cs
- CFStream.cs
- TextWriter.cs
- LinkLabelLinkClickedEvent.cs
- ExpressionBuilder.cs
- OdbcErrorCollection.cs
- AutoResizedEvent.cs
- BitmapCodecInfoInternal.cs
- FrameworkContentElement.cs
- RootProjectionNode.cs
- InputLanguageEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- EnvelopedSignatureTransform.cs
- HtmlHead.cs
- RawStylusInputCustomDataList.cs
- GeneralTransform2DTo3D.cs
- Message.cs
- CellTreeSimplifier.cs