diff options
author | Peter Dennis Bartok <pbartok@mono-cvs.ximian.com> | 2004-09-01 06:05:18 +0400 |
---|---|---|
committer | Peter Dennis Bartok <pbartok@mono-cvs.ximian.com> | 2004-09-01 06:05:18 +0400 |
commit | 1f15c7f3dfe87144d69a97a9ef413b6d8f6d90f6 (patch) | |
tree | ad5addfdeef8451e75a8ff76ec7e1b7ff37ec6cd /mcs/class | |
parent | 846e52512d1f515a9da9afe9e98fc384f7ba118d (diff) |
- Added (partial) implementation of DialogResult; rest needs to be
implemented when the modal loop code is done
svn path=/trunk/mcs/; revision=33134
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs index 5b33bf62b7a..6ebd29de185 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs @@ -23,9 +23,13 @@ // Peter Bartok pbartok@novell.com // // -// $Revision: 1.7 $ +// $Revision: 1.8 $ // $Modtime: $ // $Log: Form.cs,v $ +// Revision 1.8 2004/09/01 02:05:18 pbartok +// - Added (partial) implementation of DialogResult; rest needs to be +// implemented when the modal loop code is done +// // Revision 1.7 2004/08/23 22:10:02 pbartok // - Fixed handling of WM_CLOSE message // - Removed debug output @@ -67,6 +71,7 @@ namespace System.Windows.Forms { private static bool autoscale; private static Size autoscale_base_size; internal bool closing; + private DialogResult dialog_result; #endregion // Local Variables @@ -108,6 +113,19 @@ namespace System.Windows.Forms { autoscale_base_size=value; } } + + [MonoTODO("Add code to terminate modal application loop")] + public DialogResult DialogResult { + get { + return dialog_result; + } + + set { + dialog_result = value; + + // Add termination code here + } + } #endregion // Public Instance Properties #region Public Static Methods |