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
- InputElement.cs
- MouseButton.cs
- FolderBrowserDialog.cs
- TextBlock.cs
- ContractDescription.cs
- EventLogPermissionAttribute.cs
- GatewayDefinition.cs
- ToolboxItemFilterAttribute.cs
- ComponentConverter.cs
- NonSerializedAttribute.cs
- LicenseContext.cs
- XmlDataSourceNodeDescriptor.cs
- Positioning.cs
- Path.cs
- CaretElement.cs
- HttpResponseHeader.cs
- HttpRawResponse.cs
- HitTestDrawingContextWalker.cs
- XmlEnumAttribute.cs
- ValidationSummary.cs
- MultipleCopiesCollection.cs
- Char.cs
- ValidationSummary.cs
- XmlUtil.cs
- TextCharacters.cs
- GrammarBuilderRuleRef.cs
- EntityDataSourceValidationException.cs
- HealthMonitoringSection.cs
- DataColumn.cs
- FileFormatException.cs
- BitmapEffectCollection.cs
- RequestCacheManager.cs
- UpdateTracker.cs
- DataRelationPropertyDescriptor.cs
- XmlSerializableWriter.cs
- ClientConvert.cs
- DataSourceSelectArguments.cs
- ChangeBlockUndoRecord.cs
- DependencyObjectType.cs
- Pair.cs
- ImageBrush.cs
- DateTimePickerDesigner.cs
- ReliableReplySessionChannel.cs
- VarRemapper.cs
- MatrixKeyFrameCollection.cs
- httpapplicationstate.cs
- DrawListViewSubItemEventArgs.cs
- InvalidOleVariantTypeException.cs
- PeerTransportSecurityElement.cs
- ACE.cs
- MLangCodePageEncoding.cs
- XmlSchemaInfo.cs
- CharConverter.cs
- WebPartEditVerb.cs
- TypeResolvingOptions.cs
- LogSwitch.cs
- ButtonChrome.cs
- WebServiceEnumData.cs
- EventManager.cs
- SymmetricAlgorithm.cs
- BinaryObjectWriter.cs
- ClickablePoint.cs
- ImageButton.cs
- EntityTypeBase.cs
- HelpKeywordAttribute.cs
- DefaultShape.cs
- TextDocumentView.cs
- MetadataUtil.cs
- InputChannel.cs
- XamlStream.cs
- ObjectDataSourceEventArgs.cs
- BulletedList.cs
- HttpResponseMessageProperty.cs
- CannotUnloadAppDomainException.cs
- _PooledStream.cs
- NameValueCollection.cs
- TypeHelper.cs
- PageStatePersister.cs
- XPathNavigatorReader.cs
- MultiBinding.cs
- Underline.cs
- Geometry3D.cs
- ConfigXmlAttribute.cs
- InsufficientMemoryException.cs
- wgx_exports.cs
- CodeConditionStatement.cs
- CommandBinding.cs
- ApplicationServiceHelper.cs
- ContextMenuService.cs
- BaseWebProxyFinder.cs
- XmlDocument.cs
- MappingException.cs
- ICspAsymmetricAlgorithm.cs
- ScrollBar.cs
- TrackingConditionCollection.cs
- SmiConnection.cs
- SystemIPGlobalStatistics.cs
- ConstantSlot.cs
- TrackingDataItemValue.cs
- DataGridItem.cs