Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Design / MessageFilters / ReadonlyMessageFilter.cs / 1305376 / ReadonlyMessageFilter.cs
namespace System.Workflow.ComponentModel.Design { using System; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; #region Class ReadonlyMessageFilter //All Coordinates passed in physical coordinate system //Some of the functions will have coordinates in screen coordinates ie ShowContextMenu internal sealed class ReadonlyMessageFilter : WorkflowDesignerMessageFilter { #region Members and Contructor/Destruction public ReadonlyMessageFilter() { } #endregion #region MessageFilter Overridables protected override bool OnMouseDown(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseMove(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseUp(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseDoubleClick(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseEnter(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseHover(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseLeave() { return true; } protected override bool OnMouseWheel(MouseEventArgs eventArgs) { return true; } protected override bool OnMouseCaptureChanged() { return true; } protected override bool OnDragEnter(DragEventArgs eventArgs) { return true; } protected override bool OnDragOver(DragEventArgs eventArgs) { return true; } protected override bool OnDragLeave() { return true; } protected override bool OnDragDrop(DragEventArgs eventArgs) { return true; } protected override bool OnGiveFeedback(GiveFeedbackEventArgs gfbevent) { return true; } protected override bool OnQueryContinueDrag(QueryContinueDragEventArgs qcdevent) { return true; } protected override bool OnKeyDown(KeyEventArgs eventArgs) { return true; } protected override bool OnKeyUp(KeyEventArgs eventArgs) { return true; } protected override bool OnShowContextMenu(Point menuPoint) { return true; } #endregion } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CustomWebEventKey.cs
- AmbientProperties.cs
- counter.cs
- Line.cs
- Identity.cs
- MediaElement.cs
- BitmapData.cs
- MemoryPressure.cs
- IIS7WorkerRequest.cs
- ExtensionsSection.cs
- UIPermission.cs
- WebPartsSection.cs
- EntityDataSourceEntityTypeFilterItem.cs
- HttpModuleAction.cs
- TextDecorations.cs
- Object.cs
- Double.cs
- BitmapEffectDrawing.cs
- WebControlsSection.cs
- Brushes.cs
- DockingAttribute.cs
- CssTextWriter.cs
- _ListenerRequestStream.cs
- ScrollChangedEventArgs.cs
- AsyncCodeActivityContext.cs
- UIElement3D.cs
- peersecurityelement.cs
- SchemaObjectWriter.cs
- OLEDB_Enum.cs
- StaticSiteMapProvider.cs
- UnsafeNativeMethods.cs
- RtfToken.cs
- XmlWrappingReader.cs
- ContentPresenter.cs
- ScalarRestriction.cs
- SingleAnimation.cs
- PartialCachingAttribute.cs
- CodeLabeledStatement.cs
- NativeRecognizer.cs
- Suspend.cs
- KnownTypesHelper.cs
- GridSplitter.cs
- LinqDataSourceUpdateEventArgs.cs
- EntityCommandCompilationException.cs
- MetadataReference.cs
- ManagementEventWatcher.cs
- AssemblyInfo.cs
- IsolatedStorageFilePermission.cs
- SharedConnectionWorkflowTransactionService.cs
- Pair.cs
- SimpleType.cs
- PrimarySelectionGlyph.cs
- TraceContext.cs
- WebExceptionStatus.cs
- TraceSection.cs
- WpfXamlType.cs
- RelationshipNavigation.cs
- COM2PictureConverter.cs
- ClassHandlersStore.cs
- EventManager.cs
- TextDecorationCollection.cs
- smtppermission.cs
- CaretElement.cs
- VerticalAlignConverter.cs
- NameNode.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Closure.cs
- SelectionItemPattern.cs
- DispatcherExceptionFilterEventArgs.cs
- Selector.cs
- MsmqInputMessagePool.cs
- AttachedPropertyMethodSelector.cs
- BindingList.cs
- ModuleBuilder.cs
- HttpContextWrapper.cs
- TypeReference.cs
- DesignerInterfaces.cs
- ClientSession.cs
- Bidi.cs
- ConfigurationValues.cs
- CopyOnWriteList.cs
- TypeConverter.cs
- Assert.cs
- DefaultPerformanceCounters.cs
- DataControlFieldCell.cs
- CategoryAttribute.cs
- XmlTextAttribute.cs
- EntityContainerEmitter.cs
- MSHTMLHost.cs
- UnsafeNativeMethods.cs
- TextTrailingCharacterEllipsis.cs
- OdbcReferenceCollection.cs
- ExecutorLocksHeldException.cs
- HashCodeCombiner.cs
- Dispatcher.cs
- DataListCommandEventArgs.cs
- PinnedBufferMemoryStream.cs
- VarRemapper.cs
- HttpProxyTransportBindingElement.cs
- SuppressMessageAttribute.cs