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
- SystemIcmpV6Statistics.cs
- UnsafeNativeMethods.cs
- AssemblyBuilder.cs
- WebPartManagerInternals.cs
- ProgressBarBrushConverter.cs
- HtmlHistory.cs
- Transform3DCollection.cs
- CheckBoxFlatAdapter.cs
- ListViewContainer.cs
- TypeLibConverter.cs
- ResXFileRef.cs
- ScrollBar.cs
- Binding.cs
- UnauthorizedWebPart.cs
- NullRuntimeConfig.cs
- ResourceProperty.cs
- InputEventArgs.cs
- DescriptionAttribute.cs
- KeyValuePair.cs
- MSAAEventDispatcher.cs
- SecUtil.cs
- Localizer.cs
- UrlMappingsSection.cs
- HwndKeyboardInputProvider.cs
- GeneralTransform3D.cs
- AssemblyFilter.cs
- InputScope.cs
- ScriptManagerProxy.cs
- X509IssuerSerialKeyIdentifierClause.cs
- SchemaTypeEmitter.cs
- Bidi.cs
- WorkflowInstanceRecord.cs
- ZoneMembershipCondition.cs
- XComponentModel.cs
- TextSerializer.cs
- RowBinding.cs
- ZoneButton.cs
- ResXBuildProvider.cs
- ListParaClient.cs
- NameSpaceEvent.cs
- HitTestFilterBehavior.cs
- ExpressionList.cs
- PointLightBase.cs
- ToolBarButtonDesigner.cs
- Padding.cs
- ProcessModuleCollection.cs
- CodeTypeReferenceCollection.cs
- Glyph.cs
- FormatException.cs
- MDIControlStrip.cs
- DataGridViewCellCollection.cs
- TabPage.cs
- DataGridViewColumnEventArgs.cs
- HttpModulesSection.cs
- BooleanKeyFrameCollection.cs
- EventBuilder.cs
- TextFormatterImp.cs
- DetailsViewUpdatedEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- UseManagedPresentationBindingElement.cs
- QuadraticBezierSegment.cs
- WebResponse.cs
- Column.cs
- TypeUsage.cs
- TypeElementCollection.cs
- SafeNativeMethods.cs
- HyperLinkDesigner.cs
- SingleAnimation.cs
- AutomationPatternInfo.cs
- TreeNodeCollection.cs
- Color.cs
- CapacityStreamGeometryContext.cs
- WebFormDesignerActionService.cs
- TypeTypeConverter.cs
- PropertyAccessVisitor.cs
- ExceptionUtil.cs
- LogicalMethodInfo.cs
- CopyAction.cs
- AdornedElementPlaceholder.cs
- TypeForwardedToAttribute.cs
- DecimalStorage.cs
- StylusSystemGestureEventArgs.cs
- OleDbPermission.cs
- ShortcutKeysEditor.cs
- LayoutDump.cs
- HttpModulesInstallComponent.cs
- SiteMapSection.cs
- HelpHtmlBuilder.cs
- CorrelationValidator.cs
- ReflectTypeDescriptionProvider.cs
- XsltQilFactory.cs
- DateRangeEvent.cs
- ItemsChangedEventArgs.cs
- TextDecoration.cs
- Rotation3DKeyFrameCollection.cs
- DataShape.cs
- ToolStripProgressBar.cs
- ILGenerator.cs
- NavigationFailedEventArgs.cs
- RoutingExtension.cs