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
- AnnotationStore.cs
- Monitor.cs
- LayoutExceptionEventArgs.cs
- SHA1.cs
- ClientRolePrincipal.cs
- AutomationIdentifierGuids.cs
- ProfileSettingsCollection.cs
- HandleRef.cs
- SerializationStore.cs
- SafeRegistryKey.cs
- IntPtr.cs
- CatalogZoneDesigner.cs
- TimelineClockCollection.cs
- SettingsProperty.cs
- EditBehavior.cs
- FragmentQueryKB.cs
- TreeNodeBinding.cs
- CachedTypeface.cs
- DefaultBindingPropertyAttribute.cs
- DirectoryInfo.cs
- SemaphoreSecurity.cs
- ExtendedTransformFactory.cs
- TabControl.cs
- TraceListener.cs
- PrivilegeNotHeldException.cs
- CompModSwitches.cs
- EventTrigger.cs
- Events.cs
- BaseHashHelper.cs
- URLAttribute.cs
- FieldDescriptor.cs
- SatelliteContractVersionAttribute.cs
- ListParaClient.cs
- PaginationProgressEventArgs.cs
- RelationshipSet.cs
- TextProperties.cs
- DeleteStoreRequest.cs
- RenderContext.cs
- PersistenceProviderFactory.cs
- Propagator.JoinPropagator.cs
- XmlSortKey.cs
- GlobalizationSection.cs
- TemplateBindingExtensionConverter.cs
- ProcessInfo.cs
- AnnotationDocumentPaginator.cs
- XsltCompileContext.cs
- WebZone.cs
- DispatchOperationRuntime.cs
- TraceInternal.cs
- RecommendedAsConfigurableAttribute.cs
- PanelStyle.cs
- DocumentPageHost.cs
- RIPEMD160Managed.cs
- XamlSerializerUtil.cs
- StreamResourceInfo.cs
- TextDocumentView.cs
- ModuleConfigurationInfo.cs
- LazyTextWriterCreator.cs
- StaticResourceExtension.cs
- DataGridComponentEditor.cs
- SmiTypedGetterSetter.cs
- BamlLocalizabilityResolver.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- QilTernary.cs
- SQLSingle.cs
- VerificationException.cs
- SrgsOneOf.cs
- UserPersonalizationStateInfo.cs
- XPathMessageFilter.cs
- SendMailErrorEventArgs.cs
- SemanticResultKey.cs
- SpecularMaterial.cs
- DynamicQueryableWrapper.cs
- GraphicsContext.cs
- ProtectedConfiguration.cs
- XhtmlBasicCalendarAdapter.cs
- TraceEventCache.cs
- StdValidatorsAndConverters.cs
- CapabilitiesRule.cs
- OdbcDataReader.cs
- PointConverter.cs
- Int64KeyFrameCollection.cs
- ContractComponent.cs
- SystemSounds.cs
- SafeFreeMibTable.cs
- BindingCompleteEventArgs.cs
- Frame.cs
- StdValidatorsAndConverters.cs
- DataGridViewTextBoxCell.cs
- Model3DGroup.cs
- XamlParser.cs
- ListControl.cs
- ContentIterators.cs
- MaskPropertyEditor.cs
- RegexNode.cs
- RemotingServices.cs
- RijndaelManaged.cs
- filewebresponse.cs
- WaitingCursor.cs
- CodeAccessPermission.cs