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
- RadioButton.cs
- Calendar.cs
- ProgressBarAutomationPeer.cs
- CalloutQueueItem.cs
- XmlElementElementCollection.cs
- oledbmetadatacollectionnames.cs
- GraphicsState.cs
- ListControl.cs
- ExeConfigurationFileMap.cs
- SystemWebCachingSectionGroup.cs
- HtmlTableCell.cs
- ScriptControlManager.cs
- ClipboardData.cs
- XmlC14NWriter.cs
- DesignerHierarchicalDataSourceView.cs
- SizeFConverter.cs
- DecimalFormatter.cs
- SimpleWebHandlerParser.cs
- XPathNavigatorKeyComparer.cs
- COM2PropertyDescriptor.cs
- TrustSection.cs
- EventTask.cs
- Atom10FormatterFactory.cs
- Transform.cs
- LocalizationParserHooks.cs
- RequiredAttributeAttribute.cs
- PowerEase.cs
- RelatedPropertyManager.cs
- NameSpaceExtractor.cs
- ParallelEnumerable.cs
- CaseInsensitiveComparer.cs
- SecurityContextSecurityToken.cs
- DataGridViewComboBoxColumn.cs
- Thumb.cs
- WorkflowInstanceRecord.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- ConfigurationElementProperty.cs
- TransformCollection.cs
- TextElement.cs
- BamlLocalizableResource.cs
- ExternalException.cs
- SoapCodeExporter.cs
- Point3DKeyFrameCollection.cs
- SqlBooleanizer.cs
- _ContextAwareResult.cs
- XmlWhitespace.cs
- DataListCommandEventArgs.cs
- FormsAuthenticationConfiguration.cs
- DesignerCalendarAdapter.cs
- UidManager.cs
- XhtmlBasicLinkAdapter.cs
- ValidateNames.cs
- CriticalFinalizerObject.cs
- RelationshipManager.cs
- PeerInputChannel.cs
- NotImplementedException.cs
- _ConnectionGroup.cs
- FastEncoderWindow.cs
- CorrelationScope.cs
- UserPersonalizationStateInfo.cs
- BypassElementCollection.cs
- SimpleMailWebEventProvider.cs
- BindingWorker.cs
- CacheAxisQuery.cs
- ServiceEndpointElement.cs
- Base64Encoder.cs
- Point3DAnimationBase.cs
- ControlParameter.cs
- ThemeableAttribute.cs
- InternalPermissions.cs
- FontEmbeddingManager.cs
- HScrollBar.cs
- DeferredTextReference.cs
- DictionaryBase.cs
- LineVisual.cs
- EntityDataSourceWizardForm.cs
- SplitterPanel.cs
- SizeIndependentAnimationStorage.cs
- PeerApplicationLaunchInfo.cs
- Scene3D.cs
- ObjectConverter.cs
- CompensationExtension.cs
- ASCIIEncoding.cs
- xmlglyphRunInfo.cs
- ServerValidateEventArgs.cs
- TextShapeableCharacters.cs
- ITreeGenerator.cs
- Debug.cs
- SolidColorBrush.cs
- ChildTable.cs
- MetabaseServerConfig.cs
- DataKey.cs
- UriParserTemplates.cs
- DataTemplateSelector.cs
- XmlExpressionDumper.cs
- AstTree.cs
- XmlSchema.cs
- XamlLoadErrorInfo.cs
- DataViewSettingCollection.cs
- DetailsViewInsertedEventArgs.cs