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
- DynamicILGenerator.cs
- JsonEnumDataContract.cs
- SqlConnectionManager.cs
- XamlParser.cs
- ErrorWebPart.cs
- JavascriptXmlWriterWrapper.cs
- HtmlFormWrapper.cs
- CAGDesigner.cs
- ImageSourceValueSerializer.cs
- TemplateColumn.cs
- KeyboardDevice.cs
- Image.cs
- WebBrowserDesigner.cs
- TypedDatasetGenerator.cs
- InputEventArgs.cs
- OracleTransaction.cs
- NonClientArea.cs
- HandlerWithFactory.cs
- QilPatternVisitor.cs
- ContainerParaClient.cs
- IssuanceLicense.cs
- PolyLineSegmentFigureLogic.cs
- PackageStore.cs
- ToolStripItemTextRenderEventArgs.cs
- ProjectedSlot.cs
- SystemWebExtensionsSectionGroup.cs
- HostingEnvironmentSection.cs
- CredentialManagerDialog.cs
- QuaternionKeyFrameCollection.cs
- PartialTrustVisibleAssembly.cs
- EnterpriseServicesHelper.cs
- ChannelManager.cs
- BypassElementCollection.cs
- QueryInterceptorAttribute.cs
- EditorOptionAttribute.cs
- XamlStream.cs
- ColorTransform.cs
- DispatcherOperation.cs
- ParameterSubsegment.cs
- HtmlLinkAdapter.cs
- Color.cs
- FragmentQueryKB.cs
- QueryGeneratorBase.cs
- SettingsContext.cs
- SecurityUtils.cs
- ProfilePropertyMetadata.cs
- TextSelectionHighlightLayer.cs
- Rectangle.cs
- FilterException.cs
- MediaPlayerState.cs
- PartBasedPackageProperties.cs
- DBConnectionString.cs
- BuilderElements.cs
- Glyph.cs
- MimeBasePart.cs
- Configuration.cs
- EnumBuilder.cs
- NamespaceEmitter.cs
- FieldToken.cs
- Int32Storage.cs
- VectorConverter.cs
- PreProcessor.cs
- ThreadInterruptedException.cs
- HtmlInputControl.cs
- TabControl.cs
- EntityModelBuildProvider.cs
- SemanticKeyElement.cs
- BmpBitmapDecoder.cs
- MultiTrigger.cs
- WebBrowserBase.cs
- SoapSchemaExporter.cs
- TableCellAutomationPeer.cs
- SiteMapPath.cs
- EventWaitHandleSecurity.cs
- TabControlCancelEvent.cs
- WindowProviderWrapper.cs
- HMACSHA1.cs
- SoapAttributeAttribute.cs
- ActiveXHelper.cs
- DataGridViewCellFormattingEventArgs.cs
- Separator.cs
- RtType.cs
- RelationshipSet.cs
- IDictionary.cs
- ToolStrip.cs
- PropertyDescriptorCollection.cs
- WebDisplayNameAttribute.cs
- VirtualizingPanel.cs
- MultipartIdentifier.cs
- MemberMaps.cs
- GifBitmapEncoder.cs
- BStrWrapper.cs
- GreaterThan.cs
- GridLength.cs
- Part.cs
- DocumentAutomationPeer.cs
- JournalNavigationScope.cs
- EnumerableWrapperWeakToStrong.cs
- CleanUpVirtualizedItemEventArgs.cs
- LocationSectionRecord.cs