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
- EDesignUtil.cs
- CollaborationHelperFunctions.cs
- TypeTypeConverter.cs
- CommandDevice.cs
- FilterEventArgs.cs
- LoadedOrUnloadedOperation.cs
- DataGridViewIntLinkedList.cs
- MembershipValidatePasswordEventArgs.cs
- GridItemPatternIdentifiers.cs
- CalendarDataBindingHandler.cs
- DbProviderSpecificTypePropertyAttribute.cs
- OleDbInfoMessageEvent.cs
- HyperLinkField.cs
- BitmapEffectGroup.cs
- WebConfigurationHostFileChange.cs
- SystemGatewayIPAddressInformation.cs
- DocumentApplicationJournalEntry.cs
- SqlRecordBuffer.cs
- XsltLibrary.cs
- MergeFilterQuery.cs
- NativeMethods.cs
- RelationshipDetailsRow.cs
- ProxyWebPartManager.cs
- IsolatedStorage.cs
- ReferencedAssembly.cs
- ArrangedElement.cs
- dsa.cs
- AnimationStorage.cs
- OrderingQueryOperator.cs
- TextMarkerSource.cs
- PrinterSettings.cs
- DataGridViewToolTip.cs
- AnnotationComponentManager.cs
- OdbcCommandBuilder.cs
- SR.cs
- StylusCollection.cs
- SystemIcmpV4Statistics.cs
- FrameworkElementFactory.cs
- ResourcePermissionBase.cs
- CustomActivityDesigner.cs
- SwitchLevelAttribute.cs
- XPathNodeInfoAtom.cs
- PageRequestManager.cs
- PopupRootAutomationPeer.cs
- ComponentDispatcherThread.cs
- precedingsibling.cs
- ToolboxCategory.cs
- PreservationFileReader.cs
- Italic.cs
- panel.cs
- DiscoveryEndpoint.cs
- QEncodedStream.cs
- LayoutTable.cs
- ScrollBarAutomationPeer.cs
- ColumnBinding.cs
- WorkingDirectoryEditor.cs
- CodeGenerator.cs
- IODescriptionAttribute.cs
- BindableTemplateBuilder.cs
- AdapterUtil.cs
- SingleConverter.cs
- WriteFileContext.cs
- ToolStripSeparator.cs
- BevelBitmapEffect.cs
- MarkupCompiler.cs
- CompensationHandlingFilter.cs
- LinkAreaEditor.cs
- StoreAnnotationsMap.cs
- AbsoluteQuery.cs
- VisualBrush.cs
- typedescriptorpermission.cs
- RSAProtectedConfigurationProvider.cs
- FragmentQueryProcessor.cs
- WindowsTreeView.cs
- OrthographicCamera.cs
- WebPartConnectionsConfigureVerb.cs
- UrlPath.cs
- Misc.cs
- FamilyTypeface.cs
- Point4DValueSerializer.cs
- Main.cs
- DataView.cs
- ProcessModelSection.cs
- ProgressiveCrcCalculatingStream.cs
- XmlSchemaSimpleType.cs
- FilterRepeater.cs
- ServiceOperationParameter.cs
- GridViewRow.cs
- Repeater.cs
- ObjectViewQueryResultData.cs
- Int32Storage.cs
- SortedDictionary.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- OletxTransactionManager.cs
- EdmFunctionAttribute.cs
- DataControlFieldCell.cs
- EditorBrowsableAttribute.cs
- ProfileGroupSettings.cs
- CellTreeNodeVisitors.cs
- IERequestCache.cs