Files
mono/mcs/class/System.Windows.Forms/WINELib/ApplicationContext.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

84 lines
1.6 KiB
C#

//
// System.Windows.Forms.ApplicationContext
//
// Author:
// stubbed out by Jaak Simm ([email protected])
// Dennis hayes ([email protected])
//
// (C) Ximian, Inc 2002
//
namespace System.Windows.Forms {
/// <summary>
/// Specifies the contextual information about an application thread.
///
/// ToDo note: Needsa Core; eg,==,!=,Gethascode,ToString.
/// </summary>
[MonoTODO]
public class ApplicationContext {
Form mainForm;
// --- (public) Properties ---
public Form MainForm {
get { return mainForm; }
set { mainForm = value; }
}
// --- Constructor ---
public ApplicationContext()
{
mainForm=null;
}
public ApplicationContext(Form mainForm) : this()
{
this.mainForm=mainForm;
}
// --- Methods ---
[MonoTODO]
public void Dispose()
{
// see documentation on ApplicationContext.Dispose Method (Boolean)
this.Dispose(true);
}
[MonoTODO]
protected virtual void Dispose(bool disposing)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ExitThread()
{
throw new NotImplementedException ();
}
[MonoTODO]
protected virtual void ExitThreadCore()
{
throw new NotImplementedException ();
}
[MonoTODO]
protected virtual void OnMainFormClosed(object sender,EventArgs e)
{
throw new NotImplementedException ();
}
// --- Methods: object ---
[MonoTODO]
~ApplicationContext() {
// see documentation on ApplicationContext.Dispose Method (Boolean)
this.Dispose(false);
}
// --- Events ---
public event EventHandler ThreadExit;
}
}