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
- DrawingImage.cs
- NameValueConfigurationCollection.cs
- MailBnfHelper.cs
- InheritedPropertyDescriptor.cs
- EmbeddedMailObjectsCollection.cs
- GenericAuthenticationEventArgs.cs
- SiteOfOriginContainer.cs
- Block.cs
- InfiniteTimeSpanConverter.cs
- AudioFormatConverter.cs
- SaveFileDialog.cs
- HighlightVisual.cs
- controlskin.cs
- MachinePropertyVariants.cs
- Button.cs
- GeneralTransform.cs
- CompiledELinqQueryState.cs
- ProcessModelSection.cs
- GorillaCodec.cs
- Input.cs
- ListParaClient.cs
- Point3D.cs
- BrushMappingModeValidation.cs
- RevocationPoint.cs
- PerformanceCountersBase.cs
- FormatException.cs
- LoadedOrUnloadedOperation.cs
- WebReferenceCollection.cs
- AxHost.cs
- IdentityNotMappedException.cs
- ServiceOperationListItem.cs
- Material.cs
- TrimSurroundingWhitespaceAttribute.cs
- RichTextBox.cs
- ChannelBinding.cs
- WrappedReader.cs
- AdRotator.cs
- SpeechRecognizer.cs
- TemplateNodeContextMenu.cs
- CssTextWriter.cs
- ScriptingRoleServiceSection.cs
- CapabilitiesState.cs
- MenuItem.cs
- XPathChildIterator.cs
- Enum.cs
- CodeGeneratorOptions.cs
- EncryptedType.cs
- ToolStripStatusLabel.cs
- Figure.cs
- WebPartConnectionsCloseVerb.cs
- SQLSingleStorage.cs
- wmiprovider.cs
- ObjectViewFactory.cs
- RolePrincipal.cs
- ClonableStack.cs
- DataListItem.cs
- SortQueryOperator.cs
- OleDbException.cs
- Int16.cs
- HandlerFactoryCache.cs
- PerformanceCounterCategory.cs
- ADRoleFactoryConfiguration.cs
- LocalizedNameDescriptionPair.cs
- SettingsSavedEventArgs.cs
- _ContextAwareResult.cs
- TableDetailsCollection.cs
- MbpInfo.cs
- PopupEventArgs.cs
- WebEncodingValidator.cs
- LogSwitch.cs
- WebPartDeleteVerb.cs
- ArrayList.cs
- XmlQualifiedNameTest.cs
- ColumnResizeAdorner.cs
- OutputScopeManager.cs
- WebPartConnectionCollection.cs
- CompiledRegexRunner.cs
- DriveInfo.cs
- OdbcPermission.cs
- SettingsBindableAttribute.cs
- ValidatorCollection.cs
- SafeRightsManagementEnvironmentHandle.cs
- ExtensionSimplifierMarkupObject.cs
- MetadataCollection.cs
- PropertyFilterAttribute.cs
- CultureData.cs
- CacheRequest.cs
- RectangleGeometry.cs
- MemberRelationshipService.cs
- ManualResetEventSlim.cs
- SQLInt64.cs
- AssemblyAttributesGoHere.cs
- TableSectionStyle.cs
- XmlExtensionFunction.cs
- FontFamilyIdentifier.cs
- Transform3DGroup.cs
- SqlDataSource.cs
- NavigationWindowAutomationPeer.cs
- TypeSystemProvider.cs
- FrameworkReadOnlyPropertyMetadata.cs