Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HandledMouseEvent.cs / 1305376 / 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;
}
///
///
///
/// Gets or sets a value
/// indicating whether the event is handled.
///
///
public bool Handled
{
get
{
return this.handled;
}
set
{
this.handled = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WinEventWrap.cs
- EntityConnectionStringBuilderItem.cs
- Bidi.cs
- QuadraticBezierSegment.cs
- TdsRecordBufferSetter.cs
- Effect.cs
- TreeViewEvent.cs
- WindowsUpDown.cs
- PositiveTimeSpanValidatorAttribute.cs
- Console.cs
- ThaiBuddhistCalendar.cs
- EncoderParameter.cs
- ButtonRenderer.cs
- BamlRecords.cs
- WebPartCollection.cs
- MappingItemCollection.cs
- DataTableReaderListener.cs
- PropertyInformationCollection.cs
- TextTreeNode.cs
- PersistenceProviderBehavior.cs
- XPathScanner.cs
- IdnElement.cs
- CqlWriter.cs
- Activity.cs
- _SSPISessionCache.cs
- EncryptedType.cs
- ConnectionStringsExpressionBuilder.cs
- SamlAction.cs
- SelectedGridItemChangedEvent.cs
- KnownBoxes.cs
- UiaCoreApi.cs
- Button.cs
- Metafile.cs
- Icon.cs
- SocketException.cs
- ListViewCancelEventArgs.cs
- ChangeNode.cs
- WindowsRegion.cs
- MobileErrorInfo.cs
- TableLayout.cs
- TextComposition.cs
- ReliableSessionBindingElementImporter.cs
- SecurityCriticalDataForSet.cs
- WindowVisualStateTracker.cs
- SdlChannelSink.cs
- TextEditorCopyPaste.cs
- PrefixHandle.cs
- WindowsSysHeader.cs
- TypeDependencyAttribute.cs
- CreateParams.cs
- CustomErrorsSectionWrapper.cs
- ThreadPool.cs
- DataGridViewHeaderCell.cs
- MILUtilities.cs
- SecurityToken.cs
- EntitySqlQueryCacheEntry.cs
- SQLMoney.cs
- TextParagraphProperties.cs
- TextDecorationUnitValidation.cs
- QueryStringParameter.cs
- ProviderSettings.cs
- IdentityNotMappedException.cs
- SqlCommand.cs
- PngBitmapEncoder.cs
- WebServiceTypeData.cs
- ProfileSettingsCollection.cs
- GPRECT.cs
- MarkupExtensionParser.cs
- cookiecontainer.cs
- XhtmlBasicImageAdapter.cs
- WebMessageFormatHelper.cs
- SimpleHandlerBuildProvider.cs
- ControlBindingsConverter.cs
- RightsManagementEncryptionTransform.cs
- Library.cs
- PerformanceCounterCategory.cs
- MatrixTransform3D.cs
- DataGridViewToolTip.cs
- HScrollProperties.cs
- TraceXPathNavigator.cs
- OverflowException.cs
- PointF.cs
- ModifierKeysConverter.cs
- UnmanagedHandle.cs
- XamlWrapperReaders.cs
- RegistrySecurity.cs
- Pens.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- JpegBitmapDecoder.cs
- SemanticKeyElement.cs
- _AcceptOverlappedAsyncResult.cs
- InvalidPrinterException.cs
- WebConfigManager.cs
- MenuCommand.cs
- DispatchWrapper.cs
- SchemaTableColumn.cs
- COM2ExtendedTypeConverter.cs
- MessageLogger.cs
- ValidatorCompatibilityHelper.cs
- ScrollBarRenderer.cs