MainMenu.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. //
  2. // System.Windows.Forms.MainMenu.cs
  3. //
  4. // Author:
  5. // stubbed out by Paul Osman ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System;
  11. using System.Reflection;
  12. using System.Globalization;
  13. //using System.Windows.Forms.AccessibleObject.IAccessible;
  14. using System.Drawing;
  15. using System.Runtime.Remoting;
  16. using System.ComponentModel;
  17. namespace System.Windows.Forms {
  18. /// <summary>
  19. /// ToDo note:
  20. /// - Nothing is implemented
  21. /// </summary>
  22. public class MainMenu : Menu {
  23. //
  24. // --- Constructors
  25. //
  26. [MonoTODO]
  27. public MainMenu()
  28. {
  29. throw new NotImplementedException ();
  30. }
  31. [MonoTODO]
  32. public MainMenu(MenuItem[] items)
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. //
  37. // --- Public Methods
  38. //
  39. [MonoTODO]
  40. public virtual MainMenu CloneMenu()
  41. {
  42. throw new NotImplementedException();
  43. }
  44. // [MonoTODO]
  45. // //FIXME
  46. // protected void MainMenu(Menu m)
  47. // {
  48. // throw new NotImplementedException();
  49. // }
  50. [MonoTODO]
  51. public override ObjRef CreateObjRef(Type requestedType)
  52. {
  53. throw new NotImplementedException();
  54. }
  55. [MonoTODO]
  56. public override bool Equals(object o) {
  57. throw new NotImplementedException();
  58. }
  59. [MonoTODO]
  60. public override int GetHashCode() {
  61. //FIXME add our proprities
  62. return base.GetHashCode();
  63. }
  64. //inherited
  65. //public override void Dispose()
  66. //{
  67. // throw new NotImplementedException();
  68. //}
  69. //
  70. //protected override void Dispose(bool disposing)
  71. //{
  72. // throw new NotImplementedException();
  73. //}
  74. //public override bool Equals(object o, object o)
  75. //{
  76. // throw new NotImplementedException();
  77. //}
  78. //public ContextMenu GetContextMenu()
  79. //{
  80. // throw new NotImplementedException();
  81. //}
  82. //public object GetLifetimeService()
  83. //{
  84. // throw new NotImplementedException();
  85. //}
  86. //public MainMenu GetMainMenu() {
  87. // throw new NotImplementedException();
  88. //}
  89. //
  90. //public override Type GetType() {
  91. // throw new NotImplementedException();
  92. //}
  93. //
  94. //public virtual object InitializeLifetimeService() {
  95. // throw new NotImplementedException();
  96. //}
  97. //
  98. //public virtual void MergeMenu(Menu menuSrc) {
  99. // throw new NotImplementedException();
  100. //}
  101. [MonoTODO]
  102. public Form GetForm()
  103. {
  104. throw new NotImplementedException();
  105. }
  106. [MonoTODO]
  107. public override string ToString()
  108. {
  109. throw new NotImplementedException();
  110. }
  111. //
  112. // -- Protected Methods
  113. //
  114. //protected void CloneMenu(Menu menuSrc)
  115. //{
  116. // throw new NotImplementedException();
  117. //}
  118. //protected override void Dispose(bool disposing)
  119. //{
  120. // throw new NotImplementedException();
  121. //}
  122. //public void Dispose()
  123. //{
  124. // throw new NotImplementedException();
  125. //}
  126. //protected object MemberwiseClone()
  127. //{
  128. // throw new NotImplementedException();
  129. //}
  130. [MonoTODO]
  131. protected virtual object GetService()
  132. {
  133. throw new NotImplementedException();
  134. }
  135. //
  136. // -- DeConstructor
  137. //
  138. [MonoTODO]
  139. ~MainMenu()
  140. {
  141. throw new NotImplementedException();
  142. }
  143. //
  144. // -- Public Events
  145. //
  146. //inherited
  147. //public event EventHandler Disposed;
  148. //
  149. // -- Public Properties
  150. //
  151. //inherited
  152. //public IContainer Container {
  153. // get
  154. // {
  155. // throw new NotImplementedException();
  156. // }
  157. //}
  158. //public IntPtr Handle {
  159. // get
  160. // {
  161. // throw new NotImplementedException();
  162. // }
  163. //}
  164. //public MenuItem MdiListItem {
  165. // get
  166. // {
  167. // throw new NotImplementedException();
  168. // }
  169. //}
  170. //public Menu.MenuItemCollection MenuItems {
  171. // get
  172. // {
  173. // throw new NotImplementedException();
  174. // }
  175. //}
  176. //public override ISite Site {
  177. // get
  178. // {
  179. // throw new NotImplementedException();
  180. // }
  181. // set
  182. // {
  183. // throw new NotImplementedException();
  184. // }
  185. //}
  186. [MonoTODO]
  187. public override bool IsParent {
  188. get
  189. {
  190. throw new NotImplementedException();
  191. }
  192. }
  193. [MonoTODO]
  194. public virtual RightToLeft RightToLeft {
  195. get
  196. {
  197. throw new NotImplementedException();
  198. }
  199. set
  200. {
  201. throw new NotImplementedException();
  202. }
  203. }
  204. //
  205. // -- protected Properties
  206. //
  207. //inherited
  208. //protected bool DesignMode {
  209. // get
  210. // {
  211. // throw new NotImplementedException();
  212. // }
  213. //}
  214. //protected EventHandler Events {
  215. // get
  216. // {
  217. // throw new NotImplementedException();
  218. // }
  219. //}
  220. }
  221. }