Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / GiveFeedbackEvent.cs / 1305376 / 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
- LinkClickEvent.cs
- XmlSchemaAppInfo.cs
- ListContractAdapter.cs
- ObjectViewEntityCollectionData.cs
- ApplicationException.cs
- EventLogPermissionEntry.cs
- TabControl.cs
- SafeSecurityHandles.cs
- arclist.cs
- ProxyHelper.cs
- AppDomain.cs
- Message.cs
- RichTextBox.cs
- PropertyDescriptorCollection.cs
- XmlSchemaAttribute.cs
- SelectedGridItemChangedEvent.cs
- AttributeEmitter.cs
- SqlDataSourceStatusEventArgs.cs
- HttpRawResponse.cs
- HttpContextWrapper.cs
- Events.cs
- EndpointIdentity.cs
- NetNamedPipeBinding.cs
- Publisher.cs
- BidOverLoads.cs
- SqlGatherConsumedAliases.cs
- DiscreteKeyFrames.cs
- Preprocessor.cs
- SmiMetaDataProperty.cs
- MatrixKeyFrameCollection.cs
- PersonalizationProviderHelper.cs
- DataGridLinkButton.cs
- DiscardableAttribute.cs
- CaseCqlBlock.cs
- PageContentCollection.cs
- EllipticalNodeOperations.cs
- SubordinateTransaction.cs
- ContainerVisual.cs
- XmlSchemaAttributeGroup.cs
- FrameworkContentElementAutomationPeer.cs
- Vector3D.cs
- DesignerForm.cs
- WindowInteropHelper.cs
- DataGridTextBoxColumn.cs
- MatrixIndependentAnimationStorage.cs
- CodeTypeReference.cs
- DynamicRenderer.cs
- TemplateBindingExpressionConverter.cs
- TextBoxBaseDesigner.cs
- ArrangedElementCollection.cs
- MinMaxParagraphWidth.cs
- WebRequest.cs
- BaseCodePageEncoding.cs
- IisTraceWebEventProvider.cs
- ObjectDataSourceStatusEventArgs.cs
- CodeRegionDirective.cs
- Command.cs
- HtmlEncodedRawTextWriter.cs
- TableProviderWrapper.cs
- SqlDataSourceSummaryPanel.cs
- ConnectionManagementSection.cs
- SecurityPermission.cs
- DataSourceControlBuilder.cs
- DataGridViewTextBoxEditingControl.cs
- LinqDataSourceHelper.cs
- RadioButtonPopupAdapter.cs
- Math.cs
- ViewKeyConstraint.cs
- LoadedEvent.cs
- ReadWriteSpinLock.cs
- DateTimeUtil.cs
- DynamicRenderer.cs
- ClientTargetCollection.cs
- IconConverter.cs
- smtppermission.cs
- codemethodreferenceexpression.cs
- Rotation3DKeyFrameCollection.cs
- DataFormats.cs
- ParameterElementCollection.cs
- Schema.cs
- ApplicationInfo.cs
- PhysicalOps.cs
- TabControl.cs
- TreeChangeInfo.cs
- OpenFileDialog.cs
- ServiceContractViewControl.cs
- EntryPointNotFoundException.cs
- Baml2006ReaderFrame.cs
- TextWriter.cs
- TrustManager.cs
- PathFigureCollection.cs
- CssClassPropertyAttribute.cs
- RuleProcessor.cs
- Stacktrace.cs
- IIS7UserPrincipal.cs
- OpCodes.cs
- IPAddressCollection.cs
- DataColumn.cs
- SqlDataSourceQueryEditor.cs
- ResizingMessageFilter.cs