2
0

ControlDesigner.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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. if (accessibilityObj == null)
  194. accessibilityObj = new ControlDesignerAccessibleObject (this, Control);
  195. return accessibilityObj;
  196. }
  197. }
  198. [MonoTODO]
  199. public virtual SelectionRules SelectionRules
  200. {
  201. get
  202. {
  203. throw new NotImplementedException ();
  204. }
  205. }
  206. [MonoTODO]
  207. public virtual Control Control
  208. {
  209. get
  210. {
  211. throw new NotImplementedException ();
  212. }
  213. }
  214. #endregion Public Instance Properties
  215. #region Protected Instance Properties
  216. [MonoTODO]
  217. protected virtual bool EnableDragRect
  218. {
  219. get
  220. {
  221. throw new NotImplementedException ();
  222. }
  223. }
  224. #endregion Protected Instance Properties
  225. #region Protected Static Fields
  226. protected static readonly Point InvalidPoint;
  227. protected AccessibleObject accessibilityObj;
  228. #endregion Protected Static Fields
  229. [ComVisibleAttribute(true)]
  230. public class ControlDesignerAccessibleObject : AccessibleObject
  231. {
  232. [MonoTODO]
  233. public ControlDesignerAccessibleObject (ControlDesigner designer, Control control)
  234. {
  235. throw new NotImplementedException ();
  236. }
  237. #region Override implementation of AccessibleObject
  238. [MonoTODO]
  239. public override AccessibleObject GetChild (int index)
  240. {
  241. throw new NotImplementedException ();
  242. }
  243. [MonoTODO]
  244. public override int GetChildCount ()
  245. {
  246. throw new NotImplementedException ();
  247. }
  248. [MonoTODO]
  249. public override AccessibleObject GetFocused ()
  250. {
  251. throw new NotImplementedException ();
  252. }
  253. [MonoTODO]
  254. public override AccessibleObject GetSelected ()
  255. {
  256. throw new NotImplementedException ();
  257. }
  258. [MonoTODO]
  259. public override AccessibleObject HitTest (int x, int y)
  260. {
  261. throw new NotImplementedException ();
  262. }
  263. [MonoTODO]
  264. public override Rectangle Bounds
  265. {
  266. get
  267. {
  268. throw new NotImplementedException ();
  269. }
  270. }
  271. [MonoTODO]
  272. public override string DefaultAction
  273. {
  274. get
  275. {
  276. throw new NotImplementedException ();
  277. }
  278. }
  279. [MonoTODO]
  280. public override string Description
  281. {
  282. get
  283. {
  284. throw new NotImplementedException ();
  285. }
  286. }
  287. [MonoTODO]
  288. public override string Name
  289. {
  290. get
  291. {
  292. throw new NotImplementedException ();
  293. }
  294. }
  295. [MonoTODO]
  296. public override AccessibleObject Parent
  297. {
  298. get
  299. {
  300. throw new NotImplementedException ();
  301. }
  302. }
  303. [MonoTODO]
  304. public override AccessibleRole Role
  305. {
  306. get
  307. {
  308. throw new NotImplementedException ();
  309. }
  310. }
  311. [MonoTODO]
  312. public override AccessibleStates State
  313. {
  314. get
  315. {
  316. throw new NotImplementedException ();
  317. }
  318. }
  319. [MonoTODO]
  320. public override string Value
  321. {
  322. get
  323. {
  324. throw new NotImplementedException ();
  325. }
  326. }
  327. #endregion Override implementation of AccessibleObject
  328. }
  329. }
  330. }