Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SafeCryptContextHandle.cs
- RuntimeCompatibilityAttribute.cs
- ISAPIWorkerRequest.cs
- DataGridHelper.cs
- controlskin.cs
- LongTypeConverter.cs
- RelationshipDetailsCollection.cs
- EventKeyword.cs
- MemoryFailPoint.cs
- WebPartDisplayMode.cs
- CompositeControlDesigner.cs
- WindowsSecurityTokenAuthenticator.cs
- NativeMethods.cs
- PropertyKey.cs
- XamlTreeBuilderBamlRecordWriter.cs
- InvalidAsynchronousStateException.cs
- CaseInsensitiveHashCodeProvider.cs
- PartialCachingControl.cs
- Registry.cs
- RedistVersionInfo.cs
- ContentPresenter.cs
- WizardForm.cs
- PropertyCondition.cs
- Viewport3DAutomationPeer.cs
- ConfigurationCollectionAttribute.cs
- ImageAnimator.cs
- WebPartPersonalization.cs
- CodeParameterDeclarationExpressionCollection.cs
- DataServices.cs
- CellParaClient.cs
- RSAOAEPKeyExchangeFormatter.cs
- RulePatternOps.cs
- HScrollBar.cs
- Compiler.cs
- OptimalBreakSession.cs
- DetailsViewCommandEventArgs.cs
- ShaderRenderModeValidation.cs
- storepermissionattribute.cs
- securitycriticaldataClass.cs
- InvalidPropValue.cs
- Content.cs
- InProcStateClientManager.cs
- EntityModelBuildProvider.cs
- Baml2006SchemaContext.cs
- VirtualizedCellInfoCollection.cs
- PromptBuilder.cs
- PtsHost.cs
- WebBaseEventKeyComparer.cs
- CodeAttributeArgumentCollection.cs
- ArgumentNullException.cs
- FlowNode.cs
- BitmapDownload.cs
- DataViewManagerListItemTypeDescriptor.cs
- MemoryFailPoint.cs
- PeerFlooder.cs
- SplitterEvent.cs
- FrameworkName.cs
- ImagingCache.cs
- fixedPageContentExtractor.cs
- ExtenderHelpers.cs
- HttpResponseInternalWrapper.cs
- RectangleF.cs
- ChangePassword.cs
- GregorianCalendar.cs
- NullReferenceException.cs
- QilXmlReader.cs
- ImageFormatConverter.cs
- Logging.cs
- ExpressionBindingCollection.cs
- TransformValueSerializer.cs
- PrinterResolution.cs
- PeerNameRecordCollection.cs
- ApplicationSecurityInfo.cs
- XmlBinaryReader.cs
- UnsafeNativeMethods.cs
- ButtonChrome.cs
- Int32.cs
- TypeHelper.cs
- RegexRunner.cs
- Int32Converter.cs
- Properties.cs
- BitSet.cs
- LinkedList.cs
- TabPage.cs
- ExecutionEngineException.cs
- CodeStatementCollection.cs
- Literal.cs
- DataGridViewComboBoxEditingControl.cs
- ContextMenuStrip.cs
- ListControlBuilder.cs
- TransformConverter.cs
- TextBounds.cs
- BCLDebug.cs
- Simplifier.cs
- RequestTimeoutManager.cs
- RuleSet.cs
- TreeNodeBinding.cs
- MaskedTextBox.cs
- SignatureGenerator.cs
- KeyValuePairs.cs