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
- ICollection.cs
- TextProperties.cs
- TypeInfo.cs
- FrameworkTextComposition.cs
- StreamHelper.cs
- NameTable.cs
- PreDigestedSignedInfo.cs
- HostExecutionContextManager.cs
- ThrowHelper.cs
- ResourceDefaultValueAttribute.cs
- ToolStripItemBehavior.cs
- WriterOutput.cs
- CultureSpecificCharacterBufferRange.cs
- SkinBuilder.cs
- CustomSignedXml.cs
- EncoderParameter.cs
- TabletDevice.cs
- SspiWrapper.cs
- DocumentOrderQuery.cs
- ipaddressinformationcollection.cs
- DockingAttribute.cs
- MessageAction.cs
- CustomPeerResolverService.cs
- ChannelServices.cs
- WindowsTooltip.cs
- WriteTimeStream.cs
- CollectionViewGroupInternal.cs
- IncomingWebRequestContext.cs
- httpstaticobjectscollection.cs
- MessageSecurityTokenVersion.cs
- CodeAttributeArgument.cs
- BitmapDownload.cs
- Listen.cs
- DecimalConstantAttribute.cs
- CommandDevice.cs
- ProviderMetadata.cs
- ConnectionsZone.cs
- ObjectDataSourceFilteringEventArgs.cs
- FlowLayoutPanel.cs
- METAHEADER.cs
- CodeLabeledStatement.cs
- StrokeCollection2.cs
- MatrixTransform3D.cs
- TraceSection.cs
- SelectedDatesCollection.cs
- CapabilitiesRule.cs
- MDIClient.cs
- BitStack.cs
- OdbcParameter.cs
- BaseAutoFormat.cs
- HtmlEmptyTagControlBuilder.cs
- EncodingFallbackAwareXmlTextWriter.cs
- Vars.cs
- DataGridViewAdvancedBorderStyle.cs
- MethodBody.cs
- DodSequenceMerge.cs
- VariableQuery.cs
- InstanceNormalEvent.cs
- XPathAncestorIterator.cs
- DrawListViewItemEventArgs.cs
- DataGridAddNewRow.cs
- ComContractElementCollection.cs
- ProcessHostConfigUtils.cs
- SmtpMail.cs
- SoapObjectReader.cs
- StructuredTypeEmitter.cs
- SchemaElementLookUpTableEnumerator.cs
- MatrixConverter.cs
- Span.cs
- InvocationExpression.cs
- CodeLabeledStatement.cs
- EllipseGeometry.cs
- CaseStatement.cs
- MailMessage.cs
- IsolatedStorageException.cs
- DateTimeStorage.cs
- SecurityCriticalDataForSet.cs
- SqlBooleanMismatchVisitor.cs
- CodeTypeReferenceSerializer.cs
- ListDictionary.cs
- ListSourceHelper.cs
- Choices.cs
- MonitoringDescriptionAttribute.cs
- DeclarativeExpressionConditionDeclaration.cs
- TextElementCollection.cs
- StylusPointPropertyInfoDefaults.cs
- TypedReference.cs
- InvokeBinder.cs
- RegexNode.cs
- keycontainerpermission.cs
- AuthenticateEventArgs.cs
- SQLBoolean.cs
- JournalEntryListConverter.cs
- FixedStringLookup.cs
- Stack.cs
- WindowsListViewItem.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- RepeatBehavior.cs
- PerformanceCounterPermissionEntry.cs
- TextSelection.cs