Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Windows.Forms/WINELib/ApplicationContext.cs')
-rw-r--r--mcs/class/System.Windows.Forms/WINELib/ApplicationContext.cs83
1 files changed, 83 insertions, 0 deletions
diff --git a/mcs/class/System.Windows.Forms/WINELib/ApplicationContext.cs b/mcs/class/System.Windows.Forms/WINELib/ApplicationContext.cs
new file mode 100644
index 00000000000..9fcf00f9a15
--- /dev/null
+++ b/mcs/class/System.Windows.Forms/WINELib/ApplicationContext.cs
@@ -0,0 +1,83 @@
+//
+// System.Windows.Forms.ApplicationContext
+//
+// Author:
+// stubbed out by Jaak Simm (jaaksimm@firm.ee)
+// Dennis hayes (dennish@raytek.com)
+//
+// (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;
+ }
+}