Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ToolStripContentPanel.cs
- InstanceDescriptor.cs
- RSAProtectedConfigurationProvider.cs
- LineUtil.cs
- LazyLoadBehavior.cs
- AutomationAttributeInfo.cs
- DbgCompiler.cs
- MatrixAnimationBase.cs
- WebPartEventArgs.cs
- DataGridViewUtilities.cs
- PageAction.cs
- SmtpReplyReaderFactory.cs
- PointAnimationUsingKeyFrames.cs
- CaseKeyBox.xaml.cs
- Substitution.cs
- BinaryObjectReader.cs
- XamlPoint3DCollectionSerializer.cs
- QilExpression.cs
- Win32SafeHandles.cs
- EntityModelBuildProvider.cs
- CodeSpit.cs
- TextureBrush.cs
- ConfigurationManagerInternal.cs
- DataObjectSettingDataEventArgs.cs
- StylusDownEventArgs.cs
- FileLoadException.cs
- SafeLibraryHandle.cs
- CfgParser.cs
- XamlWrappingReader.cs
- CodeTypeMemberCollection.cs
- XmlSchemaImporter.cs
- ChannelPoolSettings.cs
- CaseInsensitiveOrdinalStringComparer.cs
- GlyphTypeface.cs
- DataBinding.cs
- UnsafeNativeMethods.cs
- AvTraceDetails.cs
- Cursors.cs
- XamlSerializationHelper.cs
- ElementProxy.cs
- ContainerControl.cs
- UnsafePeerToPeerMethods.cs
- XmlObjectSerializerReadContext.cs
- StateDesigner.cs
- DataGridViewCheckBoxColumn.cs
- ScrollBar.cs
- StylusButtonCollection.cs
- DataTableClearEvent.cs
- LinkClickEvent.cs
- ContractMapping.cs
- ResXBuildProvider.cs
- ECDiffieHellmanCngPublicKey.cs
- Rights.cs
- RadioButtonList.cs
- SimpleType.cs
- TableMethodGenerator.cs
- TextBox.cs
- XmlSchemaSequence.cs
- UnauthorizedWebPart.cs
- DeclarativeCatalogPart.cs
- FormCollection.cs
- InvokeWebService.cs
- XmlSchemaImporter.cs
- BinaryUtilClasses.cs
- PageOrientation.cs
- SearchForVirtualItemEventArgs.cs
- CodeParameterDeclarationExpression.cs
- DashStyles.cs
- DataMember.cs
- UInt32.cs
- DesignBindingPicker.cs
- ErrorProvider.cs
- StringWriter.cs
- VariableQuery.cs
- InternalDispatchObject.cs
- RegexInterpreter.cs
- mda.cs
- CorrelationKeyCalculator.cs
- XmlBinaryWriterSession.cs
- EntityContainerEmitter.cs
- RootProjectionNode.cs
- Size3DConverter.cs
- shaper.cs
- InputBinding.cs
- SmtpReplyReaderFactory.cs
- SplitterPanel.cs
- NumericUpDownAcceleration.cs
- CompilerWrapper.cs
- TypeResolvingOptions.cs
- FaultPropagationQuery.cs
- XsdDuration.cs
- SelectionEditingBehavior.cs
- TransferMode.cs
- WindowsTooltip.cs
- MergeLocalizationDirectives.cs
- BamlReader.cs
- CommonRemoteMemoryBlock.cs
- CodeBinaryOperatorExpression.cs
- FixedSOMTable.cs
- PolygonHotSpot.cs