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
- COSERVERINFO.cs
- ObjectStorage.cs
- SpecularMaterial.cs
- ProcessHostMapPath.cs
- followingsibling.cs
- ReadWriteObjectLock.cs
- ScriptRef.cs
- ToolStripLocationCancelEventArgs.cs
- WrapperEqualityComparer.cs
- EntityDataSourceDesigner.cs
- PrinterUnitConvert.cs
- SoapTypeAttribute.cs
- PackageDigitalSignatureManager.cs
- FormViewDesigner.cs
- ListBindingHelper.cs
- EventRoute.cs
- TraceLevelStore.cs
- SplineKeyFrames.cs
- HitTestParameters3D.cs
- LazyTextWriterCreator.cs
- ToolboxService.cs
- TextBoxBase.cs
- SafeFileMapViewHandle.cs
- SpeakInfo.cs
- QualifiedId.cs
- MetafileHeaderWmf.cs
- storepermissionattribute.cs
- CodeIdentifier.cs
- QilScopedVisitor.cs
- CustomAttribute.cs
- ServiceReference.cs
- DateTimePicker.cs
- ExpressionEditorAttribute.cs
- CrossContextChannel.cs
- EntitySetBaseCollection.cs
- ScrollItemPatternIdentifiers.cs
- Privilege.cs
- ClientRuntimeConfig.cs
- KnownAssemblyEntry.cs
- BamlLocalizableResource.cs
- BitmapSource.cs
- XmlSchemaSimpleType.cs
- XsltCompileContext.cs
- HttpBindingExtension.cs
- XmlMessageFormatter.cs
- SelectorItemAutomationPeer.cs
- SourceSwitch.cs
- XamlSerializerUtil.cs
- SafeNativeMethods.cs
- ApplicationHost.cs
- ConfigurationStrings.cs
- SafeLibraryHandle.cs
- VerbConverter.cs
- Char.cs
- ComponentDispatcherThread.cs
- DisplayMemberTemplateSelector.cs
- WebPartExportVerb.cs
- SqlDataSourceConnectionPanel.cs
- ThaiBuddhistCalendar.cs
- ProxyWebPartConnectionCollection.cs
- ImageAutomationPeer.cs
- BufferedGraphicsManager.cs
- BooleanConverter.cs
- ExpressionBuilderCollection.cs
- UnsafeNativeMethodsPenimc.cs
- Imaging.cs
- ParseChildrenAsPropertiesAttribute.cs
- EntityDataSourceDataSelectionPanel.cs
- SelectingProviderEventArgs.cs
- XDeferredAxisSource.cs
- InvokeGenerator.cs
- keycontainerpermission.cs
- TextFragmentEngine.cs
- DefaultWorkflowTransactionService.cs
- NavigationPropertySingletonExpression.cs
- Menu.cs
- PkcsMisc.cs
- ClientSideQueueItem.cs
- WebPartDisplayModeEventArgs.cs
- COM2EnumConverter.cs
- StackBuilderSink.cs
- DoubleLinkListEnumerator.cs
- DictionaryManager.cs
- CustomValidator.cs
- ReadOnlyObservableCollection.cs
- TextRenderer.cs
- RawStylusActions.cs
- DateTimeSerializationSection.cs
- ExpressionBinding.cs
- MemberRestriction.cs
- FamilyMapCollection.cs
- SerializableAttribute.cs
- Table.cs
- TextUtf8RawTextWriter.cs
- Compilation.cs
- DatasetMethodGenerator.cs
- MimeMapping.cs
- SqlConnectionPoolProviderInfo.cs
- ModuleElement.cs
- MeasureItemEvent.cs