UICuesEventArgs.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. //
  2. // System.Windows.Forms.UICuesEventArgs
  3. //
  4. // Author:
  5. // stubbed out by Stefan Warnke ([email protected])
  6. // Dennis Hayes ([email protected])
  7. // Gianandrea Terzi ([email protected])
  8. //
  9. // (C) Ximian, Inc., 2002
  10. //
  11. using System;
  12. namespace System.Windows.Forms {
  13. // <summary>
  14. // This is only a template. Nothing is implemented yet.
  15. // </summary>
  16. /// <summary>
  17. /// UICuesEventArgs specifies which user interface feature changed and its new value.
  18. /// </summary>
  19. public class UICuesEventArgs : EventArgs {
  20. private UICues uicues;
  21. // /// --- Constructor ---
  22. public UICuesEventArgs(UICues uicues)
  23. {
  24. this.uicues = uicues;
  25. }
  26. /// --- Public Properties ---
  27. #region Public Properties
  28. // Gets the bitwise combination of the UICues values
  29. public UICues Changed {
  30. get {
  31. throw new NotImplementedException ();
  32. }
  33. }
  34. // Gets a value indicating whether the state of the focus cues has changed.
  35. public bool ChangeFocus {
  36. get {
  37. throw new NotImplementedException ();
  38. }
  39. }
  40. // Gets a value indicating whether the state of the keyboard cues has changed
  41. public bool ChangeKeyboard {
  42. get {
  43. throw new NotImplementedException ();
  44. }
  45. }
  46. // Gets a value indicating whether focus rectangles are shown after the change
  47. public bool ShowFocus {
  48. get {
  49. throw new NotImplementedException ();
  50. }
  51. }
  52. // Gets a value indicating whether keyboard cues are underlined after the change
  53. public bool ShowKeyboard {
  54. get {
  55. throw new NotImplementedException ();
  56. }
  57. }
  58. #endregion // Public Properties
  59. #region Public Methods
  60. /// <summary>
  61. /// Equality Operator
  62. /// </summary>
  63. ///
  64. /// <remarks>
  65. /// Compares two UICuesEventArgs objects.
  66. /// The return value is based on the equivalence of
  67. /// Changed Property
  68. /// of the two UICuesEventArgs.
  69. /// </remarks>
  70. public static bool operator == (UICuesEventArgs UICuesEventArgsA, UICuesEventArgs UICuesEventArgsB)
  71. {
  72. return (UICuesEventArgsA.Changed == UICuesEventArgsB.Changed);
  73. }
  74. /// <summary>
  75. /// Inequality Operator
  76. /// </summary>
  77. ///
  78. /// <remarks>
  79. /// Compares two UICuesEventArgs objects.
  80. /// The return value is based on the equivalence of
  81. /// Changed Property
  82. /// of the two UICuesEventArgs.
  83. /// </remarks>
  84. public static bool operator != (UICuesEventArgs UICuesEventArgsA, UICuesEventArgs UICuesEventArgsB)
  85. {
  86. return (UICuesEventArgsA.Changed != UICuesEventArgsB.Changed);
  87. }
  88. /// <summary>
  89. /// Equals Method
  90. /// </summary>
  91. ///
  92. /// <remarks>
  93. /// Checks equivalence of this
  94. /// UICuesEventArgs and another
  95. /// object.
  96. /// </remarks>
  97. public override bool Equals (object obj)
  98. {
  99. if (!(obj is UICuesEventArgs))return false;
  100. return (this == (UICuesEventArgs) obj);
  101. }
  102. /// <summary>
  103. /// GetHashCode Method
  104. /// </summary>
  105. ///
  106. /// <remarks>
  107. /// Calculates a hashing value.
  108. /// </remarks>
  109. [MonoTODO]
  110. public override int GetHashCode ()
  111. {
  112. //FIXME: add class specific stuff;
  113. return base.GetHashCode();
  114. }
  115. /// <summary>
  116. /// ToString Method
  117. /// </summary>
  118. ///
  119. /// <remarks>
  120. /// Formats the UICuesEventArgs as a string.
  121. /// </remarks>
  122. [MonoTODO]
  123. public override string ToString ()
  124. {
  125. //FIXME: add class specific stuff;
  126. return base.ToString();
  127. }
  128. #endregion
  129. }
  130. }