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
- SystemMulticastIPAddressInformation.cs
- SiteMapNodeCollection.cs
- HttpChannelHelpers.cs
- CrossAppDomainChannel.cs
- NavigatingCancelEventArgs.cs
- WorkingDirectoryEditor.cs
- SwitchLevelAttribute.cs
- RequestCacheValidator.cs
- StringPropertyBuilder.cs
- StylusPointCollection.cs
- As.cs
- ConfigXmlElement.cs
- FileCodeGroup.cs
- StyleXamlParser.cs
- RoutedEventValueSerializer.cs
- ToolStripRenderer.cs
- TextView.cs
- TranslateTransform.cs
- EncryptedXml.cs
- HttpRequest.cs
- StorageInfo.cs
- DataGridRelationshipRow.cs
- XmlElementAttributes.cs
- XmlAnyElementAttribute.cs
- PropertyCollection.cs
- DaylightTime.cs
- ObjectPropertyMapping.cs
- XmlDataSourceView.cs
- FixedDocumentPaginator.cs
- PropertyInfoSet.cs
- TagMapInfo.cs
- PauseStoryboard.cs
- TextMarkerSource.cs
- WebPartHelpVerb.cs
- SetStateEventArgs.cs
- ContainsSearchOperator.cs
- TextWriterTraceListener.cs
- ItemAutomationPeer.cs
- PlatformNotSupportedException.cs
- WindowsToolbarItemAsMenuItem.cs
- SwitchLevelAttribute.cs
- NativeMethods.cs
- ProjectionCamera.cs
- LicenseProviderAttribute.cs
- CompareValidator.cs
- MimeBasePart.cs
- processwaithandle.cs
- DbSetClause.cs
- RowToFieldTransformer.cs
- ReceiveCompletedEventArgs.cs
- DragAssistanceManager.cs
- PolicyLevel.cs
- GridViewDeletedEventArgs.cs
- SocketPermission.cs
- ListViewItem.cs
- ProfileEventArgs.cs
- Tool.cs
- SqlPersistenceProviderFactory.cs
- TableLayoutStyleCollection.cs
- GeometryModel3D.cs
- designeractionlistschangedeventargs.cs
- SchemaName.cs
- SignedInfo.cs
- DropDownButton.cs
- XmlCodeExporter.cs
- HttpModulesSection.cs
- TraceProvider.cs
- TickBar.cs
- ReferentialConstraint.cs
- RegexParser.cs
- TextFormatterContext.cs
- PageContentCollection.cs
- _LazyAsyncResult.cs
- ConditionedDesigner.cs
- TypeBuilder.cs
- ListViewGroupCollectionEditor.cs
- Mutex.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- RijndaelManagedTransform.cs
- AlgoModule.cs
- ModifiableIteratorCollection.cs
- TextViewSelectionProcessor.cs
- CodePageUtils.cs
- IdentityReference.cs
- AnnotationObservableCollection.cs
- SafeHGlobalHandleCritical.cs
- SafeHandles.cs
- SchemaElement.cs
- StringValidatorAttribute.cs
- __FastResourceComparer.cs
- AstTree.cs
- PolicyException.cs
- DoubleLink.cs
- Ticks.cs
- ConnectionPoolManager.cs
- HtmlButton.cs
- XmlSerializerSection.cs
- TimeSpanValidator.cs
- Semaphore.cs
- DefaultAuthorizationContext.cs