Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / GiveFeedbackEvent.cs / 1305376 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DictationGrammar.cs
- EdmFunction.cs
- _AutoWebProxyScriptHelper.cs
- SettingsSavedEventArgs.cs
- TransformerConfigurationWizardBase.cs
- TypeReference.cs
- FontResourceCache.cs
- FolderNameEditor.cs
- TreeBuilderBamlTranslator.cs
- ToolStripPanelRenderEventArgs.cs
- OracleBinary.cs
- ToolStripItemTextRenderEventArgs.cs
- XmlTextEncoder.cs
- Size3DConverter.cs
- TextPointer.cs
- HtmlDocument.cs
- HttpRequestBase.cs
- FormatSettings.cs
- ReadOnlyTernaryTree.cs
- SamlSecurityTokenAuthenticator.cs
- ObjectAssociationEndMapping.cs
- RTTrackingProfile.cs
- XmlReaderSettings.cs
- RadioButtonFlatAdapter.cs
- WmpBitmapEncoder.cs
- NonValidatingSecurityTokenAuthenticator.cs
- Keyboard.cs
- AsymmetricSignatureDeformatter.cs
- FormsAuthenticationCredentials.cs
- Size3DValueSerializer.cs
- RSAPKCS1SignatureFormatter.cs
- ImmComposition.cs
- EntityModelBuildProvider.cs
- TransactionTable.cs
- ResXResourceWriter.cs
- CommonDialog.cs
- PreviewPrintController.cs
- Bitmap.cs
- ContextToken.cs
- HTMLTextWriter.cs
- TextRangeEditLists.cs
- AstNode.cs
- ButtonBaseDesigner.cs
- HtmlElementErrorEventArgs.cs
- CodeConditionStatement.cs
- SettingsPropertyIsReadOnlyException.cs
- Grant.cs
- SqlEnums.cs
- DataGridTextBox.cs
- WebScriptMetadataMessageEncoderFactory.cs
- RegistrationServices.cs
- ActivityMarkupSerializer.cs
- ApplicationProxyInternal.cs
- WCFModelStrings.Designer.cs
- ObjectNavigationPropertyMapping.cs
- CancelEventArgs.cs
- BitmapEffectDrawingContextWalker.cs
- SubMenuStyle.cs
- XmlSchemaCompilationSettings.cs
- DataGridViewAccessibleObject.cs
- Brushes.cs
- InputProcessorProfiles.cs
- XsltException.cs
- MapPathBasedVirtualPathProvider.cs
- EntitySetRetriever.cs
- WorkflowViewManager.cs
- HijriCalendar.cs
- HttpModulesSection.cs
- CompilationRelaxations.cs
- Parser.cs
- AppDomainShutdownMonitor.cs
- XamlTemplateSerializer.cs
- PassportPrincipal.cs
- Effect.cs
- ILGenerator.cs
- AnnotationComponentChooser.cs
- ComplexType.cs
- AuditLog.cs
- SHA1CryptoServiceProvider.cs
- SecurityException.cs
- PerfService.cs
- TimeoutException.cs
- SplashScreenNativeMethods.cs
- StringOutput.cs
- NoneExcludedImageIndexConverter.cs
- ObjectPersistData.cs
- xmlformatgeneratorstatics.cs
- FormsAuthenticationTicket.cs
- ParagraphVisual.cs
- FolderBrowserDialogDesigner.cs
- GenerateTemporaryTargetAssembly.cs
- CachedFontFace.cs
- RegexParser.cs
- ObjectRef.cs
- DynamicUpdateCommand.cs
- ButtonFlatAdapter.cs
- BindingWorker.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DefaultParameterValueAttribute.cs
- XappLauncher.cs