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
- ParallelActivityDesigner.cs
- SourceSwitch.cs
- TokenBasedSetEnumerator.cs
- MiniParameterInfo.cs
- ScriptServiceAttribute.cs
- DBConnection.cs
- PhysicalAddress.cs
- EventListenerClientSide.cs
- Crypto.cs
- StreamSecurityUpgradeAcceptor.cs
- RoutedUICommand.cs
- ModelTreeEnumerator.cs
- PerformanceCounterManager.cs
- XmlChildNodes.cs
- Evidence.cs
- OptimalBreakSession.cs
- MenuTracker.cs
- ModuleBuilderData.cs
- ExceptionRoutedEventArgs.cs
- ToolBar.cs
- CollectionChangeEventArgs.cs
- SiteMapDataSource.cs
- Geometry.cs
- AdapterUtil.cs
- ListItemCollection.cs
- ConnectionStringsExpressionBuilder.cs
- UnsafeNativeMethods.cs
- EventRouteFactory.cs
- IgnoreSectionHandler.cs
- TextRangeSerialization.cs
- ReflectionHelper.cs
- ButtonDesigner.cs
- RuntimeEnvironment.cs
- Translator.cs
- RsaKeyIdentifierClause.cs
- ExpressionPrefixAttribute.cs
- SymbolTable.cs
- X509Utils.cs
- StateChangeEvent.cs
- CustomAttributeSerializer.cs
- AnnotationComponentManager.cs
- LogRestartAreaEnumerator.cs
- BaseDataList.cs
- ObjectDataSourceMethodEditor.cs
- SurrogateSelector.cs
- _ListenerAsyncResult.cs
- ECDsa.cs
- BinaryObjectWriter.cs
- ButtonBase.cs
- EntityDataReader.cs
- DBConnection.cs
- NativeActivityContext.cs
- CodeNamespaceImport.cs
- documentation.cs
- PinnedBufferMemoryStream.cs
- SwitchAttribute.cs
- XmlReaderDelegator.cs
- Model3D.cs
- Scene3D.cs
- ControlAdapter.cs
- XsdDateTime.cs
- TextLineResult.cs
- PhysicalAddress.cs
- TraceListener.cs
- TextServicesPropertyRanges.cs
- CustomAttributeBuilder.cs
- SelectionHighlightInfo.cs
- TcpTransportElement.cs
- ViewCellRelation.cs
- InvalidOperationException.cs
- XmlElementList.cs
- SqlFormatter.cs
- PathSegment.cs
- ProxyHelper.cs
- CollectionChangeEventArgs.cs
- TextTabProperties.cs
- Typeface.cs
- CursorConverter.cs
- SqlResolver.cs
- XmlSchemaInferenceException.cs
- NotFiniteNumberException.cs
- DecoderExceptionFallback.cs
- DoubleLinkListEnumerator.cs
- DbCommandDefinition.cs
- AffineTransform3D.cs
- XmlSerializerNamespaces.cs
- IPHostEntry.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WindowsSecurityTokenAuthenticator.cs
- OutputCacheSection.cs
- Margins.cs
- MessageDecoder.cs
- ProviderCommandInfoUtils.cs
- CompiledQueryCacheKey.cs
- CachedBitmap.cs
- HttpCacheParams.cs
- ContractUtils.cs
- InlineObject.cs
- HeaderCollection.cs
- CodeTypeParameter.cs