Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / GiveFeedbackEvent.cs / 1 / GiveFeedbackEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
//=-------------------------------------------------------------------------=
// GiveFeedbackEventArgs.cs
//=-------------------------------------------------------------------------=
// Copyright (c) 1997 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
using System;
using System.Drawing;
using System.ComponentModel;
using Microsoft.Win32;
///
///
///
/// Provides data for the
/// event.
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class GiveFeedbackEventArgs : EventArgs {
private readonly DragDropEffects effect;
private bool useDefaultCursors;
///
///
///
/// Initializes a new instance of the class.
///
///
public GiveFeedbackEventArgs(DragDropEffects effect, bool useDefaultCursors) {
this.effect = effect;
this.useDefaultCursors = useDefaultCursors;
}
///
///
///
/// Gets the type of drag-and-drop operation.
///
///
public DragDropEffects Effect {
get {
return effect;
}
}
///
///
///
/// Gets or sets a
/// value
/// indicating whether a default pointer is used.
///
///
public bool UseDefaultCursors {
get {
return useDefaultCursors;
}
set {
useDefaultCursors = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Rect3DValueSerializer.cs
- Exceptions.cs
- CustomAttributeFormatException.cs
- XmlDictionaryString.cs
- WebServiceEnumData.cs
- SqlDataSourceCache.cs
- InfoCardTraceRecord.cs
- XAMLParseException.cs
- QuaternionAnimation.cs
- XmlArrayAttribute.cs
- SQLDouble.cs
- ColumnWidthChangedEvent.cs
- SmtpNegotiateAuthenticationModule.cs
- PathSegment.cs
- MarkupWriter.cs
- BaseDataListPage.cs
- PropertyRecord.cs
- ObjectComplexPropertyMapping.cs
- Literal.cs
- XpsS0ValidatingLoader.cs
- CommonDialog.cs
- HMACSHA256.cs
- StrokeIntersection.cs
- COAUTHIDENTITY.cs
- TextFragmentEngine.cs
- ListViewDeleteEventArgs.cs
- TableProvider.cs
- InvokeProviderWrapper.cs
- ellipse.cs
- ClientRoleProvider.cs
- Asn1IntegerConverter.cs
- DbDeleteCommandTree.cs
- EntityDataSourceSelectingEventArgs.cs
- AutoResizedEvent.cs
- PropertyDescriptorComparer.cs
- DbMetaDataColumnNames.cs
- DataColumnCollection.cs
- ObjectConverter.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- XamlFigureLengthSerializer.cs
- BamlResourceDeserializer.cs
- ClassicBorderDecorator.cs
- CodeExpressionStatement.cs
- MenuRendererStandards.cs
- EntityUtil.cs
- DbXmlEnabledProviderManifest.cs
- KeySplineConverter.cs
- XmlDocumentFragment.cs
- Monitor.cs
- ListViewInsertedEventArgs.cs
- QuaternionRotation3D.cs
- ConsoleKeyInfo.cs
- SkipQueryOptionExpression.cs
- VisualStyleElement.cs
- Model3DCollection.cs
- DataGridViewUtilities.cs
- StreamGeometry.cs
- MemberDescriptor.cs
- WindowsListBox.cs
- TextPointerBase.cs
- ConditionCollection.cs
- ProxyWebPart.cs
- WebPartTransformerCollection.cs
- PeerService.cs
- XmlNode.cs
- SqlDelegatedTransaction.cs
- ParentUndoUnit.cs
- UnsafeNativeMethods.cs
- RequestChannel.cs
- XmlUTF8TextWriter.cs
- ProfileServiceManager.cs
- ScrollPatternIdentifiers.cs
- MexServiceChannelBuilder.cs
- DataServiceExpressionVisitor.cs
- ScrollBarAutomationPeer.cs
- ListViewGroupConverter.cs
- LinkedResource.cs
- ProcessModelSection.cs
- BindingCollection.cs
- DataGridViewLayoutData.cs
- MonitorWrapper.cs
- SqlProviderManifest.cs
- SamlConstants.cs
- StickyNoteAnnotations.cs
- GroupDescription.cs
- HttpCacheVaryByContentEncodings.cs
- SamlAuthorizationDecisionStatement.cs
- BodyGlyph.cs
- ToolStripDropDownItem.cs
- ScrollChangedEventArgs.cs
- SemanticResolver.cs
- XmlSerializer.cs
- StylusEditingBehavior.cs
- ComponentChangingEvent.cs
- MenuCommand.cs
- CurrentChangingEventManager.cs
- ValuePattern.cs
- ListViewItem.cs
- QilIterator.cs
- TextBoxAutomationPeer.cs