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
- TypeElement.cs
- BitmapScalingModeValidation.cs
- HtmlLink.cs
- TraceSwitch.cs
- RealizationContext.cs
- MdbDataFileEditor.cs
- WindowsScrollBar.cs
- ToolBarTray.cs
- FixedSOMTextRun.cs
- ConversionContext.cs
- PageThemeCodeDomTreeGenerator.cs
- listitem.cs
- Base64Encoder.cs
- TypeInitializationException.cs
- CurrencyWrapper.cs
- OdbcErrorCollection.cs
- DllNotFoundException.cs
- XmlDocumentType.cs
- UIElement.cs
- DataBindingCollectionEditor.cs
- SoapSchemaExporter.cs
- ConfigXmlText.cs
- PreservationFileReader.cs
- AnnotationHighlightLayer.cs
- TextRangeProviderWrapper.cs
- XsltLibrary.cs
- ItemsControlAutomationPeer.cs
- PaintEvent.cs
- CodeIndexerExpression.cs
- SplineKeyFrames.cs
- DataRecordObjectView.cs
- DodSequenceMerge.cs
- WindowCollection.cs
- HtmlElementCollection.cs
- CultureInfo.cs
- Speller.cs
- CmsInterop.cs
- ToolStripAdornerWindowService.cs
- DelegatingChannelListener.cs
- WebPartTracker.cs
- TreeNodeCollection.cs
- RankException.cs
- SystemUdpStatistics.cs
- UserControl.cs
- ComPlusServiceLoader.cs
- WebPartZoneDesigner.cs
- AsyncResult.cs
- OperationContext.cs
- ReadOnlyCollectionBase.cs
- Label.cs
- SpellerHighlightLayer.cs
- TreeViewAutomationPeer.cs
- PrefixHandle.cs
- InstanceLockLostException.cs
- WmlFormAdapter.cs
- XmlUtil.cs
- DataShape.cs
- BindingCollection.cs
- Invariant.cs
- HuffCodec.cs
- StateDesigner.Helpers.cs
- VarRemapper.cs
- RSACryptoServiceProvider.cs
- ReadOnlyDataSourceView.cs
- TextFormatterHost.cs
- CompositeKey.cs
- FilterException.cs
- ToolStripContainerActionList.cs
- ProfileGroupSettings.cs
- SmtpException.cs
- ProfileManager.cs
- Constraint.cs
- _PooledStream.cs
- FigureHelper.cs
- SchemaNames.cs
- StoryFragments.cs
- NeedSkipTokenVisitor.cs
- MetadataArtifactLoader.cs
- SourceFileInfo.cs
- FtpWebResponse.cs
- LinkLabel.cs
- RightsManagementEncryptedStream.cs
- DataGridSortCommandEventArgs.cs
- ConfigurationPropertyAttribute.cs
- DataGridViewComboBoxEditingControl.cs
- QueryStringParameter.cs
- HijriCalendar.cs
- DataControlFieldCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TemplateNodeContextMenu.cs
- BamlLocalizableResource.cs
- DeviceFilterEditorDialog.cs
- ContentPresenter.cs
- TraceEventCache.cs
- BasicViewGenerator.cs
- TrustSection.cs
- InputBuffer.cs
- CheckBoxFlatAdapter.cs
- FieldTemplateUserControl.cs