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
- UTF32Encoding.cs
- CompilerGeneratedAttribute.cs
- X509Certificate.cs
- ItemsControl.cs
- ObjectRef.cs
- XmlTextEncoder.cs
- ModuleConfigurationInfo.cs
- HtmlAnchor.cs
- HttpPostedFile.cs
- Path.cs
- DataGridParentRows.cs
- DataTransferEventArgs.cs
- DelayDesigner.cs
- EntityKeyElement.cs
- CriticalFinalizerObject.cs
- ConnectionPointCookie.cs
- CommonObjectSecurity.cs
- RawStylusInputReport.cs
- DataListCommandEventArgs.cs
- EntityEntry.cs
- WebDescriptionAttribute.cs
- ContainerUtilities.cs
- DesignerVerbCollection.cs
- Span.cs
- PropertyMapper.cs
- SID.cs
- SqlMetaData.cs
- XmlAttribute.cs
- ConfigurationStrings.cs
- NameSpaceExtractor.cs
- StorageFunctionMapping.cs
- BuiltInPermissionSets.cs
- View.cs
- SystemIPv6InterfaceProperties.cs
- XmlDownloadManager.cs
- TextElementAutomationPeer.cs
- GroupBoxAutomationPeer.cs
- GeneralTransform3D.cs
- DataTemplateKey.cs
- ResXDataNode.cs
- ValueSerializerAttribute.cs
- MimeTypeMapper.cs
- SourceSwitch.cs
- PasswordPropertyTextAttribute.cs
- WindowsIPAddress.cs
- DataKey.cs
- TranslateTransform.cs
- FontNamesConverter.cs
- XmlILIndex.cs
- EncoderParameters.cs
- GenericEnumConverter.cs
- CollectionChangeEventArgs.cs
- TrackBarRenderer.cs
- DataViewListener.cs
- TreeView.cs
- StickyNoteContentControl.cs
- Point4DValueSerializer.cs
- InvokeSchedule.cs
- CheckBox.cs
- PropertyIDSet.cs
- TextEndOfParagraph.cs
- NumberFunctions.cs
- ListBox.cs
- DnsPermission.cs
- XsdDateTime.cs
- MatrixCamera.cs
- DataList.cs
- AssociationTypeEmitter.cs
- LoadedOrUnloadedOperation.cs
- WebPartMenuStyle.cs
- MenuItemBinding.cs
- ObjectViewQueryResultData.cs
- PreProcessInputEventArgs.cs
- Completion.cs
- RangeValuePattern.cs
- Msec.cs
- SendActivityDesigner.cs
- CmsInterop.cs
- Camera.cs
- NavigationFailedEventArgs.cs
- FixedPageAutomationPeer.cs
- CookielessHelper.cs
- CatalogPartCollection.cs
- RenderDataDrawingContext.cs
- CodeIdentifiers.cs
- WindowsEditBoxRange.cs
- _DigestClient.cs
- WindowsListViewGroupSubsetLink.cs
- ChannelBinding.cs
- Image.cs
- DispatcherExceptionEventArgs.cs
- AttributeExtensions.cs
- NetMsmqBinding.cs
- Translator.cs
- OleDbParameterCollection.cs
- EventProviderWriter.cs
- DrawingState.cs
- HtmlInputButton.cs
- ResourcesGenerator.cs
- VisualBasicHelper.cs