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
- SqlNodeTypeOperators.cs
- QilNode.cs
- SymDocumentType.cs
- RoutingUtilities.cs
- EndpointDesigner.cs
- XmlNodeComparer.cs
- ClientBuildManagerCallback.cs
- CqlErrorHelper.cs
- FieldTemplateFactory.cs
- InheritanceContextChangedEventManager.cs
- MessagePartSpecification.cs
- CategoryGridEntry.cs
- LineSegment.cs
- BrowsableAttribute.cs
- DataGridRowClipboardEventArgs.cs
- AnchorEditor.cs
- TimeIntervalCollection.cs
- ParentUndoUnit.cs
- PrintPageEvent.cs
- XpsFixedDocumentReaderWriter.cs
- ListParaClient.cs
- FacetChecker.cs
- CounterCreationDataCollection.cs
- ActivityMarkupSerializer.cs
- UniqueEventHelper.cs
- ResourceProviderFactory.cs
- LinqDataSourceInsertEventArgs.cs
- ExceptionCollection.cs
- DataGridViewHitTestInfo.cs
- ErrorFormatter.cs
- Sql8ExpressionRewriter.cs
- OutputWindow.cs
- SharedStream.cs
- ImageMap.cs
- objectquery_tresulttype.cs
- Vector3D.cs
- EventEntry.cs
- RuleElement.cs
- DrawListViewItemEventArgs.cs
- SecurityKeyEntropyMode.cs
- AppSettings.cs
- InvokePattern.cs
- ObjectIDGenerator.cs
- ClientEventManager.cs
- MetafileHeader.cs
- CacheForPrimitiveTypes.cs
- TransactedReceiveScope.cs
- TreeIterators.cs
- SystemWebExtensionsSectionGroup.cs
- PrintingPermissionAttribute.cs
- UserInitiatedNavigationPermission.cs
- PageParser.cs
- Ipv6Element.cs
- WhitespaceSignificantCollectionAttribute.cs
- DrawingVisualDrawingContext.cs
- WebRequestModuleElementCollection.cs
- TouchDevice.cs
- unitconverter.cs
- TextStore.cs
- TextSimpleMarkerProperties.cs
- DirectionalLight.cs
- TemplatedControlDesigner.cs
- HandlerFactoryCache.cs
- MetadataArtifactLoader.cs
- EdmToObjectNamespaceMap.cs
- PathSegmentCollection.cs
- TransformerConfigurationWizardBase.cs
- ActiveXHelper.cs
- EnvironmentPermission.cs
- TemplateControlBuildProvider.cs
- DataGridBoolColumn.cs
- SmiMetaData.cs
- TemplateBuilder.cs
- TextBoxAutomationPeer.cs
- Listbox.cs
- ErrorRuntimeConfig.cs
- CompilationUnit.cs
- HandleExceptionArgs.cs
- MobileFormsAuthentication.cs
- TransactionFormatter.cs
- StylusShape.cs
- CommonGetThemePartSize.cs
- SecurityTimestamp.cs
- TextSimpleMarkerProperties.cs
- PhotoPrintingIntent.cs
- HwndHostAutomationPeer.cs
- StringAnimationUsingKeyFrames.cs
- ToolStripTextBox.cs
- PropertyFilterAttribute.cs
- TrailingSpaceComparer.cs
- XmlDataContract.cs
- OpenFileDialog.cs
- CollectionsUtil.cs
- SecurityException.cs
- CompositeCollectionView.cs
- TemplateBuilder.cs
- MethodBuilder.cs
- Metafile.cs
- DataGridViewLayoutData.cs
- PerformanceCounterNameAttribute.cs