mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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
84 lines
1.6 KiB
C#
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;
|
|
}
|
|
}
|