Bläddra i källkod

Expose functionality to send async messages through the driver

svn path=/trunk/mcs/; revision=32593
Jackson Harper 21 år sedan
förälder
incheckning
98783e57df

+ 7 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs

@@ -23,9 +23,12 @@
 //	Peter Bartok	[email protected]
 //
 //
-// $Revision: 1.14 $
+// $Revision: 1.15 $
 // $Modtime: $
 // $Log: XplatUI.cs,v $
+// Revision 1.15  2004/08/20 19:14:35  jackson
+// Expose functionality to send async messages through the driver
+//
 // Revision 1.14  2004/08/13 21:42:15  pbartok
 // - Changed signature for GetCursorPos
 //
@@ -290,6 +293,9 @@ namespace System.Windows.Forms {
 			driver.ScreenToClient (handle, ref x, ref y);
 		}
 
+		internal static void SendAsyncMethod (AsyncMethodData data) {
+			driver.SendAsyncMethod (data);
+		}
 
 		// Santa's little helper
 		internal static void Where() {

+ 7 - 2
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs

@@ -23,9 +23,12 @@
 //	Peter Bartok	[email protected]
 //
 //
-// $Revision: 1.14 $
+// $Revision: 1.15 $
 // $Modtime: $
 // $Log: XplatUIDriver.cs,v $
+// Revision 1.15  2004/08/20 19:19:28  jackson
+// Expose functionality to send async messages through the driver
+//
 // Revision 1.14  2004/08/13 21:42:15  pbartok
 // - Changed signature for GetCursorPos
 //
@@ -170,6 +173,8 @@ namespace System.Windows.Forms {
 
 		internal abstract void GrabWindow(IntPtr hWnd);
 		internal abstract void ReleaseWindow(IntPtr hWnd);
-		#endregion	// XplatUI Driver Methods
+
+		internal abstract void SendAsyncMethod (AsyncMethodData method);
+#endregion	// XplatUI Driver Methods
 	}
 }

+ 9 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs

@@ -23,9 +23,12 @@
 //	Peter Bartok	[email protected]
 //
 //
-// $Revision: 1.20 $
+// $Revision: 1.21 $
 // $Modtime: $
 // $Log: XplatUIWin32.cs,v $
+// Revision 1.21  2004/08/20 19:14:35  jackson
+// Expose functionality to send async messages through the driver
+//
 // Revision 1.20  2004/08/20 01:37:47  pbartok
 // - Added generation of MouseEnter, MouseLeave and MouseHover events
 // - Added cleanup on EndPaint
@@ -831,6 +834,11 @@ namespace System.Windows.Forms {
 			
 		}
 
+		internal override void SendAsyncMethod (AsyncMethodData method)
+		{
+			throw new NotImplementedException ();
+		}
+
 		// Santa's little helper
 		static void Where() {
 			Console.WriteLine("Here: {0}", new StackTrace().ToString());