Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxComponentsCreatedEventArgs.cs / 1 / 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
- SignedXml.cs
- SafeLocalAllocation.cs
- SqlConnectionString.cs
- Delegate.cs
- BinHexEncoder.cs
- TextTreePropertyUndoUnit.cs
- TemplatePropertyEntry.cs
- TextDecoration.cs
- HandoffBehavior.cs
- DynamicValueConverter.cs
- ExeConfigurationFileMap.cs
- XamlWriter.cs
- PagedDataSource.cs
- GridViewRowEventArgs.cs
- Pair.cs
- WmlValidationSummaryAdapter.cs
- HttpException.cs
- HttpBrowserCapabilitiesWrapper.cs
- XmlAtomicValue.cs
- SafeNativeMethodsOther.cs
- Subtract.cs
- SqlExpander.cs
- CurrentChangingEventArgs.cs
- RecordBuilder.cs
- SafePointer.cs
- GlyphTypeface.cs
- InputLanguageManager.cs
- CommandID.cs
- TransformationRules.cs
- TableLayoutColumnStyleCollection.cs
- WebPermission.cs
- DefaultSettingsSection.cs
- XmlRawWriter.cs
- _OSSOCK.cs
- DnsPermission.cs
- ReaderWriterLockWrapper.cs
- SmiMetaData.cs
- XmlElementList.cs
- FileClassifier.cs
- AdjustableArrowCap.cs
- QueryContinueDragEvent.cs
- TextTreeText.cs
- DefaultEvaluationContext.cs
- SchemaEntity.cs
- MainMenu.cs
- Win32Native.cs
- RequestQueryProcessor.cs
- RawStylusInputCustomDataList.cs
- AnimationLayer.cs
- Bits.cs
- ObjectRef.cs
- NameValuePair.cs
- ResourceContainer.cs
- DataGridLinkButton.cs
- LineSegment.cs
- SrgsElement.cs
- IncrementalCompileAnalyzer.cs
- FontStretchConverter.cs
- MonthChangedEventArgs.cs
- GridViewRowPresenterBase.cs
- FaultContractInfo.cs
- XmlFormatExtensionAttribute.cs
- SingleKeyFrameCollection.cs
- NotCondition.cs
- SessionEndedEventArgs.cs
- TypefaceCollection.cs
- Object.cs
- TypeDependencyAttribute.cs
- SignedPkcs7.cs
- ProtocolViolationException.cs
- QueryException.cs
- EntityDataSourceDesignerHelper.cs
- PrimitiveXmlSerializers.cs
- TableLayoutSettings.cs
- IncomingWebResponseContext.cs
- TextServicesContext.cs
- ParallelRangeManager.cs
- OleCmdHelper.cs
- TransactionOptions.cs
- TypeConverterAttribute.cs
- _UriSyntax.cs
- CacheVirtualItemsEvent.cs
- InputBindingCollection.cs
- WebSysDisplayNameAttribute.cs
- KeyPressEvent.cs
- DataContractSet.cs
- RemotingConfiguration.cs
- TargetParameterCountException.cs
- ArgIterator.cs
- TraceContextEventArgs.cs
- SwitchElementsCollection.cs
- MethodCallTranslator.cs
- XsltException.cs
- _ContextAwareResult.cs
- RelativeSource.cs
- XPathPatternParser.cs
- PackageRelationshipCollection.cs
- ObjectListField.cs
- CatalogPartCollection.cs
- Point3DAnimation.cs