Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ObjectDataProvider.cs
- GridViewRowPresenter.cs
- BitStream.cs
- BitmapMetadata.cs
- CodeMethodInvokeExpression.cs
- Baml2006KeyRecord.cs
- serverconfig.cs
- ControlIdConverter.cs
- PointLightBase.cs
- ParserStreamGeometryContext.cs
- OperationCanceledException.cs
- X509InitiatorCertificateClientElement.cs
- CallbackValidator.cs
- Application.cs
- XmlNamespaceManager.cs
- IPGlobalProperties.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Types.cs
- PassportPrincipal.cs
- SocketAddress.cs
- UrlMapping.cs
- SearchForVirtualItemEventArgs.cs
- DictionaryTraceRecord.cs
- Identity.cs
- SynchronizationLockException.cs
- ipaddressinformationcollection.cs
- ProvidersHelper.cs
- WebConfigurationHost.cs
- SrgsElementList.cs
- ConnectionStringSettings.cs
- SchemaTableOptionalColumn.cs
- WebBaseEventKeyComparer.cs
- TrackingProvider.cs
- ListViewItem.cs
- PageClientProxyGenerator.cs
- NullableIntAverageAggregationOperator.cs
- NoResizeHandleGlyph.cs
- ClientSponsor.cs
- BufferModeSettings.cs
- DynamicResourceExtensionConverter.cs
- DateTimeSerializationSection.cs
- EventWaitHandle.cs
- SettingsProviderCollection.cs
- CookielessData.cs
- Control.cs
- DateTimePickerDesigner.cs
- TraceRecord.cs
- TextClipboardData.cs
- CodeComment.cs
- ChannelDispatcherCollection.cs
- HeaderUtility.cs
- XmlFormatReaderGenerator.cs
- DataObjectEventArgs.cs
- ToolboxItemLoader.cs
- HwndSourceParameters.cs
- PermissionListSet.cs
- HyperLinkField.cs
- GregorianCalendarHelper.cs
- StructuredTypeInfo.cs
- Point3DAnimationBase.cs
- PageCatalogPart.cs
- GroupBoxRenderer.cs
- ObjectIDGenerator.cs
- FillErrorEventArgs.cs
- SelectedCellsChangedEventArgs.cs
- ListControlBoundActionList.cs
- ExpressionEditorAttribute.cs
- XmlSchemaImporter.cs
- DataGridAddNewRow.cs
- OleDbDataAdapter.cs
- messageonlyhwndwrapper.cs
- RSAPKCS1SignatureDeformatter.cs
- UserControl.cs
- PasswordBoxAutomationPeer.cs
- BrowserDefinition.cs
- SqlDataSource.cs
- MdImport.cs
- _ListenerResponseStream.cs
- NavigationExpr.cs
- xdrvalidator.cs
- VersionedStreamOwner.cs
- HwndSourceParameters.cs
- CallbackHandler.cs
- Camera.cs
- _PooledStream.cs
- ToolboxItem.cs
- AbsoluteQuery.cs
- WeakRefEnumerator.cs
- DescendentsWalker.cs
- ProfessionalColors.cs
- prompt.cs
- FrameworkRichTextComposition.cs
- RotateTransform3D.cs
- QueryExecutionOption.cs
- TemplateNameScope.cs
- XmlParserContext.cs
- Queue.cs
- ArgumentOutOfRangeException.cs
- ByteStream.cs
- SystemColors.cs