ComponentDocumentDesigner.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. //
  2. // System.Windows.Forms.Design.ComponentDocumentDesigner.cs
  3. //
  4. // Author:
  5. // Dennis Hayes ([email protected])
  6. // (C) 2002 Ximian, Inc. http://www.ximian.com
  7. //
  8. using System;
  9. using System.Collections;
  10. using System.ComponentModel;
  11. using System.ComponentModel.Design;
  12. using System.Drawing.Design;
  13. using System.Windows.Forms;
  14. namespace System.Windows.Forms.Design
  15. {
  16. public class ComponentDocumentDesigner : ComponentDesigner, IRootDesigner, IToolboxUser, ITypeDescriptorFilterService, IOleDragClient
  17. {
  18. #region Public Instance Constructors
  19. [MonoTODO]
  20. public ComponentDocumentDesigner ()
  21. {
  22. }
  23. #endregion Public Instance Constructors
  24. #region Implementation of IRootDesigner
  25. ViewTechnology[] IRootDesigner.SupportedTechnologies
  26. {
  27. get
  28. {
  29. ViewTechnology[] array1 = new ViewTechnology[1];
  30. array1[0] = ViewTechnology.WindowsForms;
  31. return array1;
  32. }
  33. }
  34. [MonoTODO]
  35. object IRootDesigner.GetView (ViewTechnology technology)
  36. {
  37. throw new NotImplementedException ();
  38. }
  39. #endregion Implementation of IRootDesigner
  40. #region Implementation of IToolboxUser
  41. bool IToolboxUser.GetToolSupported (ToolboxItem tool)
  42. {
  43. return true;
  44. }
  45. [MonoTODO]
  46. void IToolboxUser.ToolPicked (ToolboxItem tool)
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. #endregion Implementation of IToolboxUser
  51. #region Implementation of ITypeDescriptorFilterService
  52. [MonoTODO]
  53. bool ITypeDescriptorFilterService.FilterAttributes (IComponent component, IDictionary attributes)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. [MonoTODO]
  58. bool ITypeDescriptorFilterService.FilterEvents (IComponent component, IDictionary events)
  59. {
  60. throw new NotImplementedException ();
  61. }
  62. [MonoTODO]
  63. bool ITypeDescriptorFilterService.FilterProperties (IComponent component, IDictionary properties)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. #endregion Implementation of ITypeDescriptorFilterService
  68. #region Implementation of IOleDragClient
  69. [MonoTODO]
  70. bool IOleDragClient.AddComponent (IComponent component, string name, bool firstAdd)
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. bool IOleDragClient.CanModifyComponents
  75. {
  76. get
  77. {
  78. return true;
  79. }
  80. }
  81. [MonoTODO]
  82. Control IOleDragClient.GetControlForComponent (object component)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. [MonoTODO]
  87. Control IOleDragClient.GetDesignerControl ()
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. bool IOleDragClient.IsDropOk (IComponent component)
  93. {
  94. return true;
  95. }
  96. [MonoTODO]
  97. IComponent IOleDragClient.Component
  98. {
  99. get
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. }
  104. #endregion Implementation of IOleDragClient
  105. #region Public Instance Properties
  106. [MonoTODO]
  107. public Control Control
  108. {
  109. get
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. }
  114. public bool TrayAutoArrange
  115. {
  116. get
  117. {
  118. throw new NotImplementedException ();
  119. }
  120. set
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. }
  125. public bool TrayLargeIcon
  126. {
  127. get
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. set
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. }
  136. #endregion Public Instance Properties
  137. [MonoTODO]
  138. public override void Initialize (IComponent component)
  139. {
  140. throw new NotImplementedException ();
  141. }
  142. [MonoTODO]
  143. protected override void Dispose (bool disposing)
  144. {
  145. throw new NotImplementedException ();
  146. }
  147. protected virtual bool GetToolSupported (ToolboxItem tool)
  148. {
  149. return true;
  150. }
  151. #region Override implementation of ComponentDesigner
  152. [MonoTODO]
  153. protected override void PreFilterProperties (IDictionary properties)
  154. {
  155. throw new NotImplementedException ();
  156. }
  157. #endregion Override implementation of ComponentDesigner
  158. }
  159. }