2 // System.Windows.Forms.UICuesEventArgs
5 // stubbed out by Stefan Warnke (StefanW@POBox.com)
6 // Dennis Hayes (dennish@Raytek.com)
7 // Gianandrea Terzi (gianandrea.terzi@lario.com)
9 // (C) Ximian, Inc., 2002
13 namespace System
.Windows
.Forms
{
16 // This is only a template. Nothing is implemented yet.
21 /// UICuesEventArgs specifies which user interface feature changed and its new value.
23 public class UICuesEventArgs
: EventArgs
{
25 private UICues uicues
;
26 // /// --- Constructor ---
27 public UICuesEventArgs(UICues uicues
)
32 /// --- Public Properties ---
33 #region Public Properties
35 // Gets the bitwise combination of the UICues values
36 public UICues Changed
{
38 throw new NotImplementedException ();
42 // Gets a value indicating whether the state of the focus cues has changed.
43 public bool ChangeFocus
{
45 throw new NotImplementedException ();
49 // Gets a value indicating whether the state of the keyboard cues has changed
50 public bool ChangeKeyboard
{
52 throw new NotImplementedException ();
56 // Gets a value indicating whether focus rectangles are shown after the change
57 public bool ShowFocus
{
59 throw new NotImplementedException ();
63 // Gets a value indicating whether keyboard cues are underlined after the change
64 public bool ShowKeyboard
{
66 throw new NotImplementedException ();
69 #endregion // Public Properties
71 #region Public Methods
78 /// Compares two UICuesEventArgs objects.
79 /// The return value is based on the equivalence of
81 /// of the two UICuesEventArgs.
83 public static bool operator == (UICuesEventArgs UICuesEventArgsA
, UICuesEventArgs UICuesEventArgsB
)
85 return (UICuesEventArgsA
.Changed
== UICuesEventArgsB
.Changed
);
89 /// Inequality Operator
93 /// Compares two UICuesEventArgs objects.
94 /// The return value is based on the equivalence of
96 /// of the two UICuesEventArgs.
98 public static bool operator != (UICuesEventArgs UICuesEventArgsA
, UICuesEventArgs UICuesEventArgsB
)
100 return (UICuesEventArgsA
.Changed
!= UICuesEventArgsB
.Changed
);
108 /// Checks equivalence of this
109 /// UICuesEventArgs and another
112 public override bool Equals (object obj
)
114 if (!(obj
is UICuesEventArgs
))return false;
115 return (this == (UICuesEventArgs
) obj
);
119 /// GetHashCode Method
123 /// Calculates a hashing value.
126 public override int GetHashCode ()
128 //FIXME: add class specific stuff;
129 return base.GetHashCode();
137 /// Formats the UICuesEventArgs as a string.
140 public override string ToString ()
142 //FIXME: add class specific stuff;
143 return base.ToString();