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
- AlternationConverter.cs
- EntityDescriptor.cs
- ToolstripProfessionalRenderer.cs
- XPathDocument.cs
- DataServiceQueryOfT.cs
- ScrollableControl.cs
- FrameworkElementFactoryMarkupObject.cs
- BehaviorEditorPart.cs
- PhysicalOps.cs
- _NestedSingleAsyncResult.cs
- ConfigXmlSignificantWhitespace.cs
- XmlUtf8RawTextWriter.cs
- EnglishPluralizationService.cs
- PopupRoot.cs
- RemotingAttributes.cs
- DesignerRegionCollection.cs
- TextEditorLists.cs
- InternalConfigHost.cs
- XmlObjectSerializerWriteContext.cs
- GridViewColumnCollection.cs
- TypeLoadException.cs
- StreamWriter.cs
- CodeRegionDirective.cs
- Walker.cs
- ZipIOExtraFieldZip64Element.cs
- SqlClientWrapperSmiStream.cs
- NopReturnReader.cs
- ToolboxBitmapAttribute.cs
- Soap12ServerProtocol.cs
- RtfControlWordInfo.cs
- RestClientProxyHandler.cs
- PrinterResolution.cs
- ToolStripScrollButton.cs
- EntitySqlQueryState.cs
- CustomActivityDesigner.cs
- WebPartVerbsEventArgs.cs
- FocusWithinProperty.cs
- GradientStopCollection.cs
- SecurityIdentifierElementCollection.cs
- AddInPipelineAttributes.cs
- DataSourceConverter.cs
- CachedPathData.cs
- SiteMapPath.cs
- DataGridViewCellPaintingEventArgs.cs
- OleDbRowUpdatedEvent.cs
- ExtendedPropertyCollection.cs
- HttpCapabilitiesEvaluator.cs
- objectresult_tresulttype.cs
- EntityClientCacheKey.cs
- MethodCallConverter.cs
- EllipseGeometry.cs
- GridViewSortEventArgs.cs
- HtmlInputHidden.cs
- GcSettings.cs
- Rotation3D.cs
- PictureBox.cs
- SafeHandle.cs
- DiscreteKeyFrames.cs
- SmtpNegotiateAuthenticationModule.cs
- ResourceReferenceExpression.cs
- ErrorRuntimeConfig.cs
- RowCache.cs
- UpdatePanelTriggerCollection.cs
- QilDataSource.cs
- HttpInputStream.cs
- CryptoProvider.cs
- SyndicationFeedFormatter.cs
- BamlTreeMap.cs
- SqlHelper.cs
- _LazyAsyncResult.cs
- LifetimeServices.cs
- ProfileServiceManager.cs
- String.cs
- TreeNode.cs
- XmlNotation.cs
- BooleanConverter.cs
- QueryExecutionOption.cs
- OdbcConnectionString.cs
- WebPartConnectionsConnectVerb.cs
- MenuAutomationPeer.cs
- ScalarType.cs
- WebHttpBindingElement.cs
- ProxyAttribute.cs
- OpenCollectionAsyncResult.cs
- WebPartUtil.cs
- ModifierKeysValueSerializer.cs
- RowUpdatedEventArgs.cs
- EndPoint.cs
- ExpressionBinding.cs
- ListItem.cs
- WizardForm.cs
- WebPartConnectionsCloseVerb.cs
- TextDocumentView.cs
- WebPartChrome.cs
- __FastResourceComparer.cs
- DataGridViewCellLinkedList.cs
- DetailsViewRowCollection.cs
- XPathMessageFilterElement.cs
- HwndSourceParameters.cs
- ServiceOperationParameter.cs