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
- CompareInfo.cs
- SimpleFileLog.cs
- ISAPIRuntime.cs
- HttpCookieCollection.cs
- DispatcherSynchronizationContext.cs
- HttpProtocolImporter.cs
- unsafenativemethodstextservices.cs
- BitmapImage.cs
- ConstructorExpr.cs
- PixelFormat.cs
- httpapplicationstate.cs
- ProtocolsSection.cs
- Soap12ProtocolImporter.cs
- NaturalLanguageHyphenator.cs
- IntSecurity.cs
- IImplicitResourceProvider.cs
- EntityTypeBase.cs
- UdpChannelFactory.cs
- ValidatingPropertiesEventArgs.cs
- MethodImplAttribute.cs
- AttributeAction.cs
- NewItemsContextMenuStrip.cs
- XmlSchemaSimpleTypeRestriction.cs
- ConstrainedGroup.cs
- MailWebEventProvider.cs
- SystemInfo.cs
- BindingMAnagerBase.cs
- AsymmetricAlgorithm.cs
- ImageCodecInfoPrivate.cs
- BindingContext.cs
- DataFormat.cs
- Empty.cs
- RowBinding.cs
- ButtonRenderer.cs
- Types.cs
- SafeUserTokenHandle.cs
- AccessorTable.cs
- LinqDataSourceHelper.cs
- CoreSwitches.cs
- EngineSiteSapi.cs
- TransactionFlowOption.cs
- GlyphRunDrawing.cs
- ExpressionBindings.cs
- Buffer.cs
- DocumentViewer.cs
- PackageDigitalSignatureManager.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SmtpFailedRecipientsException.cs
- AnimationStorage.cs
- QueryableDataSource.cs
- XmlMtomReader.cs
- StyleSelector.cs
- SetStateDesigner.cs
- AsyncOperationContext.cs
- UrlMappingCollection.cs
- ColumnClickEvent.cs
- XmlChildEnumerator.cs
- FunctionDescription.cs
- FontCacheUtil.cs
- DocumentReferenceCollection.cs
- SerializableAttribute.cs
- TimelineCollection.cs
- XsltConvert.cs
- CalendarKeyboardHelper.cs
- Journal.cs
- TargetParameterCountException.cs
- LoadWorkflowByKeyAsyncResult.cs
- TimeSpanConverter.cs
- ProfileSection.cs
- XmlDocumentType.cs
- Pkcs7Signer.cs
- XamlGridLengthSerializer.cs
- TimeoutValidationAttribute.cs
- EdmToObjectNamespaceMap.cs
- StreamGeometry.cs
- KeyValuePairs.cs
- MimePart.cs
- ComponentResourceKeyConverter.cs
- ThreadNeutralSemaphore.cs
- ImmutableObjectAttribute.cs
- BindingEntityInfo.cs
- ResourceIDHelper.cs
- SafeNativeMethods.cs
- ListSortDescription.cs
- DbConnectionPoolGroupProviderInfo.cs
- StyleXamlTreeBuilder.cs
- TextPatternIdentifiers.cs
- SignedPkcs7.cs
- PathGeometry.cs
- XmlQueryRuntime.cs
- ExceptQueryOperator.cs
- DispatchWrapper.cs
- PrintDialogException.cs
- ActivityInterfaces.cs
- DependencyProperty.cs
- BrushMappingModeValidation.cs
- DuplicateDetector.cs
- MethodCallExpression.cs
- DataChangedEventManager.cs
- ColumnWidthChangingEvent.cs