Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MetadataArtifactLoaderCompositeResource.cs
- IntegerValidatorAttribute.cs
- EntityViewGenerator.cs
- Random.cs
- EntryWrittenEventArgs.cs
- DataTablePropertyDescriptor.cs
- CatalogZone.cs
- TableCell.cs
- Array.cs
- _NegoStream.cs
- LayoutEngine.cs
- COM2PropertyDescriptor.cs
- CompoundFileStorageReference.cs
- DesignerAdapterUtil.cs
- InlinedAggregationOperator.cs
- MaterializeFromAtom.cs
- HostingEnvironmentSection.cs
- AsyncPostBackTrigger.cs
- AndMessageFilter.cs
- Main.cs
- ThumbButtonInfo.cs
- XmlSchemaInclude.cs
- OdbcConnectionString.cs
- MetadataItem_Static.cs
- Evidence.cs
- ServiceNameElement.cs
- HttpRuntime.cs
- GradientSpreadMethodValidation.cs
- ObjectItemCachedAssemblyLoader.cs
- WebPartEditorApplyVerb.cs
- SubMenuStyleCollectionEditor.cs
- SoapMessage.cs
- XmlSchemaFacet.cs
- CodeArrayIndexerExpression.cs
- __ComObject.cs
- NavigateEvent.cs
- ErrorHandler.cs
- PointConverter.cs
- ResourcePermissionBase.cs
- WindowsToolbarAsMenu.cs
- XmlMembersMapping.cs
- SqlDataSourceEnumerator.cs
- RtfControls.cs
- RuleProcessor.cs
- dbdatarecord.cs
- CompilerError.cs
- DateTimeSerializationSection.cs
- ImplicitInputBrush.cs
- TraceHandlerErrorFormatter.cs
- ListBoxChrome.cs
- UnsafeNativeMethodsCLR.cs
- PostBackTrigger.cs
- SeekStoryboard.cs
- PropertyDescriptorGridEntry.cs
- XmlSchemaAttribute.cs
- MimeFormReflector.cs
- ConnectionPointCookie.cs
- DesignerAttributeInfo.cs
- FormViewCommandEventArgs.cs
- CategoriesDocument.cs
- ToolStripDropDownMenu.cs
- HtmlInputPassword.cs
- TextRunCacheImp.cs
- DataGridViewDataConnection.cs
- WindowsFormsSectionHandler.cs
- DefaultSection.cs
- UnsafeNativeMethods.cs
- PageAdapter.cs
- OdbcEnvironment.cs
- TemplatedAdorner.cs
- HiddenFieldPageStatePersister.cs
- _NTAuthentication.cs
- QueryOutputWriter.cs
- Rect.cs
- CrossContextChannel.cs
- ColorConvertedBitmapExtension.cs
- SubstitutionDesigner.cs
- RouteParametersHelper.cs
- GeneralTransform.cs
- PrtCap_Public.cs
- XsltSettings.cs
- DiscreteKeyFrames.cs
- ReferencedType.cs
- TypedColumnHandler.cs
- DrawingContextDrawingContextWalker.cs
- SortDescription.cs
- InputManager.cs
- NumericUpDownAcceleration.cs
- WebDescriptionAttribute.cs
- SortExpressionBuilder.cs
- MimeFormImporter.cs
- StringBuilder.cs
- StrokeCollection.cs
- LocalizableAttribute.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- TemplateField.cs
- ByteStream.cs
- DateTimePicker.cs
- WebEvents.cs
- LoginCancelEventArgs.cs