Behavior.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. //
  2. // System.Windows.Forms.Design.Behavior.Behavior
  3. //
  4. // Author:
  5. // Atsushi Enomoto ([email protected])
  6. //
  7. // Copyright (C) 2007 Novell, Inc.
  8. //
  9. //
  10. // Permission is hereby granted, free of charge, to any person obtaining
  11. // a copy of this software and associated documentation files (the
  12. // "Software"), to deal in the Software without restriction, including
  13. // without limitation the rights to use, copy, modify, merge, publish,
  14. // distribute, sublicense, and/or sell copies of the Software, and to
  15. // permit persons to whom the Software is furnished to do so, subject to
  16. // the following conditions:
  17. //
  18. // The above copyright notice and this permission notice shall be
  19. // included in all copies or substantial portions of the Software.
  20. //
  21. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  22. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  24. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  25. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  26. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  27. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  28. //
  29. #if NET_2_0
  30. using System.ComponentModel.Design;
  31. using System.Drawing;
  32. using System.Drawing.Design;
  33. using System.Drawing.Drawing2D;
  34. namespace System.Windows.Forms.Design.Behavior
  35. {
  36. public abstract class Behavior
  37. {
  38. [MonoTODO]
  39. protected Behavior ()
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. [MonoTODO]
  44. protected Behavior (bool callParentBehavior, BehaviorService behaviorService)
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. [MonoTODO]
  49. public virtual Cursor Cursor {
  50. get { throw new NotImplementedException (); }
  51. }
  52. [MonoTODO]
  53. public virtual bool DisableAllCommands {
  54. get { throw new NotImplementedException (); }
  55. }
  56. [MonoTODO]
  57. public virtual MenuCommand FindCommand (CommandID commandId)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. [MonoTODO]
  62. public virtual void OnDragDrop (Glyph g, DragEventArgs e)
  63. {
  64. throw new NotImplementedException ();
  65. }
  66. [MonoTODO]
  67. public virtual void OnDragEnter (Glyph g, DragEventArgs e)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. [MonoTODO]
  72. public virtual void OnDragLeave (Glyph g, EventArgs e)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. [MonoTODO]
  77. public virtual void OnDragOver (Glyph g, DragEventArgs e)
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. [MonoTODO]
  82. public virtual void OnGiveFeedback (Glyph g, GiveFeedbackEventArgs e)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. [MonoTODO]
  87. public virtual void OnLoseCapture (Glyph g, EventArgs e)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. public virtual bool OnMouseDoubleClick (Glyph g, MouseButtons button, Point mouseLoc)
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. [MonoTODO]
  97. public virtual bool OnMouseDown (Glyph g, MouseButtons button, Point mouseLoc)
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. [MonoTODO]
  102. public virtual bool OnMouseEnter (Glyph g)
  103. {
  104. throw new NotImplementedException ();
  105. }
  106. [MonoTODO]
  107. public virtual bool OnMouseHover (Glyph g, Point mouseLoc)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. [MonoTODO]
  112. public virtual bool OnMouseLeave (Glyph g)
  113. {
  114. throw new NotImplementedException ();
  115. }
  116. [MonoTODO]
  117. public virtual bool OnMouseMove (Glyph g, MouseButtons button, Point mouseLoc)
  118. {
  119. throw new NotImplementedException ();
  120. }
  121. [MonoTODO]
  122. public virtual bool OnMouseUp (Glyph g, MouseButtons button)
  123. {
  124. throw new NotImplementedException ();
  125. }
  126. [MonoTODO]
  127. public virtual void OnQueryContinueDrag (Glyph g, QueryContinueDragEventArgs e)
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. }
  132. }
  133. #endif