GroupBox.cs 631 B

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