**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Windows.Forms / Gtk / HelpEventArgs.cs
blob304c90783e6908945e41df22e0c7fe5df0e7d847
1 //
2 // System.Windows.Forms.HelpEventArgs.cs
3 //
4 // Author:
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 // Partially completed by Dennis Hayes (dennish@raytek.com)
7 // Gianandrea Terzi (gianandrea.terzi@lario.com)
8 //
9 // (C) 2002 Ximian, Inc
11 using System.Drawing;
13 namespace System.Windows.Forms {
15 // <summary>
16 // Complete.
17 // </summary>
19 public class HelpEventArgs : EventArgs {
21 #region Fields
22 private Point mousePos;
23 private bool handled;
24 #endregion
27 // --- Constructor
29 public HelpEventArgs(Point mousePos)
31 this.mousePos = mousePos;
32 handled = false; // Gian : hadled is false, otherwise all events are managed by user by default.
35 #region Public Properties
36 public bool Handled
38 get {
39 return handled;
41 set {
42 handled = value;
45 public Point MousePos {
46 get {
47 return mousePos;
50 #endregion