Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AnimationClock.cs
- JoinCqlBlock.cs
- EmptyImpersonationContext.cs
- DesignerForm.cs
- WsatConfiguration.cs
- ModelFunction.cs
- OuterGlowBitmapEffect.cs
- AbstractExpressions.cs
- SQLDateTimeStorage.cs
- TransactionScope.cs
- XmlRawWriter.cs
- X509Extension.cs
- ProxyElement.cs
- EditCommandColumn.cs
- Point3D.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- DataServiceStreamProviderWrapper.cs
- SqlNodeAnnotation.cs
- PropertyGeneratedEventArgs.cs
- AmbientProperties.cs
- HtmlUtf8RawTextWriter.cs
- UshortList2.cs
- _NetworkingPerfCounters.cs
- XmlDataImplementation.cs
- EntityContainerEmitter.cs
- PlainXmlWriter.cs
- TextContainerChangeEventArgs.cs
- TextDecoration.cs
- TdsRecordBufferSetter.cs
- SmtpNetworkElement.cs
- BitmapEffectrendercontext.cs
- DataMember.cs
- AutoGeneratedFieldProperties.cs
- ExpressionBuilderContext.cs
- CustomAttribute.cs
- ViewgenContext.cs
- DrawListViewSubItemEventArgs.cs
- CapabilitiesPattern.cs
- StringConcat.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- MailWriter.cs
- LockRenewalTask.cs
- NavigationExpr.cs
- sapiproxy.cs
- Module.cs
- ActiveXHelper.cs
- Executor.cs
- ImageListUtils.cs
- ParallelEnumerableWrapper.cs
- RelationshipConstraintValidator.cs
- ThicknessAnimationBase.cs
- X509ChainPolicy.cs
- GenericIdentity.cs
- Set.cs
- SymbolType.cs
- SecurityToken.cs
- PersistenceIOParticipant.cs
- TranslateTransform.cs
- DesignerEditorPartChrome.cs
- IxmlLineInfo.cs
- EventDescriptor.cs
- ObjectHelper.cs
- BaseDataList.cs
- RegexReplacement.cs
- ComponentManagerBroker.cs
- LineGeometry.cs
- Menu.cs
- AuthenticationConfig.cs
- DataGridViewRowsRemovedEventArgs.cs
- UpdateProgress.cs
- WebRequestModuleElementCollection.cs
- ForEachAction.cs
- QueryCacheKey.cs
- WindowsFormsSectionHandler.cs
- SelectQueryOperator.cs
- Clipboard.cs
- SQLString.cs
- DataGridViewEditingControlShowingEventArgs.cs
- AccessViolationException.cs
- RetrieveVirtualItemEventArgs.cs
- KeyTime.cs
- GeometryModel3D.cs
- WindowsContainer.cs
- PngBitmapEncoder.cs
- InkCanvasSelectionAdorner.cs
- dsa.cs
- StylusButtonEventArgs.cs
- Journaling.cs
- SharedConnectionInfo.cs
- SafeFileHandle.cs
- Expressions.cs
- ClientOptions.cs
- TextBounds.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlDictionaryReader.cs
- IntAverageAggregationOperator.cs
- StrongNameKeyPair.cs
- EntityDataSourceValidationException.cs
- RegisteredExpandoAttribute.cs
- StreamingContext.cs