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
- ObjectStorage.cs
- MetadataArtifactLoaderFile.cs
- KeyConstraint.cs
- ClientBuildManager.cs
- ThreadLocal.cs
- XPathScanner.cs
- FormsAuthenticationEventArgs.cs
- DesignBindingPropertyDescriptor.cs
- TextTreeExtractElementUndoUnit.cs
- Pair.cs
- HostingEnvironmentSection.cs
- CqlWriter.cs
- XamlClipboardData.cs
- WebPartDisplayModeCancelEventArgs.cs
- Hyperlink.cs
- EntityClassGenerator.cs
- SliderAutomationPeer.cs
- Animatable.cs
- EncoderReplacementFallback.cs
- SchemaInfo.cs
- MethodRental.cs
- TextContainerChangedEventArgs.cs
- XmlSchemaObjectTable.cs
- ThreadStaticAttribute.cs
- DirectoryObjectSecurity.cs
- ForceCopyBuildProvider.cs
- ToggleButtonAutomationPeer.cs
- SecurityPolicySection.cs
- ExpressionContext.cs
- ValidationRule.cs
- ObjectListTitleAttribute.cs
- SchemaElement.cs
- XmlIncludeAttribute.cs
- Transform3D.cs
- CodeAccessPermission.cs
- ListViewItem.cs
- InitializationEventAttribute.cs
- RequestNavigateEventArgs.cs
- IndexedGlyphRun.cs
- CodeSnippetStatement.cs
- xml.cs
- PreservationFileWriter.cs
- MediaTimeline.cs
- OuterProxyWrapper.cs
- EdmEntityTypeAttribute.cs
- CodeAttributeArgumentCollection.cs
- MatchingStyle.cs
- NumberSubstitution.cs
- ElementInit.cs
- TransportSecurityBindingElement.cs
- PaperSource.cs
- PriorityBinding.cs
- DbConnectionPool.cs
- AssemblyBuilderData.cs
- WsdlImporter.cs
- Size.cs
- ManifestBasedResourceGroveler.cs
- LinqToSqlWrapper.cs
- AxDesigner.cs
- AncillaryOps.cs
- PeerNameRecordCollection.cs
- AbstractExpressions.cs
- UserPreference.cs
- DataGridViewLayoutData.cs
- Message.cs
- SqlParameter.cs
- SqlFacetAttribute.cs
- XmlILStorageConverter.cs
- AssociationTypeEmitter.cs
- InternalMappingException.cs
- InternalMappingException.cs
- RuntimeVariableList.cs
- ResourceManager.cs
- FileDialogPermission.cs
- NativeMethods.cs
- StringBuilder.cs
- DescendantOverDescendantQuery.cs
- WizardStepBase.cs
- DataGridViewCellFormattingEventArgs.cs
- Types.cs
- DBPropSet.cs
- DesignerLoader.cs
- RotateTransform.cs
- Hash.cs
- RegexCompilationInfo.cs
- RichTextBoxAutomationPeer.cs
- ConfigurationStrings.cs
- CalloutQueueItem.cs
- WebPartConnection.cs
- BmpBitmapDecoder.cs
- ListControlConvertEventArgs.cs
- behaviorssection.cs
- MetadataArtifactLoaderResource.cs
- PeerCredential.cs
- RunInstallerAttribute.cs
- DocobjHost.cs
- XmlILStorageConverter.cs
- TypeSystemHelpers.cs
- XmlNodeWriter.cs
- FileRecordSequenceHelper.cs