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
- TreeNodeBindingCollection.cs
- DataObjectSettingDataEventArgs.cs
- EditorServiceContext.cs
- XmlProcessingInstruction.cs
- HtmlShim.cs
- DirectoryNotFoundException.cs
- XmlUrlResolver.cs
- XmlTypeMapping.cs
- DbDataReader.cs
- OdbcInfoMessageEvent.cs
- ObjectCacheSettings.cs
- Signature.cs
- ListViewItem.cs
- KeyTimeConverter.cs
- KerberosTokenFactoryCredential.cs
- SrgsElementList.cs
- brushes.cs
- base64Transforms.cs
- SslStreamSecurityBindingElement.cs
- RelationshipFixer.cs
- AutomationPropertyInfo.cs
- MethodBuilderInstantiation.cs
- QueryableFilterRepeater.cs
- LookupBindingPropertiesAttribute.cs
- CodePropertyReferenceExpression.cs
- SignatureDescription.cs
- TrustVersion.cs
- LinqDataSourceEditData.cs
- GregorianCalendar.cs
- BinaryNode.cs
- Point.cs
- DrawingContextDrawingContextWalker.cs
- CopyAction.cs
- InvalidOleVariantTypeException.cs
- ByteAnimation.cs
- XmlSchema.cs
- Metafile.cs
- _NtlmClient.cs
- SqlGatherProducedAliases.cs
- PropertyItem.cs
- RuntimeArgumentHandle.cs
- PageCatalogPart.cs
- ToolStripScrollButton.cs
- BitmapEffectRenderDataResource.cs
- DecimalConverter.cs
- EventEntry.cs
- ToolStripStatusLabel.cs
- controlskin.cs
- DataGridViewAdvancedBorderStyle.cs
- AddInPipelineAttributes.cs
- HtmlInputButton.cs
- FileSecurity.cs
- Stacktrace.cs
- DesignerContextDescriptor.cs
- DescendantOverDescendantQuery.cs
- MetafileHeader.cs
- SignatureTargetIdManager.cs
- SocketPermission.cs
- BackgroundFormatInfo.cs
- TypeValidationEventArgs.cs
- FlowDecision.cs
- XmlDataImplementation.cs
- BindingCompleteEventArgs.cs
- DataSourceCacheDurationConverter.cs
- AdCreatedEventArgs.cs
- ProcessProtocolHandler.cs
- versioninfo.cs
- UnitySerializationHolder.cs
- DataGridViewDataConnection.cs
- EnumType.cs
- SqlCacheDependencyDatabase.cs
- MessageAction.cs
- Color.cs
- GenerateHelper.cs
- StringFreezingAttribute.cs
- LogWriteRestartAreaAsyncResult.cs
- RegisteredDisposeScript.cs
- DecoratedNameAttribute.cs
- srgsitem.cs
- ParamArrayAttribute.cs
- SqlTriggerAttribute.cs
- MSG.cs
- CodeAssignStatement.cs
- FacetChecker.cs
- ChannelBinding.cs
- InfoCardMasterKey.cs
- BindingSourceDesigner.cs
- TabPanel.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ColumnTypeConverter.cs
- MenuCommand.cs
- ParallelActivityDesigner.cs
- ObjectTokenCategory.cs
- SimpleBitVector32.cs
- PriorityBindingExpression.cs
- ApplicationTrust.cs
- ExtensionWindow.cs
- TraceContextEventArgs.cs
- DataServiceHostFactory.cs
- OleDbInfoMessageEvent.cs