Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TimerElapsedEvenArgs.cs
- BlurBitmapEffect.cs
- FrugalMap.cs
- XmlDataFileEditor.cs
- SystemIPAddressInformation.cs
- CreateUserWizardAutoFormat.cs
- LoginName.cs
- __ConsoleStream.cs
- CodeLinePragma.cs
- PropertyGrid.cs
- BooleanKeyFrameCollection.cs
- ThreadPool.cs
- TagMapInfo.cs
- OracleRowUpdatingEventArgs.cs
- XPathParser.cs
- WebPartConnectionsCancelEventArgs.cs
- XmlRawWriter.cs
- VisualBrush.cs
- DelegateBodyWriter.cs
- WsdlBuildProvider.cs
- WindowsImpersonationContext.cs
- CodeBinaryOperatorExpression.cs
- ExpanderAutomationPeer.cs
- ValidatorCompatibilityHelper.cs
- HashRepartitionEnumerator.cs
- XmlDataFileEditor.cs
- HtmlInputButton.cs
- Color.cs
- DataTemplate.cs
- RegistryConfigurationProvider.cs
- ErrorWebPart.cs
- ObjectDataSourceDisposingEventArgs.cs
- TreeViewDesigner.cs
- ShaderEffect.cs
- AutomationPropertyInfo.cs
- SimpleRecyclingCache.cs
- BypassElement.cs
- precedingsibling.cs
- GraphicsState.cs
- XPathCompileException.cs
- SafeNativeMethods.cs
- MimeTypeAttribute.cs
- SamlSecurityToken.cs
- InkCanvasSelection.cs
- XPathExpr.cs
- StatusBar.cs
- WeakEventTable.cs
- SHA384CryptoServiceProvider.cs
- SortKey.cs
- FunctionParameter.cs
- ImageMetadata.cs
- Drawing.cs
- FilterException.cs
- ConnectionConsumerAttribute.cs
- DocumentPageView.cs
- RuleRef.cs
- WindowsTooltip.cs
- SrgsElement.cs
- KeyValueInternalCollection.cs
- XmlFormatExtensionPrefixAttribute.cs
- MD5Cng.cs
- PointConverter.cs
- PaginationProgressEventArgs.cs
- GeometryValueSerializer.cs
- WindowClosedEventArgs.cs
- BitmapMetadata.cs
- Exceptions.cs
- EncodingTable.cs
- ProcessModule.cs
- EnumMember.cs
- OracleNumber.cs
- GridViewCancelEditEventArgs.cs
- EFTableProvider.cs
- Rotation3DAnimationUsingKeyFrames.cs
- AutomationIdentifier.cs
- RuleProcessor.cs
- ReaderWriterLock.cs
- BitArray.cs
- InternalDuplexChannelFactory.cs
- AsyncPostBackTrigger.cs
- ComponentChangedEvent.cs
- ToolboxItemCollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- TableAdapterManagerMethodGenerator.cs
- FaultHandlingFilter.cs
- FileNotFoundException.cs
- MinMaxParagraphWidth.cs
- ping.cs
- DoubleConverter.cs
- GeneralTransform2DTo3D.cs
- ConsoleTraceListener.cs
- PackUriHelper.cs
- SecurityAppliedMessage.cs
- BindingUtils.cs
- UnsafeNativeMethodsTablet.cs
- SmtpTransport.cs
- WebControlToolBoxItem.cs
- SqlConnectionHelper.cs
- IdentifierCreationService.cs
- ProgressChangedEventArgs.cs