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
- AutomationElementCollection.cs
- StatusBarAutomationPeer.cs
- CodeIterationStatement.cs
- GenericTextProperties.cs
- ObjectDataProvider.cs
- TransformDescriptor.cs
- EntitySet.cs
- SqlCachedBuffer.cs
- SequenceDesigner.cs
- precedingquery.cs
- TypeDescriptorFilterService.cs
- DataObjectPastingEventArgs.cs
- OleDbReferenceCollection.cs
- ProcessHostMapPath.cs
- RectAnimationBase.cs
- OutArgument.cs
- WrapperEqualityComparer.cs
- LinkArea.cs
- PagerSettings.cs
- XmlChildNodes.cs
- RemoteArgument.cs
- InputBuffer.cs
- EventInfo.cs
- FixedDocumentPaginator.cs
- UnmanagedMemoryAccessor.cs
- HtmlTableCellCollection.cs
- RegexMatchCollection.cs
- XmlAttribute.cs
- AudioDeviceOut.cs
- WorkflowDesigner.cs
- _OverlappedAsyncResult.cs
- DictationGrammar.cs
- ZipIOModeEnforcingStream.cs
- RoutedEventHandlerInfo.cs
- SerializationInfoEnumerator.cs
- XmlDocumentViewSchema.cs
- BigInt.cs
- SspiNegotiationTokenAuthenticatorState.cs
- BamlStream.cs
- HelloMessage11.cs
- CommandDesigner.cs
- xsdvalidator.cs
- Transform3D.cs
- RelationshipFixer.cs
- TimeSpanValidatorAttribute.cs
- TextBoxAutomationPeer.cs
- WSSecureConversationFeb2005.cs
- MenuItem.cs
- NetCodeGroup.cs
- ProxyHwnd.cs
- ThemeDirectoryCompiler.cs
- AssemblyHelper.cs
- StreamWithDictionary.cs
- XmlSchemaNotation.cs
- _BaseOverlappedAsyncResult.cs
- ExpandCollapsePattern.cs
- DocumentXmlWriter.cs
- PersonalizationStateInfoCollection.cs
- HttpWebRequestElement.cs
- Win32SafeHandles.cs
- BadImageFormatException.cs
- SystemIPv4InterfaceProperties.cs
- SchemaTableColumn.cs
- UserControl.cs
- WebHttpSecurity.cs
- ScaleTransform3D.cs
- AuthorizationSection.cs
- SessionStateUtil.cs
- OleDbConnectionFactory.cs
- ListDictionaryInternal.cs
- FragmentQuery.cs
- ArraySortHelper.cs
- SystemPens.cs
- RuntimeResourceSet.cs
- ToolboxItem.cs
- KoreanCalendar.cs
- PeerNameResolver.cs
- Visual3D.cs
- Ipv6Element.cs
- ZoneLinkButton.cs
- WebProxyScriptElement.cs
- TemplateInstanceAttribute.cs
- Encoder.cs
- FirstMatchCodeGroup.cs
- SqlMethodAttribute.cs
- FactoryRecord.cs
- FunctionQuery.cs
- TextContainerHelper.cs
- BamlLocalizableResourceKey.cs
- CapabilitiesRule.cs
- CompiledXpathExpr.cs
- OdbcException.cs
- LabelAutomationPeer.cs
- InstanceNameConverter.cs
- SelectionItemPattern.cs
- BuildResultCache.cs
- ConditionValidator.cs
- MembershipValidatePasswordEventArgs.cs
- DomainUpDown.cs
- ErrorHandler.cs