Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

81 rader
3.4 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 SaveFile {
  12. private Gtk.FileChooserWidget filechooserwidget1;
  13. private Gtk.Button buttonCancel;
  14. private Gtk.Button buttonOk;
  15. protected virtual void Build() {
  16. Stetic.Gui.Initialize(this);
  17. // Widget ThePimp.SaveFile
  18. this.Name = "ThePimp.SaveFile";
  19. this.Title = Mono.Unix.Catalog.GetString("Save File");
  20. this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_save", Gtk.IconSize.Menu, 16);
  21. this.WindowPosition = ((Gtk.WindowPosition)(4));
  22. this.HasSeparator = false;
  23. // Internal child ThePimp.SaveFile.VBox
  24. Gtk.VBox w1 = this.VBox;
  25. w1.Name = "dialog1_VBox";
  26. w1.BorderWidth = ((uint)(2));
  27. // Container child dialog1_VBox.Gtk.Box+BoxChild
  28. this.filechooserwidget1 = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(1)));
  29. this.filechooserwidget1.Name = "filechooserwidget1";
  30. w1.Add(this.filechooserwidget1);
  31. Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.filechooserwidget1]));
  32. w2.Position = 0;
  33. // Internal child ThePimp.SaveFile.ActionArea
  34. Gtk.HButtonBox w3 = this.ActionArea;
  35. w3.Name = "dialog1_ActionArea";
  36. w3.Spacing = 6;
  37. w3.BorderWidth = ((uint)(5));
  38. w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  39. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  40. this.buttonCancel = new Gtk.Button();
  41. this.buttonCancel.CanDefault = true;
  42. this.buttonCancel.CanFocus = true;
  43. this.buttonCancel.Name = "buttonCancel";
  44. this.buttonCancel.UseStock = true;
  45. this.buttonCancel.UseUnderline = true;
  46. this.buttonCancel.Label = "gtk-cancel";
  47. this.AddActionWidget(this.buttonCancel, -6);
  48. Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel]));
  49. w4.Expand = false;
  50. w4.Fill = false;
  51. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  52. this.buttonOk = new Gtk.Button();
  53. this.buttonOk.CanDefault = true;
  54. this.buttonOk.CanFocus = true;
  55. this.buttonOk.Name = "buttonOk";
  56. this.buttonOk.UseStock = true;
  57. this.buttonOk.UseUnderline = true;
  58. this.buttonOk.Label = "gtk-ok";
  59. this.AddActionWidget(this.buttonOk, -5);
  60. Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
  61. w5.Position = 1;
  62. w5.Expand = false;
  63. w5.Fill = false;
  64. if ((this.Child != null)) {
  65. this.Child.ShowAll();
  66. }
  67. this.DefaultWidth = 640;
  68. this.DefaultHeight = 480;
  69. this.Show();
  70. this.filechooserwidget1.FileActivated += new System.EventHandler(this.OnFilechooserwidget1FileActivated);
  71. }
  72. }
  73. }