25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

93 lines
3.7 KiB

  1. // ------------------------------------------------------------------------------
  2. // <autogenerated>
  3. // This code was generated by a tool.
  4. // Mono Runtime Version: 2.0.50727.42
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </autogenerated>
  9. // ------------------------------------------------------------------------------
  10. namespace ThePimp {
  11. public partial class ErrorWindow {
  12. private Gtk.HBox hbox1;
  13. private Gtk.Image image1;
  14. private Gtk.Label message;
  15. private Gtk.Button buttonOk;
  16. protected virtual void Build() {
  17. Stetic.Gui.Initialize(this);
  18. // Widget ThePimp.ErrorWindow
  19. this.Name = "ThePimp.ErrorWindow";
  20. this.Title = Mono.Unix.Catalog.GetString("Pimp Error");
  21. this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Menu, 16);
  22. this.TypeHint = ((Gdk.WindowTypeHint)(1));
  23. this.WindowPosition = ((Gtk.WindowPosition)(4));
  24. this.Modal = true;
  25. this.HasSeparator = false;
  26. // Internal child ThePimp.ErrorWindow.VBox
  27. Gtk.VBox w1 = this.VBox;
  28. w1.Name = "dialog1_VBox";
  29. w1.BorderWidth = ((uint)(2));
  30. // Container child dialog1_VBox.Gtk.Box+BoxChild
  31. this.hbox1 = new Gtk.HBox();
  32. this.hbox1.Name = "hbox1";
  33. this.hbox1.Spacing = 20;
  34. this.hbox1.BorderWidth = ((uint)(10));
  35. // Container child hbox1.Gtk.Box+BoxChild
  36. this.image1 = new Gtk.Image();
  37. this.image1.Name = "image1";
  38. this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Dialog, 48);
  39. this.hbox1.Add(this.image1);
  40. Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image1]));
  41. w2.Position = 0;
  42. w2.Expand = false;
  43. w2.Fill = false;
  44. // Container child hbox1.Gtk.Box+BoxChild
  45. this.message = new Gtk.Label();
  46. this.message.Name = "message";
  47. this.message.LabelProp = Mono.Unix.Catalog.GetString("Error!");
  48. this.message.Wrap = true;
  49. this.hbox1.Add(this.message);
  50. Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.message]));
  51. w3.Position = 1;
  52. w3.Expand = false;
  53. w1.Add(this.hbox1);
  54. Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
  55. w4.Position = 0;
  56. w4.Fill = false;
  57. // Internal child ThePimp.ErrorWindow.ActionArea
  58. Gtk.HButtonBox w5 = this.ActionArea;
  59. w5.Name = "dialog1_ActionArea";
  60. w5.Spacing = 6;
  61. w5.BorderWidth = ((uint)(5));
  62. w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  63. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  64. this.buttonOk = new Gtk.Button();
  65. this.buttonOk.CanDefault = true;
  66. this.buttonOk.CanFocus = true;
  67. this.buttonOk.Name = "buttonOk";
  68. this.buttonOk.UseStock = true;
  69. this.buttonOk.UseUnderline = true;
  70. this.buttonOk.Label = "gtk-ok";
  71. this.AddActionWidget(this.buttonOk, -5);
  72. Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
  73. w6.Expand = false;
  74. w6.Fill = false;
  75. if ((this.Child != null)) {
  76. this.Child.ShowAll();
  77. }
  78. this.DefaultWidth = 229;
  79. this.DefaultHeight = 133;
  80. this.Show();
  81. this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked);
  82. }
  83. }
  84. }