Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CodeConstructor.cs
- DecoderReplacementFallback.cs
- VirtualizingStackPanel.cs
- GeneratedCodeAttribute.cs
- XPSSignatureDefinition.cs
- Matrix.cs
- UnmanagedMemoryStreamWrapper.cs
- xsdvalidator.cs
- PathSegmentCollection.cs
- SoapAttributeOverrides.cs
- InkSerializer.cs
- DesignerDataColumn.cs
- GeneralTransform3D.cs
- XamlVector3DCollectionSerializer.cs
- CultureSpecificStringDictionary.cs
- ValidationSummary.cs
- MailDefinition.cs
- ComponentResourceKeyConverter.cs
- ScriptResourceHandler.cs
- SortedList.cs
- ProviderSettingsCollection.cs
- TypedDataSetSchemaImporterExtension.cs
- PageCatalogPart.cs
- ErrorTolerantObjectWriter.cs
- LicenseManager.cs
- DurationConverter.cs
- Merger.cs
- PropertyPushdownHelper.cs
- HasCopySemanticsAttribute.cs
- CodeArrayIndexerExpression.cs
- PreloadHost.cs
- XPathSingletonIterator.cs
- MenuStrip.cs
- LineInfo.cs
- QilValidationVisitor.cs
- FragmentQuery.cs
- FixedSOMElement.cs
- SessionStateUtil.cs
- ForeignKeyConstraint.cs
- StyleHelper.cs
- DBCSCodePageEncoding.cs
- MembershipPasswordException.cs
- XmlElement.cs
- objectresult_tresulttype.cs
- OwnerDrawPropertyBag.cs
- CodeCatchClauseCollection.cs
- Vertex.cs
- DecimalStorage.cs
- SystemEvents.cs
- ParagraphResult.cs
- Column.cs
- GroupPartitionExpr.cs
- oledbconnectionstring.cs
- backend.cs
- ServiceHttpModule.cs
- OutputCacheSettingsSection.cs
- ResourcePermissionBaseEntry.cs
- BoundColumn.cs
- ButtonColumn.cs
- DateRangeEvent.cs
- ValidatedControlConverter.cs
- GuidelineSet.cs
- DiagnosticsConfigurationHandler.cs
- CoreSwitches.cs
- TextProperties.cs
- PersonalizationStateInfoCollection.cs
- ConstraintStruct.cs
- ImageKeyConverter.cs
- Signature.cs
- DuplexSecurityProtocolFactory.cs
- CheckBoxField.cs
- SqlVersion.cs
- ExpressionLexer.cs
- UnsafeNativeMethods.cs
- DataSourceCacheDurationConverter.cs
- _ConnectStream.cs
- VisualStyleInformation.cs
- DrawingState.cs
- MLangCodePageEncoding.cs
- KerberosRequestorSecurityToken.cs
- QuerySubExprEliminator.cs
- Guid.cs
- SecurityVersion.cs
- DCSafeHandle.cs
- CheckPair.cs
- HasCopySemanticsAttribute.cs
- XmlSerializationReader.cs
- SplineKeyFrames.cs
- PlainXmlWriter.cs
- HyperLinkColumn.cs
- XslTransform.cs
- LayoutTable.cs
- Tool.cs
- CalculatedColumn.cs
- XmlMtomWriter.cs
- SqlResolver.cs
- MatchAllMessageFilter.cs
- JoinCqlBlock.cs
- ManualResetEvent.cs
- ContractMapping.cs