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
- InternalBase.cs
- RSAPKCS1SignatureFormatter.cs
- StateBag.cs
- ReflectPropertyDescriptor.cs
- PackageDigitalSignatureManager.cs
- ContainerUtilities.cs
- XamlFigureLengthSerializer.cs
- CachedPathData.cs
- ChineseLunisolarCalendar.cs
- HMACMD5.cs
- Mappings.cs
- _emptywebproxy.cs
- ApplicationCommands.cs
- MsmqInputChannelBase.cs
- LinkConverter.cs
- PrivilegeNotHeldException.cs
- OdbcHandle.cs
- Axis.cs
- CriticalExceptions.cs
- ParameterCollectionEditorForm.cs
- CursorInteropHelper.cs
- FlowSwitchLink.cs
- COAUTHINFO.cs
- SqlSelectStatement.cs
- SocketElement.cs
- RootBuilder.cs
- DataServiceException.cs
- coordinator.cs
- ECDiffieHellmanPublicKey.cs
- AutomationIdentifierGuids.cs
- OleDbWrapper.cs
- OSFeature.cs
- CorePropertiesFilter.cs
- Table.cs
- ObjectManager.cs
- ConfigXmlReader.cs
- CmsUtils.cs
- DataGridAddNewRow.cs
- fixedPageContentExtractor.cs
- LoginCancelEventArgs.cs
- UnsafeNativeMethods.cs
- MobileRedirect.cs
- ISAPIRuntime.cs
- FigureParagraph.cs
- Latin1Encoding.cs
- DefaultCompensation.cs
- GPPOINT.cs
- XmlSignatureProperties.cs
- ExpandCollapseProviderWrapper.cs
- RelOps.cs
- GraphicsContainer.cs
- ConversionContext.cs
- ListViewPagedDataSource.cs
- DataGridItem.cs
- SqlDataSourceView.cs
- HitTestDrawingContextWalker.cs
- TypeDescriptionProvider.cs
- Package.cs
- WebPartConnection.cs
- HotCommands.cs
- CancelEventArgs.cs
- QueuePathEditor.cs
- base64Transforms.cs
- XamlDesignerSerializationManager.cs
- NumberSubstitution.cs
- InfocardClientCredentials.cs
- TriggerAction.cs
- InitializationEventAttribute.cs
- ReflectPropertyDescriptor.cs
- ACE.cs
- ProvidersHelper.cs
- TypeElementCollection.cs
- WindowsImpersonationContext.cs
- CryptoSession.cs
- DataExpression.cs
- LockCookie.cs
- EasingFunctionBase.cs
- RecognizerStateChangedEventArgs.cs
- AttributeProviderAttribute.cs
- StylusPointDescription.cs
- ListItem.cs
- HtmlElementCollection.cs
- WeakEventManager.cs
- FocusTracker.cs
- AuthenticationConfig.cs
- DBAsyncResult.cs
- TransformerConfigurationWizardBase.cs
- DataTrigger.cs
- JsonClassDataContract.cs
- ObjectViewListener.cs
- Rss20ItemFormatter.cs
- AvTraceDetails.cs
- ToolStripPanelCell.cs
- ResizeGrip.cs
- ProtectedProviderSettings.cs
- MarkupProperty.cs
- HttpCacheParams.cs
- ISFClipboardData.cs
- LifetimeMonitor.cs
- TypeBuilderInstantiation.cs