// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ public partial class MainWindow { private Gtk.VBox vbox1; private Gtk.Alignment alignment1; private Gtk.Image image1; private Gtk.Alignment alignment3; private Gtk.Fixed fixed1; private Gtk.Label label_destiny; private Gtk.FileChooserButton filechooserbutton_source; private Gtk.Label label_source; private Gtk.ComboBox combobox_destiny; private Gtk.Button button_exit; private Gtk.Button button_write; private Gtk.Label label_message; private Gtk.ProgressBar progressbarevil; protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("LliureX Image Writer"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-floppy", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.image1 = new Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = Gdk.Pixbuf.LoadFromResource("header.png"); this.alignment1.Add(this.image1); this.vbox1.Add(this.alignment1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.alignment1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; // Container child alignment3.Gtk.Container+ContainerChild this.fixed1 = new Gtk.Fixed(); this.fixed1.WidthRequest = 31; this.fixed1.HeightRequest = 229; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label_destiny = new Gtk.Label(); this.label_destiny.Name = "label_destiny"; this.label_destiny.LabelProp = Mono.Unix.Catalog.GetString("Select the device"); this.fixed1.Add(this.label_destiny); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label_destiny])); w3.X = 315; w3.Y = 19; // Container child fixed1.Gtk.Fixed+FixedChild this.filechooserbutton_source = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Seleccione un archivo"), ((Gtk.FileChooserAction)(0))); this.filechooserbutton_source.WidthRequest = 202; this.filechooserbutton_source.Name = "filechooserbutton_source"; this.fixed1.Add(this.filechooserbutton_source); Gtk.Fixed.FixedChild w4 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.filechooserbutton_source])); w4.X = 22; w4.Y = 47; // Container child fixed1.Gtk.Fixed+FixedChild this.label_source = new Gtk.Label(); this.label_source.Name = "label_source"; this.label_source.LabelProp = Mono.Unix.Catalog.GetString("Select the Image file"); this.fixed1.Add(this.label_source); Gtk.Fixed.FixedChild w5 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label_source])); w5.X = 23; w5.Y = 20; // Container child fixed1.Gtk.Fixed+FixedChild this.combobox_destiny = Gtk.ComboBox.NewText(); this.combobox_destiny.WidthRequest = 176; this.combobox_destiny.Name = "combobox_destiny"; this.fixed1.Add(this.combobox_destiny); Gtk.Fixed.FixedChild w6 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.combobox_destiny])); w6.X = 314; w6.Y = 46; // Container child fixed1.Gtk.Fixed+FixedChild this.button_exit = new Gtk.Button(); this.button_exit.WidthRequest = 150; this.button_exit.HeightRequest = 40; this.button_exit.CanFocus = true; this.button_exit.Name = "button_exit"; this.button_exit.UseUnderline = true; // Container child button_exit.Gtk.Container+ContainerChild Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w8 = new Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w9 = new Gtk.Image(); w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_not", Gtk.IconSize.Menu, 16); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w11 = new Gtk.Label(); w11.LabelProp = Mono.Unix.Catalog.GetString("Exit"); w11.UseUnderline = true; w8.Add(w11); w7.Add(w8); this.button_exit.Add(w7); this.fixed1.Add(this.button_exit); Gtk.Fixed.FixedChild w15 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.button_exit])); w15.X = 25; w15.Y = 176; // Container child fixed1.Gtk.Fixed+FixedChild this.button_write = new Gtk.Button(); this.button_write.WidthRequest = 150; this.button_write.HeightRequest = 40; this.button_write.CanFocus = true; this.button_write.Name = "button_write"; this.button_write.UseUnderline = true; // Container child button_write.Gtk.Container+ContainerChild Gtk.Alignment w16 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w17 = new Gtk.HBox(); w17.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w18 = new Gtk.Image(); w18.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16); w17.Add(w18); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w20 = new Gtk.Label(); w20.LabelProp = Mono.Unix.Catalog.GetString("Write"); w20.UseUnderline = true; w17.Add(w20); w16.Add(w17); this.button_write.Add(w16); this.fixed1.Add(this.button_write); Gtk.Fixed.FixedChild w24 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.button_write])); w24.X = 349; w24.Y = 175; // Container child fixed1.Gtk.Fixed+FixedChild this.label_message = new Gtk.Label(); this.label_message.WidthRequest = 457; this.label_message.HeightRequest = 35; this.label_message.Name = "label_message"; this.label_message.LabelProp = Mono.Unix.Catalog.GetString("Ready"); this.fixed1.Add(this.label_message); Gtk.Fixed.FixedChild w25 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label_message])); w25.X = 22; w25.Y = 137; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbarevil = new Gtk.ProgressBar(); this.progressbarevil.WidthRequest = 467; this.progressbarevil.Name = "progressbarevil"; this.fixed1.Add(this.progressbarevil); Gtk.Fixed.FixedChild w26 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.progressbarevil])); w26.X = 23; w26.Y = 113; this.alignment3.Add(this.fixed1); this.vbox1.Add(this.alignment3); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.alignment3])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 566; this.DefaultHeight = 350; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.filechooserbutton_source.SelectionChanged += new System.EventHandler(this.OnFilechooserbuttonSourceSelectionChanged); this.combobox_destiny.Changed += new System.EventHandler(this.OnComboboxDestinyChanged); this.button_exit.Clicked += new System.EventHandler(this.OnButtonExitClicked); this.button_write.Clicked += new System.EventHandler(this.OnButtonWriteClicked); } }