Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AddInBase.cs
- ExecutionContext.cs
- QuotedPrintableStream.cs
- BuiltInExpr.cs
- OpenFileDialog.cs
- PrintPreviewDialog.cs
- CodeStatement.cs
- WizardPanel.cs
- HtmlControlPersistable.cs
- KeyPressEvent.cs
- NameValueFileSectionHandler.cs
- ResourceKey.cs
- ControlPropertyNameConverter.cs
- GridViewUpdateEventArgs.cs
- HandlerWithFactory.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- EditorBrowsableAttribute.cs
- IconBitmapDecoder.cs
- ConfigViewGenerator.cs
- SecurityTokenProvider.cs
- PrimitiveDataContract.cs
- SecurityPolicySection.cs
- ContextQuery.cs
- TransactionScope.cs
- XmlParserContext.cs
- UdpReplyToBehavior.cs
- ControlCachePolicy.cs
- Property.cs
- ZipIOLocalFileHeader.cs
- VisualBrush.cs
- QilFunction.cs
- DefaultValueTypeConverter.cs
- InvalidCommandTreeException.cs
- Visual3D.cs
- ResizeGrip.cs
- XDRSchema.cs
- ListItemConverter.cs
- WebPartMinimizeVerb.cs
- HwndProxyElementProvider.cs
- CqlErrorHelper.cs
- AnnotationHighlightLayer.cs
- AssemblySettingAttributes.cs
- DynamicResourceExtensionConverter.cs
- Certificate.cs
- ConfigurationLocation.cs
- NullReferenceException.cs
- ControlCollection.cs
- XmlSerializableWriter.cs
- SerializationBinder.cs
- StickyNoteHelper.cs
- WebPartRestoreVerb.cs
- XmlILTrace.cs
- Encoding.cs
- WasEndpointConfigContainer.cs
- ToolStripDropDownButton.cs
- PrintDialogException.cs
- System.Data_BID.cs
- AnimationException.cs
- BinarySerializer.cs
- ConnectionManagementElementCollection.cs
- ArrayWithOffset.cs
- TextTreeTextBlock.cs
- PersistenceTask.cs
- RelatedCurrencyManager.cs
- SRef.cs
- ExpanderAutomationPeer.cs
- BinaryConverter.cs
- QilLoop.cs
- CaseCqlBlock.cs
- HtmlTableRow.cs
- ToolStripDropDownMenu.cs
- ConfigurationSectionGroup.cs
- ContentElement.cs
- ToolboxComponentsCreatingEventArgs.cs
- ReversePositionQuery.cs
- StringCollection.cs
- KeyEventArgs.cs
- WindowsStatic.cs
- ConfigXmlText.cs
- Image.cs
- DataGridHeaderBorder.cs
- XPathEmptyIterator.cs
- EdmScalarPropertyAttribute.cs
- ServiceRouteHandler.cs
- StructuralObject.cs
- RangeContentEnumerator.cs
- Window.cs
- PropertyTabChangedEvent.cs
- TextElement.cs
- XmlParser.cs
- ApplicationDirectoryMembershipCondition.cs
- TraceListener.cs
- ZoneLinkButton.cs
- MenuEventArgs.cs
- BackgroundFormatInfo.cs
- XmlDocument.cs
- ToolStripComboBox.cs
- LinqDataSourceDeleteEventArgs.cs
- KeyboardNavigation.cs
- CodeCommentStatement.cs