Files
mono/mcs/class/System.Windows.Forms/WINELib/ContextMenu.cs
T
Dennis Hayes e648a7e8dc 2002-10-18 DennisHayes <[email protected]>
* Application.cs
	* Button.cs
	* ButtonBase.cs
	* changelog
	* ContainerControl.cs
	* Control.cs
	* DrawItemEventArgs.cs
	* DrawItemEventHandler.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* IContainerControl.cs
	* Label.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Win32.cs

	* Added some implmentation. Uncommented some stuff. 
	* About to add files to implment stuff uncommented.

svn path=/trunk/mcs/; revision=8434
2002-10-21 03:02:52 +00:00

83 lines
1.5 KiB
C#

//
// System.Windows.Forms.ContextMenu.cs
//
// Author:
// stubbed out by Jaak Simm ([email protected])
// Dennis Hayes ([email protected])
//
// (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 ();
}
}
}
}