Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxComponentsCreatingEventArgs.cs / 1305376 / ToolboxComponentsCreatingEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Design { using System; using System.ComponentModel.Design; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ToolboxComponentsCreatingEventArgs : EventArgs { private readonly IDesignerHost host; ///Provides data for the 'ToolboxComponentsCreatingEventArgs' event that occurs /// when components are added to the toolbox. ////// /// public ToolboxComponentsCreatingEventArgs(IDesignerHost host) { this.host = host; } ////// Initializes a new instance of the ///object. /// /// /// public IDesignerHost DesignerHost { get { return host; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// An instance of IDesignerHost that has made the creat request. This can be null if no designer host /// was provided to the toolbox item. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Design { using System; using System.ComponentModel.Design; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ToolboxComponentsCreatingEventArgs : EventArgs { private readonly IDesignerHost host; ///Provides data for the 'ToolboxComponentsCreatingEventArgs' event that occurs /// when components are added to the toolbox. ////// /// public ToolboxComponentsCreatingEventArgs(IDesignerHost host) { this.host = host; } ////// Initializes a new instance of the ///object. /// /// /// public IDesignerHost DesignerHost { get { return host; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// An instance of IDesignerHost that has made the creat request. This can be null if no designer host /// was provided to the toolbox item. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RectangleF.cs
- VisualStyleInformation.cs
- ConstraintStruct.cs
- DirectionalAction.cs
- SchemaTableColumn.cs
- SyntaxCheck.cs
- DataGridViewTextBoxColumn.cs
- DataGridColumnCollection.cs
- OpCodes.cs
- PixelFormat.cs
- XmlAutoDetectWriter.cs
- OuterGlowBitmapEffect.cs
- SocketException.cs
- EventTrigger.cs
- RecommendedAsConfigurableAttribute.cs
- FirewallWrapper.cs
- SemanticResultKey.cs
- _OSSOCK.cs
- WhitespaceSignificantCollectionAttribute.cs
- VerticalAlignConverter.cs
- Stack.cs
- Metafile.cs
- ReliableRequestSessionChannel.cs
- TabItemWrapperAutomationPeer.cs
- oledbmetadatacolumnnames.cs
- Baml6ConstructorInfo.cs
- WebPartDeleteVerb.cs
- Math.cs
- VisualTreeUtils.cs
- RuntimeArgumentHandle.cs
- PrivilegedConfigurationManager.cs
- QueryValue.cs
- FieldToken.cs
- DataGridViewComboBoxColumnDesigner.cs
- WindowsFormsHost.cs
- EncryptedReference.cs
- CatalogPart.cs
- MetaModel.cs
- EntityContainerRelationshipSetEnd.cs
- ImmutableCollection.cs
- UnsafeNetInfoNativeMethods.cs
- StoreItemCollection.cs
- OdbcParameter.cs
- Schema.cs
- ColorConvertedBitmap.cs
- ArrangedElementCollection.cs
- ComponentChangedEvent.cs
- WindowsAltTab.cs
- TraceSwitch.cs
- ConfigurationProperty.cs
- WrappingXamlSchemaContext.cs
- MenuItemStyleCollection.cs
- SafeArrayTypeMismatchException.cs
- DependencyPropertyDescriptor.cs
- Component.cs
- DataGridViewComboBoxCell.cs
- InvariantComparer.cs
- HostedElements.cs
- TagNameToTypeMapper.cs
- CustomLineCap.cs
- CheckBoxAutomationPeer.cs
- odbcmetadatacolumnnames.cs
- WindowsAuthenticationModule.cs
- WebPartAuthorizationEventArgs.cs
- DataKey.cs
- XhtmlBasicValidatorAdapter.cs
- DataListAutoFormat.cs
- SHA1Managed.cs
- XamlClipboardData.cs
- ControlPropertyNameConverter.cs
- StringUtil.cs
- MonthCalendar.cs
- SerializationStore.cs
- ResXResourceWriter.cs
- HostingMessageProperty.cs
- EventLogPermissionHolder.cs
- TextFormatterContext.cs
- DataTableNewRowEvent.cs
- ExplicitDiscriminatorMap.cs
- BaseParaClient.cs
- ProcessModule.cs
- ColumnBinding.cs
- ListBox.cs
- Module.cs
- StylusEventArgs.cs
- HiddenField.cs
- ComAwareEventInfo.cs
- MailBnfHelper.cs
- _ScatterGatherBuffers.cs
- InstanceDescriptor.cs
- AspNetSynchronizationContext.cs
- CompositionAdorner.cs
- basenumberconverter.cs
- RijndaelManagedTransform.cs
- nulltextnavigator.cs
- ConfigurationPropertyAttribute.cs
- LineSegment.cs
- ChangePasswordAutoFormat.cs
- TextViewBase.cs
- DetailsViewInsertedEventArgs.cs