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
- CompiledXpathExpr.cs
- TreeSet.cs
- RelatedImageListAttribute.cs
- UntypedNullExpression.cs
- ConnectionStringSettingsCollection.cs
- UIElementAutomationPeer.cs
- PolyBezierSegmentFigureLogic.cs
- AnimationTimeline.cs
- addressfiltermode.cs
- DescendantBaseQuery.cs
- CharacterMetricsDictionary.cs
- WindowsIdentity.cs
- CustomError.cs
- ZipIOCentralDirectoryBlock.cs
- TextEndOfParagraph.cs
- EventLogEntry.cs
- ExpressionBinding.cs
- OleDbSchemaGuid.cs
- IdleTimeoutMonitor.cs
- Duration.cs
- MissingMemberException.cs
- TextRangeSerialization.cs
- QualifiedCellIdBoolean.cs
- VersionedStreamOwner.cs
- Console.cs
- GlobalItem.cs
- EventProvider.cs
- MetadataFile.cs
- DataServiceQuery.cs
- Util.cs
- COM2AboutBoxPropertyDescriptor.cs
- FixedSOMTableRow.cs
- XmlComment.cs
- SiteMapNode.cs
- UserControl.cs
- ClientRolePrincipal.cs
- TabControlEvent.cs
- base64Transforms.cs
- DataGridViewRowCollection.cs
- SByteConverter.cs
- ContainerActivationHelper.cs
- ExpressionParser.cs
- ClientFormsIdentity.cs
- StorageSetMapping.cs
- PageSetupDialog.cs
- PrimitiveType.cs
- FrameworkName.cs
- Activator.cs
- DecoderFallback.cs
- Pair.cs
- Parser.cs
- ColorConverter.cs
- AsyncStreamReader.cs
- PeerEndPoint.cs
- FormParameter.cs
- DelegatingTypeDescriptionProvider.cs
- Encoding.cs
- RegexEditorDialog.cs
- GridView.cs
- baseaxisquery.cs
- DirectoryNotFoundException.cs
- FacetEnabledSchemaElement.cs
- GuidConverter.cs
- TileBrush.cs
- ProfileManager.cs
- PointAnimationClockResource.cs
- CachedPathData.cs
- ITreeGenerator.cs
- NativeWindow.cs
- ControlParameter.cs
- CrossSiteScriptingValidation.cs
- Type.cs
- XslAstAnalyzer.cs
- SqlBulkCopy.cs
- UserControlCodeDomTreeGenerator.cs
- TraceContext.cs
- HashAlgorithm.cs
- RenderData.cs
- DataGridColumnFloatingHeader.cs
- BorderGapMaskConverter.cs
- _DigestClient.cs
- COM2ComponentEditor.cs
- ProcessingInstructionAction.cs
- QuestionEventArgs.cs
- PointHitTestParameters.cs
- SoapCodeExporter.cs
- CodeChecksumPragma.cs
- IntSecurity.cs
- DifferencingCollection.cs
- SourceItem.cs
- CodeAttributeDeclarationCollection.cs
- EventMap.cs
- ContentPlaceHolder.cs
- StrongName.cs
- PropertyMap.cs
- ProxyWebPartConnectionCollection.cs
- XdrBuilder.cs
- XmlComplianceUtil.cs
- ExpressionBuilderCollection.cs
- UnionExpr.cs