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
- BindingMAnagerBase.cs
- NumberFormatInfo.cs
- PingOptions.cs
- PropertyRecord.cs
- EventSource.cs
- FontWeights.cs
- ByteKeyFrameCollection.cs
- Figure.cs
- XmlSerializableWriter.cs
- DbMetaDataColumnNames.cs
- WmlValidatorAdapter.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TemplatedWizardStep.cs
- ParallelTimeline.cs
- KeyNameIdentifierClause.cs
- ZipIOCentralDirectoryFileHeader.cs
- XPathParser.cs
- PixelShader.cs
- InstalledFontCollection.cs
- formatter.cs
- UnaryExpression.cs
- ListViewCancelEventArgs.cs
- WebHeaderCollection.cs
- WizardStepBase.cs
- RenderDataDrawingContext.cs
- Span.cs
- MessageBuffer.cs
- DataServiceEntityAttribute.cs
- XmlDocumentSerializer.cs
- EventLogEntry.cs
- OneOfElement.cs
- AuthenticateEventArgs.cs
- Events.cs
- PeerDefaultCustomResolverClient.cs
- TextServicesHost.cs
- SqlBulkCopy.cs
- SystemIPInterfaceProperties.cs
- FieldToken.cs
- DecimalAnimation.cs
- HtmlPageAdapter.cs
- panel.cs
- WebBrowserNavigatingEventHandler.cs
- PageContentCollection.cs
- TranslateTransform3D.cs
- InheritedPropertyChangedEventArgs.cs
- DataListItemCollection.cs
- GeneralTransform.cs
- DataSourceDesigner.cs
- DiscoveryClientDuplexChannel.cs
- ParameterCollectionEditor.cs
- XmlSchemaGroupRef.cs
- RelatedView.cs
- DesignerVerb.cs
- ApplicationFileParser.cs
- WebAdminConfigurationHelper.cs
- TextBounds.cs
- ContainerUtilities.cs
- SqlBulkCopy.cs
- BackStopAuthenticationModule.cs
- ColorBuilder.cs
- Resources.Designer.cs
- DataGridViewCellParsingEventArgs.cs
- CaseInsensitiveComparer.cs
- XmlKeywords.cs
- Peer.cs
- ClipboardData.cs
- ThreadAttributes.cs
- XmlCDATASection.cs
- Menu.cs
- BitmapData.cs
- DoubleUtil.cs
- securitycriticaldataClass.cs
- ClientUrlResolverWrapper.cs
- SkewTransform.cs
- QueryOptionExpression.cs
- ComponentConverter.cs
- SequenceDesigner.xaml.cs
- HtmlTernaryTree.cs
- DefaultPropertiesToSend.cs
- DictionaryCustomTypeDescriptor.cs
- InkCanvasInnerCanvas.cs
- CommandSet.cs
- ChangeDirector.cs
- StringConcat.cs
- HMAC.cs
- SafeLibraryHandle.cs
- MediaElement.cs
- MetadataItemCollectionFactory.cs
- OdbcStatementHandle.cs
- PointAnimationUsingKeyFrames.cs
- DefaultSection.cs
- Journal.cs
- TextSearch.cs
- HttpProtocolReflector.cs
- ExtendedProperty.cs
- CollectionView.cs
- TextEditorThreadLocalStore.cs
- NetworkStream.cs
- SqlFileStream.cs