Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EventBuilder.cs
- backend.cs
- ConfigurationPermission.cs
- Root.cs
- Parser.cs
- TabletDevice.cs
- ScalarType.cs
- DiscoveryDocumentReference.cs
- DataException.cs
- ToolStripItem.cs
- DataGridItemCollection.cs
- PermissionSet.cs
- CodeValidator.cs
- BitmapEffectGeneralTransform.cs
- FixedSOMContainer.cs
- AutoCompleteStringCollection.cs
- TraceHandler.cs
- PassportAuthenticationEventArgs.cs
- translator.cs
- RuntimeConfigLKG.cs
- SoapConverter.cs
- ReferenceEqualityComparer.cs
- LogSwitch.cs
- PropertySourceInfo.cs
- ArgumentReference.cs
- PeerApplication.cs
- TCPListener.cs
- ObjectAnimationBase.cs
- DataGridViewCellLinkedList.cs
- HtmlInputSubmit.cs
- ScriptResourceHandler.cs
- StdRegProviderWrapper.cs
- Message.cs
- ImageInfo.cs
- ComponentConverter.cs
- EntityViewGenerationAttribute.cs
- DataGridViewButtonCell.cs
- TextTreeExtractElementUndoUnit.cs
- ApplicationServiceManager.cs
- HtmlTable.cs
- NavigationProgressEventArgs.cs
- TextProviderWrapper.cs
- ProcessThreadCollection.cs
- InputLangChangeRequestEvent.cs
- CompilerResults.cs
- PassportAuthenticationEventArgs.cs
- Evaluator.cs
- ScalarType.cs
- XmlRawWriter.cs
- AnimationLayer.cs
- ConfigurationElementCollection.cs
- AttributeCollection.cs
- BrowserTree.cs
- DelegatingHeader.cs
- CalendarAutoFormatDialog.cs
- ManagementQuery.cs
- PasswordRecovery.cs
- HtmlContainerControl.cs
- ContentValidator.cs
- EnumerableValidator.cs
- CustomAttributeFormatException.cs
- DocumentPageView.cs
- CalendarTable.cs
- Substitution.cs
- CommandHelpers.cs
- Timer.cs
- CreateUserErrorEventArgs.cs
- Block.cs
- baseshape.cs
- TraceLog.cs
- FormClosingEvent.cs
- OrderPreservingPipeliningSpoolingTask.cs
- DataGridViewUtilities.cs
- JapaneseLunisolarCalendar.cs
- CodeNamespace.cs
- XmlObjectSerializerWriteContextComplex.cs
- Message.cs
- MailDefinitionBodyFileNameEditor.cs
- ToggleButton.cs
- FreezableDefaultValueFactory.cs
- TabControlDesigner.cs
- InternalEnumValidatorAttribute.cs
- SoundPlayerAction.cs
- FontWeights.cs
- TextDecorationCollectionConverter.cs
- Debug.cs
- DesignerProperties.cs
- ArrowControl.xaml.cs
- Int32EqualityComparer.cs
- SqlRecordBuffer.cs
- TraceUtils.cs
- DataObject.cs
- CodeTypeParameterCollection.cs
- Regex.cs
- EdmProperty.cs
- ClientSettings.cs
- EmbossBitmapEffect.cs
- DispatcherOperation.cs
- DocumentSequenceHighlightLayer.cs
- BitmapFrame.cs