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
- FillRuleValidation.cs
- CodeAssignStatement.cs
- ApplicationDirectory.cs
- SchemaTableColumn.cs
- ViewCellRelation.cs
- ContainerVisual.cs
- ModelTreeEnumerator.cs
- GridItemCollection.cs
- OracleConnectionString.cs
- NetDispatcherFaultException.cs
- SemanticResultValue.cs
- Run.cs
- CodeVariableReferenceExpression.cs
- safemediahandle.cs
- NativeWrapper.cs
- GenericXmlSecurityToken.cs
- StatusBarAutomationPeer.cs
- DrawingAttributes.cs
- Activation.cs
- BaseTransportHeaders.cs
- ContainerSelectorActiveEvent.cs
- AbandonedMutexException.cs
- IndicFontClient.cs
- RNGCryptoServiceProvider.cs
- RowParagraph.cs
- DataGridViewIntLinkedList.cs
- XmlSortKeyAccumulator.cs
- HierarchicalDataSourceConverter.cs
- SqlComparer.cs
- CompressedStack.cs
- ping.cs
- ManualWorkflowSchedulerService.cs
- ProxyManager.cs
- PropertyGeneratedEventArgs.cs
- BadImageFormatException.cs
- RadioButton.cs
- ProfileParameter.cs
- Ops.cs
- XmlSchemaExternal.cs
- RuntimeConfigurationRecord.cs
- FieldDescriptor.cs
- Graph.cs
- GB18030Encoding.cs
- SpotLight.cs
- BindingMemberInfo.cs
- EncryptedType.cs
- ZipIOCentralDirectoryBlock.cs
- ReflectionHelper.cs
- EdmItemCollection.OcAssemblyCache.cs
- RichTextBoxAutomationPeer.cs
- CatalogUtil.cs
- SqlCommand.cs
- CoTaskMemHandle.cs
- Stack.cs
- AncillaryOps.cs
- CollectionBuilder.cs
- PageSetupDialog.cs
- DrawingCollection.cs
- GroupLabel.cs
- UnsafeNativeMethods.cs
- PermissionToken.cs
- Padding.cs
- ConstNode.cs
- FormConverter.cs
- NativeWindow.cs
- AttributeProviderAttribute.cs
- FormViewPageEventArgs.cs
- SplitterEvent.cs
- HostExecutionContextManager.cs
- WsdlInspector.cs
- BezierSegment.cs
- CompoundFileStreamReference.cs
- ManifestResourceInfo.cs
- ExpressionParser.cs
- messageonlyhwndwrapper.cs
- CharacterHit.cs
- Calendar.cs
- HttpCapabilitiesSectionHandler.cs
- Help.cs
- PageCatalogPartDesigner.cs
- ProfileParameter.cs
- SoapInteropTypes.cs
- BuilderInfo.cs
- SqlDataSourceFilteringEventArgs.cs
- DetailsViewInsertEventArgs.cs
- RightsManagementManager.cs
- ValueHandle.cs
- XmlILModule.cs
- ToolStripOverflow.cs
- PropertyConverter.cs
- VersionedStreamOwner.cs
- CodeNamespaceImportCollection.cs
- DigestTraceRecordHelper.cs
- ToolStripItemClickedEventArgs.cs
- MatrixUtil.cs
- WindowsListViewItemStartMenu.cs
- FilterEventArgs.cs
- BypassElementCollection.cs
- FaultDesigner.cs
- RsaKeyIdentifierClause.cs