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
- WinInetCache.cs
- InputLanguageManager.cs
- DefaultEvaluationContext.cs
- WindowsComboBox.cs
- CodeTypeDeclaration.cs
- Inline.cs
- DataGridColumn.cs
- GeometryDrawing.cs
- SecurityElement.cs
- TypeSemantics.cs
- NameValueCache.cs
- GPRECTF.cs
- ToolStripDropDownButton.cs
- DataKey.cs
- DesignerTransaction.cs
- XslAstAnalyzer.cs
- WorkItem.cs
- GenericWebPart.cs
- DeclarativeCatalogPart.cs
- DriveNotFoundException.cs
- AttributeData.cs
- DefaultObjectMappingItemCollection.cs
- MergeLocalizationDirectives.cs
- PKCS1MaskGenerationMethod.cs
- MailMessageEventArgs.cs
- ElementsClipboardData.cs
- HtmlPanelAdapter.cs
- RegexWorker.cs
- OrCondition.cs
- EntityException.cs
- TableLayoutRowStyleCollection.cs
- WebPartMenuStyle.cs
- BaseEntityWrapper.cs
- ResourcePermissionBaseEntry.cs
- TypeHelpers.cs
- _NegoStream.cs
- DebugInfoExpression.cs
- SmiEventStream.cs
- WsdlBuildProvider.cs
- SafeWaitHandle.cs
- SafeThreadHandle.cs
- ToolStripDropDownItem.cs
- CheckBoxBaseAdapter.cs
- TagMapCollection.cs
- StylusPointProperties.cs
- XPathAxisIterator.cs
- IISUnsafeMethods.cs
- mediaclock.cs
- CombinedGeometry.cs
- ReferentialConstraint.cs
- SoapMessage.cs
- XmlMtomWriter.cs
- DataColumnMappingCollection.cs
- BasicDesignerLoader.cs
- WeakReferenceKey.cs
- MediaContextNotificationWindow.cs
- LocatorBase.cs
- QuaternionIndependentAnimationStorage.cs
- EntityCollection.cs
- XPathExpr.cs
- EntitySqlQueryBuilder.cs
- InfoCardArgumentException.cs
- StringExpressionSet.cs
- Bits.cs
- HitTestParameters.cs
- TraceSwitch.cs
- UpdateRecord.cs
- PointHitTestParameters.cs
- XmlSchemaParticle.cs
- OracleConnectionString.cs
- IfJoinedCondition.cs
- ComplusEndpointConfigContainer.cs
- XmlNamespaceDeclarationsAttribute.cs
- ToolboxItemAttribute.cs
- Authorization.cs
- TextEditorSpelling.cs
- DataBoundControl.cs
- ManipulationPivot.cs
- XamlFxTrace.cs
- PnrpPeerResolverBindingElement.cs
- HMACSHA384.cs
- ConnectionManagementSection.cs
- Preprocessor.cs
- SendKeys.cs
- EventProviderWriter.cs
- StringToken.cs
- AnnotationService.cs
- DescendantOverDescendantQuery.cs
- ListBindingHelper.cs
- FileDialog.cs
- ReturnEventArgs.cs
- CommandSet.cs
- ReaderOutput.cs
- CategoriesDocument.cs
- WebPartVerbCollection.cs
- BitmapEffectDrawingContent.cs
- TypeResolver.cs
- LocatorPartList.cs
- TagPrefixAttribute.cs
- SystemDiagnosticsSection.cs