Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxComponentsCreatedEventArgs.cs / 1 / 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
- RegisteredHiddenField.cs
- MultiAsyncResult.cs
- ManagedCodeMarkers.cs
- DiffuseMaterial.cs
- IOThreadScheduler.cs
- CountdownEvent.cs
- Utils.cs
- SubqueryRules.cs
- NativeMethods.cs
- GatewayIPAddressInformationCollection.cs
- MILUtilities.cs
- MissingFieldException.cs
- EditorReuseAttribute.cs
- TabItem.cs
- RootContext.cs
- Win32Interop.cs
- ItemCollection.cs
- XmlSortKeyAccumulator.cs
- Error.cs
- ToolStripDropDown.cs
- WebPartsSection.cs
- SqlIdentifier.cs
- PerformanceCounterLib.cs
- RegexCompiler.cs
- System.Data_BID.cs
- CheckBoxAutomationPeer.cs
- TypeInitializationException.cs
- LinqDataSourceStatusEventArgs.cs
- ListenUriMode.cs
- RegexCapture.cs
- WSDualHttpSecurityElement.cs
- Parameter.cs
- SettingsProperty.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ChannelServices.cs
- SecurityProtocol.cs
- CollectionBuilder.cs
- ClientTarget.cs
- FamilyMapCollection.cs
- XmlSchemaNotation.cs
- NameSpaceExtractor.cs
- DetailsViewPagerRow.cs
- Pkcs7Recipient.cs
- ModuleElement.cs
- ControlBuilder.cs
- SecurityTraceRecordHelper.cs
- ThumbAutomationPeer.cs
- JpegBitmapDecoder.cs
- ToolBarButton.cs
- XmlSchemaAnyAttribute.cs
- DocumentAutomationPeer.cs
- DockProviderWrapper.cs
- FormDesigner.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- RowToParametersTransformer.cs
- ControlDesigner.cs
- TextShapeableCharacters.cs
- VisualTreeHelper.cs
- DiscoveryService.cs
- TabItemWrapperAutomationPeer.cs
- XamlReader.cs
- FormsAuthenticationCredentials.cs
- HideDisabledControlAdapter.cs
- RunInstallerAttribute.cs
- Decoder.cs
- StoreAnnotationsMap.cs
- CursorConverter.cs
- PersonalizationStateInfo.cs
- HandlerWithFactory.cs
- CmsInterop.cs
- JsonSerializer.cs
- ProgressBar.cs
- TraceUtils.cs
- ListViewCommandEventArgs.cs
- Compensate.cs
- NamespaceDecl.cs
- XmlArrayAttribute.cs
- AsyncParams.cs
- RightNameExpirationInfoPair.cs
- RSAPKCS1SignatureFormatter.cs
- Latin1Encoding.cs
- PropertyOrder.cs
- ObjectStorage.cs
- ByteArrayHelperWithString.cs
- QuaternionRotation3D.cs
- BindingExpressionBase.cs
- SqlMethodCallConverter.cs
- RawUIStateInputReport.cs
- ListManagerBindingsCollection.cs
- CompressEmulationStream.cs
- CustomWebEventKey.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ValidationVisibilityAttribute.cs
- UrlAuthFailedErrorFormatter.cs
- DataControlCommands.cs
- Int16Storage.cs
- control.ime.cs
- EventLogInternal.cs
- StructuralType.cs
- HashMembershipCondition.cs