Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _NTAuthentication.cs
- WeakReferenceList.cs
- ResourceSetExpression.cs
- BitmapScalingModeValidation.cs
- DateRangeEvent.cs
- ThemeDirectoryCompiler.cs
- XmlQuerySequence.cs
- control.ime.cs
- TextSchema.cs
- CheckStoreFileValidityRequest.cs
- BeginStoryboard.cs
- TypeConverter.cs
- Function.cs
- ConfigurationValidatorAttribute.cs
- IsolatedStoragePermission.cs
- AllowedAudienceUriElement.cs
- AppDomain.cs
- MimeTypeMapper.cs
- XmlSerializationWriter.cs
- SQLInt32Storage.cs
- DataGridTableCollection.cs
- PropertyEmitterBase.cs
- CircleHotSpot.cs
- UInt32Converter.cs
- SqlDataSourceStatusEventArgs.cs
- TextAction.cs
- LocalizableResourceBuilder.cs
- SoapParser.cs
- BitmapEffectState.cs
- MapPathBasedVirtualPathProvider.cs
- OutputScope.cs
- BaseParaClient.cs
- StatusStrip.cs
- StrokeCollection2.cs
- XhtmlBasicPanelAdapter.cs
- DateTimePicker.cs
- IProvider.cs
- ViewManager.cs
- PlaceHolder.cs
- TaiwanCalendar.cs
- DataGridItem.cs
- CapabilitiesRule.cs
- EntityContainerEntitySetDefiningQuery.cs
- SetIterators.cs
- ColorConverter.cs
- CryptoKeySecurity.cs
- Psha1DerivedKeyGenerator.cs
- ValueExpressions.cs
- CursorInteropHelper.cs
- DesignerTextBoxAdapter.cs
- ObjectList.cs
- SByteStorage.cs
- DataSysAttribute.cs
- FixedDSBuilder.cs
- WinFormsComponentEditor.cs
- SlipBehavior.cs
- PositiveTimeSpanValidatorAttribute.cs
- HttpServerVarsCollection.cs
- CertificateManager.cs
- WindowsIdentity.cs
- Pair.cs
- Compilation.cs
- StatusBar.cs
- Math.cs
- PageTheme.cs
- RequestTimeoutManager.cs
- DependencyPropertyKey.cs
- ComplexPropertyEntry.cs
- Nullable.cs
- EntitySetRetriever.cs
- XmlArrayItemAttribute.cs
- TimeSpanValidator.cs
- TextEditor.cs
- BinaryParser.cs
- FtpCachePolicyElement.cs
- Axis.cs
- ContentControl.cs
- Semaphore.cs
- GenerateDerivedKeyRequest.cs
- RuntimeHandles.cs
- SqlCrossApplyToCrossJoin.cs
- TimeZone.cs
- TextFormatterImp.cs
- SignerInfo.cs
- LinearGradientBrush.cs
- XmlSerializerAssemblyAttribute.cs
- WebBrowserHelper.cs
- PrimitiveType.cs
- CommandBinding.cs
- FileDataSourceCache.cs
- SecurityManager.cs
- QilTernary.cs
- TypeListConverter.cs
- PropertiesTab.cs
- CompilerError.cs
- SessionEndingCancelEventArgs.cs
- ValidationRule.cs
- HelpKeywordAttribute.cs
- CommandEventArgs.cs
- WebHttpBinding.cs