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 / QueryContinueDragEvent.cs / 1 / QueryContinueDragEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.Drawing; using System.ComponentModel; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class QueryContinueDragEventArgs : EventArgs { private readonly int keyState; private readonly bool escapePressed; private DragAction action; ////// Provides data for the ////// event. /// /// /// public QueryContinueDragEventArgs(int keyState, bool escapePressed, DragAction action) { this.keyState = keyState; this.escapePressed = escapePressed; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// public int KeyState { get { return keyState; } } ////// Gets a value indicating /// the current state of the SHIFT, CTRL, and ALT keys. /// ////// /// public bool EscapePressed { get { return escapePressed; } } ////// Gets a value indicating whether the user pressed the ESC key. /// ////// /// public DragAction Action { get { return action; } set { action = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets /// or sets the status of a drag-and-drop operation. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.Drawing; using System.ComponentModel; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class QueryContinueDragEventArgs : EventArgs { private readonly int keyState; private readonly bool escapePressed; private DragAction action; ////// Provides data for the ////// event. /// /// /// public QueryContinueDragEventArgs(int keyState, bool escapePressed, DragAction action) { this.keyState = keyState; this.escapePressed = escapePressed; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// public int KeyState { get { return keyState; } } ////// Gets a value indicating /// the current state of the SHIFT, CTRL, and ALT keys. /// ////// /// public bool EscapePressed { get { return escapePressed; } } ////// Gets a value indicating whether the user pressed the ESC key. /// ////// /// public DragAction Action { get { return action; } set { action = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets /// or sets the status of a drag-and-drop operation. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeBuilder.cs
- EntityModelSchemaGenerator.cs
- ControlCachePolicy.cs
- TimeSpanStorage.cs
- ProtectedConfiguration.cs
- InputReport.cs
- ToolBarTray.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Material.cs
- BindingMAnagerBase.cs
- CacheChildrenQuery.cs
- RowToFieldTransformer.cs
- AlgoModule.cs
- OptimalBreakSession.cs
- ComponentCommands.cs
- DataShape.cs
- SymbolTable.cs
- MachineKeyConverter.cs
- CommonGetThemePartSize.cs
- NumberEdit.cs
- ManagementScope.cs
- RequiredFieldValidator.cs
- ConfigXmlWhitespace.cs
- AssemblyInfo.cs
- NullableDoubleAverageAggregationOperator.cs
- XmlSchemaResource.cs
- Grant.cs
- SafeArrayRankMismatchException.cs
- FilterElement.cs
- UnmanagedMemoryStreamWrapper.cs
- OleDbRowUpdatingEvent.cs
- ChildTable.cs
- GregorianCalendarHelper.cs
- SafeNativeMethods.cs
- AssociationSetMetadata.cs
- StatusStrip.cs
- AudioStateChangedEventArgs.cs
- Wildcard.cs
- MatrixTransform3D.cs
- DataGridViewElement.cs
- BigInt.cs
- ReflectionTypeLoadException.cs
- EventDescriptor.cs
- DataGridViewRowConverter.cs
- XPathDocumentNavigator.cs
- EntityParameter.cs
- XmlProcessingInstruction.cs
- TypeForwardedToAttribute.cs
- IconBitmapDecoder.cs
- OpCopier.cs
- Int32AnimationUsingKeyFrames.cs
- ConcurrentStack.cs
- CodeMemberProperty.cs
- SqlStream.cs
- ComponentDispatcherThread.cs
- NullableDoubleMinMaxAggregationOperator.cs
- ACL.cs
- BorderGapMaskConverter.cs
- SamlAuthenticationClaimResource.cs
- DataConnectionHelper.cs
- RecipientIdentity.cs
- ActivityExecutorOperation.cs
- QuotedStringWriteStateInfo.cs
- ConfigurationStrings.cs
- ClientTarget.cs
- WeakReference.cs
- StateManagedCollection.cs
- RegistrySecurity.cs
- TypeTypeConverter.cs
- XamlStackWriter.cs
- RouteParametersHelper.cs
- SafeTokenHandle.cs
- FontFamily.cs
- Flowchart.cs
- ContextMenuService.cs
- XmlArrayItemAttributes.cs
- counter.cs
- XmlAttributeCache.cs
- ParameterEditorUserControl.cs
- BoolLiteral.cs
- ArrayEditor.cs
- DiagnosticsConfiguration.cs
- SynchronousSendBindingElement.cs
- RtType.cs
- OperandQuery.cs
- IisNotInstalledException.cs
- ServiceMemoryGates.cs
- ElasticEase.cs
- PrintDialogException.cs
- Rfc2898DeriveBytes.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ProtocolsConfiguration.cs
- SendMailErrorEventArgs.cs
- PeekCompletedEventArgs.cs
- NetworkInformationException.cs
- CombinedTcpChannel.cs
- ThreadAttributes.cs
- WebZone.cs
- IRCollection.cs
- QfeChecker.cs