Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / ItemDragEvent.cs / 1 / ItemDragEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the event.
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class ItemDragEventArgs : EventArgs {
readonly MouseButtons button;
readonly object item;
///
///
/// [To be supplied.]
///
public ItemDragEventArgs(MouseButtons button) {
this.button = button;
this.item = null;
}
///
///
/// [To be supplied.]
///
public ItemDragEventArgs(MouseButtons button, object item) {
this.button = button;
this.item = item;
}
///
///
/// [To be supplied.]
///
public MouseButtons Button {
get { return button; }
}
///
///
/// [To be supplied.]
///
public object Item {
get { return item; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the event.
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class ItemDragEventArgs : EventArgs {
readonly MouseButtons button;
readonly object item;
///
///
/// [To be supplied.]
///
public ItemDragEventArgs(MouseButtons button) {
this.button = button;
this.item = null;
}
///
///
/// [To be supplied.]
///
public ItemDragEventArgs(MouseButtons button, object item) {
this.button = button;
this.item = item;
}
///
///
/// [To be supplied.]
///
public MouseButtons Button {
get { return button; }
}
///
///
/// [To be supplied.]
///
public object Item {
get { return item; }
}
}
}
// 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
- FamilyTypefaceCollection.cs
- MimePart.cs
- Tracking.cs
- ReliableChannelFactory.cs
- HandoffBehavior.cs
- followingsibling.cs
- NopReturnReader.cs
- Util.cs
- WebBrowserSiteBase.cs
- AppDomainProtocolHandler.cs
- ScrollContentPresenter.cs
- WebConfigurationFileMap.cs
- EdmRelationshipRoleAttribute.cs
- PrimitiveXmlSerializers.cs
- SmtpNtlmAuthenticationModule.cs
- TextSyndicationContent.cs
- EnumerableRowCollectionExtensions.cs
- BindStream.cs
- SchemaEntity.cs
- ZoneMembershipCondition.cs
- SystemResourceHost.cs
- WindowsImpersonationContext.cs
- TextRunCacheImp.cs
- BoolExpression.cs
- Rotation3DKeyFrameCollection.cs
- StringValueSerializer.cs
- SQLByte.cs
- CodePageEncoding.cs
- PositiveTimeSpanValidator.cs
- KeyValueInternalCollection.cs
- ReceiveActivityDesignerTheme.cs
- SocketInformation.cs
- ACL.cs
- ProtectedConfigurationProviderCollection.cs
- ApplicationException.cs
- EditingCoordinator.cs
- DataContractAttribute.cs
- ContentPresenter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SqlDataSourceSelectingEventArgs.cs
- ConstraintStruct.cs
- codemethodreferenceexpression.cs
- Stack.cs
- ControlPropertyNameConverter.cs
- PipelineModuleStepContainer.cs
- ObjectConverter.cs
- HijriCalendar.cs
- CloudCollection.cs
- Intellisense.cs
- SoapIncludeAttribute.cs
- CompletedAsyncResult.cs
- WebBaseEventKeyComparer.cs
- ReplyChannelBinder.cs
- RefreshEventArgs.cs
- SoapServerMethod.cs
- Set.cs
- AnnotationResource.cs
- TreeNodeClickEventArgs.cs
- GradientStop.cs
- MsmqHostedTransportConfiguration.cs
- XmlDocumentType.cs
- IDictionary.cs
- ProxyWebPart.cs
- DataTableReaderListener.cs
- DoubleLinkListEnumerator.cs
- RSAProtectedConfigurationProvider.cs
- CompiledRegexRunnerFactory.cs
- Registry.cs
- PageBorderless.cs
- DesignerHelpers.cs
- SqlClientPermission.cs
- SqlUserDefinedAggregateAttribute.cs
- WindowsFormsSectionHandler.cs
- LineBreak.cs
- WebControl.cs
- BooleanFunctions.cs
- TileBrush.cs
- UnderstoodHeaders.cs
- ArrayWithOffset.cs
- FunctionCommandText.cs
- XmlToDatasetMap.cs
- CatalogPart.cs
- ComPlusDiagnosticTraceSchemas.cs
- ClassHandlersStore.cs
- MulticastNotSupportedException.cs
- _HeaderInfo.cs
- DbSetClause.cs
- TextTreeUndo.cs
- EventManager.cs
- HScrollBar.cs
- SerialReceived.cs
- SegmentTree.cs
- BufferedConnection.cs
- WindowHideOrCloseTracker.cs
- NegatedConstant.cs
- Italic.cs
- Pair.cs
- DbgUtil.cs
- DataColumnMapping.cs
- ListBox.cs