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
- HitTestParameters.cs
- SQLBoolean.cs
- OracleBinary.cs
- Timer.cs
- EngineSite.cs
- PasswordBoxAutomationPeer.cs
- VerticalAlignConverter.cs
- KeyedHashAlgorithm.cs
- StandardToolWindows.cs
- Point3DAnimationBase.cs
- ControlBuilder.cs
- RsaSecurityToken.cs
- BitSet.cs
- Span.cs
- PngBitmapDecoder.cs
- XmlTextAttribute.cs
- ChildChangedEventArgs.cs
- RuntimeHelpers.cs
- DataSpaceManager.cs
- ListViewInsertionMark.cs
- WindowsTitleBar.cs
- RSAPKCS1SignatureFormatter.cs
- WebPartConnectionsCancelEventArgs.cs
- InkCanvasSelection.cs
- PrintController.cs
- XPathDocumentIterator.cs
- CacheModeValueSerializer.cs
- RectangleConverter.cs
- DataControlReferenceCollection.cs
- SamlAuthorityBinding.cs
- precedingsibling.cs
- JavaScriptObjectDeserializer.cs
- PropertyValidationContext.cs
- WebPartDeleteVerb.cs
- PassportIdentity.cs
- EmbeddedMailObject.cs
- LineUtil.cs
- BrowserCapabilitiesCodeGenerator.cs
- SafeProcessHandle.cs
- AuthenticationService.cs
- UriSection.cs
- ResourceProperty.cs
- RawUIStateInputReport.cs
- PackageRelationshipCollection.cs
- RSAPKCS1SignatureDeformatter.cs
- Animatable.cs
- ListDataBindEventArgs.cs
- MemberExpression.cs
- PEFileReader.cs
- XNodeValidator.cs
- smtppermission.cs
- IgnoreFlushAndCloseStream.cs
- Thread.cs
- ToolStripKeyboardHandlingService.cs
- DataGridViewCell.cs
- TimeIntervalCollection.cs
- DesignerGenericWebPart.cs
- ToolTipAutomationPeer.cs
- UInt32Converter.cs
- ObjectDataSourceMethodEventArgs.cs
- MessageEncoderFactory.cs
- BinaryObjectWriter.cs
- DetailsViewDeletedEventArgs.cs
- SolidBrush.cs
- MatrixCamera.cs
- StoragePropertyMapping.cs
- bidPrivateBase.cs
- NavigationPropertyEmitter.cs
- GeometryHitTestResult.cs
- ByteConverter.cs
- XmlRawWriterWrapper.cs
- NativeMethods.cs
- DocumentPageTextView.cs
- FragmentQuery.cs
- ThreadNeutralSemaphore.cs
- WebPartHeaderCloseVerb.cs
- NameNode.cs
- XmlSignatureProperties.cs
- WebException.cs
- MessageEventSubscriptionService.cs
- DataQuery.cs
- IndexedEnumerable.cs
- SiteMapNode.cs
- ReservationNotFoundException.cs
- WmlValidationSummaryAdapter.cs
- FixUp.cs
- CodeExpressionStatement.cs
- RuntimeVariablesExpression.cs
- NonVisualControlAttribute.cs
- UserValidatedEventArgs.cs
- WorkflowPrinting.cs
- OptimizerPatterns.cs
- ProviderConnectionPoint.cs
- ResourceDictionaryCollection.cs
- FunctionImportElement.cs
- BooleanAnimationUsingKeyFrames.cs
- DisplayMemberTemplateSelector.cs
- PropertyDescriptorCollection.cs
- SystemBrushes.cs
- CompiledAction.cs