2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / MainMenu.cs
1 //
2 // System.Windows.Forms.MainMenu.cs
3 //
4 // Author:
5 //   stubbed out by Paul Osman (paul.osman@sympatico.ca)
6 //      Dennis Hayes (dennish@raytek.com)
7 //      Alexandre Pigolkine (pigolkine@gmx.de)
8 //
9 // (C) 2002 Ximian, Inc
10 //
11
12
13 using System;
14 using System.Reflection;
15 using System.Globalization;
16 //using System.Windows.Forms.AccessibleObject.IAccessible;
17 using System.Drawing;
18 using System.Runtime.Remoting;
19 using System.ComponentModel;
20 namespace System.Windows.Forms {
21
22         /// <summary>
23         /// </summary>
24
25         public class MainMenu : Menu  {
26                 Form form_;
27                 //
28                 //  --- Constructors
29                 //
30
31                 [MonoTODO]
32                 public MainMenu() : base(null)
33                 {
34                 }
35
36                 [MonoTODO]
37                 public MainMenu(MenuItem[] items) : base(items)
38                 {
39                 }
40
41                 //
42                 //  --- Public Methods
43                 //
44
45                 [MonoTODO]
46                 public virtual MainMenu CloneMenu()
47                 {
48                         throw new NotImplementedException();
49                 }
50
51                 [MonoTODO]
52                 public Form GetForm()
53                 {
54                         return form_;
55                 }
56
57                 [MonoTODO]
58                 public override string ToString() 
59                 {
60                         //FIXME: Replace with real to string.
61                         return base.ToString();
62                 }
63
64                 internal void setForm ( Form form ) {
65                         form_ = form;
66                 }
67
68                 //
69                 //  --- protected Methods
70                 //
71
72                 [MonoTODO]
73                 protected override void Dispose(bool disposing){
74                         base.Dispose(disposing);
75                 }
76
77
78                 //
79                 // -- Public Properties
80                 //
81
82                 [MonoTODO]
83                 public virtual RightToLeft RightToLeft  {
84                         get 
85                         {
86                                 throw new NotImplementedException();
87                         }
88                         set
89                         {
90                                 //FIXME:
91                         }
92                 }
93         }
94 }