ComponentTray.cs 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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. using System;
  9. using System.ComponentModel;
  10. using System.ComponentModel.Design;
  11. using System.Drawing;
  12. using System.Drawing.Design;
  13. namespace System.Windows.Forms.Design
  14. {
  15. [DesignTimeVisible (false)]
  16. [ToolboxItem (false)]
  17. [ProvideProperty ("Location", typeof(IComponent))]
  18. public class ComponentTray : ScrollableControl, IExtenderProvider, ISelectionUIHandler, IOleDragClient
  19. {
  20. #region Public Instance Constructors
  21. [MonoTODO]
  22. public ComponentTray (IDesigner mainDesigner, IServiceProvider serviceProvider)
  23. {
  24. throw new NotImplementedException ();
  25. }
  26. #endregion Public Instance Constructors
  27. #region Static Constructor
  28. [MonoTODO]
  29. static ComponentTray ()
  30. {
  31. }
  32. #endregion Static Constructor
  33. #region Public Instance Properties
  34. [MonoTODO]
  35. public bool AutoArrange
  36. {
  37. get
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. set
  42. {
  43. throw new NotImplementedException ();
  44. }
  45. }
  46. [MonoTODO]
  47. public int ComponentCount
  48. {
  49. get
  50. {
  51. throw new NotImplementedException ();
  52. }
  53. }
  54. [MonoTODO]
  55. public bool ShowLargeIcons
  56. {
  57. get
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. set
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. }
  66. #endregion Public Instance Properties
  67. #region Override implementation of ScrollableControl
  68. [MonoTODO]
  69. protected override void Dispose (bool disposing)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. [MonoTODO]
  74. protected override object GetService (Type serviceType)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. [MonoTODO]
  79. protected override void WndProc (ref Message m)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. protected override void OnDoubleClick (EventArgs e)
  85. {
  86. throw new NotImplementedException ();
  87. }
  88. [MonoTODO]
  89. protected override void OnDragDrop (DragEventArgs de)
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. [MonoTODO]
  94. protected override void OnDragEnter (DragEventArgs de)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. [MonoTODO]
  99. protected override void OnDragLeave (EventArgs e)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. protected override void OnDragOver (DragEventArgs de)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. protected override void OnGiveFeedback (GiveFeedbackEventArgs gfevent)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. protected override void OnLayout (LayoutEventArgs levent)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. protected override void OnMouseDown (MouseEventArgs e)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. protected override void OnMouseMove (MouseEventArgs e)
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. protected override void OnMouseUp (MouseEventArgs e)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. protected override void OnPaint (PaintEventArgs pe)
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. #endregion Override implementation of ScrollableControl
  139. #region Implementation of IExtenderProvider
  140. [MonoTODO]
  141. bool IExtenderProvider.CanExtend (object component)
  142. {
  143. throw new NotImplementedException ();
  144. }
  145. #endregion Implementation of IExtenderProvider
  146. #region Implementation of IOleDragClient
  147. [MonoTODO]
  148. bool IOleDragClient.AddComponent (IComponent component, string name, bool firstAdd)
  149. {
  150. throw new NotImplementedException ();
  151. }
  152. [MonoTODO]
  153. bool IOleDragClient.CanModifyComponents
  154. {
  155. get
  156. {
  157. throw new NotImplementedException ();
  158. }
  159. }
  160. [MonoTODO]
  161. IComponent IOleDragClient.Component
  162. {
  163. get
  164. {
  165. throw new NotImplementedException ();
  166. }
  167. }
  168. [MonoTODO]
  169. Control IOleDragClient.GetControlForComponent (object component)
  170. {
  171. throw new NotImplementedException ();
  172. }
  173. [MonoTODO]
  174. Control IOleDragClient.GetDesignerControl ()
  175. {
  176. throw new NotImplementedException ();
  177. }
  178. [MonoTODO]
  179. bool IOleDragClient.IsDropOk (IComponent component)
  180. {
  181. throw new NotImplementedException ();
  182. }
  183. #endregion Implementation of IOleDragClient
  184. #region Implementation of ISelectionUIHandler
  185. [MonoTODO]
  186. bool ISelectionUIHandler.BeginDrag (object[] components, SelectionRules rules, int initialX, int initialY)
  187. {
  188. throw new NotImplementedException ();
  189. }
  190. [MonoTODO]
  191. void ISelectionUIHandler.DragMoved (object[] components, Rectangle offset)
  192. {
  193. throw new NotImplementedException ();
  194. }
  195. [MonoTODO]
  196. void ISelectionUIHandler.EndDrag (object[] components, bool cancel)
  197. {
  198. throw new NotImplementedException ();
  199. }
  200. [MonoTODO]
  201. Rectangle ISelectionUIHandler.GetComponentBounds (object component)
  202. {
  203. throw new NotImplementedException ();
  204. }
  205. [MonoTODO]
  206. SelectionRules ISelectionUIHandler.GetComponentRules (object component)
  207. {
  208. throw new NotImplementedException ();
  209. }
  210. [MonoTODO]
  211. Rectangle ISelectionUIHandler.GetSelectionClipRect (object component)
  212. {
  213. throw new NotImplementedException ();
  214. }
  215. [MonoTODO]
  216. void ISelectionUIHandler.OleDragDrop (DragEventArgs de)
  217. {
  218. throw new NotImplementedException ();
  219. }
  220. [MonoTODO]
  221. void ISelectionUIHandler.OleDragEnter (DragEventArgs de)
  222. {
  223. throw new NotImplementedException ();
  224. }
  225. [MonoTODO]
  226. void ISelectionUIHandler.OleDragLeave ()
  227. {
  228. throw new NotImplementedException ();
  229. }
  230. [MonoTODO]
  231. void ISelectionUIHandler.OleDragOver (DragEventArgs de)
  232. {
  233. throw new NotImplementedException ();
  234. }
  235. [MonoTODO]
  236. void ISelectionUIHandler.OnSelectionDoubleClick (IComponent component)
  237. {
  238. throw new NotImplementedException ();
  239. }
  240. [MonoTODO]
  241. bool ISelectionUIHandler.QueryBeginDrag (object[] components, SelectionRules rules, int initialX, int initialY)
  242. {
  243. throw new NotImplementedException ();
  244. }
  245. [MonoTODO]
  246. void ISelectionUIHandler.ShowContextMenu (IComponent component)
  247. {
  248. throw new NotImplementedException ();
  249. }
  250. #endregion Implementation of ISelectionUIHandler
  251. #region Public Instance Methods
  252. [MonoTODO]
  253. public virtual void AddComponent (IComponent component)
  254. {
  255. throw new NotImplementedException ();
  256. }
  257. [MonoTODO]
  258. public virtual void RemoveComponent (IComponent component)
  259. {
  260. throw new NotImplementedException ();
  261. }
  262. [MonoTODO]
  263. public void CreateComponentFromTool (ToolboxItem tool)
  264. {
  265. throw new NotImplementedException ();
  266. }
  267. [MonoTODO]
  268. public Point GetLocation (IComponent receiver)
  269. {
  270. throw new NotImplementedException ();
  271. }
  272. [MonoTODO]
  273. public void SetLocation (IComponent receiver, Point location)
  274. {
  275. throw new NotImplementedException ();
  276. }
  277. #endregion Public Instance Methods
  278. #region Protected Instance Methods
  279. [MonoTODO]
  280. protected virtual bool CanCreateComponentFromTool (ToolboxItem tool)
  281. {
  282. throw new NotImplementedException ();
  283. }
  284. [MonoTODO]
  285. protected virtual bool CanDisplayComponent (IComponent component)
  286. {
  287. throw new NotImplementedException ();
  288. }
  289. [MonoTODO]
  290. protected void DisplayError (Exception e)
  291. {
  292. throw new NotImplementedException ();
  293. }
  294. [MonoTODO]
  295. protected virtual void OnSetCursor ()
  296. {
  297. throw new NotImplementedException ();
  298. }
  299. [MonoTODO]
  300. protected virtual void OnLostCapture ()
  301. {
  302. throw new NotImplementedException ();
  303. }
  304. #endregion Protected Instance Methods
  305. }
  306. }