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
- DeviceContext.cs
- TableItemPatternIdentifiers.cs
- ObjectDataSource.cs
- CompositeControl.cs
- XmlStreamStore.cs
- DefaultObjectMappingItemCollection.cs
- ProcessHost.cs
- QuaternionRotation3D.cs
- ManipulationStartingEventArgs.cs
- ComAwareEventInfo.cs
- Geometry.cs
- DecoderNLS.cs
- IssuanceLicense.cs
- ProjectionPathBuilder.cs
- PointCollectionConverter.cs
- ModelEditingScope.cs
- Int32Animation.cs
- HttpNamespaceReservationInstallComponent.cs
- VirtualDirectoryMappingCollection.cs
- TypeDelegator.cs
- PieceNameHelper.cs
- Models.cs
- XmlMemberMapping.cs
- TextDecorationUnitValidation.cs
- PageContentAsyncResult.cs
- ViewSimplifier.cs
- NullableConverter.cs
- COM2PropertyDescriptor.cs
- UpDownBase.cs
- ListenerElementsCollection.cs
- ValidationManager.cs
- ProcessingInstructionAction.cs
- DragEventArgs.cs
- ExpressionPrefixAttribute.cs
- RichTextBoxAutomationPeer.cs
- _ConnectStream.cs
- AstTree.cs
- CollectionContainer.cs
- SqlDataSourceSelectingEventArgs.cs
- WSSecureConversation.cs
- UnaryOperationBinder.cs
- ChangeDirector.cs
- EmptyElement.cs
- SoapHeader.cs
- AbstractSvcMapFileLoader.cs
- PolyLineSegmentFigureLogic.cs
- EdmConstants.cs
- PrimitiveXmlSerializers.cs
- DesignerCategoryAttribute.cs
- RegistrationServices.cs
- WorkflowInlining.cs
- OdbcFactory.cs
- ColorBlend.cs
- HttpConfigurationSystem.cs
- SqlClientWrapperSmiStream.cs
- KeyEvent.cs
- TraceListeners.cs
- TreeNodeStyle.cs
- String.cs
- RequestQueue.cs
- Constants.cs
- OlePropertyStructs.cs
- BamlLocalizableResourceKey.cs
- SystemPens.cs
- Ports.cs
- ActivityTypeCodeDomSerializer.cs
- SettingsPropertyNotFoundException.cs
- Parsers.cs
- XmlQualifiedName.cs
- ToolBarOverflowPanel.cs
- Int16AnimationBase.cs
- Keywords.cs
- TdsEnums.cs
- sqlinternaltransaction.cs
- DataGridViewLinkCell.cs
- StringUtil.cs
- FlagsAttribute.cs
- HttpModulesSection.cs
- RegexRunnerFactory.cs
- ClearTypeHintValidation.cs
- ImageField.cs
- BuilderPropertyEntry.cs
- IChannel.cs
- nulltextcontainer.cs
- Vector3DKeyFrameCollection.cs
- _SslState.cs
- BaseInfoTable.cs
- SplineQuaternionKeyFrame.cs
- WorkflowInstanceExtensionCollection.cs
- SharedStatics.cs
- InitialServerConnectionReader.cs
- FontFamily.cs
- ITextView.cs
- ParamArrayAttribute.cs
- DPTypeDescriptorContext.cs
- RuntimeConfigLKG.cs
- TextModifier.cs
- Compiler.cs
- OdbcDataReader.cs
- HtmlInputControl.cs