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; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class GiveFeedbackEventArgs : EventArgs { private readonly DragDropEffects effect; private bool useDefaultCursors; ////// Provides data for the ////// event. /// /// /// public GiveFeedbackEventArgs(DragDropEffects effect, bool useDefaultCursors) { this.effect = effect; this.useDefaultCursors = useDefaultCursors; } ////// Initializes a new instance of the ///class. /// /// /// public DragDropEffects Effect { get { return effect; } } ////// Gets the type of drag-and-drop operation. /// ////// /// public bool UseDefaultCursors { get { return useDefaultCursors; } set { useDefaultCursors = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a /// value /// indicating whether a default pointer is used. /// ///// 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; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class GiveFeedbackEventArgs : EventArgs { private readonly DragDropEffects effect; private bool useDefaultCursors; ////// Provides data for the ////// event. /// /// /// public GiveFeedbackEventArgs(DragDropEffects effect, bool useDefaultCursors) { this.effect = effect; this.useDefaultCursors = useDefaultCursors; } ////// Initializes a new instance of the ///class. /// /// /// public DragDropEffects Effect { get { return effect; } } ////// Gets the type of drag-and-drop operation. /// ////// /// public bool UseDefaultCursors { get { return useDefaultCursors; } set { useDefaultCursors = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a /// value /// indicating whether a default pointer is used. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartCancelEventArgs.cs
- HttpCachePolicy.cs
- ApplicationDirectoryMembershipCondition.cs
- TerminatingOperationBehavior.cs
- FolderLevelBuildProviderCollection.cs
- Type.cs
- BroadcastEventHelper.cs
- FileSecurity.cs
- ScaleTransform.cs
- Icon.cs
- ToolStripOverflowButton.cs
- XmlWrappingReader.cs
- HostVisual.cs
- HtmlHead.cs
- ArrayElementGridEntry.cs
- DependencyPropertyDescriptor.cs
- StylusButtonEventArgs.cs
- Composition.cs
- DesignerWebPartChrome.cs
- FirewallWrapper.cs
- UnauthorizedAccessException.cs
- CustomTrackingRecord.cs
- CompositeControl.cs
- ParentControlDesigner.cs
- ErrorHandler.cs
- GCHandleCookieTable.cs
- RuleElement.cs
- RectKeyFrameCollection.cs
- MappingModelBuildProvider.cs
- DataTransferEventArgs.cs
- FontFaceLayoutInfo.cs
- DefaultHttpHandler.cs
- ObjectContextServiceProvider.cs
- AssemblyAttributesGoHere.cs
- MostlySingletonList.cs
- QuestionEventArgs.cs
- DelegateHelpers.cs
- Axis.cs
- SystemIPInterfaceStatistics.cs
- Script.cs
- Membership.cs
- ColumnClickEvent.cs
- ListItemParagraph.cs
- GridViewRowEventArgs.cs
- QueryGeneratorBase.cs
- ImageList.cs
- RuleEngine.cs
- SID.cs
- TypeCodeDomSerializer.cs
- MulticastIPAddressInformationCollection.cs
- DataTable.cs
- TreeNode.cs
- HtmlInputReset.cs
- TreeNodeEventArgs.cs
- FlagsAttribute.cs
- DocumentCollection.cs
- UIElement.cs
- KnownBoxes.cs
- TextDecorationCollection.cs
- Directory.cs
- SimpleFieldTemplateUserControl.cs
- SimpleApplicationHost.cs
- SystemTcpConnection.cs
- HostingEnvironment.cs
- QuaternionIndependentAnimationStorage.cs
- GPPOINTF.cs
- WebPartDescriptionCollection.cs
- Stream.cs
- SoapElementAttribute.cs
- PageParserFilter.cs
- HandlerBase.cs
- VideoDrawing.cs
- WebControl.cs
- XmlAttributeOverrides.cs
- _Rfc2616CacheValidators.cs
- RelOps.cs
- UIElement.cs
- ModuleElement.cs
- TypeGeneratedEventArgs.cs
- BStrWrapper.cs
- DataViewListener.cs
- Configuration.cs
- ObjectManager.cs
- FileLoadException.cs
- StylusButtonEventArgs.cs
- DataGridCellsPresenter.cs
- Trigger.cs
- ScriptReference.cs
- EnlistmentTraceIdentifier.cs
- ConfigurationValue.cs
- StylusCollection.cs
- TableItemPattern.cs
- InputMethod.cs
- ModelToObjectValueConverter.cs
- UriWriter.cs
- PropertyEmitterBase.cs
- SubpageParaClient.cs
- AlignmentYValidation.cs
- _emptywebproxy.cs
- WindowsTreeView.cs