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
- AuthenticationConfig.cs
- WebPartVerbCollection.cs
- SelectorAutomationPeer.cs
- AccessText.cs
- BitmapCodecInfo.cs
- EndpointDesigner.cs
- InternalConfigRoot.cs
- ObjectAnimationBase.cs
- URI.cs
- ContractMethodInfo.cs
- TokenBasedSet.cs
- AccessText.cs
- VerificationException.cs
- ParagraphResult.cs
- AdjustableArrowCap.cs
- Logging.cs
- CmsUtils.cs
- DbProviderServices.cs
- FixedDocument.cs
- FileCodeGroup.cs
- Msec.cs
- DesignerSerializationOptionsAttribute.cs
- FeatureSupport.cs
- SequentialWorkflowRootDesigner.cs
- CustomValidator.cs
- NotSupportedException.cs
- SmiSettersStream.cs
- SchemaExporter.cs
- TypeUsageBuilder.cs
- BoolLiteral.cs
- WebConvert.cs
- AutoFocusStyle.xaml.cs
- CommandExpr.cs
- DefaultTextStore.cs
- SvcMapFileLoader.cs
- COM2ExtendedBrowsingHandler.cs
- ListBoxItemWrapperAutomationPeer.cs
- PropertyGridView.cs
- WorkflowDurableInstance.cs
- TheQuery.cs
- ServerIdentity.cs
- XmlElementList.cs
- RemoteDebugger.cs
- GridViewCommandEventArgs.cs
- XmlSchemaComplexContentExtension.cs
- ConfigXmlCDataSection.cs
- DesignerCatalogPartChrome.cs
- SqlBooleanMismatchVisitor.cs
- BaseProcessor.cs
- SubstitutionList.cs
- ListBoxItemAutomationPeer.cs
- StorageConditionPropertyMapping.cs
- RectConverter.cs
- x509utils.cs
- CurrentChangingEventManager.cs
- ConsoleCancelEventArgs.cs
- HwndStylusInputProvider.cs
- EarlyBoundInfo.cs
- TargetConverter.cs
- TagMapInfo.cs
- BaseTemplateBuildProvider.cs
- ProbeMatchesCD1.cs
- UnsafeNativeMethods.cs
- ImportCatalogPart.cs
- HandleRef.cs
- PathFigure.cs
- ImageAutomationPeer.cs
- SystemColors.cs
- FixedTextSelectionProcessor.cs
- RectangleHotSpot.cs
- ConditionalAttribute.cs
- HGlobalSafeHandle.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ActivityExecutor.cs
- Peer.cs
- StringFreezingAttribute.cs
- OleDbPermission.cs
- XmlSerializationGeneratedCode.cs
- AsyncOperationManager.cs
- InfoCardAsymmetricCrypto.cs
- BufferModeSettings.cs
- KeyValueInternalCollection.cs
- GregorianCalendarHelper.cs
- EarlyBoundInfo.cs
- WorkflowInstance.cs
- SortFieldComparer.cs
- Interlocked.cs
- Propagator.ExtentPlaceholderCreator.cs
- ResolvePPIDRequest.cs
- MultiBinding.cs
- InstanceStoreQueryResult.cs
- SafeHandles.cs
- TimeStampChecker.cs
- NetworkStream.cs
- ContentHostHelper.cs
- TextTrailingCharacterEllipsis.cs
- InstanceKeyCollisionException.cs
- OpCopier.cs
- shaperfactoryquerycacheentry.cs
- HtmlToClrEventProxy.cs