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
- WebPartZoneBase.cs
- CodeStatement.cs
- Soap.cs
- SimpleBitVector32.cs
- DesignTimeTemplateParser.cs
- CalendarDataBindingHandler.cs
- Keywords.cs
- WmfPlaceableFileHeader.cs
- WebPartConnectVerb.cs
- SortQuery.cs
- CellIdBoolean.cs
- SqlXmlStorage.cs
- PageAsyncTask.cs
- TabPanel.cs
- Cell.cs
- XmlDataSourceNodeDescriptor.cs
- NullableIntMinMaxAggregationOperator.cs
- ADMembershipUser.cs
- TextRangeBase.cs
- Hashtable.cs
- HttpBindingExtension.cs
- DataServiceRequestException.cs
- OdbcErrorCollection.cs
- VSDExceptions.cs
- TextBoxBase.cs
- DbProviderFactoriesConfigurationHandler.cs
- WebPartEventArgs.cs
- WasHttpHandlersInstallComponent.cs
- TimeSpan.cs
- XamlInterfaces.cs
- ExecutionEngineException.cs
- ProtocolsConfigurationHandler.cs
- SystemColorTracker.cs
- ProgramPublisher.cs
- TextTreePropertyUndoUnit.cs
- baseaxisquery.cs
- XpsFixedPageReaderWriter.cs
- SqlWorkflowInstanceStore.cs
- EntityKeyElement.cs
- RuntimeHelpers.cs
- ValidationEventArgs.cs
- ToolBarDesigner.cs
- SystemColors.cs
- EdmSchemaError.cs
- RowsCopiedEventArgs.cs
- WorkflowClientDeliverMessageWrapper.cs
- Composition.cs
- UnionExpr.cs
- Button.cs
- TreeNodeBindingCollection.cs
- TransformDescriptor.cs
- TextBoxBase.cs
- ApplicationSecurityManager.cs
- TabletDevice.cs
- MenuItemCollectionEditor.cs
- SeparatorAutomationPeer.cs
- XmlMapping.cs
- objectresult_tresulttype.cs
- OleDbParameterCollection.cs
- ImpersonationContext.cs
- XmlWriterTraceListener.cs
- TraceSource.cs
- KnowledgeBase.cs
- CollectionDataContractAttribute.cs
- RemoteHelper.cs
- MdiWindowListItemConverter.cs
- ExpressionWriter.cs
- MetadataUtil.cs
- StrongNameKeyPair.cs
- XmlTextReader.cs
- NumericUpDownAcceleration.cs
- ProgramNode.cs
- CompilerGlobalScopeAttribute.cs
- ContainerAction.cs
- InputGestureCollection.cs
- BrushValueSerializer.cs
- RegexWorker.cs
- SessionStateContainer.cs
- StandardCommands.cs
- HandlerFactoryWrapper.cs
- GeneralTransform.cs
- ReceiveContext.cs
- GeneralTransform3DGroup.cs
- PerspectiveCamera.cs
- BoundField.cs
- TextReader.cs
- RangeValuePattern.cs
- ParameterElement.cs
- BoundPropertyEntry.cs
- XmlEntity.cs
- KeysConverter.cs
- TypePropertyEditor.cs
- AbandonedMutexException.cs
- PointAnimationClockResource.cs
- Root.cs
- OleDbParameterCollection.cs
- BamlStream.cs
- SolidColorBrush.cs
- WorkflowPageSetupDialog.cs
- ReflectionUtil.cs