Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ThePimp.OpenFile.cs 3.5 KiB

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