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
- PropertyStore.cs
- ScriptManagerProxy.cs
- EmptyReadOnlyDictionaryInternal.cs
- Convert.cs
- AsyncOperation.cs
- XmlSchemaGroup.cs
- CodeIdentifier.cs
- GridErrorDlg.cs
- BitStream.cs
- ValueUtilsSmi.cs
- SubMenuStyleCollection.cs
- BitmapSource.cs
- DeclarationUpdate.cs
- ResourceIDHelper.cs
- SqlBuffer.cs
- SchemaTypeEmitter.cs
- Compiler.cs
- DataPager.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- FamilyCollection.cs
- panel.cs
- ZipIOLocalFileBlock.cs
- BezierSegment.cs
- XmlDeclaration.cs
- TextRangeBase.cs
- DatasetMethodGenerator.cs
- UnwrappedTypesXmlSerializerManager.cs
- ActivationArguments.cs
- PointCollectionConverter.cs
- StrokeNodeEnumerator.cs
- StateChangeEvent.cs
- DispatcherEventArgs.cs
- XPathNavigatorReader.cs
- DataGridViewLinkCell.cs
- TextFormatterHost.cs
- JsonDataContract.cs
- SoapHeaderAttribute.cs
- OutputScopeManager.cs
- HMACSHA512.cs
- Path.cs
- WebColorConverter.cs
- XhtmlBasicLabelAdapter.cs
- SiteMembershipCondition.cs
- EncodingInfo.cs
- UserInitiatedNavigationPermission.cs
- SelectedDatesCollection.cs
- XmlSchemaValidationException.cs
- AppSettingsSection.cs
- DESCryptoServiceProvider.cs
- Comparer.cs
- InteropDesigner.xaml.cs
- uribuilder.cs
- followingquery.cs
- SafeRightsManagementPubHandle.cs
- TokenBasedSetEnumerator.cs
- DesignBinding.cs
- VideoDrawing.cs
- MetadataItem_Static.cs
- SHA384CryptoServiceProvider.cs
- MimeMapping.cs
- DataTableTypeConverter.cs
- DependencyProperty.cs
- MultiBinding.cs
- ProtocolsInstallComponent.cs
- PageOutputQuality.cs
- CharacterMetrics.cs
- BaseParaClient.cs
- ChtmlTextBoxAdapter.cs
- PasswordTextNavigator.cs
- SqlNotificationRequest.cs
- PopOutPanel.cs
- AnimationTimeline.cs
- LinqDataSource.cs
- ElementMarkupObject.cs
- QueryRewriter.cs
- XmlAttributeAttribute.cs
- ConstantExpression.cs
- CodeEventReferenceExpression.cs
- PagerSettings.cs
- ThemeDictionaryExtension.cs
- PackagingUtilities.cs
- SafeThreadHandle.cs
- HttpDictionary.cs
- ToolTip.cs
- Rectangle.cs
- DataListItem.cs
- TraceHandlerErrorFormatter.cs
- ToolBarTray.cs
- FamilyTypefaceCollection.cs
- ConfigurationPermission.cs
- NamespaceMapping.cs
- FlowLayoutPanelDesigner.cs
- FieldNameLookup.cs
- ComponentResourceManager.cs
- XmlNavigatorFilter.cs
- ObjectViewEntityCollectionData.cs
- IndexingContentUnit.cs
- Pen.cs
- RbTree.cs
- PlacementWorkspace.cs