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
- GridViewRow.cs
- ArgumentNullException.cs
- DictionaryEntry.cs
- DataGridRow.cs
- LoopExpression.cs
- WorkflowRuntimeElement.cs
- ObjectViewEntityCollectionData.cs
- RuntimeCompatibilityAttribute.cs
- HttpPostedFile.cs
- PseudoWebRequest.cs
- RightsManagementEncryptionTransform.cs
- AnnouncementEventArgs.cs
- LongTypeConverter.cs
- SeverityFilter.cs
- DeclarativeExpressionConditionDeclaration.cs
- MemberDomainMap.cs
- MultiBindingExpression.cs
- ClipboardData.cs
- DoubleAnimationUsingPath.cs
- ColumnWidthChangingEvent.cs
- SafeArrayTypeMismatchException.cs
- PropertyEmitter.cs
- diagnosticsswitches.cs
- SiteMapProvider.cs
- EncryptedReference.cs
- Image.cs
- FormViewPagerRow.cs
- PointCollectionValueSerializer.cs
- RightsManagementUser.cs
- SingleConverter.cs
- DigestTraceRecordHelper.cs
- DrawListViewSubItemEventArgs.cs
- NonClientArea.cs
- LoginCancelEventArgs.cs
- LineGeometry.cs
- SqlClientPermission.cs
- BinaryParser.cs
- DataGridColumnCollection.cs
- CheckBoxRenderer.cs
- MultiView.cs
- PartialCachingAttribute.cs
- AttachedPropertyMethodSelector.cs
- TCPListener.cs
- IisTraceWebEventProvider.cs
- XmlIlVisitor.cs
- UnwrappedTypesXmlSerializerManager.cs
- SpoolingTaskBase.cs
- StylusDevice.cs
- PassportPrincipal.cs
- RbTree.cs
- InputProcessorProfiles.cs
- ShortcutKeysEditor.cs
- DbReferenceCollection.cs
- FixedSchema.cs
- WeakReadOnlyCollection.cs
- Trace.cs
- RowsCopiedEventArgs.cs
- PasswordTextNavigator.cs
- FrameworkContentElementAutomationPeer.cs
- ConfigurationLocationCollection.cs
- WebPartEditVerb.cs
- SqlGatherConsumedAliases.cs
- ValidatingPropertiesEventArgs.cs
- RenderingEventArgs.cs
- TypeConverterHelper.cs
- WebPartConnectionsCancelEventArgs.cs
- MouseBinding.cs
- TextLine.cs
- ObjectDataSourceView.cs
- OracleCommandSet.cs
- PackWebRequestFactory.cs
- DataGridToolTip.cs
- HitTestParameters3D.cs
- DataRow.cs
- XsdCachingReader.cs
- AutomationProperties.cs
- ToolTipService.cs
- WebServicesDescriptionAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- EventWaitHandle.cs
- RegexWorker.cs
- TextEditorDragDrop.cs
- DependencyObjectPropertyDescriptor.cs
- DataListComponentEditor.cs
- DashStyles.cs
- ResolveResponse.cs
- CurrencyManager.cs
- WebBrowser.cs
- MimeMapping.cs
- BoundField.cs
- localization.cs
- BamlRecordReader.cs
- GenericUriParser.cs
- ParallelDesigner.cs
- CodeMethodReturnStatement.cs
- ExpandSegment.cs
- X509CertificateStore.cs
- GlyphTypeface.cs
- CollectionViewGroupInternal.cs
- OleDbParameter.cs