Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SpeakProgressEventArgs.cs
- _Rfc2616CacheValidators.cs
- ConfigurationManagerInternalFactory.cs
- TransformationRules.cs
- sqlser.cs
- AddressingVersion.cs
- ItemChangedEventArgs.cs
- EntityConnection.cs
- Translator.cs
- EnumValidator.cs
- PingReply.cs
- ControlAdapter.cs
- ErrorProvider.cs
- SiteMapDataSourceView.cs
- AnnotationElement.cs
- EmptyReadOnlyDictionaryInternal.cs
- FontInfo.cs
- HtmlLink.cs
- PartBasedPackageProperties.cs
- SecurityPermission.cs
- PrePrepareMethodAttribute.cs
- OleDbConnection.cs
- safex509handles.cs
- WorkflowMarkupSerializationException.cs
- CatalogPartCollection.cs
- NavigationCommands.cs
- HandledEventArgs.cs
- OrderedDictionary.cs
- __Error.cs
- OleDbConnectionFactory.cs
- HttpContext.cs
- GenericRootAutomationPeer.cs
- WsiProfilesElementCollection.cs
- TypeLoadException.cs
- ColumnCollection.cs
- CollectionConverter.cs
- CompilerGlobalScopeAttribute.cs
- ChildTable.cs
- GeneratedCodeAttribute.cs
- UpdateRecord.cs
- ObjectListComponentEditor.cs
- ToolBarButtonDesigner.cs
- CodeObject.cs
- TemplateComponentConnector.cs
- UnsafeNetInfoNativeMethods.cs
- FilterException.cs
- XmlSortKey.cs
- Pen.cs
- NumericExpr.cs
- DataGrid.cs
- LostFocusEventManager.cs
- BidPrivateBase.cs
- ConnectionOrientedTransportManager.cs
- _AuthenticationState.cs
- CharConverter.cs
- EncodingFallbackAwareXmlTextWriter.cs
- BeginEvent.cs
- QilCloneVisitor.cs
- JapaneseCalendar.cs
- FrameworkContentElementAutomationPeer.cs
- RelatedCurrencyManager.cs
- XmlDictionaryReaderQuotas.cs
- HtmlInputControl.cs
- PageAction.cs
- ObjectKeyFrameCollection.cs
- PriorityBinding.cs
- ipaddressinformationcollection.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- CaseInsensitiveHashCodeProvider.cs
- NodeInfo.cs
- ButtonColumn.cs
- FakeModelPropertyImpl.cs
- WindowsProgressbar.cs
- MenuScrollingVisibilityConverter.cs
- TraceSource.cs
- XmlNotation.cs
- Util.cs
- HashHelper.cs
- SqlParameterCollection.cs
- Statements.cs
- HttpSysSettings.cs
- DataObjectPastingEventArgs.cs
- ExpandoClass.cs
- ActivityTypeDesigner.xaml.cs
- CommonObjectSecurity.cs
- ProcessStartInfo.cs
- GridViewCommandEventArgs.cs
- ReadOnlyDataSource.cs
- FileUpload.cs
- PagerStyle.cs
- Configuration.cs
- VectorAnimation.cs
- PropertyToken.cs
- LookupTables.cs
- Transform3D.cs
- SerializableAttribute.cs
- WebPartChrome.cs
- PersonalizationEntry.cs
- List.cs
- UserControlDesigner.cs