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
- WorkflowServiceBehavior.cs
- SQLMoneyStorage.cs
- MediaCommands.cs
- HttpContextServiceHost.cs
- DesignerCommandAdapter.cs
- CreateUserWizardStep.cs
- PassportAuthenticationModule.cs
- SecurityResources.cs
- PeerNearMe.cs
- PictureBox.cs
- FontFamilyConverter.cs
- PkcsMisc.cs
- oledbconnectionstring.cs
- SplayTreeNode.cs
- ValidationSummary.cs
- SamlAdvice.cs
- Number.cs
- FileDialog.cs
- PageAction.cs
- XhtmlTextWriter.cs
- XamlPathDataSerializer.cs
- ReferencedAssembly.cs
- HistoryEventArgs.cs
- ClientSettings.cs
- ClientRoleProvider.cs
- SafeHandles.cs
- SmiSettersStream.cs
- Scheduler.cs
- XmlToDatasetMap.cs
- Exception.cs
- ApplicationServiceManager.cs
- ETagAttribute.cs
- DbConnectionPoolGroup.cs
- TargetControlTypeCache.cs
- WeakHashtable.cs
- WorkflowMessageEventArgs.cs
- XmlWellformedWriter.cs
- ServiceMetadataPublishingElement.cs
- UnmanagedHandle.cs
- ImageSource.cs
- DesignTimeType.cs
- QuaternionAnimationBase.cs
- SmiMetaData.cs
- RelatedView.cs
- TextDecoration.cs
- VectorCollectionConverter.cs
- DropShadowEffect.cs
- DataServiceOperationContext.cs
- Trace.cs
- PagesChangedEventArgs.cs
- SystemException.cs
- TextOutput.cs
- SchemaName.cs
- ContentIterators.cs
- DataControlImageButton.cs
- SiteMembershipCondition.cs
- HtmlContainerControl.cs
- LightweightEntityWrapper.cs
- Font.cs
- PropertyRecord.cs
- GeneralTransform3DGroup.cs
- SuppressMergeCheckAttribute.cs
- HttpListenerRequestUriBuilder.cs
- MetadataArtifactLoaderResource.cs
- ToolStripProgressBar.cs
- WSFederationHttpBindingElement.cs
- BitmapCodecInfo.cs
- TreeNodeStyleCollection.cs
- ByteAnimationBase.cs
- ComponentCollection.cs
- PipelineModuleStepContainer.cs
- HandlerMappingMemo.cs
- UnknownBitmapDecoder.cs
- XmlAttributeAttribute.cs
- OleDbDataReader.cs
- ContentDisposition.cs
- PopupEventArgs.cs
- ActiveXContainer.cs
- Rotation3DKeyFrameCollection.cs
- Models.cs
- WindowsEditBoxRange.cs
- XmlILModule.cs
- ButtonFieldBase.cs
- SuppressMergeCheckAttribute.cs
- FragmentQueryKB.cs
- bidPrivateBase.cs
- HostedAspNetEnvironment.cs
- BindingExpressionBase.cs
- WebPartCloseVerb.cs
- HuffCodec.cs
- WebServiceFault.cs
- UmAlQuraCalendar.cs
- ListDictionary.cs
- ELinqQueryState.cs
- ImportCatalogPart.cs
- Attachment.cs
- SocketException.cs
- DataGridTablesFactory.cs
- DateTimeSerializationSection.cs
- EntitySet.cs