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
- securestring.cs
- DesignBindingConverter.cs
- LineSegment.cs
- ZipIOExtraField.cs
- TextEditorTables.cs
- httpapplicationstate.cs
- GPPOINTF.cs
- RecognizerInfo.cs
- UICuesEvent.cs
- _DomainName.cs
- DataGridColumnReorderingEventArgs.cs
- DocumentScope.cs
- StringValidator.cs
- IndexedGlyphRun.cs
- HyperLinkColumn.cs
- ETagAttribute.cs
- CompositeCollection.cs
- DSASignatureDeformatter.cs
- Expr.cs
- GenericsInstances.cs
- ProgressiveCrcCalculatingStream.cs
- ConstantExpression.cs
- SortQuery.cs
- FileLoadException.cs
- CodeTypeOfExpression.cs
- ArraySet.cs
- DataControlFieldTypeEditor.cs
- SendMailErrorEventArgs.cs
- SharedPersonalizationStateInfo.cs
- TypeLibConverter.cs
- ActivationWorker.cs
- ContextMenuStripGroup.cs
- ExtentKey.cs
- HtmlWindowCollection.cs
- Page.cs
- DateTimeConverter.cs
- HelpInfo.cs
- CustomValidator.cs
- StylusTouchDevice.cs
- ResourceDisplayNameAttribute.cs
- BitmapMetadata.cs
- DynamicRendererThreadManager.cs
- SourceItem.cs
- RectAnimationClockResource.cs
- IncomingWebRequestContext.cs
- LocationSectionRecord.cs
- ping.cs
- NavigationWindow.cs
- ConfigXmlWhitespace.cs
- TogglePatternIdentifiers.cs
- ProcessHostServerConfig.cs
- VisualBasicDesignerHelper.cs
- CqlBlock.cs
- CollectionEditorDialog.cs
- ContextStack.cs
- ToolStripRendererSwitcher.cs
- CollectionBase.cs
- EnterpriseServicesHelper.cs
- WriteLine.cs
- XmlILAnnotation.cs
- TextContainerHelper.cs
- RealProxy.cs
- WorkflowServiceHostFactory.cs
- TemplateBuilder.cs
- CompositeFontInfo.cs
- CodeTypeDelegate.cs
- XmlCharacterData.cs
- SqlConnectionHelper.cs
- DefaultHttpHandler.cs
- Binding.cs
- ErrorWebPart.cs
- LinkButton.cs
- DefaultEventAttribute.cs
- ExceptionValidationRule.cs
- NetworkAddressChange.cs
- DocumentOrderQuery.cs
- CachedTypeface.cs
- EventSchemaTraceListener.cs
- ContextMarshalException.cs
- PasswordTextNavigator.cs
- WebExceptionStatus.cs
- CompensateDesigner.cs
- CookieParameter.cs
- Lasso.cs
- HttpInputStream.cs
- StdValidatorsAndConverters.cs
- ResourceExpression.cs
- ModelTreeManager.cs
- ScaleTransform.cs
- StrokeSerializer.cs
- FusionWrap.cs
- EdmComplexPropertyAttribute.cs
- BlurEffect.cs
- NotFiniteNumberException.cs
- RecordsAffectedEventArgs.cs
- InvalidOperationException.cs
- SoapCodeExporter.cs
- DataObjectPastingEventArgs.cs
- LoginCancelEventArgs.cs
- ToolStripDropDownClosingEventArgs.cs