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
- SimpleWorkerRequest.cs
- DataGridViewRowConverter.cs
- MethodResolver.cs
- EntitySqlQueryState.cs
- VirtualizingPanel.cs
- CssStyleCollection.cs
- XPathChildIterator.cs
- Viewport2DVisual3D.cs
- OLEDB_Enum.cs
- InputProcessorProfilesLoader.cs
- CodeDOMUtility.cs
- WebPartCloseVerb.cs
- ResolveMatchesMessage11.cs
- CheckPair.cs
- Missing.cs
- PriorityRange.cs
- ChannelBinding.cs
- Pointer.cs
- XmlSchemaAttribute.cs
- MetafileHeaderWmf.cs
- LinkArea.cs
- TextEffect.cs
- UnknownBitmapEncoder.cs
- TextBlock.cs
- MatrixKeyFrameCollection.cs
- storagemappingitemcollection.viewdictionary.cs
- FileAuthorizationModule.cs
- AxisAngleRotation3D.cs
- DelayedRegex.cs
- AsyncPostBackErrorEventArgs.cs
- GeometryConverter.cs
- WindowsFormsHost.cs
- CheckBoxList.cs
- FlowDocumentPaginator.cs
- HttpsChannelFactory.cs
- DocComment.cs
- ping.cs
- JavaScriptSerializer.cs
- HttpDebugHandler.cs
- ColorConverter.cs
- MetaModel.cs
- BuildResult.cs
- DefaultValueMapping.cs
- RubberbandSelector.cs
- ScrollProperties.cs
- HttpHandlerActionCollection.cs
- DoWorkEventArgs.cs
- PasswordTextNavigator.cs
- HtmlHistory.cs
- PreviewKeyDownEventArgs.cs
- DPTypeDescriptorContext.cs
- ObjectManager.cs
- StaticSiteMapProvider.cs
- ContentValidator.cs
- EmptyEnumerator.cs
- VirtualDirectoryMapping.cs
- ListBoxAutomationPeer.cs
- ImageDrawing.cs
- SerializerProvider.cs
- EventSetter.cs
- InputProviderSite.cs
- HtmlTitle.cs
- SqlCommandBuilder.cs
- BaseResourcesBuildProvider.cs
- ClientTarget.cs
- LogicalMethodInfo.cs
- BridgeDataRecord.cs
- HMACSHA512.cs
- SafePointer.cs
- EntityDataSourceViewSchema.cs
- Hashtable.cs
- FormViewPagerRow.cs
- FixedStringLookup.cs
- Range.cs
- MarkedHighlightComponent.cs
- CompressedStack.cs
- PermissionListSet.cs
- ZipIOExtraFieldZip64Element.cs
- CompilerInfo.cs
- ValidationSummary.cs
- MobileUITypeEditor.cs
- StreamInfo.cs
- ConcurrentQueue.cs
- input.cs
- OleDbConnection.cs
- MethodToken.cs
- StubHelpers.cs
- MetadataStore.cs
- XmlAttributeProperties.cs
- Image.cs
- DatasetMethodGenerator.cs
- OletxResourceManager.cs
- CodeTypeReference.cs
- LayoutExceptionEventArgs.cs
- Compiler.cs
- DataControlPagerLinkButton.cs
- HtmlInputReset.cs
- TraceHandler.cs
- unitconverter.cs
- ConfigurationManagerInternalFactory.cs