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
- WebPartConnectionsCloseVerb.cs
- EventPropertyMap.cs
- SqlDataSourceCache.cs
- HandledMouseEvent.cs
- IgnoreFlushAndCloseStream.cs
- ToolStripComboBox.cs
- TransformCollection.cs
- SecurityPolicySection.cs
- ScriptingScriptResourceHandlerSection.cs
- XmlDomTextWriter.cs
- GPPOINTF.cs
- XmlEncoding.cs
- BooleanSwitch.cs
- IPEndPoint.cs
- DataContractSerializerElement.cs
- SAPIEngineTypes.cs
- _RequestLifetimeSetter.cs
- FactoryGenerator.cs
- MultiView.cs
- RoleGroup.cs
- BinaryExpression.cs
- HyperLinkStyle.cs
- AddInIpcChannel.cs
- HostingEnvironmentWrapper.cs
- RequestResizeEvent.cs
- ApplicationException.cs
- FunctionUpdateCommand.cs
- LayoutTableCell.cs
- InstanceDataCollectionCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- MatrixAnimationBase.cs
- backend.cs
- login.cs
- SizeAnimationUsingKeyFrames.cs
- TypeElement.cs
- updateconfighost.cs
- SafeNativeMethodsMilCoreApi.cs
- SortAction.cs
- SynchronizationContext.cs
- GreenMethods.cs
- ToolboxService.cs
- ButtonDesigner.cs
- RuntimeVariablesExpression.cs
- StateItem.cs
- HttpCookieCollection.cs
- TransformerConfigurationWizardBase.cs
- ResourceDisplayNameAttribute.cs
- SettingsAttributes.cs
- MetricEntry.cs
- RSAPKCS1KeyExchangeFormatter.cs
- UserPreferenceChangedEventArgs.cs
- CodeRegionDirective.cs
- PrefixHandle.cs
- SoapExtensionImporter.cs
- CssTextWriter.cs
- FormDocumentDesigner.cs
- ListItemParagraph.cs
- GraphicsPath.cs
- NotCondition.cs
- OleDbSchemaGuid.cs
- CommandBindingCollection.cs
- XmlTypeAttribute.cs
- GenericWebPart.cs
- EastAsianLunisolarCalendar.cs
- UInt32Converter.cs
- xml.cs
- CodeExpressionCollection.cs
- TouchesCapturedWithinProperty.cs
- TrackingDataItemValue.cs
- XmlTextWriter.cs
- IODescriptionAttribute.cs
- XamlPointCollectionSerializer.cs
- ContractInferenceHelper.cs
- ActiveXSite.cs
- PostBackOptions.cs
- RealizationContext.cs
- TableRowGroup.cs
- DesignTimeHTMLTextWriter.cs
- BindingRestrictions.cs
- CompilerGeneratedAttribute.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- NumericPagerField.cs
- AttachedPropertyBrowsableAttribute.cs
- PointAnimationBase.cs
- DataGridToolTip.cs
- RightsManagementUser.cs
- WebPartCollection.cs
- Rect3DConverter.cs
- StoreAnnotationsMap.cs
- ReadWriteSpinLock.cs
- PointLight.cs
- NextPreviousPagerField.cs
- BmpBitmapDecoder.cs
- ResourcePool.cs
- InkPresenterAutomationPeer.cs
- XmlDocument.cs
- SevenBitStream.cs
- PathGradientBrush.cs
- ClientApiGenerator.cs
- PaperSize.cs