Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1 / ComponentEvent.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 ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs 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 ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaNames.cs
- FixedTextContainer.cs
- SerializableAttribute.cs
- SpotLight.cs
- ContractsBCL.cs
- X509ChainPolicy.cs
- StylusButtonCollection.cs
- UnsafePeerToPeerMethods.cs
- TreeBuilderXamlTranslator.cs
- ConfigXmlSignificantWhitespace.cs
- Setter.cs
- DataFormat.cs
- SqlUserDefinedTypeAttribute.cs
- TextTreeDeleteContentUndoUnit.cs
- EntityCommandDefinition.cs
- IgnoreFileBuildProvider.cs
- CheckedListBox.cs
- SafeReadContext.cs
- EpmSyndicationContentSerializer.cs
- AuthenticationSchemesHelper.cs
- DescriptionAttribute.cs
- XPathSelfQuery.cs
- DatasetMethodGenerator.cs
- XmlEntity.cs
- XmlSchemaSimpleContentRestriction.cs
- VideoDrawing.cs
- SystemInfo.cs
- MexHttpBindingCollectionElement.cs
- WebSysDescriptionAttribute.cs
- SqlCommandBuilder.cs
- GeneralTransform3DGroup.cs
- WSSecurityPolicy.cs
- Tracking.cs
- WCFBuildProvider.cs
- StackBuilderSink.cs
- CodeGeneratorOptions.cs
- GenericTextProperties.cs
- HwndTarget.cs
- XPathAncestorIterator.cs
- RegistryKey.cs
- WebServiceTypeData.cs
- RectAnimationBase.cs
- FrugalMap.cs
- EncryptedKey.cs
- GridViewColumnHeader.cs
- DataGridViewColumn.cs
- DynamicPropertyHolder.cs
- WmlListAdapter.cs
- Italic.cs
- SchemaDeclBase.cs
- OleAutBinder.cs
- InputLanguageCollection.cs
- DirectoryRootQuery.cs
- SerializableAttribute.cs
- PrtCap_Reader.cs
- RenderOptions.cs
- CodeMethodInvokeExpression.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- HttpBrowserCapabilitiesWrapper.cs
- SiteMapSection.cs
- TemplatedWizardStep.cs
- Html32TextWriter.cs
- SecurityContext.cs
- SqlCharStream.cs
- Converter.cs
- GiveFeedbackEventArgs.cs
- smtppermission.cs
- MailMessageEventArgs.cs
- Base64WriteStateInfo.cs
- WebBrowserNavigatingEventHandler.cs
- TextTreeFixupNode.cs
- CollectionsUtil.cs
- RegistrySecurity.cs
- EmptyQuery.cs
- OleAutBinder.cs
- TableCellCollection.cs
- AppDomainUnloadedException.cs
- Crc32Helper.cs
- ValidationHelpers.cs
- SchemaImporter.cs
- DataGrid.cs
- RawStylusInput.cs
- TargetControlTypeCache.cs
- XmlSchemaAll.cs
- RulePatternOps.cs
- MemberHolder.cs
- HtmlShimManager.cs
- SpecularMaterial.cs
- NameSpaceExtractor.cs
- SymDocumentType.cs
- ResXFileRef.cs
- DateTimePicker.cs
- SecureConversationServiceCredential.cs
- IDReferencePropertyAttribute.cs
- BinaryKeyIdentifierClause.cs
- AnimationTimeline.cs
- ColorConverter.cs
- DataGridViewSelectedColumnCollection.cs
- MatrixTransform.cs
- CallbackDebugBehavior.cs