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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DebuggerAttributes.cs
- ThemeInfoAttribute.cs
- streamingZipPartStream.cs
- InputScopeConverter.cs
- Convert.cs
- AuthenticationModuleElement.cs
- XmlValidatingReaderImpl.cs
- ToolStripSystemRenderer.cs
- StatusBar.cs
- DataViewListener.cs
- ReadOnlyCollectionBuilder.cs
- TextPenaltyModule.cs
- EntityDataSourceState.cs
- XPathChildIterator.cs
- ContentFilePart.cs
- Rotation3DKeyFrameCollection.cs
- RouteValueExpressionBuilder.cs
- PageContentAsyncResult.cs
- ConnectionPoolManager.cs
- TreeNodeBindingCollection.cs
- DataIdProcessor.cs
- WpfSharedXamlSchemaContext.cs
- HashRepartitionEnumerator.cs
- TargetException.cs
- IncrementalCompileAnalyzer.cs
- Table.cs
- Regex.cs
- Preprocessor.cs
- Vector.cs
- ExeConfigurationFileMap.cs
- PointConverter.cs
- PublisherMembershipCondition.cs
- ObjectStateFormatter.cs
- TimeSpanValidator.cs
- autovalidator.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- Unit.cs
- BamlTreeUpdater.cs
- IODescriptionAttribute.cs
- LifetimeServices.cs
- ItemCheckEvent.cs
- AsnEncodedData.cs
- ConfigXmlCDataSection.cs
- FieldToken.cs
- EmbeddedMailObject.cs
- RectangleGeometry.cs
- SqlBinder.cs
- ShellProvider.cs
- SHA256.cs
- StylusPointPropertyInfo.cs
- ICspAsymmetricAlgorithm.cs
- InvalidProgramException.cs
- MethodRental.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Vector3DCollectionValueSerializer.cs
- DefaultBinder.cs
- ErrorWrapper.cs
- ChainOfDependencies.cs
- LocatorGroup.cs
- ClientApiGenerator.cs
- RepeaterItemEventArgs.cs
- ConstraintEnumerator.cs
- FontUnitConverter.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- XmlILOptimizerVisitor.cs
- XpsException.cs
- NullableDoubleAverageAggregationOperator.cs
- ADMembershipProvider.cs
- WebPageTraceListener.cs
- VsPropertyGrid.cs
- PathSegmentCollection.cs
- Compensate.cs
- ColorPalette.cs
- MatrixAnimationBase.cs
- SubqueryRules.cs
- CodeRegionDirective.cs
- RuleConditionDialog.Designer.cs
- ExtensionFile.cs
- RemotingAttributes.cs
- ExceptionUtil.cs
- CompensateDesigner.cs
- SqlParameter.cs
- Canonicalizers.cs
- InteropTrackingRecord.cs
- WebServiceErrorEvent.cs
- TypedTableBaseExtensions.cs
- WindowHideOrCloseTracker.cs
- IndexedString.cs
- GradientStop.cs
- _HelperAsyncResults.cs
- ReferentialConstraint.cs
- Setter.cs
- XmlAttributeCollection.cs
- DocumentApplicationJournalEntry.cs
- StubHelpers.cs
- LinkArea.cs
- ConstraintCollection.cs
- WebPartConnectionsCloseVerb.cs
- TreeNode.cs
- DataViewListener.cs