* XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / MouseEventArgs.cs
index 1f22020214c20b5ee6ac386088a85d44f44fdcc2..5f17d271f70d74bd52a85e1a1bfae0c7cc7f58ae 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (c) 2004 Novell, Inc.
+// Copyright (c) 2004-2005 Novell, Inc.
 //
 // Authors:
 //     Peter Bartok    pbartok@novell.com
 //
-//
-// $Revision: 1.2 $
-// $Modtime: $
-// $Log: MouseEventArgs.cs,v $
-// Revision 1.2  2004/08/11 22:20:59  pbartok
-// - Signature fixes
-//
-// Revision 1.1  2004/07/09 05:21:25  pbartok
-// - Initial check-in
-//
-//
+
 
 // COMPLETE
 
+using System.Runtime.InteropServices;
+using System.Drawing;
+
 namespace System.Windows.Forms {
+       [ComVisible(true)]
        public class MouseEventArgs : EventArgs {
                private MouseButtons    buttons;
                private int             clicks;
@@ -84,6 +78,13 @@ namespace System.Windows.Forms {
                                return this.y;
                        }
                }
+#if NET_2_0
+               public Point Location {
+                       get {
+                               return new Point (this.x, this.y);
+                       }
+               }
+#endif
                #endregion      // Public Instance Properties
        }
 }