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
- NumericPagerField.cs
- TagPrefixInfo.cs
- DataGridViewIntLinkedList.cs
- MailMessage.cs
- ResolveNameEventArgs.cs
- WebPartDisplayModeCancelEventArgs.cs
- ProfileInfo.cs
- XpsLiterals.cs
- HttpModuleAction.cs
- DesignerActionService.cs
- ListItemConverter.cs
- MediaContextNotificationWindow.cs
- SqlFlattener.cs
- PriorityChain.cs
- ModelFactory.cs
- OleDbFactory.cs
- SelectionChangedEventArgs.cs
- TextRunTypographyProperties.cs
- ContentValidator.cs
- BooleanSwitch.cs
- PriorityBindingExpression.cs
- ColorConvertedBitmapExtension.cs
- RowToFieldTransformer.cs
- ResourceReferenceKeyNotFoundException.cs
- AutomationIdentifier.cs
- ProcessInfo.cs
- HelpEvent.cs
- DrawListViewColumnHeaderEventArgs.cs
- Parser.cs
- SortableBindingList.cs
- UdpContractFilterBehavior.cs
- ProviderSettings.cs
- XmlWellformedWriter.cs
- UpDownBase.cs
- EncoderFallback.cs
- _DisconnectOverlappedAsyncResult.cs
- ComponentResourceKey.cs
- XamlTypeMapper.cs
- DataPointer.cs
- SQLGuid.cs
- ObjectStateEntry.cs
- UrlMappingsSection.cs
- FileReader.cs
- XmlQueryCardinality.cs
- TemplateField.cs
- CodeDirectoryCompiler.cs
- AsymmetricSignatureFormatter.cs
- IntranetCredentialPolicy.cs
- AccessViolationException.cs
- Stylesheet.cs
- ToolStripContextMenu.cs
- AutomationProperty.cs
- IPGlobalProperties.cs
- SQLStringStorage.cs
- SimpleType.cs
- TypeTypeConverter.cs
- IdentityNotMappedException.cs
- PerformanceCounterPermissionEntry.cs
- BitmapEffectInputConnector.cs
- Attributes.cs
- AutoGeneratedField.cs
- MessageHeaderAttribute.cs
- ScrollableControl.cs
- SuppressMessageAttribute.cs
- ObjectHandle.cs
- UInt32.cs
- Int64Animation.cs
- TypedOperationInfo.cs
- LinqDataSourceView.cs
- XmlExtensionFunction.cs
- AuthorizationContext.cs
- DetailsViewDeleteEventArgs.cs
- ToolboxItemFilterAttribute.cs
- Material.cs
- SharedStatics.cs
- CriticalHandle.cs
- VariableBinder.cs
- ProtocolsConfigurationHandler.cs
- TextElementEnumerator.cs
- AdvancedBindingPropertyDescriptor.cs
- QilTernary.cs
- SliderAutomationPeer.cs
- CodeDOMProvider.cs
- TransformPattern.cs
- SecurityException.cs
- EpmSyndicationContentSerializer.cs
- EditorServiceContext.cs
- WhileDesigner.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DesignerFrame.cs
- EventManager.cs
- BStrWrapper.cs
- DataControlButton.cs
- CorrelationManager.cs
- DocumentSchemaValidator.cs
- BuildProvidersCompiler.cs
- SafeArrayRankMismatchException.cs
- XmlDocumentType.cs
- AdjustableArrowCap.cs
- LocalClientSecuritySettingsElement.cs