Cursor.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. //
  2. // System.Windows.Forms.Cursor.cs
  3. //
  4. // Author:
  5. // stubbed out by Jaak Simm ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) Ximian, Inc., 2002
  9. //
  10. using System.ComponentModel;
  11. using System.Runtime.Serialization;
  12. using System.IO;
  13. using System.Drawing;
  14. namespace System.Windows.Forms {
  15. /// <summary>
  16. /// Represents the image used to paint the mouse pointer.
  17. ///
  18. /// ToDo note:
  19. /// - nothing is implemented
  20. /// </summary>
  21. [MonoTODO]
  22. [Serializable]
  23. public sealed class Cursor : IDisposable, ISerializable {
  24. #region Fields
  25. #endregion
  26. #region Constructors
  27. [MonoTODO]
  28. public Cursor(IntPtr handle)
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. [MonoTODO]
  33. public Cursor(Stream stream)
  34. {
  35. throw new NotImplementedException ();
  36. }
  37. [MonoTODO]
  38. public Cursor(string fileName)
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. [MonoTODO]
  43. public Cursor(Type type,string resource)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. #endregion
  48. #region Properties
  49. [MonoTODO]
  50. public static Rectangle Clip {
  51. get { throw new NotImplementedException (); }
  52. set { throw new NotImplementedException (); }
  53. }
  54. [MonoTODO]
  55. public static Cursor Current {
  56. get { throw new NotImplementedException (); }
  57. set { throw new NotImplementedException (); }
  58. }
  59. [MonoTODO]
  60. public IntPtr Handle {
  61. get { throw new NotImplementedException (); }
  62. }
  63. [MonoTODO]
  64. public static Point Position {
  65. get { throw new NotImplementedException (); }
  66. set { throw new NotImplementedException (); }
  67. }
  68. [MonoTODO]
  69. public Size Size {
  70. get { throw new NotImplementedException (); }
  71. }
  72. #endregion
  73. #region Methods
  74. [MonoTODO]
  75. public IntPtr CopyHandle()
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. [MonoTODO]
  80. public void Dispose()
  81. {
  82. throw new NotImplementedException ();
  83. }
  84. [MonoTODO]
  85. public void Draw(Graphics g,Rectangle targetRect)
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. [MonoTODO]
  90. public void DrawStretched(Graphics g,Rectangle targetRect)
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. [MonoTODO]
  95. public override bool Equals(object obj)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. [MonoTODO]
  100. ~Cursor() {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. public override int GetHashCode()
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. public static void Hide()
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. /// ISerializable.GetObjectData only supports .NET framework:
  114. [MonoTODO]
  115. void ISerializable.GetObjectData(SerializationInfo si,StreamingContext context)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. [MonoTODO]
  120. public static void Show()
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. [MonoTODO]
  125. public override string ToString()
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. #endregion
  130. #region Operators
  131. [MonoTODO]
  132. public static bool operator ==(Cursor left, Cursor right)
  133. {
  134. throw new NotImplementedException ();
  135. }
  136. [MonoTODO]
  137. public static bool operator !=(Cursor left, Cursor right)
  138. {
  139. throw new NotImplementedException ();
  140. }
  141. #endregion
  142. }
  143. }