**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Windows.Forms / WINELib / UICuesEventArgs.cs
blob0110ff2104928c3e0a6f2aa07c5dcb7dc3bf76c7
1 //
2 // System.Windows.Forms.UICuesEventArgs
3 //
4 // Author:
5 // stubbed out by Stefan Warnke (StefanW@POBox.com)
6 // Dennis Hayes (dennish@Raytek.com)
7 // Gianandrea Terzi (gianandrea.terzi@lario.com)
8 //
9 // (C) Ximian, Inc., 2002
11 using System;
13 namespace System.Windows.Forms {
15 // <summary>
16 // This is only a template. Nothing is implemented yet.
17 // </summary>
20 /// <summary>
21 /// UICuesEventArgs specifies which user interface feature changed and its new value.
22 /// </summary>
23 public class UICuesEventArgs : EventArgs {
25 private UICues uicues;
26 // /// --- Constructor ---
27 public UICuesEventArgs(UICues uicues)
29 this.uicues = uicues;
32 /// --- Public Properties ---
33 #region Public Properties
35 // Gets the bitwise combination of the UICues values
36 public UICues Changed {
37 get {
38 throw new NotImplementedException ();
42 // Gets a value indicating whether the state of the focus cues has changed.
43 public bool ChangeFocus {
44 get {
45 throw new NotImplementedException ();
49 // Gets a value indicating whether the state of the keyboard cues has changed
50 public bool ChangeKeyboard {
51 get {
52 throw new NotImplementedException ();
56 // Gets a value indicating whether focus rectangles are shown after the change
57 public bool ShowFocus {
58 get {
59 throw new NotImplementedException ();
63 // Gets a value indicating whether keyboard cues are underlined after the change
64 public bool ShowKeyboard {
65 get {
66 throw new NotImplementedException ();
69 #endregion // Public Properties
71 #region Public Methods
73 /// <summary>
74 /// Equality Operator
75 /// </summary>
76 ///
77 /// <remarks>
78 /// Compares two UICuesEventArgs objects.
79 /// The return value is based on the equivalence of
80 /// Changed Property
81 /// of the two UICuesEventArgs.
82 /// </remarks>
83 public static bool operator == (UICuesEventArgs UICuesEventArgsA, UICuesEventArgs UICuesEventArgsB)
85 return (UICuesEventArgsA.Changed == UICuesEventArgsB.Changed);
88 /// <summary>
89 /// Inequality Operator
90 /// </summary>
91 ///
92 /// <remarks>
93 /// Compares two UICuesEventArgs objects.
94 /// The return value is based on the equivalence of
95 /// Changed Property
96 /// of the two UICuesEventArgs.
97 /// </remarks>
98 public static bool operator != (UICuesEventArgs UICuesEventArgsA, UICuesEventArgs UICuesEventArgsB)
100 return (UICuesEventArgsA.Changed != UICuesEventArgsB.Changed);
103 /// <summary>
104 /// Equals Method
105 /// </summary>
107 /// <remarks>
108 /// Checks equivalence of this
109 /// UICuesEventArgs and another
110 /// object.
111 /// </remarks>
112 public override bool Equals (object obj)
114 if (!(obj is UICuesEventArgs))return false;
115 return (this == (UICuesEventArgs) obj);
118 /// <summary>
119 /// GetHashCode Method
120 /// </summary>
122 /// <remarks>
123 /// Calculates a hashing value.
124 /// </remarks>
125 [MonoTODO]
126 public override int GetHashCode ()
128 //FIXME: add class specific stuff;
129 return base.GetHashCode();
132 /// <summary>
133 /// ToString Method
134 /// </summary>
136 /// <remarks>
137 /// Formats the UICuesEventArgs as a string.
138 /// </remarks>
139 [MonoTODO]
140 public override string ToString ()
142 //FIXME: add class specific stuff;
143 return base.ToString();
146 #endregion