| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- //
- // 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;
- }
- }
|