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
- EventLogPermissionAttribute.cs
- XmlElementAttribute.cs
- BoundField.cs
- DataMisalignedException.cs
- TypeExtensions.cs
- ToolStripRenderer.cs
- BitmapMetadata.cs
- _NetworkingPerfCounters.cs
- ObfuscateAssemblyAttribute.cs
- HelpEvent.cs
- OleDbInfoMessageEvent.cs
- StringUtil.cs
- ExceptionUtil.cs
- RouteCollection.cs
- PropertyGridCommands.cs
- QilIterator.cs
- SqlConnectionHelper.cs
- TabItem.cs
- ThreadPool.cs
- DataListItemCollection.cs
- ExpressionEditorSheet.cs
- PeerChannelFactory.cs
- OrderedDictionary.cs
- ProfilePropertySettingsCollection.cs
- CustomAttributeFormatException.cs
- EmptyEnumerable.cs
- Encoding.cs
- DependencyPropertyAttribute.cs
- FormatControl.cs
- DataRowExtensions.cs
- AssemblyCollection.cs
- DataServiceQueryProvider.cs
- DetailsViewRow.cs
- EqualityComparer.cs
- DefaultEventAttribute.cs
- ActiveXSite.cs
- ProcessingInstructionAction.cs
- GifBitmapDecoder.cs
- WindowsGrip.cs
- WebPageTraceListener.cs
- WebPartPersonalization.cs
- LinkArea.cs
- unitconverter.cs
- PathNode.cs
- MetafileHeaderWmf.cs
- TdsParserHelperClasses.cs
- OpenTypeCommon.cs
- ScriptRef.cs
- DispatcherExceptionFilterEventArgs.cs
- Pkcs9Attribute.cs
- FormatVersion.cs
- XmlUtf8RawTextWriter.cs
- KeyboardDevice.cs
- LinqDataSourceContextEventArgs.cs
- ComponentCommands.cs
- ExtendedPropertiesHandler.cs
- RNGCryptoServiceProvider.cs
- CaseStatementSlot.cs
- SecurityDocument.cs
- FormClosedEvent.cs
- HttpApplication.cs
- MergeFailedEvent.cs
- PropertyGeneratedEventArgs.cs
- EntityUtil.cs
- SchemaNamespaceManager.cs
- BatchParser.cs
- ObjectView.cs
- VBCodeProvider.cs
- HotSpot.cs
- PrinterResolution.cs
- DateTimeOffsetStorage.cs
- TabControlAutomationPeer.cs
- RangeValueProviderWrapper.cs
- Soap12ProtocolImporter.cs
- HandledEventArgs.cs
- DesignerAdRotatorAdapter.cs
- GlyphRunDrawing.cs
- WebPartHelpVerb.cs
- TreeViewItemAutomationPeer.cs
- WinFormsSpinner.cs
- XmlAttributeOverrides.cs
- Single.cs
- ImplicitInputBrush.cs
- GenericArgumentsUpdater.cs
- COM2ComponentEditor.cs
- SHA384Cng.cs
- TextDecorationCollection.cs
- StrokeCollectionConverter.cs
- WindowsGraphicsCacheManager.cs
- Image.cs
- PerformanceCounterLib.cs
- SqlNodeAnnotation.cs
- TableAdapterManagerGenerator.cs
- TreeViewBindingsEditorForm.cs
- SendMessageChannelCache.cs
- ErrorEventArgs.cs
- SectionVisual.cs
- UnsafeNetInfoNativeMethods.cs
- GridEntryCollection.cs
- DetailsViewDeleteEventArgs.cs