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
- XmlNodeComparer.cs
- PermissionToken.cs
- DocumentPageView.cs
- CodeLabeledStatement.cs
- ModuleBuilder.cs
- CommandEventArgs.cs
- Attributes.cs
- SuppressMergeCheckAttribute.cs
- ToolStripDropDownClosingEventArgs.cs
- ArgumentNullException.cs
- PermissionSetTriple.cs
- ExecutionEngineException.cs
- Messages.cs
- ExpressionConverter.cs
- SolidColorBrush.cs
- SplineQuaternionKeyFrame.cs
- HTTPNotFoundHandler.cs
- DependencyProperty.cs
- XPathArrayIterator.cs
- AddInStore.cs
- FtpWebRequest.cs
- StringStorage.cs
- DbProviderFactoriesConfigurationHandler.cs
- TextDecorationLocationValidation.cs
- ConfigurationLoaderException.cs
- CreateUserWizard.cs
- PagerStyle.cs
- EdgeModeValidation.cs
- BehaviorEditorPart.cs
- TypeNameConverter.cs
- ConsoleCancelEventArgs.cs
- HostProtectionException.cs
- XmlNavigatorStack.cs
- SqlDataSourceConfigureSortForm.cs
- StrongNameUtility.cs
- DesignerDataColumn.cs
- GenericUriParser.cs
- MailWebEventProvider.cs
- _FixedSizeReader.cs
- HttpHandlerActionCollection.cs
- SocketException.cs
- HtmlInputHidden.cs
- AssemblyBuilder.cs
- XmlCountingReader.cs
- ViewPort3D.cs
- unsafenativemethodsother.cs
- FocusWithinProperty.cs
- AttachedPropertyInfo.cs
- UriTemplateTableMatchCandidate.cs
- WorkflowOperationContext.cs
- AppDomainEvidenceFactory.cs
- BinaryFormatter.cs
- DelegateCompletionCallbackWrapper.cs
- TemplateAction.cs
- EntityDataSourceValidationException.cs
- HashCodeCombiner.cs
- QueryableDataSource.cs
- SqlWebEventProvider.cs
- InheritedPropertyChangedEventArgs.cs
- LicenseProviderAttribute.cs
- InputBinder.cs
- StorageEndPropertyMapping.cs
- RIPEMD160Managed.cs
- MachineKeyValidationConverter.cs
- Function.cs
- RegexCompiler.cs
- SeparatorAutomationPeer.cs
- DataObject.cs
- Model3DCollection.cs
- ImageInfo.cs
- CanonicalXml.cs
- ListViewItem.cs
- ItemList.cs
- CatalogZone.cs
- ByteStreamGeometryContext.cs
- QueryStatement.cs
- UpdateCompiler.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- LinqTreeNodeEvaluator.cs
- GlyphRunDrawing.cs
- SelectorItemAutomationPeer.cs
- MemberDescriptor.cs
- XamlTypeMapper.cs
- SqlDataSourceQueryEditorForm.cs
- ScriptResourceHandler.cs
- DictionaryEntry.cs
- ApplicationServicesHostFactory.cs
- CodeIterationStatement.cs
- WsdlBuildProvider.cs
- Panel.cs
- RelOps.cs
- CodeSubDirectory.cs
- CodeDefaultValueExpression.cs
- Odbc32.cs
- XmlComment.cs
- Sequence.cs
- InsufficientMemoryException.cs
- Model3DCollection.cs
- MasterPageParser.cs
- DataTableTypeConverter.cs