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:
authorPhilip Van Hoof <pvanhoof@mono-cvs.ximian.com>2003-07-03 02:44:15 +0400
committerPhilip Van Hoof <pvanhoof@mono-cvs.ximian.com>2003-07-03 02:44:15 +0400
commit6898bc910748b322663ed32ce4c72f25e36bca86 (patch)
tree571621da32d5494336ba5401c776fd58fad0e72b /mcs/class/System.Windows.Forms/Gtk/Form.cs
parent13180a9f2b16e18ac3bc43072c3fcd63f54ee7f6 (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.cs16
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 {