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
- EncoderNLS.cs
- DoubleCollectionConverter.cs
- DataGridColumnHeaderAutomationPeer.cs
- StylusEventArgs.cs
- DbParameterHelper.cs
- EventTask.cs
- CommandCollectionEditor.cs
- ParallelRangeManager.cs
- FastEncoderWindow.cs
- Point3D.cs
- LinqDataSourceDisposeEventArgs.cs
- Operator.cs
- XmlSequenceWriter.cs
- StrongName.cs
- DataPagerField.cs
- ChangeConflicts.cs
- ResourceKey.cs
- InvariantComparer.cs
- SerializationSectionGroup.cs
- ConfigurationElementCollection.cs
- UnSafeCharBuffer.cs
- HWStack.cs
- FormConverter.cs
- DeviceContext2.cs
- SharedRuntimeState.cs
- WindowsSpinner.cs
- CustomAttributeBuilder.cs
- BamlStream.cs
- XmlAggregates.cs
- CodeCommentStatement.cs
- Select.cs
- BitmapFrameDecode.cs
- COM2ExtendedUITypeEditor.cs
- Vars.cs
- ParserHooks.cs
- ObjectDataSourceChooseMethodsPanel.cs
- CfgArc.cs
- controlskin.cs
- SweepDirectionValidation.cs
- Frame.cs
- HttpClientCertificate.cs
- _CookieModule.cs
- FileReservationCollection.cs
- VBCodeProvider.cs
- FragmentQuery.cs
- PackagePartCollection.cs
- BindToObject.cs
- ReadWriteSpinLock.cs
- DrawingGroup.cs
- RegexInterpreter.cs
- MetaModel.cs
- TimeSpanValidatorAttribute.cs
- ReceiveActivityValidator.cs
- DataGridViewLayoutData.cs
- UnsafeNativeMethods.cs
- CodeSubDirectoriesCollection.cs
- AddInActivator.cs
- Menu.cs
- CqlBlock.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ButtonDesigner.cs
- PageParser.cs
- MailWebEventProvider.cs
- BitmapCodecInfoInternal.cs
- CodeAttributeDeclarationCollection.cs
- EventRoute.cs
- HandleCollector.cs
- backend.cs
- HitTestWithGeometryDrawingContextWalker.cs
- GeneralTransformGroup.cs
- DrawingGroup.cs
- HttpCacheVaryByContentEncodings.cs
- LOSFormatter.cs
- DataGridViewCellParsingEventArgs.cs
- DataGridTablesFactory.cs
- DataServiceOperationContext.cs
- ConnectionPoint.cs
- SQLBinaryStorage.cs
- DataKey.cs
- AgileSafeNativeMemoryHandle.cs
- EntitySqlQueryCacheEntry.cs
- TypeBuilder.cs
- RecipientIdentity.cs
- mactripleDES.cs
- DocumentsTrace.cs
- HttpModuleActionCollection.cs
- ImageList.cs
- DataGridColumnsPage.cs
- ToolStripManager.cs
- UshortList2.cs
- FontStretches.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- RuntimeConfigLKG.cs
- DependencyPropertyKey.cs
- coordinator.cs
- TypeDescriptionProviderAttribute.cs
- MemberCollection.cs
- DataSourceControlBuilder.cs
- AppDomainProtocolHandler.cs
- RectConverter.cs