Code:
/ 4.0 / 4.0 / 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; } /// /// /// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EmbeddedMailObjectsCollection.cs
- BaseParaClient.cs
- ClickablePoint.cs
- ValidatingReaderNodeData.cs
- Point3DKeyFrameCollection.cs
- SvcMapFileSerializer.cs
- MultiDataTrigger.cs
- DataGridViewComponentPropertyGridSite.cs
- CodeVariableDeclarationStatement.cs
- WebConfigurationHostFileChange.cs
- ClientData.cs
- ValueSerializerAttribute.cs
- Utils.cs
- ContourSegment.cs
- HttpCacheVary.cs
- SqlNodeAnnotation.cs
- ObjectTokenCategory.cs
- LicenseException.cs
- DataSvcMapFileSerializer.cs
- GeometryCollection.cs
- DbConnectionPoolGroup.cs
- Msec.cs
- ParserOptions.cs
- ApplicationDirectory.cs
- TableRowGroup.cs
- ContextMenu.cs
- HtmlInputButton.cs
- _HTTPDateParse.cs
- BaseTreeIterator.cs
- BaseValidatorDesigner.cs
- XmlNodeWriter.cs
- XmlDataSourceView.cs
- QuadraticBezierSegment.cs
- CatalogPart.cs
- Exception.cs
- DirectoryNotFoundException.cs
- EventLogPermissionEntry.cs
- SmtpDigestAuthenticationModule.cs
- RecipientInfo.cs
- DataGridViewTextBoxEditingControl.cs
- RowBinding.cs
- UserInitiatedNavigationPermission.cs
- FamilyTypefaceCollection.cs
- ValueOfAction.cs
- MonitorWrapper.cs
- ThreadSafeMessageFilterTable.cs
- SpecialNameAttribute.cs
- ConstantSlot.cs
- TransformerInfoCollection.cs
- TraceListeners.cs
- COM2ExtendedUITypeEditor.cs
- DateTimeParse.cs
- ColorIndependentAnimationStorage.cs
- ProcessInfo.cs
- DataDocumentXPathNavigator.cs
- BitmapEffectDrawingContextWalker.cs
- ListItemCollection.cs
- Environment.cs
- PerformanceCounterManager.cs
- GiveFeedbackEventArgs.cs
- WebDescriptionAttribute.cs
- WorkflowInstanceRecord.cs
- AspNetHostingPermission.cs
- WmlPanelAdapter.cs
- Exception.cs
- ToolStripButton.cs
- NewItemsContextMenuStrip.cs
- MemberInfoSerializationHolder.cs
- CodeConditionStatement.cs
- SingleTagSectionHandler.cs
- CompositionAdorner.cs
- EntityDataSourceQueryBuilder.cs
- EventSource.cs
- EditorZoneAutoFormat.cs
- InsufficientMemoryException.cs
- KeyInterop.cs
- InvalidOperationException.cs
- Visual3D.cs
- TransactionValidationBehavior.cs
- NumberSubstitution.cs
- Scene3D.cs
- SafeMILHandle.cs
- EntityDataSourceState.cs
- SerializationObjectManager.cs
- SHA512Managed.cs
- FtpRequestCacheValidator.cs
- RadioButtonAutomationPeer.cs
- PageRequestManager.cs
- SystemThemeKey.cs
- NetCodeGroup.cs
- LiteralText.cs
- relpropertyhelper.cs
- TypeLibConverter.cs
- OdbcDataReader.cs
- OdbcErrorCollection.cs
- ICspAsymmetricAlgorithm.cs
- MobileUserControl.cs
- SimpleWebHandlerParser.cs
- SecurityKeyIdentifierClause.cs
- PageStatePersister.cs