2
0

DocumentDesigner.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. //
  2. // System.Windows.Forms.Design.ComponentEditorForm.cs
  3. //
  4. // Author:
  5. // Dennis Hayes ([email protected])
  6. // (C) 2002 Ximian, Inc. http://www.ximian.com
  7. //
  8. //
  9. // Permission is hereby granted, free of charge, to any person obtaining
  10. // a copy of this software and associated documentation files (the
  11. // "Software"), to deal in the Software without restriction, including
  12. // without limitation the rights to use, copy, modify, merge, publish,
  13. // distribute, sublicense, and/or sell copies of the Software, and to
  14. // permit persons to whom the Software is furnished to do so, subject to
  15. // the following conditions:
  16. //
  17. // The above copyright notice and this permission notice shall be
  18. // included in all copies or substantial portions of the Software.
  19. //
  20. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  23. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  24. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  25. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  26. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27. //
  28. using System;
  29. using System.Collections;
  30. using System.ComponentModel;
  31. using System.ComponentModel.Design;
  32. using System.Diagnostics;
  33. using System.Drawing.Design;
  34. namespace System.Windows.Forms.Design
  35. {
  36. [ToolboxItemFilter("System.Windows.Forms")]
  37. public class DocumentDesigner : ScrollableControlDesigner, IRootDesigner, IDesigner, IDisposable, IToolboxUser, IOleDragClient
  38. {
  39. #region Public Instance Constructors
  40. [MonoTODO]
  41. public DocumentDesigner ()
  42. {
  43. }
  44. #endregion Public Instance Constructors
  45. #region Static Constructor
  46. [MonoTODO]
  47. static DocumentDesigner ()
  48. {
  49. }
  50. #endregion Static Constructor
  51. #region Override implementation of ScrollableControlDesigner
  52. [MonoTODO]
  53. protected override void Dispose (bool disposing)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. [MonoTODO]
  58. public override void Initialize (IComponent component)
  59. {
  60. throw new NotImplementedException ();
  61. }
  62. [MonoTODO]
  63. protected override void OnContextMenu (int x, int y)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. [MonoTODO]
  68. protected override void OnCreateHandle ()
  69. {
  70. throw new NotImplementedException ();
  71. }
  72. [MonoTODO]
  73. protected override void PreFilterProperties (IDictionary properties)
  74. {
  75. throw new NotImplementedException ();
  76. }
  77. [MonoTODO]
  78. protected override void WndProc (ref Message m)
  79. {
  80. throw new NotImplementedException ();
  81. }
  82. [MonoTODO]
  83. public override SelectionRules SelectionRules
  84. {
  85. get
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. }
  90. #endregion Override implementation of ScrollableControlDesigner
  91. #region Internal Instance Methods
  92. [MonoTODO]
  93. internal virtual bool CanDropComponents (DragEventArgs de)
  94. {
  95. throw new NotImplementedException ();
  96. }
  97. [MonoTODO]
  98. internal virtual void DoProperMenuSelection (ICollection selComponents)
  99. {
  100. throw new NotImplementedException ();
  101. }
  102. #endregion Internal Instance Methods
  103. #region Protected Instance Methods
  104. [MonoTODO]
  105. protected virtual void EnsureMenuEditorService (IComponent c)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. [MonoTODO]
  110. protected virtual bool GetToolSupported (ToolboxItem tool)
  111. {
  112. throw new NotImplementedException ();
  113. }
  114. [MonoTODO]
  115. protected virtual void ToolPicked (ToolboxItem tool)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. #endregion Protected Instance Methods
  120. #region Implementation of IRootDesigner
  121. [MonoTODO]
  122. ViewTechnology[] IRootDesigner.SupportedTechnologies
  123. {
  124. get
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. }
  129. [MonoTODO]
  130. object IRootDesigner.GetView (ViewTechnology technology)
  131. {
  132. throw new NotImplementedException ();
  133. }
  134. #endregion Implementation of IRootDesigner
  135. #region Implementation of IToolboxUser
  136. [MonoTODO]
  137. bool IToolboxUser.GetToolSupported (ToolboxItem tool)
  138. {
  139. throw new NotImplementedException ();
  140. }
  141. [MonoTODO]
  142. void IToolboxUser.ToolPicked (ToolboxItem tool)
  143. {
  144. throw new NotImplementedException ();
  145. }
  146. #endregion Implementation of IToolboxUser
  147. #region Implementation of IOleDragClient
  148. [MonoTODO]
  149. Control IOleDragClient.GetControlForComponent (object component)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. #endregion Implementation of IOleDragClient
  154. [MonoTODO]
  155. protected IMenuEditorService menuEditorService;
  156. }
  157. }