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
- Knowncolors.cs
- StringComparer.cs
- ListComponentEditor.cs
- ActivityContext.cs
- MinMaxParagraphWidth.cs
- ActiveXSite.cs
- HttpModuleAction.cs
- DeploymentSection.cs
- SecurityPermission.cs
- ServicesUtilities.cs
- CodeVariableDeclarationStatement.cs
- ProcessRequestArgs.cs
- ExpressionHelper.cs
- smtpconnection.cs
- Simplifier.cs
- ControlCachePolicy.cs
- HttpContext.cs
- EnumerableValidator.cs
- ReachUIElementCollectionSerializerAsync.cs
- Margins.cs
- ObjectNavigationPropertyMapping.cs
- WindowPatternIdentifiers.cs
- DynamicRenderer.cs
- DataGridViewLinkCell.cs
- LiteralSubsegment.cs
- RequestCachePolicy.cs
- InfoCardKeyedHashAlgorithm.cs
- XmlSchemaRedefine.cs
- IdentifierCollection.cs
- ExtenderControl.cs
- OdbcReferenceCollection.cs
- StateMachineExecutionState.cs
- Mappings.cs
- PriorityQueue.cs
- XPathEmptyIterator.cs
- WebPartEditVerb.cs
- XmlEnumAttribute.cs
- HttpCachePolicyWrapper.cs
- DbException.cs
- CodePrimitiveExpression.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ExpressionBindings.cs
- UdpChannelListener.cs
- SchemaExporter.cs
- NamedObject.cs
- AtomServiceDocumentSerializer.cs
- XmlSchemaSimpleTypeList.cs
- DurableServiceAttribute.cs
- ToolBarPanel.cs
- BasicExpandProvider.cs
- SizeLimitedCache.cs
- documentation.cs
- UnsafeNetInfoNativeMethods.cs
- SplineKeyFrames.cs
- XmlJsonReader.cs
- ComponentResourceKeyConverter.cs
- SystemUdpStatistics.cs
- SortAction.cs
- StringInfo.cs
- DateTimeOffsetConverter.cs
- UnknownWrapper.cs
- XmlDataSourceNodeDescriptor.cs
- DatePickerAutomationPeer.cs
- SkewTransform.cs
- SelectionEditingBehavior.cs
- MatchSingleFxEngineOpcode.cs
- MultilineStringConverter.cs
- StringBuilder.cs
- designeractionlistschangedeventargs.cs
- WindowsIPAddress.cs
- MailMessageEventArgs.cs
- WebServiceResponse.cs
- OutOfProcStateClientManager.cs
- RubberbandSelector.cs
- RNGCryptoServiceProvider.cs
- Focus.cs
- AsyncStreamReader.cs
- FlowDocumentReaderAutomationPeer.cs
- MILUtilities.cs
- ObjectViewQueryResultData.cs
- ImageBrush.cs
- NamedServiceModelExtensionCollectionElement.cs
- LambdaCompiler.Lambda.cs
- PartManifestEntry.cs
- ServiceElementCollection.cs
- MarkupCompiler.cs
- ExpressionLexer.cs
- SystemSounds.cs
- ConnectionManagementElementCollection.cs
- SmiMetaDataProperty.cs
- IResourceProvider.cs
- MenuItem.cs
- DefaultHttpHandler.cs
- WebConfigurationHostFileChange.cs
- TraceSwitch.cs
- ItemsChangedEventArgs.cs
- SingleStorage.cs
- ExtensionWindowResizeGrip.cs
- BamlWriter.cs
- NonParentingControl.cs