ControlDesigner.cs 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  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.Collections;
  10. using System.ComponentModel;
  11. using System.ComponentModel.Design;
  12. using System.Drawing;
  13. using System.Runtime.InteropServices;
  14. namespace System.Windows.Forms.Design {
  15. public class ControlDesigner : ComponentDesigner
  16. {
  17. #region Public Instance Constructors
  18. [MonoTODO]
  19. public ControlDesigner()
  20. {
  21. throw new NotImplementedException ();
  22. }
  23. #endregion Public Instance Constructors
  24. #region Static Constructor
  25. static ControlDesigner()
  26. {
  27. ControlDesigner.InvalidPoint = new Point(int.MinValue, int.MinValue);
  28. }
  29. #endregion Static Constructor
  30. #region Public Instance Methods
  31. [MonoTODO]
  32. public virtual bool CanBeParentedTo(IDesigner parentDesigner)
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. [MonoTODO]
  37. public override void OnSetComponentDefaults()
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. #endregion Public Instance Methods
  42. #region Protected Instance Methods
  43. [MonoTODO]
  44. protected void BaseWndProc(ref Message m)
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. [MonoTODO]
  49. protected void DefWndProc(ref Message m)
  50. {
  51. throw new NotImplementedException ();
  52. }
  53. [MonoTODO]
  54. protected void DisplayError(Exception e)
  55. {
  56. throw new NotImplementedException ();
  57. }
  58. [MonoTODO]
  59. protected void EnableDragDrop(bool value)
  60. {
  61. throw new NotImplementedException ();
  62. }
  63. [MonoTODO]
  64. protected virtual bool GetHitTest (Point point)
  65. {
  66. throw new NotImplementedException ();
  67. }
  68. [MonoTODO]
  69. protected void HookChildControls (Control firstChild)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. [MonoTODO]
  74. protected virtual void OnContextMenu (int x, int y)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. [MonoTODO]
  79. protected virtual void OnCreateHandle ()
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. protected virtual void OnDragDrop (DragEventArgs de)
  85. {
  86. throw new NotImplementedException ();
  87. }
  88. [MonoTODO]
  89. protected virtual void OnDragEnter (DragEventArgs de)
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. [MonoTODO]
  94. protected virtual void OnDragLeave (EventArgs e)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. [MonoTODO]
  99. protected virtual void OnDragOver(DragEventArgs de)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. protected virtual void OnGiveFeedback (GiveFeedbackEventArgs e)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. protected virtual void OnMouseDragBegin (int x, int y)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. protected virtual void OnMouseDragEnd (bool cancel)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. protected virtual void OnMouseDragMove (int x, int y)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. protected virtual void OnMouseEnter ()
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. protected virtual void OnMouseHover ()
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. protected virtual void OnMouseLeave ()
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. protected virtual void OnPaintAdornments (PaintEventArgs pe)
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. protected virtual void OnSetCursor ()
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. protected void UnhookChildControls (Control firstChild)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. [MonoTODO]
  154. protected virtual void WndProc (ref Message m)
  155. {
  156. throw new NotImplementedException ();
  157. }
  158. #endregion Protected Instance Methods
  159. #region Override implementation of ComponentDesigner
  160. [MonoTODO]
  161. protected override void Dispose (bool disposing)
  162. {
  163. throw new NotImplementedException ();
  164. }
  165. [MonoTODO]
  166. public override void Initialize (IComponent component)
  167. {
  168. throw new NotImplementedException ();
  169. }
  170. [MonoTODO]
  171. public override void InitializeNonDefault ()
  172. {
  173. throw new NotImplementedException ();
  174. }
  175. [MonoTODO]
  176. protected override void PreFilterProperties (IDictionary properties)
  177. {
  178. throw new NotImplementedException ();
  179. }
  180. [MonoTODO]
  181. public override ICollection AssociatedComponents
  182. {
  183. get
  184. {
  185. throw new NotImplementedException ();
  186. }
  187. }
  188. #endregion Override implementation of ComponentDesigner
  189. #region Public Instance Properties
  190. [MonoTODO]
  191. public virtual AccessibleObject AccessibilityObject {
  192. get
  193. {
  194. throw new NotImplementedException ();
  195. }
  196. }
  197. [MonoTODO]
  198. public virtual SelectionRules SelectionRules
  199. {
  200. get
  201. {
  202. throw new NotImplementedException ();
  203. }
  204. }
  205. [MonoTODO]
  206. public virtual Control Control
  207. {
  208. get
  209. {
  210. throw new NotImplementedException ();
  211. }
  212. }
  213. #endregion Public Instance Properties
  214. #region Protected Instance Properties
  215. [MonoTODO]
  216. protected virtual bool EnableDragRect
  217. {
  218. get
  219. {
  220. throw new NotImplementedException ();
  221. }
  222. }
  223. #endregion Protected Instance Properties
  224. #region Protected Static Fields
  225. protected static readonly Point InvalidPoint;
  226. #endregion Protected Static Fields
  227. [ComVisibleAttribute(true)]
  228. public class ControlDesignerAccessibleObject : AccessibleObject
  229. {
  230. [MonoTODO]
  231. public ControlDesignerAccessibleObject (ControlDesigner designer, Control control)
  232. {
  233. throw new NotImplementedException ();
  234. }
  235. #region Override implementation of AccessibleObject
  236. [MonoTODO]
  237. public override AccessibleObject GetChild (int index)
  238. {
  239. throw new NotImplementedException ();
  240. }
  241. [MonoTODO]
  242. public override int GetChildCount ()
  243. {
  244. throw new NotImplementedException ();
  245. }
  246. [MonoTODO]
  247. public override AccessibleObject GetFocused ()
  248. {
  249. throw new NotImplementedException ();
  250. }
  251. [MonoTODO]
  252. public override AccessibleObject GetSelected ()
  253. {
  254. throw new NotImplementedException ();
  255. }
  256. [MonoTODO]
  257. public override AccessibleObject HitTest (int x, int y)
  258. {
  259. throw new NotImplementedException ();
  260. }
  261. [MonoTODO]
  262. public override Rectangle Bounds
  263. {
  264. get
  265. {
  266. throw new NotImplementedException ();
  267. }
  268. }
  269. [MonoTODO]
  270. public override string DefaultAction
  271. {
  272. get
  273. {
  274. throw new NotImplementedException ();
  275. }
  276. }
  277. [MonoTODO]
  278. public override string Description
  279. {
  280. get
  281. {
  282. throw new NotImplementedException ();
  283. }
  284. }
  285. [MonoTODO]
  286. public override string Name
  287. {
  288. get
  289. {
  290. throw new NotImplementedException ();
  291. }
  292. }
  293. [MonoTODO]
  294. public override AccessibleObject Parent
  295. {
  296. get
  297. {
  298. throw new NotImplementedException ();
  299. }
  300. }
  301. [MonoTODO]
  302. public override AccessibleRole Role
  303. {
  304. get
  305. {
  306. throw new NotImplementedException ();
  307. }
  308. }
  309. [MonoTODO]
  310. public override AccessibleStates State
  311. {
  312. get
  313. {
  314. throw new NotImplementedException ();
  315. }
  316. }
  317. [MonoTODO]
  318. public override string Value
  319. {
  320. get
  321. {
  322. throw new NotImplementedException ();
  323. }
  324. }
  325. #endregion Override implementation of AccessibleObject
  326. }
  327. }
  328. }