Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxComponentsCreatedEventArgs.cs / 1305376 / ToolboxComponentsCreatedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Design { using System; using System.ComponentModel; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ToolboxComponentsCreatedEventArgs : EventArgs { private readonly IComponent[] comps; ///Provides data for the 'ToolboxComponentsCreatedEventArgs' event that occurs /// when components are added to the toolbox. ////// /// public ToolboxComponentsCreatedEventArgs(IComponent[] components) { this.comps = components; } ////// Initializes a new instance of the ///object. /// /// /// public IComponent[] Components { get { return (IComponent[])comps.Clone(); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// An array storing the toolbox components. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Design { using System; using System.ComponentModel; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ToolboxComponentsCreatedEventArgs : EventArgs { private readonly IComponent[] comps; ///Provides data for the 'ToolboxComponentsCreatedEventArgs' event that occurs /// when components are added to the toolbox. ////// /// public ToolboxComponentsCreatedEventArgs(IComponent[] components) { this.comps = components; } ////// Initializes a new instance of the ///object. /// /// /// public IComponent[] Components { get { return (IComponent[])comps.Clone(); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// An array storing the toolbox components. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColumnWidthChangedEvent.cs
- TransactionOptions.cs
- ImportOptions.cs
- WriterOutput.cs
- HttpServerUtilityBase.cs
- HyperLinkColumn.cs
- DbCommandTree.cs
- ListViewGroup.cs
- ASCIIEncoding.cs
- SimpleMailWebEventProvider.cs
- COM2ComponentEditor.cs
- TextEditorContextMenu.cs
- SQLCharsStorage.cs
- ExplicitDiscriminatorMap.cs
- TypeNameParser.cs
- MembershipPasswordException.cs
- UInt32Storage.cs
- DataContractJsonSerializerOperationFormatter.cs
- DirectoryObjectSecurity.cs
- mediapermission.cs
- BCLDebug.cs
- PropertyChangedEventArgs.cs
- ReadWriteObjectLock.cs
- TextPointerBase.cs
- WindowsListViewScroll.cs
- ConditionalBranch.cs
- QueryOutputWriter.cs
- DynamicResourceExtension.cs
- SoapFormatter.cs
- ObfuscationAttribute.cs
- XmlSerializationWriter.cs
- ProvidePropertyAttribute.cs
- SqlGatherConsumedAliases.cs
- HtmlWindow.cs
- PaintEvent.cs
- AQNBuilder.cs
- GeometryModel3D.cs
- PageSetupDialog.cs
- WebPartConnectionsDisconnectVerb.cs
- TokenBasedSet.cs
- XmlWhitespace.cs
- RolePrincipal.cs
- DesignerActionUIService.cs
- ZipIOLocalFileHeader.cs
- LicenseProviderAttribute.cs
- ListViewCommandEventArgs.cs
- CacheRequest.cs
- MobileRedirect.cs
- PropertyGroupDescription.cs
- UIElement.cs
- URLEditor.cs
- ContextStaticAttribute.cs
- NamespaceInfo.cs
- SspiNegotiationTokenAuthenticatorState.cs
- WindowsSolidBrush.cs
- UnmanagedMarshal.cs
- CompoundFileStreamReference.cs
- WSFederationHttpSecurityMode.cs
- SafeHandles.cs
- linebase.cs
- StateManager.cs
- ProfessionalColorTable.cs
- ViewCellSlot.cs
- FileSecurity.cs
- TextDecorations.cs
- CommandID.cs
- OdbcRowUpdatingEvent.cs
- SplitterCancelEvent.cs
- ToolStripItemDesigner.cs
- AutomationProperty.cs
- SafeProcessHandle.cs
- DBParameter.cs
- LocatorPartList.cs
- TdsParser.cs
- MonitorWrapper.cs
- ToolStripPanelSelectionGlyph.cs
- StrokeNodeOperations.cs
- FieldTemplateFactory.cs
- SymmetricAlgorithm.cs
- RuntimeCompatibilityAttribute.cs
- EventLogPermissionAttribute.cs
- FieldAccessException.cs
- SchemaElement.cs
- Substitution.cs
- SiteMembershipCondition.cs
- SessionEndingEventArgs.cs
- ToolStripLabel.cs
- ItemsControl.cs
- FileNotFoundException.cs
- UxThemeWrapper.cs
- OrderingExpression.cs
- EdmMember.cs
- ExtendedProtectionPolicy.cs
- LocatorManager.cs
- ContentType.cs
- FloaterParagraph.cs
- CollectionViewGroupRoot.cs
- InvalidProgramException.cs
- RsaSecurityKey.cs
- MatrixTransform3D.cs