Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / ToolStripItemDataObject.cs / 1 / ToolStripItemDataObject.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms.Design
{
using System.Diagnostics;
using System;
using System.Windows.Forms;
using System.Collections;
///
/// Wrapper class for DataObject. This wrapped object is passed when a ToolStripItem is Drag-Dropped during DesignTime.
///
internal class ToolStripItemDataObject : DataObject
{
private ArrayList dragComponents;
private ToolStrip owner;
private ToolStripItem primarySelection;
internal ToolStripItemDataObject(ArrayList dragComponents, ToolStripItem primarySelection, ToolStrip owner) : base(){
this.dragComponents = dragComponents;
this.owner = owner;
this.primarySelection = primarySelection;
}
internal ArrayList DragComponents {
get{
return dragComponents;
}
}
internal ToolStrip Owner {
get {
return owner;
}
}
internal ToolStripItem PrimarySelection {
get {
return primarySelection;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ApplicationSecurityInfo.cs
- Encoder.cs
- DesignerAttribute.cs
- DnsPermission.cs
- ImportContext.cs
- DelegateCompletionCallbackWrapper.cs
- GlyphsSerializer.cs
- StringFormat.cs
- EventEntry.cs
- SequentialWorkflowHeaderFooter.cs
- TailCallAnalyzer.cs
- AssociationTypeEmitter.cs
- ProjectionPlan.cs
- HttpTransportSecurityElement.cs
- CompositeActivityDesigner.cs
- PhonemeConverter.cs
- OleDbReferenceCollection.cs
- HtmlControlPersistable.cs
- LeftCellWrapper.cs
- ObjectView.cs
- assertwrapper.cs
- DateTimePickerDesigner.cs
- PropertyGroupDescription.cs
- TypographyProperties.cs
- SequenceQuery.cs
- ProjectionPathSegment.cs
- AbandonedMutexException.cs
- ChoiceConverter.cs
- TreeViewHitTestInfo.cs
- QilExpression.cs
- SecurityValidationBehavior.cs
- EntryPointNotFoundException.cs
- CompoundFileDeflateTransform.cs
- RemoteX509Token.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- TCPClient.cs
- MemoryResponseElement.cs
- Convert.cs
- metadatamappinghashervisitor.cs
- Brushes.cs
- PageAdapter.cs
- DirectoryGroupQuery.cs
- SequenceQuery.cs
- _ListenerRequestStream.cs
- ToolBar.cs
- WasHttpModulesInstallComponent.cs
- SQLDecimal.cs
- TileModeValidation.cs
- StylusPointPropertyInfoDefaults.cs
- Quad.cs
- DrawingCollection.cs
- WebServiceTypeData.cs
- ImageMetadata.cs
- Delay.cs
- ObjRef.cs
- DatasetMethodGenerator.cs
- PagesSection.cs
- TimeSpanValidatorAttribute.cs
- WorkflowApplicationIdleEventArgs.cs
- DBDataPermission.cs
- BevelBitmapEffect.cs
- MetafileHeaderWmf.cs
- WebPartConnectionsEventArgs.cs
- RegexCode.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- ClassHandlersStore.cs
- ServerType.cs
- ObjectAssociationEndMapping.cs
- ButtonFlatAdapter.cs
- SyndicationSerializer.cs
- FamilyTypefaceCollection.cs
- PropertyTab.cs
- MethodRental.cs
- ClientConfigPaths.cs
- ImageSource.cs
- OpCodes.cs
- InfiniteTimeSpanConverter.cs
- XmlSchemaSubstitutionGroup.cs
- UnionCqlBlock.cs
- ConnectorDragDropGlyph.cs
- FixedBufferAttribute.cs
- MessagePropertyFilter.cs
- RtType.cs
- DataSourceXmlClassAttribute.cs
- CodeDomComponentSerializationService.cs
- ExpandedWrapper.cs
- SqlCacheDependencyDatabaseCollection.cs
- LinkedResourceCollection.cs
- ColorTranslator.cs
- XmlArrayAttribute.cs
- ISCIIEncoding.cs
- TraceContextEventArgs.cs
- PolyLineSegment.cs
- FusionWrap.cs
- RectValueSerializer.cs
- DbProviderFactory.cs
- RunInstallerAttribute.cs
- Clock.cs
- SqlCommand.cs
- Message.cs