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
- DispatcherOperation.cs
- CookielessHelper.cs
- RequiredAttributeAttribute.cs
- SchemaReference.cs
- Page.cs
- WebScriptMetadataFormatter.cs
- WebScriptServiceHostFactory.cs
- ListViewSortEventArgs.cs
- SingleConverter.cs
- PropertyFilter.cs
- CacheRequest.cs
- DPAPIProtectedConfigurationProvider.cs
- DecimalAnimationUsingKeyFrames.cs
- BindUriHelper.cs
- TemplateNameScope.cs
- ToolStripDropDownButton.cs
- WebSysDefaultValueAttribute.cs
- Repeater.cs
- ColumnResult.cs
- PersistChildrenAttribute.cs
- HttpDebugHandler.cs
- SimpleHandlerFactory.cs
- SelectionProcessor.cs
- ExceptionUtil.cs
- WebBodyFormatMessageProperty.cs
- ErrorLog.cs
- InstancePersistence.cs
- UpdatePanelTrigger.cs
- SqlUnionizer.cs
- KeyboardNavigation.cs
- embossbitmapeffect.cs
- path.cs
- SQLInt16.cs
- ViewGenerator.cs
- ToolStripPanelRow.cs
- WebPageTraceListener.cs
- Matrix.cs
- Point.cs
- ToggleButton.cs
- WindowsFormsHostPropertyMap.cs
- FileAuthorizationModule.cs
- SQLStringStorage.cs
- InputProviderSite.cs
- MatrixCamera.cs
- DataGridViewComboBoxCell.cs
- MoveSizeWinEventHandler.cs
- XmlSiteMapProvider.cs
- RootBrowserWindowProxy.cs
- LoadedOrUnloadedOperation.cs
- ListViewSelectEventArgs.cs
- TCPClient.cs
- ProcessHostConfigUtils.cs
- Perspective.cs
- PropertyPath.cs
- TemplatePartAttribute.cs
- Int64Animation.cs
- WindowCollection.cs
- WmlFormAdapter.cs
- SoapExtensionImporter.cs
- MemoryStream.cs
- CompiledAction.cs
- TypeConstant.cs
- ObjectDataSourceMethodEventArgs.cs
- ProgressChangedEventArgs.cs
- HandlerBase.cs
- EventTask.cs
- DictionarySectionHandler.cs
- TypeDescriptionProvider.cs
- _BaseOverlappedAsyncResult.cs
- QuestionEventArgs.cs
- FormViewDeletedEventArgs.cs
- DetailsViewRowCollection.cs
- StreamResourceInfo.cs
- XmlQueryCardinality.cs
- PackageRelationshipSelector.cs
- SymbolPair.cs
- BuildTopDownAttribute.cs
- WebHttpDispatchOperationSelector.cs
- BulletedListEventArgs.cs
- SpStreamWrapper.cs
- JoinTreeSlot.cs
- FontDialog.cs
- COM2EnumConverter.cs
- WebPartConnectionCollection.cs
- XmlSchemaObjectCollection.cs
- LineServices.cs
- PrintDialogException.cs
- EntityCommandExecutionException.cs
- StrokeFIndices.cs
- ExtentJoinTreeNode.cs
- DeferrableContentConverter.cs
- EntityDataSourceContextCreatingEventArgs.cs
- DockProviderWrapper.cs
- ToolStripGrip.cs
- DateTimeConverter.cs
- IntranetCredentialPolicy.cs
- FirstMatchCodeGroup.cs
- DependencyPropertyAttribute.cs
- TextWriterEngine.cs
- DiffuseMaterial.cs