Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / HandledMouseEvent.cs / 1 / HandledMouseEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ///public class HandledMouseEventArgs : MouseEventArgs { /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ///public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta) : this(button, clicks, x, y, delta, false) { } /// public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta, bool defaultHandledValue) : base(button, clicks, x, y, delta) { this.handled = defaultHandledValue; } /// /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a value /// indicating whether the event is handled. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ///public class HandledMouseEventArgs : MouseEventArgs { /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ///public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta) : this(button, clicks, x, y, delta, false) { } /// public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta, bool defaultHandledValue) : base(button, clicks, x, y, delta) { this.handled = defaultHandledValue; } /// /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a value /// indicating whether the event is handled. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemotingAttributes.cs
- QilName.cs
- AmbientProperties.cs
- VBIdentifierName.cs
- VectorCollectionConverter.cs
- DocumentStatusResources.cs
- FloaterBaseParagraph.cs
- DesignTimeSiteMapProvider.cs
- ConnectivityStatus.cs
- ExtensibleClassFactory.cs
- PropertyConverter.cs
- EditorPart.cs
- CommandLibraryHelper.cs
- BinaryParser.cs
- PropertyGrid.cs
- NotSupportedException.cs
- ListCollectionView.cs
- EntityContainerEntitySetDefiningQuery.cs
- WorkflowCommandExtensionItem.cs
- GeometryGroup.cs
- WebPartManagerInternals.cs
- StrokeRenderer.cs
- SchemaAttDef.cs
- IdentityNotMappedException.cs
- DoubleAnimation.cs
- NumberFormatter.cs
- RepeatButtonAutomationPeer.cs
- DataGridToolTip.cs
- Repeater.cs
- ProcessHostServerConfig.cs
- MenuItem.cs
- EncodingDataItem.cs
- DataContractAttribute.cs
- QilLiteral.cs
- FlowDocumentScrollViewer.cs
- ManipulationStartingEventArgs.cs
- SafeSecurityHelper.cs
- Calendar.cs
- FormsAuthenticationModule.cs
- EntityDataSourceChangedEventArgs.cs
- NamespaceQuery.cs
- PeerHopCountAttribute.cs
- BaseServiceProvider.cs
- ArraySortHelper.cs
- MaskedTextBoxTextEditor.cs
- FactoryId.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ElementHostAutomationPeer.cs
- SpeakProgressEventArgs.cs
- TextLineBreak.cs
- ReferenceEqualityComparer.cs
- WebServiceHandler.cs
- ConnectorEditor.cs
- DataBoundControl.cs
- EntityExpressionVisitor.cs
- CommandLineParser.cs
- WebPartCancelEventArgs.cs
- QuaternionAnimationBase.cs
- XmlAttributeAttribute.cs
- TableStyle.cs
- UriPrefixTable.cs
- DiscoveryReference.cs
- SpeechUI.cs
- ScriptDescriptor.cs
- CrossContextChannel.cs
- Bitmap.cs
- HttpResponse.cs
- MaskedTextProvider.cs
- SpeakProgressEventArgs.cs
- ToolStripDropDown.cs
- PieceNameHelper.cs
- AnimatedTypeHelpers.cs
- XmlResolver.cs
- WindowsFormsHostPropertyMap.cs
- FastEncoderStatics.cs
- PrintPreviewDialog.cs
- ZipIOLocalFileBlock.cs
- TextEditorTyping.cs
- IHttpResponseInternal.cs
- ProvidePropertyAttribute.cs
- TypeElement.cs
- SessionIDManager.cs
- XsdDataContractImporter.cs
- KnownTypes.cs
- ThreadStartException.cs
- AdPostCacheSubstitution.cs
- ColorTransform.cs
- StandardBindingImporter.cs
- HttpResponse.cs
- XPathSingletonIterator.cs
- ServiceMemoryGates.cs
- TextBoxView.cs
- NodeFunctions.cs
- TryCatch.cs
- RelationshipConverter.cs
- ToolBarTray.cs
- GraphicsContainer.cs
- ObjectHandle.cs
- QueuePropertyVariants.cs
- GradientBrush.cs