blob: ac06acc5e6dccf1288a523714b5ca2d4c48e8315 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
//
// System.Windows.Forms.ContextMenu.cs
//
// Author:
// stubbed out by Jaak Simm (jaaksimm@firm.ee)
// Dennis Hayes (dennish@Raytek.com)
//
// (C) Ximian, Inc., 2002
//
//using System.ComponentModel;
//using System.Collections;
using System.Drawing;
namespace System.Windows.Forms {
/// <summary>
/// Represents a Windows combo box control.
/// ToDo note:
/// - nothing is implemented
/// </summary>
[MonoTODO]
public class ContextMenu : Menu {
// private fields
RightToLeft rightToLeft;
// --- Constructor ---
[MonoTODO]
public ContextMenu() //: base(null)
{
rightToLeft = RightToLeft.Inherit;
}
[MonoTODO]
public ContextMenu(MenuItem[] menuItems) //: base(menuItems)//menu does not have public constructor. Is this a gtk menu?
{
}
// --- Properties ---
public virtual RightToLeft RightToLeft {
get { return rightToLeft; }
set { rightToLeft=value; }
}
[MonoTODO]
public Control SourceControl {
get { throw new NotImplementedException (); }
}
/// --- Methods ---
/// internal .NET framework supporting methods, not stubbed out:
/// - protected internal virtual void OnPopup(EventArgs e);
[MonoTODO]
public void Show(Control control,Point pos)
{
throw new NotImplementedException ();
}
/// events
[MonoTODO]
public event EventHandler Popup {
add {
throw new NotImplementedException ();
}
remove {
throw new NotImplementedException ();
}
}
}
}
|