Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- OracleDataReader.cs
- FrameworkContextData.cs
- MatrixStack.cs
- SmiConnection.cs
- WindowsScroll.cs
- TrackBarRenderer.cs
- Unit.cs
- RegisteredExpandoAttribute.cs
- RealizationDrawingContextWalker.cs
- BuildManagerHost.cs
- DeclarationUpdate.cs
- SqlDataSourceConfigureSortForm.cs
- IsolatedStorageFilePermission.cs
- RegistryConfigurationProvider.cs
- AlternationConverter.cs
- PrivilegedConfigurationManager.cs
- Timer.cs
- DebugInfo.cs
- DataTransferEventArgs.cs
- ToolStripLabel.cs
- SamlAuthenticationStatement.cs
- SiteMapNode.cs
- PermissionSetEnumerator.cs
- ClusterRegistryConfigurationProvider.cs
- _KerberosClient.cs
- XmlToDatasetMap.cs
- ToolStripItemRenderEventArgs.cs
- UnconditionalPolicy.cs
- ImageDrawing.cs
- UnsafeNetInfoNativeMethods.cs
- RemotingConfigParser.cs
- ExclusiveHandleList.cs
- CheckBox.cs
- DateTimeFormatInfo.cs
- SoapWriter.cs
- BufferedStream.cs
- TextEndOfParagraph.cs
- DescriptionAttribute.cs
- DataListItem.cs
- TimeSpanValidator.cs
- MarkupExtensionParser.cs
- XPathPatternBuilder.cs
- DocumentPaginator.cs
- NavigationWindowAutomationPeer.cs
- HybridDictionary.cs
- BinarySerializer.cs
- PropertyPanel.cs
- HideDisabledControlAdapter.cs
- CompareValidator.cs
- ProcessManager.cs
- InvalidProgramException.cs
- HttpProtocolReflector.cs
- WindowsToolbar.cs
- _CookieModule.cs
- ExpressionNode.cs
- TypeSemantics.cs
- DrawingAttributeSerializer.cs
- CodeSubDirectoriesCollection.cs
- WebPartConnectionCollection.cs
- LineSegment.cs
- CharAnimationBase.cs
- CollectionChangeEventArgs.cs
- AccessDataSourceDesigner.cs
- ProfileModule.cs
- TrackingStringDictionary.cs
- XomlCompilerHelpers.cs
- CompositionAdorner.cs
- ItemContainerGenerator.cs
- FullTextBreakpoint.cs
- QueryContinueDragEvent.cs
- ValidatingReaderNodeData.cs
- HttpApplicationStateWrapper.cs
- DefinitionBase.cs
- CodeDomDesignerLoader.cs
- NodeLabelEditEvent.cs
- X509ClientCertificateAuthenticationElement.cs
- RotateTransform3D.cs
- Point3D.cs
- DataTableMapping.cs
- RelatedImageListAttribute.cs
- ConcurrentQueue.cs
- __FastResourceComparer.cs
- ProcessRequestArgs.cs
- ValueOfAction.cs
- MediaSystem.cs
- OleDbReferenceCollection.cs
- WhitespaceSignificantCollectionAttribute.cs
- CodeDirectoryCompiler.cs
- FieldBuilder.cs
- SessionStateItemCollection.cs
- UniqueConstraint.cs
- DataBinding.cs
- StringCollectionMarkupSerializer.cs
- BevelBitmapEffect.cs
- BitmapEffectDrawing.cs
- XmlWrappingReader.cs
- HostProtectionException.cs
- KeyboardNavigation.cs
- KeyFrames.cs
- LineServicesCallbacks.cs