GroupBox.cs 546 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // System.Windows.Forms.GroupBox
  3. //
  4. // Author:
  5. // Joel Bason ([email protected])
  6. //
  7. //
  8. namespace System.Windows.Forms {
  9. /// <summary>
  10. /// Represents a Windows GroupBox.
  11. ///
  12. /// </summary>
  13. public class GroupBox : Form {
  14. public GroupBox () : base ()
  15. {
  16. }
  17. internal override Gtk.Widget CreateWidget () {
  18. Gtk.Frame gbox1 = new Gtk.Frame(null);
  19. return gbox1;
  20. }
  21. public override string Text {
  22. get {
  23. return ((Gtk.Frame)Widget).Label;
  24. }
  25. set {
  26. ((Gtk.Frame)Widget).Label = value;
  27. }
  28. }
  29. }
  30. }