diff options
author | Philip Van Hoof <pvanhoof@mono-cvs.ximian.com> | 2003-07-03 02:44:15 +0400 |
---|---|---|
committer | Philip Van Hoof <pvanhoof@mono-cvs.ximian.com> | 2003-07-03 02:44:15 +0400 |
commit | 6898bc910748b322663ed32ce4c72f25e36bca86 (patch) | |
tree | 571621da32d5494336ba5401c776fd58fad0e72b /mcs/class/System.Windows.Forms/Gtk/Form.cs | |
parent | 13180a9f2b16e18ac3bc43072c3fcd63f54ee7f6 (diff) |
*** empty log message ***
svn path=/trunk/mcs/; revision=15882
Diffstat (limited to 'mcs/class/System.Windows.Forms/Gtk/Form.cs')
-rw-r--r-- | mcs/class/System.Windows.Forms/Gtk/Form.cs | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/mcs/class/System.Windows.Forms/Gtk/Form.cs b/mcs/class/System.Windows.Forms/Gtk/Form.cs index 8f4d0cf6874..f050c802d4a 100644 --- a/mcs/class/System.Windows.Forms/Gtk/Form.cs +++ b/mcs/class/System.Windows.Forms/Gtk/Form.cs @@ -49,8 +49,13 @@ namespace System.Windows.Forms { Widget contents = base.CreateWidget (); win = new Window (WindowType.Toplevel); win.DeleteEvent += new DeleteEventHandler (delete_cb); + win.Title = Text; win.Add(contents); + // TODO: The Gtk.Windows does not have a on_show signal ? :( + if (Load != null) + Load (this, EventArgs.Empty); + return (Widget) win; } @@ -546,15 +551,8 @@ namespace System.Windows.Forms { // } //} - // [MonoTODO] - // public event EventHandler Load { - // add { - // throw new NotImplementedException (); - // } - // remove { - // throw new NotImplementedException (); - // } - //} + public event EventHandler Load; + // [MonoTODO] // public event EventHandler MaximizedBoundsChanged { // add { |