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:
authorJoel Basson <joel@mono-cvs.ximian.com>2003-05-09 03:54:15 +0400
committerJoel Basson <joel@mono-cvs.ximian.com>2003-05-09 03:54:15 +0400
commit59e37d24bb26335c5c5487515bdd899ce15386a0 (patch)
tree37de32c36f86c5285af270804e4a8a85765bfce2 /mcs/class/System.Windows.Forms/Gtk/Form.cs
parent8c28f08ba3d9f8abf13183a3ab62adb9af149fcb (diff)
2003-05-09 Joel Basson <jstrike@mweb.co.za>
* Added many new properties to Combo.cs * Fixed the TextBox.Text get property * Fixed some properties in Form.cs * Small code cleanups svn path=/trunk/mcs/; revision=14409
Diffstat (limited to 'mcs/class/System.Windows.Forms/Gtk/Form.cs')
-rw-r--r--mcs/class/System.Windows.Forms/Gtk/Form.cs39
1 files changed, 23 insertions, 16 deletions
diff --git a/mcs/class/System.Windows.Forms/Gtk/Form.cs b/mcs/class/System.Windows.Forms/Gtk/Form.cs
index 6e9ad2ed2b7..2307780c711 100644
--- a/mcs/class/System.Windows.Forms/Gtk/Form.cs
+++ b/mcs/class/System.Windows.Forms/Gtk/Form.cs
@@ -4,7 +4,7 @@
// Author:
// Miguel de Icaza (miguel@ximian.com)
// stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
-//
+// Joel Basson (jstrike@mweb.co.za)
// (C) 2002 Ximian, Inc
//
@@ -18,6 +18,7 @@ namespace System.Windows.Forms {
public class Form : ContainerControl {
Window win;
string caption;
+ Size csize;
public Form () : base ()
{
@@ -82,7 +83,7 @@ namespace System.Windows.Forms {
// }
//}
// [MonoTODO]
- // public virtual Size AtoScaleBaseSize {
+ //public virtual Size AutoScaleBaseSize {
// get {
// throw new NotImplementedException ();
// }
@@ -118,14 +119,15 @@ namespace System.Windows.Forms {
// }
//}
// [MonoTODO]
- // public new Size ClientSize {
- // get {
- // throw new NotImplementedException ();
- // }
- // set {
- // throw new NotImplementedException ();
- // }
- //}
+ public Size ClientSize {
+ get {
+ return csize;
+ }
+ set {
+ csize = value;
+ Widget.SetSizeRequest (value.Width,value.Height);
+ }
+ }
// [MonoTODO]
// public bool ControlBox {
// get {
@@ -253,12 +255,12 @@ namespace System.Windows.Forms {
// }
//}
// [MonoTODO]
- // public MainMenu Menu {
+ //public Control Menu {
// get {
// throw new NotImplementedException ();
// }
// set {
- // throw new NotImplementedException ();
+ // Controls.AddRange(new System.Windows.Forms.Control[] {value});
// }
//}
// [MonoTODO]
@@ -452,10 +454,15 @@ namespace System.Windows.Forms {
// throw new NotImplementedException ();
// }
// [MonoTODO]
- // public void ResumeLayout()
- // {
- // throw new NotImplementedException ();
- // }
+ public void SuspendLayout()
+ {
+ throw new NotImplementedException ();
+ }
+ // [MonoTODO]
+ public void ResumeLayout()
+ {
+ throw new NotImplementedException ();
+ }
// [MonoTODO]
// public void Scale(float f)
// {