Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxComponentsCreatingEventArgs.cs / 1 / ToolboxComponentsCreatingEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Design {
using System;
using System.ComponentModel.Design;
///
///
/// Provides data for the 'ToolboxComponentsCreatingEventArgs' event that occurs
/// when components are added to the toolbox.
///
[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;
///
///
///
/// Initializes a new instance of the object.
///
///
public ToolboxComponentsCreatingEventArgs(IDesignerHost host) {
this.host = host;
}
///
///
///
/// An instance of IDesignerHost that has made the creat request. This can be null if no designer host
/// was provided to the toolbox item.
///
///
public IDesignerHost DesignerHost {
get {
return host;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Design {
using System;
using System.ComponentModel.Design;
///
///
/// Provides data for the 'ToolboxComponentsCreatingEventArgs' event that occurs
/// when components are added to the toolbox.
///
[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;
///
///
///
/// Initializes a new instance of the object.
///
///
public ToolboxComponentsCreatingEventArgs(IDesignerHost host) {
this.host = host;
}
///
///
///
/// An instance of IDesignerHost that has made the creat request. This can be null if no designer host
/// was provided to the toolbox item.
///
///
public IDesignerHost DesignerHost {
get {
return host;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RsaEndpointIdentity.cs
- XmlHierarchicalDataSourceView.cs
- ThousandthOfEmRealPoints.cs
- KnownTypesProvider.cs
- _ScatterGatherBuffers.cs
- SafeNativeMethods.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- DependencyObject.cs
- ThreadStaticAttribute.cs
- HttpFileCollection.cs
- XmlConverter.cs
- InstanceDataCollection.cs
- XpsS0ValidatingLoader.cs
- FilterableAttribute.cs
- ReliabilityContractAttribute.cs
- TargetInvocationException.cs
- TimelineGroup.cs
- XmlMemberMapping.cs
- IDQuery.cs
- InvalidDataContractException.cs
- FixedPageStructure.cs
- DiagnosticsConfiguration.cs
- StylusCaptureWithinProperty.cs
- ResumeStoryboard.cs
- TextFormatterHost.cs
- SHA384Managed.cs
- CreateDataSourceDialog.cs
- StrokeCollectionDefaultValueFactory.cs
- PropertyGrid.cs
- Debug.cs
- CancellationToken.cs
- tooltip.cs
- ResourceType.cs
- TypefaceMap.cs
- figurelength.cs
- DataViewSetting.cs
- NumberFunctions.cs
- DbParameterHelper.cs
- XmlMembersMapping.cs
- SecurityException.cs
- PeerFlooder.cs
- SchemaLookupTable.cs
- DataTableNewRowEvent.cs
- SvcMapFileLoader.cs
- TrustLevelCollection.cs
- StylusEditingBehavior.cs
- NavigationProgressEventArgs.cs
- DictionaryContent.cs
- Operators.cs
- DataGridColumnFloatingHeader.cs
- ButtonBaseAutomationPeer.cs
- AspCompat.cs
- ConditionCollection.cs
- PropertyPushdownHelper.cs
- securestring.cs
- ByteConverter.cs
- SiteMapNodeCollection.cs
- ExternalException.cs
- DbProviderFactories.cs
- ParenExpr.cs
- WsatServiceAddress.cs
- Console.cs
- XmlDocument.cs
- BufferedConnection.cs
- RoutedPropertyChangedEventArgs.cs
- TextOnlyOutput.cs
- StatusBarDrawItemEvent.cs
- AsymmetricKeyExchangeFormatter.cs
- WebPartManagerInternals.cs
- Control.cs
- CheckableControlBaseAdapter.cs
- TextEditorSelection.cs
- ParameterCollectionEditor.cs
- _UncName.cs
- InArgumentConverter.cs
- AssertFilter.cs
- TabPanel.cs
- AuthorizationBehavior.cs
- FixedTextSelectionProcessor.cs
- CharConverter.cs
- TextureBrush.cs
- XmlElementList.cs
- MarkupObject.cs
- ISO2022Encoding.cs
- BitmapEffectGeneralTransform.cs
- SmiEventSink.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- CodeTypeParameter.cs
- Base64Encoder.cs
- ParameterToken.cs
- EncodingTable.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Stack.cs
- EncodingFallbackAwareXmlTextWriter.cs
- OptionUsage.cs
- XPathNodePointer.cs
- odbcmetadatacollectionnames.cs
- X509UI.cs
- OperationInvokerTrace.cs
- NameNode.cs