Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MatrixTransform3D.cs
- CompilerState.cs
- StylusShape.cs
- ApplicationSecurityManager.cs
- EllipticalNodeOperations.cs
- SimpleHandlerFactory.cs
- MILUtilities.cs
- WebPartEditVerb.cs
- Parsers.cs
- RunWorkerCompletedEventArgs.cs
- OutOfProcStateClientManager.cs
- _IPv4Address.cs
- ActivityCodeDomSerializer.cs
- DomNameTable.cs
- ReferenceEqualityComparer.cs
- CalendarDateRangeChangingEventArgs.cs
- ManagementDateTime.cs
- XpsS0ValidatingLoader.cs
- PhysicalOps.cs
- RegisteredScript.cs
- ChtmlTextWriter.cs
- peernodestatemanager.cs
- SourceChangedEventArgs.cs
- SqlHelper.cs
- Camera.cs
- PackUriHelper.cs
- VirtualizedContainerService.cs
- ListBindableAttribute.cs
- Size3DValueSerializer.cs
- COM2ExtendedTypeConverter.cs
- ProvideValueServiceProvider.cs
- XmlAnyElementAttributes.cs
- Component.cs
- ValidationErrorCollection.cs
- ContextStaticAttribute.cs
- X509CertificateStore.cs
- InkCanvasSelectionAdorner.cs
- CommandPlan.cs
- BamlTreeNode.cs
- UrlParameterWriter.cs
- BamlRecordHelper.cs
- InternalUserCancelledException.cs
- webeventbuffer.cs
- WebPartHeaderCloseVerb.cs
- ParserStreamGeometryContext.cs
- Converter.cs
- OleDbReferenceCollection.cs
- assertwrapper.cs
- CommentAction.cs
- SystemResourceKey.cs
- TextInfo.cs
- ExtractorMetadata.cs
- WebPartConnectionsConnectVerb.cs
- XmlRootAttribute.cs
- EventHandlerList.cs
- WindowProviderWrapper.cs
- XmlHelper.cs
- DispatcherEventArgs.cs
- XmlUTF8TextWriter.cs
- ObjectStateFormatter.cs
- UserPreferenceChangingEventArgs.cs
- FixedSOMLineRanges.cs
- ParameterToken.cs
- Exception.cs
- DesignerVerbCollection.cs
- EntityDesignerBuildProvider.cs
- UriGenerator.cs
- DataGridItemCollection.cs
- ProviderUtil.cs
- ClaimSet.cs
- SqlPersonalizationProvider.cs
- HtmlWindow.cs
- SymbolPair.cs
- MetadataFile.cs
- TemplatedWizardStep.cs
- EventMappingSettingsCollection.cs
- FunctionCommandText.cs
- DocumentsTrace.cs
- BitmapPalette.cs
- BitmapImage.cs
- TableItemStyle.cs
- cache.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SortDescriptionCollection.cs
- TcpChannelHelper.cs
- XmlQueryTypeFactory.cs
- WmlPageAdapter.cs
- MemoryMappedFile.cs
- ItemPager.cs
- ByeOperationCD1AsyncResult.cs
- ActiveXHelper.cs
- ToolZone.cs
- EntityDesignerDataSourceView.cs
- PocoPropertyAccessorStrategy.cs
- CounterSample.cs
- Memoizer.cs
- VirtualDirectoryMapping.cs
- NavigationProperty.cs
- ArcSegment.cs
- StylusEventArgs.cs