Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebPartTransformerAttribute.cs
- NavigationEventArgs.cs
- DetailsViewPagerRow.cs
- ConstructorBuilder.cs
- SiteMapSection.cs
- CngKeyCreationParameters.cs
- DefaultWorkflowLoaderService.cs
- Int64Animation.cs
- Win32PrintDialog.cs
- SemanticBasicElement.cs
- PlainXmlDeserializer.cs
- DesignerCategoryAttribute.cs
- CodeDOMProvider.cs
- FormViewDeletedEventArgs.cs
- SqlDataReaderSmi.cs
- XsltArgumentList.cs
- TreeViewImageIndexConverter.cs
- DataGridRow.cs
- ConnectionStringSettingsCollection.cs
- SrgsElementFactory.cs
- LocalizabilityAttribute.cs
- FlowDocument.cs
- ApplicationFileCodeDomTreeGenerator.cs
- FieldDescriptor.cs
- ExpressionBuilder.cs
- Int16Animation.cs
- InvalidAsynchronousStateException.cs
- SchemaElementDecl.cs
- NetCodeGroup.cs
- ApplicationBuildProvider.cs
- CheckableControlBaseAdapter.cs
- DurableInstanceProvider.cs
- IntSecurity.cs
- UpdateException.cs
- ContentIterators.cs
- ElementAction.cs
- CompilerWrapper.cs
- Helper.cs
- DragEvent.cs
- Solver.cs
- NativeMethods.cs
- QueryAccessibilityHelpEvent.cs
- SystemWebCachingSectionGroup.cs
- SubqueryTrackingVisitor.cs
- EventData.cs
- DetailsViewUpdatedEventArgs.cs
- InheritanceUI.cs
- DocumentViewerBase.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SpotLight.cs
- ReferencedAssembly.cs
- SafeNativeMethods.cs
- Journaling.cs
- ConsoleTraceListener.cs
- AsymmetricKeyExchangeFormatter.cs
- CopyNodeSetAction.cs
- FrameworkElement.cs
- KoreanCalendar.cs
- SourceFilter.cs
- FormViewRow.cs
- ClassDataContract.cs
- MenuScrollingVisibilityConverter.cs
- HeaderCollection.cs
- FixedTextView.cs
- NumberSubstitution.cs
- ToolStripStatusLabel.cs
- OracleParameterCollection.cs
- XmlCharCheckingWriter.cs
- XmlEntityReference.cs
- TextEncodedRawTextWriter.cs
- MenuAdapter.cs
- VersionedStream.cs
- TextViewDesigner.cs
- RoleManagerSection.cs
- PointLight.cs
- xmlformatgeneratorstatics.cs
- ResXResourceSet.cs
- PopupControlService.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UnicastIPAddressInformationCollection.cs
- Helper.cs
- GenericTextProperties.cs
- IssuanceLicense.cs
- XsdDataContractExporter.cs
- BindingExpression.cs
- PropertyInformation.cs
- WebPartVerb.cs
- EntityAdapter.cs
- ClientConfigurationSystem.cs
- DataTrigger.cs
- SqlTypesSchemaImporter.cs
- UrlPath.cs
- DesignerDataRelationship.cs
- DefaultTextStore.cs
- Pair.cs
- EventRouteFactory.cs
- ApplicationSettingsBase.cs
- PersonalizationStateInfo.cs
- AudioBase.cs
- SafeNativeMethodsMilCoreApi.cs