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
- ClientSideQueueItem.cs
- UrlPropertyAttribute.cs
- ScopeElement.cs
- ImagingCache.cs
- CompilerParameters.cs
- BitmapScalingModeValidation.cs
- UInt64Converter.cs
- EncryptedType.cs
- LinqDataSourceSelectEventArgs.cs
- BitmapImage.cs
- WebZone.cs
- ProgressBarHighlightConverter.cs
- AssemblyAttributes.cs
- Array.cs
- DependencyPropertyKey.cs
- InfoCardArgumentException.cs
- StaticDataManager.cs
- ContextMenuStripActionList.cs
- BaseTreeIterator.cs
- AnnotationStore.cs
- XmlSchemaException.cs
- SafeFileMapViewHandle.cs
- AnyAllSearchOperator.cs
- VisualTarget.cs
- StylusOverProperty.cs
- CompilerWrapper.cs
- DeferredSelectedIndexReference.cs
- ExpressionConverter.cs
- XPathAncestorIterator.cs
- DesignTimeDataBinding.cs
- TemplateControlBuildProvider.cs
- CharConverter.cs
- InstallerTypeAttribute.cs
- WorkflowOperationFault.cs
- AsymmetricSignatureDeformatter.cs
- FixedDocumentPaginator.cs
- Section.cs
- DataMisalignedException.cs
- Normalizer.cs
- ResourceDefaultValueAttribute.cs
- ReadOnlyDataSourceView.cs
- PropertyChangingEventArgs.cs
- StructuralCache.cs
- SafeFileMapViewHandle.cs
- CodeVariableReferenceExpression.cs
- TextEditorParagraphs.cs
- AmbientValueAttribute.cs
- Header.cs
- BackgroundWorker.cs
- ComboBoxItem.cs
- TypeSemantics.cs
- EntityDataSourceViewSchema.cs
- EditorAttribute.cs
- FillRuleValidation.cs
- UnsafeCollabNativeMethods.cs
- Qualifier.cs
- Matrix.cs
- FixedDocument.cs
- CatalogZone.cs
- ImageListUtils.cs
- Line.cs
- SpellerError.cs
- OracleCommandSet.cs
- LiteralText.cs
- Highlights.cs
- FacetValueContainer.cs
- ImageFormat.cs
- RenderContext.cs
- StorageComplexTypeMapping.cs
- TemplateBindingExpressionConverter.cs
- FlowNode.cs
- RotationValidation.cs
- ConstructorBuilder.cs
- VarRemapper.cs
- InternalConfigRoot.cs
- EditBehavior.cs
- AdPostCacheSubstitution.cs
- ThicknessKeyFrameCollection.cs
- TimerElapsedEvenArgs.cs
- InstanceData.cs
- AssociationSet.cs
- ToolStripItemTextRenderEventArgs.cs
- QuaternionConverter.cs
- ComboBoxAutomationPeer.cs
- SchemaType.cs
- DropDownButton.cs
- SemanticResolver.cs
- SqlDataReader.cs
- UmAlQuraCalendar.cs
- RecommendedAsConfigurableAttribute.cs
- MutableAssemblyCacheEntry.cs
- ParserOptions.cs
- XmlSchemaException.cs
- RangeContentEnumerator.cs
- OdbcCommand.cs
- SystemIPAddressInformation.cs
- HighContrastHelper.cs
- XmlSchemaSimpleContent.cs
- RecordConverter.cs
- PipeSecurity.cs