ReadonlyMessageFilter.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / 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.
´╗┐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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK