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
- TlsnegoTokenProvider.cs
- ModelTypeConverter.cs
- RegexRunnerFactory.cs
- SessionStateContainer.cs
- XmlIlGenerator.cs
- WebServiceHostFactory.cs
- ImplicitInputBrush.cs
- XPathDescendantIterator.cs
- SelfIssuedSamlTokenFactory.cs
- TimelineCollection.cs
- DefaultProxySection.cs
- WebException.cs
- CapabilitiesSection.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- LabelEditEvent.cs
- TextParagraph.cs
- ComponentTray.cs
- ErrorFormatterPage.cs
- _LoggingObject.cs
- SqlDataAdapter.cs
- SqlProviderServices.cs
- CommandSet.cs
- TabletCollection.cs
- GridToolTip.cs
- PixelFormats.cs
- DataRowView.cs
- TableLayoutSettings.cs
- EventDescriptorCollection.cs
- InputBinding.cs
- SendingRequestEventArgs.cs
- ImmutableObjectAttribute.cs
- SettingsSavedEventArgs.cs
- MetadataWorkspace.cs
- HybridDictionary.cs
- CachedBitmap.cs
- ApplyImportsAction.cs
- FileDialog_Vista.cs
- PersonalizationEntry.cs
- ComplexTypeEmitter.cs
- CodeConditionStatement.cs
- NonVisualControlAttribute.cs
- CodeMethodMap.cs
- Internal.cs
- Selector.cs
- Bezier.cs
- CultureSpecificStringDictionary.cs
- DbResourceAllocator.cs
- TranslateTransform.cs
- CompilerTypeWithParams.cs
- SplineKeyFrames.cs
- followingquery.cs
- InkCanvasSelectionAdorner.cs
- ConfigurationConverterBase.cs
- KeysConverter.cs
- MD5CryptoServiceProvider.cs
- ColumnHeader.cs
- FilteredAttributeCollection.cs
- AttachedPropertyBrowsableAttribute.cs
- ProxyHelper.cs
- ReaderOutput.cs
- TrackingMemoryStreamFactory.cs
- SqlAliasesReferenced.cs
- XappLauncher.cs
- SplineKeyFrames.cs
- WhitespaceSignificantCollectionAttribute.cs
- MarkupExtensionReturnTypeAttribute.cs
- TreeViewDesigner.cs
- VBIdentifierName.cs
- FormattedTextSymbols.cs
- HtmlInputPassword.cs
- UniqueEventHelper.cs
- CoTaskMemUnicodeSafeHandle.cs
- XPathSingletonIterator.cs
- ShapingWorkspace.cs
- GuidTagList.cs
- InvokeGenerator.cs
- XamlFilter.cs
- ToolStripStatusLabel.cs
- EdmComplexPropertyAttribute.cs
- BaseResourcesBuildProvider.cs
- RenderData.cs
- UserUseLicenseDictionaryLoader.cs
- TagPrefixInfo.cs
- AccessedThroughPropertyAttribute.cs
- CompilerResults.cs
- TextRunTypographyProperties.cs
- ListView.cs
- Material.cs
- ObjectContextServiceProvider.cs
- Attributes.cs
- DiscoveryClientProtocol.cs
- cookie.cs
- RowUpdatingEventArgs.cs
- SourceInterpreter.cs
- EntityClientCacheEntry.cs
- SchemaElementDecl.cs
- _TransmitFileOverlappedAsyncResult.cs
- AddInAdapter.cs
- DefaultShape.cs
- EntityConnectionStringBuilder.cs