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
- ASCIIEncoding.cs
- StringAnimationBase.cs
- TreeViewDesigner.cs
- CheckBoxPopupAdapter.cs
- FontConverter.cs
- GraphicsPath.cs
- WindowPattern.cs
- BitmapCache.cs
- ProfileSettings.cs
- XPathParser.cs
- CodeBlockBuilder.cs
- ValidationHelper.cs
- EffectiveValueEntry.cs
- ContextQuery.cs
- EditorPartChrome.cs
- ListItemsPage.cs
- Camera.cs
- SqlUtils.cs
- ConfigurationSectionHelper.cs
- Interfaces.cs
- OleDbException.cs
- SplitContainer.cs
- LinearQuaternionKeyFrame.cs
- AspNetHostingPermission.cs
- XmlWriterDelegator.cs
- OAVariantLib.cs
- AsmxEndpointPickerExtension.cs
- ControlDesigner.cs
- AssemblyAttributes.cs
- DiscoveryDocumentReference.cs
- validationstate.cs
- ApplicationFileCodeDomTreeGenerator.cs
- CategoryGridEntry.cs
- sqlmetadatafactory.cs
- HttpProfileGroupBase.cs
- LinkDesigner.cs
- PhoneCallDesigner.cs
- CfgParser.cs
- MissingMethodException.cs
- ScaleTransform3D.cs
- ApplicationDirectoryMembershipCondition.cs
- DispatcherOperation.cs
- MediaTimeline.cs
- SystemFonts.cs
- InputLangChangeEvent.cs
- HostingEnvironmentWrapper.cs
- InvokePattern.cs
- HitTestParameters.cs
- CodeMemberMethod.cs
- TextBoxBase.cs
- TextLineBreak.cs
- MasterPageBuildProvider.cs
- DataDocumentXPathNavigator.cs
- KeyFrames.cs
- XmlEncodedRawTextWriter.cs
- DataGridTextBoxColumn.cs
- SafeBitVector32.cs
- DuplexChannel.cs
- RectangleF.cs
- FilteredXmlReader.cs
- XmlArrayAttribute.cs
- COM2Properties.cs
- JapaneseLunisolarCalendar.cs
- GlobalizationSection.cs
- ShaderEffect.cs
- InfoCardService.cs
- OdbcConnectionHandle.cs
- CodeDOMUtility.cs
- controlskin.cs
- MenuCommands.cs
- TextDecoration.cs
- BindingListCollectionView.cs
- _SSPIWrapper.cs
- PagedDataSource.cs
- TreeBuilder.cs
- FlowLayoutPanelDesigner.cs
- BitStack.cs
- FtpRequestCacheValidator.cs
- ListViewItemMouseHoverEvent.cs
- AspNetCompatibilityRequirementsMode.cs
- WebPartCancelEventArgs.cs
- OracleNumber.cs
- Win32SafeHandles.cs
- ActivationServices.cs
- TableRow.cs
- DbConnectionPoolIdentity.cs
- Rect.cs
- StorageEntityContainerMapping.cs
- MobileUserControl.cs
- CodeAccessPermission.cs
- TrackingLocation.cs
- ObjectItemLoadingSessionData.cs
- _NetRes.cs
- DragCompletedEventArgs.cs
- XmlAttributeAttribute.cs
- TimeSpanConverter.cs
- StateMachineWorkflow.cs
- BaseDataList.cs
- MediaPlayerState.cs
- RegexTree.cs