Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FontNameConverter.cs
- ObsoleteAttribute.cs
- RuleProcessor.cs
- StrokeCollectionDefaultValueFactory.cs
- EntityDataSourceConfigureObjectContext.cs
- ContentType.cs
- BitmapDownload.cs
- TaiwanCalendar.cs
- EntityDataSourceState.cs
- UnionQueryOperator.cs
- GenerateScriptTypeAttribute.cs
- LockedHandleGlyph.cs
- StrokeNode.cs
- HexParser.cs
- WebBrowserDocumentCompletedEventHandler.cs
- LightweightCodeGenerator.cs
- XhtmlBasicPageAdapter.cs
- AdCreatedEventArgs.cs
- XmlProcessingInstruction.cs
- DataGridViewCellStateChangedEventArgs.cs
- TextEditorDragDrop.cs
- DaylightTime.cs
- WmpBitmapDecoder.cs
- DecimalConstantAttribute.cs
- Helper.cs
- AspNetSynchronizationContext.cs
- TimeIntervalCollection.cs
- XPathNavigatorReader.cs
- IgnoreSection.cs
- OAVariantLib.cs
- MarkupCompilePass1.cs
- ArrangedElementCollection.cs
- PageWrapper.cs
- ListParaClient.cs
- ResourceDictionary.cs
- Vector.cs
- TemplateApplicationHelper.cs
- IncrementalCompileAnalyzer.cs
- GeneralTransform.cs
- BaseDataBoundControl.cs
- DataBoundControlHelper.cs
- HttpModuleCollection.cs
- ListViewGroup.cs
- DocumentOutline.cs
- JsonClassDataContract.cs
- DataGridViewDesigner.cs
- ControlCollection.cs
- XmlDataImplementation.cs
- WebRequestModuleElementCollection.cs
- StringConverter.cs
- ResolvedKeyFrameEntry.cs
- Utils.cs
- EndpointAddressElementBase.cs
- PopOutPanel.cs
- NamedElement.cs
- MouseButtonEventArgs.cs
- XD.cs
- ApplicationServiceHelper.cs
- DesignerVerbToolStripMenuItem.cs
- ConfigXmlCDataSection.cs
- DataGridViewCell.cs
- PropertyTabChangedEvent.cs
- PixelFormats.cs
- LocalizabilityAttribute.cs
- DataGridViewRowHeaderCell.cs
- FlowDocumentReader.cs
- FontStyles.cs
- DeobfuscatingStream.cs
- IdentityReference.cs
- EventLogPermissionAttribute.cs
- DataSetSchema.cs
- SecurityRuntime.cs
- TextSelectionProcessor.cs
- SerializationBinder.cs
- diagnosticsswitches.cs
- HebrewNumber.cs
- LoginViewDesigner.cs
- RootBrowserWindowAutomationPeer.cs
- AssemblySettingAttributes.cs
- CellTreeNodeVisitors.cs
- ShaperBuffers.cs
- CfgSemanticTag.cs
- ToolStripTextBox.cs
- KnowledgeBase.cs
- DbProviderFactory.cs
- DataRelationPropertyDescriptor.cs
- SubclassTypeValidatorAttribute.cs
- DeferredReference.cs
- ObjectView.cs
- Module.cs
- ControlEvent.cs
- SecurityDocument.cs
- BamlReader.cs
- XmlComplianceUtil.cs
- XmlElementAttribute.cs
- UInt16.cs
- ActivationArguments.cs
- XPathNodeIterator.cs
- ToolboxDataAttribute.cs
- NullableDoubleAverageAggregationOperator.cs