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
- BitmapFrame.cs
- TextEndOfLine.cs
- InternalCache.cs
- SortKey.cs
- CreateUserWizardStep.cs
- ToolStripHighContrastRenderer.cs
- GPPOINT.cs
- PropertyTabChangedEvent.cs
- HMACMD5.cs
- WorkflowFileItem.cs
- ItemCheckedEvent.cs
- HttpFileCollection.cs
- SvcFileManager.cs
- SessionStateContainer.cs
- DataGridItemEventArgs.cs
- XPathNavigator.cs
- SqlVersion.cs
- TypeUtils.cs
- HashRepartitionStream.cs
- VirtualPathProvider.cs
- TraceLevelStore.cs
- DataView.cs
- ForwardPositionQuery.cs
- ToolboxComponentsCreatingEventArgs.cs
- AccessDataSource.cs
- PublisherIdentityPermission.cs
- ElementFactory.cs
- ByteArrayHelperWithString.cs
- FragmentQueryKB.cs
- WindowsRichEditRange.cs
- ScrollEvent.cs
- Point4D.cs
- DataServiceException.cs
- ClientSettings.cs
- TriggerActionCollection.cs
- TemplateControl.cs
- MultiSelectRootGridEntry.cs
- DecoderReplacementFallback.cs
- ProgressChangedEventArgs.cs
- ObjectNotFoundException.cs
- RTLAwareMessageBox.cs
- VirtualPathProvider.cs
- OperationCanceledException.cs
- messageonlyhwndwrapper.cs
- lengthconverter.cs
- DocumentEventArgs.cs
- XmlTypeAttribute.cs
- SqlDataReaderSmi.cs
- DBBindings.cs
- Inflater.cs
- DataSourceXmlSerializer.cs
- TreeNodeMouseHoverEvent.cs
- DropShadowEffect.cs
- ParallelTimeline.cs
- CodeAssignStatement.cs
- SymbolDocumentInfo.cs
- ZipIOLocalFileHeader.cs
- OutputCacheProfile.cs
- FixedSOMFixedBlock.cs
- RightsController.cs
- ColumnMapTranslator.cs
- ByteRangeDownloader.cs
- StorageAssociationSetMapping.cs
- EndpointInfoCollection.cs
- XmlUtf8RawTextWriter.cs
- RowVisual.cs
- SchemaNotation.cs
- DriveNotFoundException.cs
- GridViewCancelEditEventArgs.cs
- Delegate.cs
- ItemsChangedEventArgs.cs
- NativeCppClassAttribute.cs
- DialogResultConverter.cs
- handlecollector.cs
- BitmapCache.cs
- PointCollectionValueSerializer.cs
- CompoundFileIOPermission.cs
- Path.cs
- SoapFault.cs
- ValidatorUtils.cs
- TableLayoutSettings.cs
- FileSystemWatcher.cs
- SiteMapNode.cs
- KeyEvent.cs
- DataGridViewSelectedColumnCollection.cs
- TextServicesManager.cs
- SplashScreenNativeMethods.cs
- QilName.cs
- RecognizerBase.cs
- WebFormsRootDesigner.cs
- IdleTimeoutMonitor.cs
- MultipartContentParser.cs
- FamilyTypefaceCollection.cs
- PenThreadPool.cs
- Base64Decoder.cs
- SemanticKeyElement.cs
- Effect.cs
- KeyboardNavigation.cs
- ThrowHelper.cs
- LogRestartAreaEnumerator.cs