protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Popup.CalendarPopup this.Name = "LongoMatch.Gui.Popup.CalendarPopup"; this.Title = ""; this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Container child LongoMatch.Gui.Popup.CalendarPopup.Gtk.Container+ContainerChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(3)); this.Add (this.calendar1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 281; this.DefaultHeight = 214; this.Show (); this.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnFocusOutEvent); this.calendar1.DaySelectedDoubleClick += new global::System.EventHandler (this.OnCalendar1DaySelectedDoubleClick); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget TraceLab.UI.GTK.CalendarDatePickerDialog this.Name = "TraceLab.UI.GTK.CalendarDatePickerDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child TraceLab.UI.GTK.CalendarDatePickerDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); w1.Add (this.calendar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.calendar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Internal child TraceLab.UI.GTK.CalendarDatePickerDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Popup.CalendarPopup this.Name = "LongoMatch.Gui.Popup.CalendarPopup"; this.Title = ""; this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Container child LongoMatch.Gui.Popup.CalendarPopup.Gtk.Container+ContainerChild this.calendar1 = new global::Gtk.Calendar(); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(3)); this.Add(this.calendar1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 281; this.DefaultHeight = 214; this.Show(); this.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnFocusOutEvent); this.calendar1.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalendar1DaySelectedDoubleClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget GtkForms.Custom.CalendarWindow this.Events = ((global::Gdk.EventMask)(16384)); this.Name = "GtkForms.Custom.CalendarWindow"; this.Title = global::Mono.Unix.Catalog.GetString("CalendarWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Container child GtkForms.Custom.CalendarWindow.Gtk.Container+ContainerChild this.eventbox = new global::Gtk.EventBox(); this.eventbox.Name = "eventbox"; // Container child eventbox.Gtk.Container+ContainerChild this.calendar = new global::Gtk.Calendar(); this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.eventbox.Add(this.calendar); this.Add(this.eventbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 237; this.DefaultHeight = 216; this.Show(); this.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.GtkFormsCustomCalendarWindow_FocusOutEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget GtkForms.Custom.CalendarWindow this.Events = ((global::Gdk.EventMask)(16384)); this.Name = "GtkForms.Custom.CalendarWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("CalendarWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Container child GtkForms.Custom.CalendarWindow.Gtk.Container+ContainerChild this.eventbox = new global::Gtk.EventBox (); this.eventbox.Name = "eventbox"; // Container child eventbox.Gtk.Container+ContainerChild this.calendar = new global::Gtk.Calendar (); this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.eventbox.Add (this.calendar); this.Add (this.eventbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 237; this.DefaultHeight = 216; this.Show (); this.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.GtkFormsCustomCalendarWindow_FocusOutEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget FrontEnd.ViewLogbook this.Name = "FrontEnd.ViewLogbook"; this.Title = global::Mono.Unix.Catalog.GetString ("ViewLogbook"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child FrontEnd.ViewLogbook.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(5)); // Container child vbox3.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add (this.calendar1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView (); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.Editable = false; this.textview1.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add (this.textview1); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w3.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.btnClose = new global::Gtk.Button (); this.btnClose.CanFocus = true; this.btnClose.Name = "btnClose"; this.btnClose.UseUnderline = true; this.btnClose.Label = global::Mono.Unix.Catalog.GetString ("Close"); this.vbox3.Add (this.btnClose); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.btnClose])); w4.Position = 2; w4.Expand = false; w4.Fill = false; w4.Padding = ((uint)(5)); this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 603; this.Show (); this.calendar1.DaySelected += new global::System.EventHandler (this.OnDayChange); this.calendar1.MonthChanged += new global::System.EventHandler (this.OnMonthChange); this.btnClose.Clicked += new global::System.EventHandler (this.OnCloseClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Dialog.CalendarDialog this.Name = "LongoMatch.Gui.Dialog.CalendarDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Calendar"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Menu); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.CalendarDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar(); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); w1.Add(this.calendar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.calendar1])); w2.Position = 0; // Internal child LongoMatch.Gui.Dialog.CalendarDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 259; this.DefaultHeight = 258; this.Show(); this.calendar1.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalendar1DaySelectedDoubleClick); this.calendar1.DaySelected += new global::System.EventHandler(this.OnCalendar1DaySelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Dialog.CalendarDialog this.Name = "LongoMatch.Gui.Dialog.CalendarDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Calendar"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", global::Gtk.IconSize.Menu); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.CalendarDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); w1.Add (this.calendar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.calendar1])); w2.Position = 0; // Internal child LongoMatch.Gui.Dialog.CalendarDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 259; this.DefaultHeight = 258; this.Show (); this.calendar1.DaySelectedDoubleClick += new global::System.EventHandler (this.OnCalendar1DaySelectedDoubleClick); this.calendar1.DaySelected += new global::System.EventHandler (this.OnCalendar1DaySelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.CalendarWindow this.Name = "ocmgtk.CalendarWindow"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Decorated = false; this.DestroyWithParent = true; // Internal child ocmgtk.CalendarWindow.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.cal = new global::Gtk.Calendar(); this.cal.CanFocus = true; this.cal.Name = "cal"; this.cal.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); w1.Add(this.cal); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.cal])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Internal child ocmgtk.CalendarWindow.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 228; this.DefaultHeight = 271; this.Show(); this.cal.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalDClick); this.buttonOk.Clicked += new global::System.EventHandler(this.OnClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Agenda Master"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar(); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calendario); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w1.X = 5; w1.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.btnAddEvento = new global::Gtk.Button(); this.btnAddEvento.CanFocus = true; this.btnAddEvento.Name = "btnAddEvento"; this.btnAddEvento.UseUnderline = true; this.btnAddEvento.Label = global::Mono.Unix.Catalog.GetString("Adicionar eventos"); this.fixed1.Add(this.btnAddEvento); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnAddEvento])); w2.X = 262; w2.Y = 200; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.calendario.DaySelectedDoubleClick += new global::System.EventHandler(this.SelecionaDiaCalendario); this.btnAddEvento.Clicked += new global::System.EventHandler(this.btnAddEventoClicado); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString ("Primeiro Botao"); this.fixed1.Add (this.button2); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button2])); w1.X = 9; w1.Y = 43; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.calendar1])); w2.X = 159; w2.Y = 13; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 586; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button2.Clicked += new global::System.EventHandler (this.clicado); this.calendar1.NextMonth += new global::System.EventHandler (this.MesAlterado); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.calendar1 = new global::Gtk.Calendar(); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.Add(this.calendar1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Gtk.ExtraWidgets.DatePickerWindow this.Name = "Gtk.ExtraWidgets.DatePickerWindow"; this.Title = ""; this.TypeHint = ((global::Gdk.WindowTypeHint)(2)); this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.DestroyWithParent = true; // Container child Gtk.ExtraWidgets.DatePickerWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(1)); // Container child vbox2.Gtk.Box+BoxChild this.calendar = new global::Gtk.Calendar(); this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox2.Add(this.calendar); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.calendar])); w1.Position = 0; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 279; this.DefaultHeight = 231; this.Show(); this.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnButtonPressEvent); this.calendar.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalendar2DaySelectedDoubleClick); this.calendar.DaySelected += new global::System.EventHandler(this.OnCalendar2DaySelected); this.calendar.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnCalendarKeyReleaseEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Container child MainWindow.Gtk.Container+ContainerChild this.table8 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table8.Name = "table8"; this.table8.RowSpacing = ((uint)(6)); this.table8.ColumnSpacing = ((uint)(6)); // Container child table8.Gtk.Table+TableChild this.table12 = new global::Gtk.Table(((uint)(3)), ((uint)(1)), false); this.table12.WidthRequest = 1; this.table12.Name = "table12"; this.table12.RowSpacing = ((uint)(6)); this.table12.ColumnSpacing = ((uint)(6)); // Container child table12.Gtk.Table+TableChild this.labelCreditTitle = new global::Gtk.Label(); this.labelCreditTitle.Name = "labelCreditTitle"; this.labelCreditTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Credit"); this.table12.Add(this.labelCreditTitle); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table12[this.labelCreditTitle])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table12.Gtk.Table+TableChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.nodeviewCredit = new global::Gtk.NodeView(); this.nodeviewCredit.WidthRequest = 150; this.nodeviewCredit.CanFocus = true; this.nodeviewCredit.Name = "nodeviewCredit"; this.scrolledwindow2.Add(this.nodeviewCredit); this.table12.Add(this.scrolledwindow2); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table12[this.scrolledwindow2])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table12.Gtk.Table+TableChild this.table6 = new global::Gtk.Table(((uint)(3)), ((uint)(1)), false); this.table6.Name = "table6"; this.table6.RowSpacing = ((uint)(6)); this.table6.ColumnSpacing = ((uint)(6)); // Container child table6.Gtk.Table+TableChild this.buttonDeleteInvoice = new global::Gtk.Button(); this.buttonDeleteInvoice.HeightRequest = 30; this.buttonDeleteInvoice.CanFocus = true; this.buttonDeleteInvoice.Name = "buttonDeleteInvoice"; this.buttonDeleteInvoice.UseUnderline = true; this.buttonDeleteInvoice.Label = global::Mono.Unix.Catalog.GetString("Delete invoice"); this.table6.Add(this.buttonDeleteInvoice); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table6[this.buttonDeleteInvoice])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.buttonShowInvoiceDetail = new global::Gtk.Button(); this.buttonShowInvoiceDetail.HeightRequest = 30; this.buttonShowInvoiceDetail.CanFocus = true; this.buttonShowInvoiceDetail.Name = "buttonShowInvoiceDetail"; this.buttonShowInvoiceDetail.UseUnderline = true; this.buttonShowInvoiceDetail.Label = global::Mono.Unix.Catalog.GetString("Show invoice detail"); this.table6.Add(this.buttonShowInvoiceDetail); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table6[this.buttonShowInvoiceDetail])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.table7 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table7.Name = "table7"; this.table7.RowSpacing = ((uint)(6)); this.table7.ColumnSpacing = ((uint)(6)); // Container child table7.Gtk.Table+TableChild this.button11 = new global::Gtk.Button(); this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseUnderline = true; this.button11.Label = global::Mono.Unix.Catalog.GetString("Show overview"); this.table7.Add(this.button11); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table7[this.button11])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.ButtonExportToPdf = new global::Gtk.Button(); this.ButtonExportToPdf.HeightRequest = 30; this.ButtonExportToPdf.CanFocus = true; this.ButtonExportToPdf.Name = "ButtonExportToPdf"; this.ButtonExportToPdf.UseUnderline = true; this.ButtonExportToPdf.Label = global::Mono.Unix.Catalog.GetString("Export to pdf"); this.table7.Add(this.ButtonExportToPdf); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table7[this.ButtonExportToPdf])); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.table6.Add(this.table7); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table6[this.table7])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.table12.Add(this.table6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table12[this.table6])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.table8.Add(this.table12); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table8[this.table12])); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.table3 = new global::Gtk.Table(((uint)(9)), ((uint)(1)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.buttonAddInvoice = new global::Gtk.Button(); this.buttonAddInvoice.HeightRequest = 36; this.buttonAddInvoice.CanFocus = true; this.buttonAddInvoice.Name = "buttonAddInvoice"; this.buttonAddInvoice.UseUnderline = true; this.buttonAddInvoice.Label = global::Mono.Unix.Catalog.GetString("Add invoice"); this.table3.Add(this.buttonAddInvoice); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3[this.buttonAddInvoice])); w11.TopAttach = ((uint)(8)); w11.BottomAttach = ((uint)(9)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.calendarInvoiceDate = new global::Gtk.Calendar(); this.calendarInvoiceDate.CanFocus = true; this.calendarInvoiceDate.Name = "calendarInvoiceDate"; this.calendarInvoiceDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table3.Add(this.calendarInvoiceDate); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3[this.calendarInvoiceDate])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.calendarMaturityDate = new global::Gtk.Calendar(); this.calendarMaturityDate.CanFocus = true; this.calendarMaturityDate.Name = "calendarMaturityDate"; this.calendarMaturityDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table3.Add(this.calendarMaturityDate); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.calendarMaturityDate])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.comboboxType = global::Gtk.ComboBox.NewText(); this.comboboxType.Name = "comboboxType"; this.table3.Add(this.comboboxType); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.comboboxType])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Invoice type"); this.table3.Add(this.label10); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3[this.label10])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Invoice date"); this.table3.Add(this.label8); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3[this.label8])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Maturity date"); this.table3.Add(this.label9); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.label9])); w17.TopAttach = ((uint)(6)); w17.BottomAttach = ((uint)(7)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entryCreditorAdress = new global::Gtk.Entry(); this.entryCreditorAdress.CanFocus = true; this.entryCreditorAdress.Name = "entryCreditorAdress"; this.entryCreditorAdress.IsEditable = true; this.entryCreditorAdress.InvisibleChar = '•'; this.table2.Add(this.entryCreditorAdress); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.entryCreditorAdress])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryCreditorName = new global::Gtk.Entry(); this.entryCreditorName.CanFocus = true; this.entryCreditorName.Name = "entryCreditorName"; this.entryCreditorName.IsEditable = true; this.entryCreditorName.InvisibleChar = '•'; this.table2.Add(this.entryCreditorName); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.entryCreditorName])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryCreditorZip = new global::Gtk.Entry(); this.entryCreditorZip.CanFocus = true; this.entryCreditorZip.Name = "entryCreditorZip"; this.entryCreditorZip.IsEditable = true; this.entryCreditorZip.InvisibleChar = '•'; this.table2.Add(this.entryCreditorZip); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.entryCreditorZip])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryDebtorAdress = new global::Gtk.Entry(); this.entryDebtorAdress.CanFocus = true; this.entryDebtorAdress.Name = "entryDebtorAdress"; this.entryDebtorAdress.IsEditable = true; this.entryDebtorAdress.InvisibleChar = '•'; this.table2.Add(this.entryDebtorAdress); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2[this.entryDebtorAdress])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryDebtorName = new global::Gtk.Entry(); this.entryDebtorName.CanFocus = true; this.entryDebtorName.Name = "entryDebtorName"; this.entryDebtorName.IsEditable = true; this.entryDebtorName.InvisibleChar = '•'; this.table2.Add(this.entryDebtorName); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.entryDebtorName])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryDebtorZip = new global::Gtk.Entry(); this.entryDebtorZip.CanFocus = true; this.entryDebtorZip.Name = "entryDebtorZip"; this.entryDebtorZip.IsEditable = true; this.entryDebtorZip.InvisibleChar = '•'; this.table2.Add(this.entryDebtorZip); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.entryDebtorZip])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Debtor name"); this.table2.Add(this.label2); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.label2])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Debtor adress"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Debtor ZIP code"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.label4])); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Creditor ZIP code"); this.table2.Add(this.label5); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.label5])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Creditor name"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.label6])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Creditor adress"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2[this.label7])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.table3.Add(this.table2); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.table2])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.table4 = new global::Gtk.Table(((uint)(2)), ((uint)(1)), true); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entryInvoiceNumber = new global::Gtk.Entry(); this.entryInvoiceNumber.CanFocus = true; this.entryInvoiceNumber.Name = "entryInvoiceNumber"; this.entryInvoiceNumber.IsEditable = true; this.entryInvoiceNumber.InvisibleChar = '•'; this.table4.Add(this.entryInvoiceNumber); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table4[this.entryInvoiceNumber])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Invoice number"); this.table4.Add(this.label1); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table4[this.label1])); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.table3.Add(this.table4); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table3[this.table4])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); this.table8.Add(this.table3); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table8[this.table3])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.table9 = new global::Gtk.Table(((uint)(3)), ((uint)(1)), false); this.table9.WidthRequest = 1; this.table9.Name = "table9"; this.table9.RowSpacing = ((uint)(6)); this.table9.ColumnSpacing = ((uint)(6)); // Container child table9.Gtk.Table+TableChild this.labelDebtTitle = new global::Gtk.Label(); this.labelDebtTitle.Name = "labelDebtTitle"; this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Debt"); this.table9.Add(this.labelDebtTitle); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table9[this.labelDebtTitle])); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.nodeviewDebt = new global::Gtk.NodeView(); this.nodeviewDebt.WidthRequest = 0; this.nodeviewDebt.CanFocus = true; this.nodeviewDebt.Name = "nodeviewDebt"; this.scrolledwindow1.Add(this.nodeviewDebt); this.table9.Add(this.scrolledwindow1); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table9[this.scrolledwindow1])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.table5 = new global::Gtk.Table(((uint)(3)), ((uint)(1)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.ButtonAddInvoiceItem = new global::Gtk.Button(); this.ButtonAddInvoiceItem.HeightRequest = 36; this.ButtonAddInvoiceItem.CanFocus = true; this.ButtonAddInvoiceItem.Name = "ButtonAddInvoiceItem"; this.ButtonAddInvoiceItem.UseUnderline = true; this.ButtonAddInvoiceItem.Label = global::Mono.Unix.Catalog.GetString("Add invoice item"); this.table5.Add(this.ButtonAddInvoiceItem); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table5[this.ButtonAddInvoiceItem])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryInvoiceItemName = new global::Gtk.Entry(); this.entryInvoiceItemName.CanFocus = true; this.entryInvoiceItemName.Name = "entryInvoiceItemName"; this.entryInvoiceItemName.IsEditable = true; this.entryInvoiceItemName.InvisibleChar = '•'; this.table1.Add(this.entryInvoiceItemName); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.entryInvoiceItemName])); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Item text"); this.table1.Add(this.label11); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.label11])); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); this.table5.Add(this.table1); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table5[this.table1])); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.table10 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table10.Name = "table10"; this.table10.RowSpacing = ((uint)(6)); this.table10.ColumnSpacing = ((uint)(6)); // Container child table10.Gtk.Table+TableChild this.entryInvoiceItemCost = new global::Gtk.Entry(); this.entryInvoiceItemCost.CanFocus = true; this.entryInvoiceItemCost.Name = "entryInvoiceItemCost"; this.entryInvoiceItemCost.IsEditable = true; this.entryInvoiceItemCost.InvisibleChar = '•'; this.table10.Add(this.entryInvoiceItemCost); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table10[this.entryInvoiceItemCost])); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table10.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Item cost"); this.table10.Add(this.label12); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table10[this.label12])); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); this.table5.Add(this.table10); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table5[this.table10])); w44.TopAttach = ((uint)(1)); w44.BottomAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); this.table9.Add(this.table5); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table9[this.table5])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); this.table8.Add(this.table9); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table8[this.table9])); w46.LeftAttach = ((uint)(1)); w46.RightAttach = ((uint)(2)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table8); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1541; this.DefaultHeight = 731; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.SetFocus += new global::Gtk.SetFocusHandler(this.OnSetFocus); this.entryInvoiceItemCost.Changed += new global::System.EventHandler(this.OnEntryInvoiceItemCostChanged); this.ButtonAddInvoiceItem.Clicked += new global::System.EventHandler(this.OnButtonAddInvoiceItemClicked); this.buttonAddInvoice.Clicked += new global::System.EventHandler(this.OnButtonAddInvoiceClicked); this.ButtonExportToPdf.Clicked += new global::System.EventHandler(this.OnButtonExportToPdfClicked); this.button11.Clicked += new global::System.EventHandler(this.OnButton11Clicked); this.buttonShowInvoiceDetail.Clicked += new global::System.EventHandler(this.OnButtonShowInvoiceDetailClicked); this.buttonDeleteInvoice.Clicked += new global::System.EventHandler(this.OnButtonDeleteInvoiceClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Osobni_Troškovnik.UnesiTrosakWindow this.Name = "Osobni_Troškovnik.UnesiTrosakWindow"; this.Title = global::Mono.Unix.Catalog.GetString("UnesiTrosakWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; // Container child Osobni_Troškovnik.UnesiTrosakWindow.Gtk.Container+ContainerChild this.eventboxHome = new global::Gtk.EventBox(); this.eventboxHome.Name = "eventboxHome"; // Container child eventboxHome.Gtk.Container+ContainerChild this.vbox14 = new global::Gtk.VBox(); this.vbox14.Name = "vbox14"; this.vbox14.Spacing = 6; this.vbox14.BorderWidth = ((uint)(12)); // Container child vbox14.Gtk.Box+BoxChild this.table5 = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.cijena = new global::Gtk.SpinButton(0D, 1E+31D, 1D); global::Gtk.Tooltips w1 = new Gtk.Tooltips(); w1.SetTip(this.cijena, "Unesite cijenu troška\n", "Unesite cijenu troška\n"); this.cijena.CanFocus = true; this.cijena.Name = "cijena"; this.cijena.Adjustment.PageIncrement = 10D; this.cijena.ClimbRate = 1D; this.cijena.Digits = ((uint)(2)); this.cijena.Numeric = true; this.table5.Add(this.cijena); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table5[this.cijena])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YPadding = ((uint)(6)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.dodajKategorijuButton = new global::Gtk.Button(); w1.SetTip(this.dodajKategorijuButton, "Dodavanje nove kategorije", "Dodavanje nove kategorije"); this.dodajKategorijuButton.CanFocus = true; this.dodajKategorijuButton.Name = "dodajKategorijuButton"; this.dodajKategorijuButton.UseUnderline = true; global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Osobni_Troškovnik.Pics.plus.png"); this.dodajKategorijuButton.Image = w3; this.table5.Add(this.dodajKategorijuButton); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table5[this.dodajKategorijuButton])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.opis = new global::Gtk.TextView(); w1.SetTip(this.opis, "Kratak opis troška(pr. Kupnja mobitela IPhone 7)", "Kratak opis troška(pr. Kupnja mobitela IPhone 7)"); this.opis.CanFocus = true; this.opis.Name = "opis"; this.GtkScrolledWindow.Add(this.opis); this.table5.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table5[this.GtkScrolledWindow])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.kalendar = new global::Gtk.Calendar(); w1.SetTip(this.kalendar, "Odaberite datum nastanka troška", "Odaberite datum nastanka troška"); this.kalendar.CanFocus = true; this.kalendar.Name = "kalendar"; this.kalendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table5.Add(this.kalendar); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table5[this.kalendar])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YPadding = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.Xpad = 10; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Kategorija:"); this.table5.Add(this.label18); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table5[this.label18])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Cijena: "); this.table5.Add(this.label19); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table5[this.label19])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.listaKategorija = global::Gtk.ComboBox.NewText(); this.listaKategorija.Name = "listaKategorija"; this.table5.Add(this.listaKategorija); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table5[this.listaKategorija])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YPadding = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.vbox15 = new global::Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.Spacing = 6; // Container child vbox15.Gtk.Box+BoxChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Datum: "); this.vbox15.Add(this.label20); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.label20])); w11.Position = 0; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(8)); this.table5.Add(this.vbox15); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table5[this.vbox15])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.vbox16 = new global::Gtk.VBox(); this.vbox16.Name = "vbox16"; this.vbox16.Spacing = 6; // Container child vbox16.Gtk.Box+BoxChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Opis: "); this.vbox16.Add(this.label21); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox16[this.label21])); w13.Position = 0; w13.Expand = false; w13.Fill = false; this.table5.Add(this.vbox16); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table5[this.vbox16])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); this.vbox14.Add(this.table5); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.table5])); w15.Position = 0; // Container child vbox14.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox14.Add(this.hseparator2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.hseparator2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Homogeneous = true; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.odustaniButton = new global::Gtk.Button(); w1.SetTip(this.odustaniButton, "Odustani od upisivanja troška", "Odustani od upisivanja troška"); this.odustaniButton.CanFocus = true; this.odustaniButton.Name = "odustaniButton"; this.odustaniButton.UseUnderline = true; this.odustaniButton.Label = global::Mono.Unix.Catalog.GetString("Odustani"); this.hbox6.Add(this.odustaniButton); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.odustaniButton])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.spremiAndNovi = new global::Gtk.Button(); w1.SetTip(this.spremiAndNovi, "Spremi trošak i unesi novi", "Spremi trošak i unesi novi"); this.spremiAndNovi.CanFocus = true; this.spremiAndNovi.Name = "spremiAndNovi"; this.spremiAndNovi.UseUnderline = true; this.spremiAndNovi.Label = global::Mono.Unix.Catalog.GetString("Spremi & Novi"); this.hbox6.Add(this.spremiAndNovi); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spremiAndNovi])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.spremiButton = new global::Gtk.Button(); w1.SetTip(this.spremiButton, "Spremi trošak", "Spremi trošak"); this.spremiButton.CanFocus = true; this.spremiButton.Name = "spremiButton"; this.spremiButton.UseUnderline = true; this.spremiButton.Label = global::Mono.Unix.Catalog.GetString("Spremi"); this.hbox6.Add(this.spremiButton); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spremiButton])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.vbox14.Add(this.hbox6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.hbox6])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.eventboxHome.Add(this.vbox14); this.Add(this.eventboxHome); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 380; this.DefaultHeight = 441; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.KeyPress); this.dodajKategorijuButton.Clicked += new global::System.EventHandler(this.novaKategorijaClicked); this.odustaniButton.Clicked += new global::System.EventHandler(this.odustaniClicked); this.spremiAndNovi.Clicked += new global::System.EventHandler(this.spremiAndNoviClicked); this.spremiButton.Clicked += new global::System.EventHandler(this.spremiClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DiveIn.Properties.CreateCompetition this.Name = "DiveIn.Properties.CreateCompetition"; this.Title = global::Mono.Unix.Catalog.GetString("CreateCompetition"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-color-picker", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child DiveIn.Properties.CreateCompetition.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.CompNameEntry = new global::Gtk.Entry(); this.CompNameEntry.CanFocus = true; this.CompNameEntry.Name = "CompNameEntry"; this.CompNameEntry.Text = global::Mono.Unix.Catalog.GetString("Competition name..."); this.CompNameEntry.IsEditable = true; this.CompNameEntry.InvisibleChar = '●'; this.vbox2.Add(this.CompNameEntry); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.CompNameEntry])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.LocationEntry = new global::Gtk.Entry(); this.LocationEntry.CanFocus = true; this.LocationEntry.Name = "LocationEntry"; this.LocationEntry.Text = global::Mono.Unix.Catalog.GetString("Location..."); this.LocationEntry.IsEditable = true; this.LocationEntry.InvisibleChar = '●'; this.vbox2.Add(this.LocationEntry); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.LocationEntry])); w2.Position = 1; w2.Padding = ((uint)(15)); // Container child vbox2.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar(); this.calendar1.WidthRequest = 100; this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox2.Add(this.calendar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.calendar1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.CreateComp = new global::Gtk.Button(); this.CreateComp.CanFocus = true; this.CreateComp.Name = "CreateComp"; this.CreateComp.UseUnderline = true; this.CreateComp.Label = global::Mono.Unix.Catalog.GetString("Create competition"); this.vbox1.Add(this.CreateComp); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.CreateComp])); w5.Position = 1; w5.Padding = ((uint)(8)); // Container child vbox1.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox1.Add(this.hseparator2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 524; this.DefaultHeight = 348; this.Show(); this.CreateComp.Clicked += new global::System.EventHandler(this.OnCreateCompetitionClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.txtNombre = new global::Gtk.Entry (); this.txtNombre.CanFocus = true; this.txtNombre.Name = "txtNombre"; this.txtNombre.IsEditable = true; this.txtNombre.InvisibleChar = '●'; this.fixed1.Add (this.txtNombre); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.txtNombre])); w1.X = 87; w1.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.lblNombre = new global::Gtk.Label (); this.lblNombre.Name = "lblNombre"; this.lblNombre.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.lblNombre); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblNombre])); w2.X = 22; w2.Y = 19; // Container child fixed1.Gtk.Fixed+FixedChild this.lblCodigo = new global::Gtk.Label (); this.lblCodigo.Name = "lblCodigo"; this.lblCodigo.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.lblCodigo); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblCodigo])); w3.X = 22; w3.Y = 50; // Container child fixed1.Gtk.Fixed+FixedChild this.lblPregunta1 = new global::Gtk.Label (); this.lblPregunta1.Name = "lblPregunta1"; this.lblPregunta1.LabelProp = global::Mono.Unix.Catalog.GetString ("1-.¿PERSONAJE DE LA INDEPENDENCIA DE MEXICO?"); this.fixed1.Add (this.lblPregunta1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblPregunta1])); w4.X = 24; w4.Y = 98; // Container child fixed1.Gtk.Fixed+FixedChild this.txtCodigo = new global::Gtk.Entry (); this.txtCodigo.CanFocus = true; this.txtCodigo.Name = "txtCodigo"; this.txtCodigo.IsEditable = true; this.txtCodigo.InvisibleChar = '●'; this.fixed1.Add (this.txtCodigo); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.txtCodigo])); w5.X = 87; w5.Y = 45; // Container child fixed1.Gtk.Fixed+FixedChild this.lblrespueta1a = new global::Gtk.Label (); this.lblrespueta1a.Name = "lblrespueta1a"; this.lblrespueta1a.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.lblrespueta1a); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblrespueta1a])); w6.X = 21; w6.Y = 136; // Container child fixed1.Gtk.Fixed+FixedChild this.lblPregunta2 = new global::Gtk.Label (); this.lblPregunta2.Name = "lblPregunta2"; this.lblPregunta2.LabelProp = global::Mono.Unix.Catalog.GetString ("2-.¿Cuanto es 2*2?"); this.fixed1.Add (this.lblPregunta2); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblPregunta2])); w7.X = 31; w7.Y = 174; // Container child fixed1.Gtk.Fixed+FixedChild this.lblPregunta3 = new global::Gtk.Label (); this.lblPregunta3.Name = "lblPregunta3"; this.lblPregunta3.LabelProp = global::Mono.Unix.Catalog.GetString ("3-.¿Cuales paises son de America?"); this.fixed1.Add (this.lblPregunta3); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblPregunta3])); w8.X = 29; w8.Y = 235; // Container child fixed1.Gtk.Fixed+FixedChild this.lblRespueta2a = new global::Gtk.Label (); this.lblRespueta2a.Name = "lblRespueta2a"; this.lblRespueta2a.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.lblRespueta2a); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblRespueta2a])); w9.X = 27; w9.Y = 262; // Container child fixed1.Gtk.Fixed+FixedChild this.lblPregunta4 = new global::Gtk.Label (); this.lblPregunta4.Name = "lblPregunta4"; this.lblPregunta4.LabelProp = global::Mono.Unix.Catalog.GetString ("4-.¿Indique la fecha de la Independencia de Mexico?"); this.fixed1.Add (this.lblPregunta4); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblPregunta4])); w10.X = 38; w10.Y = 326; // Container child fixed1.Gtk.Fixed+FixedChild this.spbRespuesta2 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spbRespuesta2.CanFocus = true; this.spbRespuesta2.Name = "spbRespuesta2"; this.spbRespuesta2.Adjustment.PageIncrement = 10D; this.spbRespuesta2.ClimbRate = 1D; this.spbRespuesta2.Numeric = true; this.fixed1.Add (this.spbRespuesta2); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spbRespuesta2])); w11.X = 150; w11.Y = 203; // Container child fixed1.Gtk.Fixed+FixedChild this.cmbGrupo = global::Gtk.ComboBox.NewText (); this.cmbGrupo.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.cmbGrupo.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.cmbGrupo.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.cmbGrupo.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.cmbGrupo.AppendText (global::Mono.Unix.Catalog.GetString ("E")); this.cmbGrupo.Name = "cmbGrupo"; this.fixed1.Add (this.cmbGrupo); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.cmbGrupo])); w12.X = 411; w12.Y = 22; // Container child fixed1.Gtk.Fixed+FixedChild this.lblGrupo = new global::Gtk.Label (); this.lblGrupo.Name = "lblGrupo"; this.lblGrupo.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.lblGrupo); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblGrupo])); w13.X = 350; w13.Y = 24; // Container child fixed1.Gtk.Fixed+FixedChild this.rburespuesta1a = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Lola la Trailera")); this.rburespuesta1a.CanFocus = true; this.rburespuesta1a.Name = "rburespuesta1a"; this.rburespuesta1a.DrawIndicator = true; this.rburespuesta1a.UseUnderline = true; this.rburespuesta1a.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.rburespuesta1a); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.rburespuesta1a])); w14.X = 38; w14.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.lblrespueta1b = new global::Gtk.Label (); this.lblrespueta1b.Name = "lblrespueta1b"; this.lblrespueta1b.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.lblrespueta1b); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblrespueta1b])); w15.X = 158; w15.Y = 137; // Container child fixed1.Gtk.Fixed+FixedChild this.rburespuesta1b = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("El Chavo Del 8")); this.rburespuesta1b.CanFocus = true; this.rburespuesta1b.Name = "rburespuesta1b"; this.rburespuesta1b.DrawIndicator = true; this.rburespuesta1b.UseUnderline = true; this.rburespuesta1b.Group = this.rburespuesta1a.Group; this.fixed1.Add (this.rburespuesta1b); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.rburespuesta1b])); w16.X = 174; w16.Y = 136; // Container child fixed1.Gtk.Fixed+FixedChild this.lblrespueta1c = new global::Gtk.Label (); this.lblrespueta1c.Name = "lblrespueta1c"; this.lblrespueta1c.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.lblrespueta1c); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblrespueta1c])); w17.X = 292; w17.Y = 137; // Container child fixed1.Gtk.Fixed+FixedChild this.rburespuesta1c = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Miguel Hidalgo y Costilla")); this.rburespuesta1c.CanFocus = true; this.rburespuesta1c.Name = "rburespuesta1c"; this.rburespuesta1c.DrawIndicator = true; this.rburespuesta1c.UseUnderline = true; this.rburespuesta1c.Group = this.rburespuesta1a.Group; this.fixed1.Add (this.rburespuesta1c); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.rburespuesta1c])); w18.X = 304; w18.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.lblrespueta1d = new global::Gtk.Label (); this.lblrespueta1d.Name = "lblrespueta1d"; this.lblrespueta1d.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.lblrespueta1d); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblrespueta1d])); w19.X = 470; w19.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.rburespuesta1d = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Laura Bozzo")); this.rburespuesta1d.CanFocus = true; this.rburespuesta1d.Name = "rburespuesta1d"; this.rburespuesta1d.DrawIndicator = true; this.rburespuesta1d.UseUnderline = true; this.rburespuesta1d.Group = this.rburespuesta1a.Group; this.fixed1.Add (this.rburespuesta1d); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.rburespuesta1d])); w20.X = 484; w20.Y = 134; // Container child fixed1.Gtk.Fixed+FixedChild this.ckbRespuesta3a = new global::Gtk.CheckButton (); this.ckbRespuesta3a.CanFocus = true; this.ckbRespuesta3a.Name = "ckbRespuesta3a"; this.ckbRespuesta3a.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.ckbRespuesta3a.DrawIndicator = true; this.ckbRespuesta3a.UseUnderline = true; this.fixed1.Add (this.ckbRespuesta3a); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.ckbRespuesta3a])); w21.X = 40; w21.Y = 262; // Container child fixed1.Gtk.Fixed+FixedChild this.lblRespueta2b = new global::Gtk.Label (); this.lblRespueta2b.Name = "lblRespueta2b"; this.lblRespueta2b.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.lblRespueta2b); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblRespueta2b])); w22.X = 145; w22.Y = 262; // Container child fixed1.Gtk.Fixed+FixedChild this.ckbRespuesta3b = new global::Gtk.CheckButton (); this.ckbRespuesta3b.CanFocus = true; this.ckbRespuesta3b.Name = "ckbRespuesta3b"; this.ckbRespuesta3b.Label = global::Mono.Unix.Catalog.GetString ("Argentina"); this.ckbRespuesta3b.DrawIndicator = true; this.ckbRespuesta3b.UseUnderline = true; this.fixed1.Add (this.ckbRespuesta3b); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.ckbRespuesta3b])); w23.X = 159; w23.Y = 261; // Container child fixed1.Gtk.Fixed+FixedChild this.lblRespueta2c = new global::Gtk.Label (); this.lblRespueta2c.Name = "lblRespueta2c"; this.lblRespueta2c.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.lblRespueta2c); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblRespueta2c])); w24.X = 262; w24.Y = 260; // Container child fixed1.Gtk.Fixed+FixedChild this.ckbRespuesta3c = new global::Gtk.CheckButton (); this.ckbRespuesta3c.CanFocus = true; this.ckbRespuesta3c.Name = "ckbRespuesta3c"; this.ckbRespuesta3c.Label = global::Mono.Unix.Catalog.GetString ("Alemania"); this.ckbRespuesta3c.DrawIndicator = true; this.ckbRespuesta3c.UseUnderline = true; this.fixed1.Add (this.ckbRespuesta3c); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.ckbRespuesta3c])); w25.X = 277; w25.Y = 259; // Container child fixed1.Gtk.Fixed+FixedChild this.lblRespueta2d = new global::Gtk.Label (); this.lblRespueta2d.Name = "lblRespueta2d"; this.lblRespueta2d.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.lblRespueta2d); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblRespueta2d])); w26.X = 381; w26.Y = 259; // Container child fixed1.Gtk.Fixed+FixedChild this.ckbRespuesta3d = new global::Gtk.CheckButton (); this.ckbRespuesta3d.CanFocus = true; this.ckbRespuesta3d.Name = "ckbRespuesta3d"; this.ckbRespuesta3d.Label = global::Mono.Unix.Catalog.GetString ("Japon"); this.ckbRespuesta3d.DrawIndicator = true; this.ckbRespuesta3d.UseUnderline = true; this.fixed1.Add (this.ckbRespuesta3d); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.ckbRespuesta3d])); w27.X = 395; w27.Y = 258; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar (); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendario); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w28.X = 157; w28.Y = 352; // Container child fixed1.Gtk.Fixed+FixedChild this.btnTerminar = new global::Gtk.Button (); this.btnTerminar.CanFocus = true; this.btnTerminar.Name = "btnTerminar"; this.btnTerminar.UseUnderline = true; this.btnTerminar.Label = global::Mono.Unix.Catalog.GetString ("Terminar"); this.fixed1.Add (this.btnTerminar); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnTerminar])); w29.X = 504; w29.Y = 487; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 637; this.DefaultHeight = 575; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.btnTerminar.Clicked += new global::System.EventHandler (this.OnBtnTerminarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Template.TemplateWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style"); w1.Add(this.WindowStyleAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE"); w1.Add(this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.Sensitive = false; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction.Visible = false; this.PlatformStyleAction.VisibleHorizontal = false; this.PlatformStyleAction.VisibleVertical = false; this.PlatformStyleAction.VisibleOverflown = false; w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE"); w1.Add(this.DecoratedCustomStyleAction, null); this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group; this.PlatformStyleAction1.Sensitive = false; this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction1.Visible = false; w1.Add(this.PlatformStyleAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Template.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child Template.TemplateWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.table1.Add(this.button1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("young")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.table1.Add(this.comboboxentry1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.table1.Add(this.entry1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.Buffer.Text = "Young, strong and crazy!"; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.table1.Add(this.progressbar1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table1.Add(this.spinbutton1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.table1.Add(this.togglebutton1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.vbox3.Add(this.checkbutton3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.vbox3.Add(this.checkbutton4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobutton1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton3")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w22.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 483; this.DefaultHeight = 497; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.QuitAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.eventboxNonClient = new global::Gtk.EventBox (); this.eventboxNonClient.Name = "eventboxNonClient"; // Container child eventboxNonClient.Gtk.Container+ContainerChild this.eventboxClient = new global::Gtk.EventBox (); this.eventboxClient.Name = "eventboxClient"; this.eventboxClient.BorderWidth = ((uint)(4)); // Container child eventboxClient.Gtk.Container+ContainerChild this.vboxClient = new global::Gtk.VBox (); this.vboxClient.Name = "vboxClient"; // Container child vboxClient.Gtk.Box+BoxChild this.titlebox2 = new global::GuiWidgets.TitleBox (); this.titlebox2.Events = ((global::Gdk.EventMask)(256)); this.titlebox2.Name = "titlebox2"; this.titlebox2.Title = "Young, strong and crazy!"; this.titlebox2.QuitOnClose = true; this.titlebox2.MinimizeVisible = true; this.titlebox2.MaximizeVisible = true; this.vboxClient.Add (this.titlebox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.titlebox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar4\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'QuitAction\' action=\'QuitAction\'/></menu><menu name=\'HelpAction\' action=\'" + "HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu><menu/></m" + "enubar></ui>"); this.menubar4 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar4"))); this.menubar4.Name = "menubar4"; this.vboxClient.Add (this.menubar4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.menubar4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.fixed1.Add (this.button1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w4.X = 8; w4.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString ("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 8; w5.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("Young")); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("strong")); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.fixed1.Add (this.comboboxentry1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry1])); w6.X = 8; w6.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w7.X = 287; w7.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 287; w8.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w9.X = 287; w9.Y = 66; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.WidthRequest = 250; this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.fixed1.Add (this.progressbar1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1])); w10.X = 8; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.WidthRequest = 250; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 50D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.fixed1.Add (this.hscale1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w11.X = 287; w11.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 50D; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w12.X = 422; w12.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar3 = new global::Gtk.Calendar (); this.calendar3.CanFocus = true; this.calendar3.Name = "calendar3"; this.calendar3.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar3])); w13.X = 8; w13.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton (); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString ("GtkToggleButton"); this.fixed1.Add (this.togglebutton2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.togglebutton2])); w14.X = 79; w14.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview3 = new global::Gtk.TextView (); this.textview3.Buffer.Text = "Young, strong and crazy!"; this.textview3.WidthRequest = 200; this.textview3.HeightRequest = 150; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add (this.textview3); this.fixed1.Add (this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w16.X = 169; w16.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w17.X = 193; w17.Y = 13; this.alignment1.Add (this.fixed1); this.vboxClient.Add (this.alignment1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.alignment1])); w19.Position = 2; // Container child vboxClient.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar (); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vboxClient.Add (this.statusbar2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.statusbar2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.eventboxClient.Add (this.vboxClient); this.eventboxNonClient.Add (this.eventboxClient); this.Add (this.eventboxNonClient); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 601; this.DefaultHeight = 481; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("TERMINAR"); this.fixed1.Add (this.button1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w1.X = 424; w1.Y = 471; // Container child fixed1.Gtk.Fixed+FixedChild this.Nombre1 = new global::Gtk.Label (); this.Nombre1.Name = "Nombre1"; this.Nombre1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.Nombre1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Nombre1])); w2.X = 18; w2.Y = 18; // Container child fixed1.Gtk.Fixed+FixedChild this.codigo = new global::Gtk.Label (); this.codigo.Name = "codigo"; this.codigo.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.codigo); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.codigo])); w3.X = 16; w3.Y = 43; // Container child fixed1.Gtk.Fixed+FixedChild this.pregu1 = new global::Gtk.Label (); this.pregu1.Name = "pregu1"; this.pregu1.LabelProp = global::Mono.Unix.Catalog.GetString ("1._¿Personaje de la independencia de Mexico?"); this.fixed1.Add (this.pregu1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.pregu1])); w4.X = 13; w4.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.entry3 = new global::Gtk.Entry (); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.fixed1.Add (this.entry3); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry3])); w5.X = 62; w5.Y = 42; // Container child fixed1.Gtk.Fixed+FixedChild this.opc1 = new global::Gtk.Label (); this.opc1.Name = "opc1"; this.opc1.LabelProp = global::Mono.Unix.Catalog.GetString ("A)"); this.fixed1.Add (this.opc1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc1])); w6.X = 11; w6.Y = 97; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Goku")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w7.X = 35; w7.Y = 96; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Mac flay")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w8.X = 300; w8.Y = 97; // Container child fixed1.Gtk.Fixed+FixedChild this.pregu2 = new global::Gtk.Label (); this.pregu2.Name = "pregu2"; this.pregu2.LabelProp = global::Mono.Unix.Catalog.GetString ("2._¿Cuanto es 2 + 2?"); this.fixed1.Add (this.pregu2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.pregu2])); w9.X = 25; w9.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w10.X = 43; w10.Y = 156; // Container child fixed1.Gtk.Fixed+FixedChild this.pregu3 = new global::Gtk.Label (); this.pregu3.Name = "pregu3"; this.pregu3.LabelProp = global::Mono.Unix.Catalog.GetString ("3._¿Cuales paises son de america?"); this.fixed1.Add (this.pregu3); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.pregu3])); w11.X = 36; w11.Y = 190; // Container child fixed1.Gtk.Fixed+FixedChild this.opc6 = new global::Gtk.Label (); this.opc6.Name = "opc6"; this.opc6.LabelProp = global::Mono.Unix.Catalog.GetString ("B)"); this.fixed1.Add (this.opc6); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc6])); w12.X = 117; w12.Y = 229; // Container child fixed1.Gtk.Fixed+FixedChild this.opc7 = new global::Gtk.Label (); this.opc7.Name = "opc7"; this.opc7.LabelProp = global::Mono.Unix.Catalog.GetString ("C)"); this.fixed1.Add (this.opc7); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc7])); w13.X = 211; w13.Y = 229; // Container child fixed1.Gtk.Fixed+FixedChild this.opc8 = new global::Gtk.Label (); this.opc8.Name = "opc8"; this.opc8.LabelProp = global::Mono.Unix.Catalog.GetString ("D)"); this.fixed1.Add (this.opc8); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc8])); w14.X = 324; w14.Y = 228; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w15.X = 33; w15.Y = 224; // Container child fixed1.Gtk.Fixed+FixedChild this.opc5 = new global::Gtk.Label (); this.opc5.Name = "opc5"; this.opc5.LabelProp = global::Mono.Unix.Catalog.GetString ("A)"); this.fixed1.Add (this.opc5); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc5])); w16.X = 5; w16.Y = 224; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton2 = new global::Gtk.CheckButton (); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString ("Peru"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.fixed1.Add (this.checkbutton2); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton2])); w17.X = 136; w17.Y = 227; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton3 = new global::Gtk.CheckButton (); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString ("Alemania"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.fixed1.Add (this.checkbutton3); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton3])); w18.X = 230; w18.Y = 226; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton4 = new global::Gtk.CheckButton (); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString ("Japon"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.fixed1.Add (this.checkbutton4); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton4])); w19.X = 344; w19.Y = 226; // Container child fixed1.Gtk.Fixed+FixedChild this.pregu4 = new global::Gtk.Label (); this.pregu4.Name = "pregu4"; this.pregu4.LabelProp = global::Mono.Unix.Catalog.GetString ("4._ Indique la fecha de la independencia de Mexico."); this.fixed1.Add (this.pregu4); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.pregu4])); w20.X = 34; w20.Y = 255; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar1); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar1])); w21.X = 25; w21.Y = 303; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.WidthChars = 40; this.entry1.InvisibleChar = '●'; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w22.X = 63; w22.Y = 16; // Container child fixed1.Gtk.Fixed+FixedChild this.grupo = new global::Gtk.Label (); this.grupo.Name = "grupo"; this.grupo.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.grupo); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.grupo])); w23.X = 345; w23.Y = 21; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry3 = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentry3.WidthRequest = 82; this.comboboxentry3.Name = "comboboxentry3"; this.fixed1.Add (this.comboboxentry3); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry3])); w24.X = 398; w24.Y = 18; // Container child fixed1.Gtk.Fixed+FixedChild this.opc2 = new global::Gtk.Label (); this.opc2.Name = "opc2"; this.opc2.LabelProp = global::Mono.Unix.Catalog.GetString ("B)"); this.fixed1.Add (this.opc2); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc2])); w25.X = 98; w25.Y = 98; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Miguel Hidalgo y Costilla")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w26.X = 111; w26.Y = 96; // Container child fixed1.Gtk.Fixed+FixedChild this.opc3 = new global::Gtk.Label (); this.opc3.Name = "opc3"; this.opc3.LabelProp = global::Mono.Unix.Catalog.GetString ("C)"); this.fixed1.Add (this.opc3); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc3])); w27.X = 273; w27.Y = 98; // Container child fixed1.Gtk.Fixed+FixedChild this.opc4 = new global::Gtk.Label (); this.opc4.Name = "opc4"; this.opc4.LabelProp = global::Mono.Unix.Catalog.GetString ("D)"); this.fixed1.Add (this.opc4); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc4])); w28.X = 386; w28.Y = 100; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton5 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Crissty (Panque)")); this.radiobutton5.CanFocus = true; this.radiobutton5.Name = "radiobutton5"; this.radiobutton5.DrawIndicator = true; this.radiobutton5.UseUnderline = true; this.radiobutton5.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton5); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton5])); w29.X = 411; w29.Y = 98; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 554; this.DefaultHeight = 542; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.WidthRequest = 1366; this.HeightRequest = 768; this.Name = "MainWindow"; this.Title = "Taquilla RIFT Laser Tag"; this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_notes", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(2)); this.AllowShrink = true; this.DefaultHeight = 600; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbContenedor = new global::Gtk.HBox (); this.hbContenedor.WidthRequest = 800; this.hbContenedor.HeightRequest = 600; this.hbContenedor.Name = "hbContenedor"; // Container child hbContenedor.Gtk.Box+BoxChild this.vbPanelIzquierdo = new global::Gtk.VBox (); this.vbPanelIzquierdo.WidthRequest = 600; this.vbPanelIzquierdo.Name = "vbPanelIzquierdo"; // Container child vbPanelIzquierdo.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.controles = new global::Gtk.VBox (); this.controles.WidthRequest = 207; this.controles.Name = "controles"; this.controles.Spacing = 6; // Container child controles.Gtk.Box+BoxChild this.calDiaTrabajo = new global::Gtk.Calendar (); this.calDiaTrabajo.WidthRequest = 202; this.calDiaTrabajo.HeightRequest = 184; this.calDiaTrabajo.CanFocus = true; this.calDiaTrabajo.Name = "calDiaTrabajo"; this.calDiaTrabajo.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.controles.Add (this.calDiaTrabajo); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.controles [this.calDiaTrabajo])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.hbox1.Add (this.controles); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.controles])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmdFinalizar = new global::Gtk.Button (); this.cmdFinalizar.CanFocus = true; this.cmdFinalizar.Name = "cmdFinalizar"; this.cmdFinalizar.UseUnderline = true; // Container child cmdFinalizar.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox (); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu); w4.Add (w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label (); w7.LabelProp = "Cerrar sesión"; w7.UseUnderline = true; w4.Add (w7); w3.Add (w4); this.cmdFinalizar.Add (w3); this.hbox6.Add (this.cmdFinalizar); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.cmdFinalizar])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.lblRegistradoComo = new global::Gtk.Label (); this.lblRegistradoComo.Name = "lblRegistradoComo"; this.lblRegistradoComo.LabelProp = "Cajero"; this.hbox6.Add (this.lblRegistradoComo); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.lblRegistradoComo])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 1; // Container child hbox6.Gtk.Box+BoxChild this.lblRegistradoComo1 = new global::Gtk.Label (); this.lblRegistradoComo1.Name = "lblRegistradoComo1"; this.lblRegistradoComo1.LabelProp = "Registrado como"; this.hbox6.Add (this.lblRegistradoComo1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.lblRegistradoComo1])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Homogeneous = true; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.Cumpleanos = new global::Gtk.Button (); this.Cumpleanos.CanFocus = true; this.Cumpleanos.Name = "Cumpleanos"; this.Cumpleanos.UseUnderline = true; // Container child Cumpleanos.Gtk.Container+ContainerChild global::Gtk.Alignment w15 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w16 = new global::Gtk.HBox (); w16.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w17 = new global::Gtk.Image (); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); w16.Add (w17); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w19 = new global::Gtk.Label (); w19.LabelProp = "_Eventos"; w19.UseUnderline = true; w16.Add (w19); w15.Add (w16); this.Cumpleanos.Add (w15); this.hbox7.Add (this.Cumpleanos); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.Cumpleanos])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.Pases = new global::Gtk.Button (); this.Pases.CanFocus = true; this.Pases.Name = "Pases"; this.Pases.UseUnderline = true; // Container child Pases.Gtk.Container+ContainerChild global::Gtk.Alignment w24 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w25 = new global::Gtk.HBox (); w25.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w26 = new global::Gtk.Image (); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_new-text", global::Gtk.IconSize.Menu); w25.Add (w26); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w28 = new global::Gtk.Label (); w28.LabelProp = "_Pases"; w28.UseUnderline = true; w25.Add (w28); w24.Add (w25); this.Pases.Add (w24); this.hbox7.Add (this.Pases); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.Pases])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.cmdStock = new global::Gtk.Button (); this.cmdStock.CanFocus = true; this.cmdStock.Name = "cmdStock"; this.cmdStock.UseUnderline = true; // Container child cmdStock.Gtk.Container+ContainerChild global::Gtk.Alignment w33 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w34 = new global::Gtk.HBox (); w34.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w35 = new global::Gtk.Image (); w35.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_insert-note", global::Gtk.IconSize.Menu); w34.Add (w35); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w37 = new global::Gtk.Label (); w37.LabelProp = "Compras"; w37.UseUnderline = true; w34.Add (w37); w33.Add (w34); this.cmdStock.Add (w33); this.hbox7.Add (this.cmdStock); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.cmdStock])); w41.Position = 2; w41.Expand = false; w41.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.cmbCorteZ = new global::Gtk.Button (); this.cmbCorteZ.CanFocus = true; this.cmbCorteZ.Name = "cmbCorteZ"; this.cmbCorteZ.UseUnderline = true; // Container child cmbCorteZ.Gtk.Container+ContainerChild global::Gtk.Alignment w42 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w43 = new global::Gtk.HBox (); w43.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w44 = new global::Gtk.Image (); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_copy", global::Gtk.IconSize.Menu); w43.Add (w44); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w46 = new global::Gtk.Label (); w46.LabelProp = "Corte _Z"; w46.UseUnderline = true; w43.Add (w46); w42.Add (w43); this.cmbCorteZ.Add (w42); this.hbox7.Add (this.cmbCorteZ); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.cmbCorteZ])); w50.Position = 3; w50.Expand = false; w50.Fill = false; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w51.Position = 1; w51.Expand = false; w51.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox2.Add (this.hseparator2); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator2])); w52.Position = 2; w52.Expand = false; w52.Fill = false; w52.Padding = ((uint)(13)); // Container child vbox2.Gtk.Box+BoxChild this.lblFechaActual = new global::Gtk.Label (); this.lblFechaActual.Name = "lblFechaActual"; this.lblFechaActual.LabelProp = "Fecha de hoy"; this.vbox2.Add (this.lblFechaActual); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblFechaActual])); w53.Position = 3; w53.Expand = false; w53.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Homogeneous = true; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.lblHoraActual = new global::Gtk.Label (); this.lblHoraActual.Name = "lblHoraActual"; this.lblHoraActual.LabelProp = "Hora actual"; this.hbox8.Add (this.lblHoraActual); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.lblHoraActual])); w54.Position = 0; w54.Expand = false; w54.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.lblPrecioDelDia = new global::Gtk.Label (); this.lblPrecioDelDia.Name = "lblPrecioDelDia"; this.lblPrecioDelDia.LabelProp = "Precio del día"; this.hbox8.Add (this.lblPrecioDelDia); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.lblPrecioDelDia])); w55.Position = 1; w55.Expand = false; w55.Fill = false; this.vbox2.Add (this.hbox8); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8])); w56.Position = 4; w56.Expand = false; w56.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w57.Position = 1; this.vbPanelIzquierdo.Add (this.hbox1); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbPanelIzquierdo [this.hbox1])); w58.Position = 0; w58.Expand = false; w58.Fill = false; // Container child vbPanelIzquierdo.Gtk.Box+BoxChild this.hbControles2 = new global::Gtk.HBox (); this.hbControles2.Name = "hbControles2"; this.hbControles2.Spacing = 6; // Container child hbControles2.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeTiquetes = new global::Gtk.TreeView (); this.treeTiquetes.CanFocus = true; this.treeTiquetes.Name = "treeTiquetes"; this.treeTiquetes.EnableSearch = false; this.treeTiquetes.RulesHint = true; this.GtkScrolledWindow1.Add (this.treeTiquetes); this.hbControles2.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbControles2 [this.GtkScrolledWindow1])); w60.Position = 0; this.vbPanelIzquierdo.Add (this.hbControles2); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbPanelIzquierdo [this.hbControles2])); w61.Position = 1; // Container child vbPanelIzquierdo.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = "<b>+</b> = Tiquete <b>p</b> = pase/promoción <b>m</b> = mover tiquete <b>i</b> = I.V.A exento"; this.label2.UseMarkup = true; this.vbPanelIzquierdo.Add (this.label2); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbPanelIzquierdo [this.label2])); w62.Position = 2; w62.Expand = false; w62.Fill = false; this.hbContenedor.Add (this.vbPanelIzquierdo); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbContenedor [this.vbPanelIzquierdo])); w63.Position = 0; w63.Expand = false; w63.Fill = false; // Container child hbContenedor.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbContenedor.Add (this.vseparator1); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbContenedor [this.vseparator1])); w64.Position = 1; w64.Expand = false; w64.Fill = false; w64.Padding = ((uint)(3)); // Container child hbContenedor.Gtk.Box+BoxChild this.lblAtencion = new global::Gtk.Label (); this.lblAtencion.Name = "lblAtencion"; this.lblAtencion.Justify = ((global::Gtk.Justification)(2)); this.lblAtencion.Angle = 90; this.hbContenedor.Add (this.lblAtencion); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbContenedor [this.lblAtencion])); w65.Position = 2; w65.Expand = false; w65.Fill = false; // Container child hbContenedor.Gtk.Box+BoxChild this.Cafeteria = new global::Gtk.VBox (); this.Cafeteria.WidthRequest = 350; this.Cafeteria.Name = "Cafeteria"; // Container child Cafeteria.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.BorderWidth = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = "Música"; this.checkbutton1.Active = true; this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.table1.Add (this.checkbutton1); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton1])); w66.TopAttach = ((uint)(1)); w66.BottomAttach = ((uint)(2)); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.XOptions = ((global::Gtk.AttachOptions)(1)); w66.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Homogeneous = true; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.cmdRiftIniciar = new global::Gtk.Button (); this.cmdRiftIniciar.CanFocus = true; this.cmdRiftIniciar.Name = "cmdRiftIniciar"; this.cmdRiftIniciar.UseUnderline = true; this.cmdRiftIniciar.Label = "Iniciar"; this.hbox5.Add (this.cmdRiftIniciar); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.cmdRiftIniciar])); w67.Position = 0; w67.Expand = false; w67.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.cmdRiftAbortar = new global::Gtk.Button (); this.cmdRiftAbortar.CanFocus = true; this.cmdRiftAbortar.Name = "cmdRiftAbortar"; this.cmdRiftAbortar.UseUnderline = true; this.cmdRiftAbortar.Label = "Abortar"; this.hbox5.Add (this.cmdRiftAbortar); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.cmdRiftAbortar])); w68.Position = 1; w68.Expand = false; w68.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.cmdRiftFinalizar = new global::Gtk.Button (); this.cmdRiftFinalizar.CanFocus = true; this.cmdRiftFinalizar.Name = "cmdRiftFinalizar"; this.cmdRiftFinalizar.UseUnderline = true; this.cmdRiftFinalizar.Label = "Finalizar"; this.hbox5.Add (this.cmdRiftFinalizar); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.cmdRiftFinalizar])); w69.Position = 2; w69.Expand = false; w69.Fill = false; this.table1.Add (this.hbox5); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w70.TopAttach = ((uint)(1)); w70.BottomAttach = ((uint)(2)); w70.XOptions = ((global::Gtk.AttachOptions)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = "Control de juego"; this.table1.Add (this.label4); global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w71.XOptions = ((global::Gtk.AttachOptions)(4)); w71.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = "Lobby"; this.label5.Justify = ((global::Gtk.Justification)(2)); this.table1.Add (this.label5); global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w72.LeftAttach = ((uint)(1)); w72.RightAttach = ((uint)(2)); w72.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w73.Position = 0; w73.Expand = false; w73.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox1.Add (this.hseparator1); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); w74.Position = 1; w74.Expand = false; w74.Fill = false; w74.Padding = ((uint)(19)); // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tvLista = new global::Gtk.TreeView (); this.tvLista.CanFocus = true; this.tvLista.Name = "tvLista"; this.tvLista.EnableSearch = false; this.GtkScrolledWindow.Add (this.tvLista); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w76.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.lblVuelto = new global::Gtk.Label (); this.lblVuelto.Name = "lblVuelto"; this.lblVuelto.LabelProp = "<span size='xx-large'>Vuelto: </span><span size='xx-large' color='blue'>$0.00</span>"; this.lblVuelto.UseMarkup = true; this.hbox4.Add (this.lblVuelto); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.lblVuelto])); w77.Position = 0; w77.Expand = false; w77.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.lblTotal = new global::Gtk.Label (); this.lblTotal.Name = "lblTotal"; this.lblTotal.LabelProp = "<span size='xx-large'>Total: </span><span size='xx-large' color='red'>$0.00</span>"; this.lblTotal.UseMarkup = true; this.hbox4.Add (this.lblTotal); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.lblTotal])); w78.Position = 1; w78.Expand = false; w78.Fill = false; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w79.Position = 3; w79.Expand = false; w79.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = "Efectivo recibido"; this.hbox3.Add (this.label1); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label1])); w80.Position = 0; w80.Expand = false; w80.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.txtEfectivo = new global::Gtk.Entry (); this.txtEfectivo.CanFocus = true; this.txtEfectivo.Name = "txtEfectivo"; this.txtEfectivo.IsEditable = true; this.txtEfectivo.InvisibleChar = '•'; this.hbox3.Add (this.txtEfectivo); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.txtEfectivo])); w81.Position = 1; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w82.Position = 4; w82.Expand = false; w82.Fill = false; w82.Padding = ((uint)(5)); this.Cafeteria.Add (this.vbox1); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.Cafeteria [this.vbox1])); w83.Position = 0; // Container child Cafeteria.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.btnAnular = new global::Gtk.Button (); this.btnAnular.CanFocus = true; this.btnAnular.Name = "btnAnular"; this.btnAnular.UseUnderline = true; // Container child btnAnular.Gtk.Container+ContainerChild global::Gtk.Alignment w84 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w85 = new global::Gtk.HBox (); w85.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w86 = new global::Gtk.Image (); w86.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); w85.Add (w86); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w88 = new global::Gtk.Label (); w88.LabelProp = "_Anular"; w88.UseUnderline = true; w85.Add (w88); w84.Add (w85); this.btnAnular.Add (w84); this.hbox2.Add (this.btnAnular); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnAnular])); w92.Position = 0; w92.Expand = false; w92.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.btnCancelar = new global::Gtk.Button (); this.btnCancelar.CanFocus = true; this.btnCancelar.Name = "btnCancelar"; this.btnCancelar.UseUnderline = true; // Container child btnCancelar.Gtk.Container+ContainerChild global::Gtk.Alignment w93 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w94 = new global::Gtk.HBox (); w94.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w95 = new global::Gtk.Image (); w95.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w94.Add (w95); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w97 = new global::Gtk.Label (); w97.LabelProp = "_Cancelar"; w97.UseUnderline = true; w94.Add (w97); w93.Add (w94); this.btnCancelar.Add (w93); this.hbox2.Add (this.btnCancelar); global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnCancelar])); w101.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.btnImprimir = new global::Gtk.Button (); this.btnImprimir.CanFocus = true; this.btnImprimir.Name = "btnImprimir"; this.btnImprimir.UseUnderline = true; // Container child btnImprimir.Gtk.Container+ContainerChild global::Gtk.Alignment w102 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w103 = new global::Gtk.HBox (); w103.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w104 = new global::Gtk.Image (); w104.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); w103.Add (w104); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w106 = new global::Gtk.Label (); w106.LabelProp = "_Imprimir"; w106.UseUnderline = true; w103.Add (w106); w102.Add (w103); this.btnImprimir.Add (w102); this.hbox2.Add (this.btnImprimir); global::Gtk.Box.BoxChild w110 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnImprimir])); w110.Position = 2; this.Cafeteria.Add (this.hbox2); global::Gtk.Box.BoxChild w111 = ((global::Gtk.Box.BoxChild)(this.Cafeteria [this.hbox2])); w111.Position = 1; w111.Expand = false; w111.Fill = false; this.hbContenedor.Add (this.Cafeteria); global::Gtk.Box.BoxChild w112 = ((global::Gtk.Box.BoxChild)(this.hbContenedor [this.Cafeteria])); w112.PackType = ((global::Gtk.PackType)(1)); w112.Position = 3; w112.Expand = false; w112.Fill = false; this.Add (this.hbContenedor); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1368; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.calDiaTrabajo.DaySelected += new global::System.EventHandler (this.OnCalDiaTrabajoDaySelected); this.cmdFinalizar.Clicked += new global::System.EventHandler (this.OnCmdFinalizarClicked); this.Cumpleanos.Clicked += new global::System.EventHandler (this.OnCumpleanosClicked); this.Pases.Clicked += new global::System.EventHandler (this.OnPasesClicked); this.cmdStock.Clicked += new global::System.EventHandler (this.OnCmdStockClicked); this.cmbCorteZ.Clicked += new global::System.EventHandler (this.OnCmbCorteZClicked); this.treeTiquetes.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnTreeTiquetesKeyPressEvent); this.cmdRiftIniciar.Clicked += new global::System.EventHandler (this.OnCmdRiftIniciarClicked); this.cmdRiftAbortar.Clicked += new global::System.EventHandler (this.OnCmdRiftAbortarClicked); this.cmdRiftFinalizar.Clicked += new global::System.EventHandler (this.OnCmdRiftFinalizarClicked); this.checkbutton1.Toggled += new global::System.EventHandler (this.OnCheckbutton1Toggled); this.tvLista.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnTvListaKeyPressEvent); this.txtEfectivo.Changed += new global::System.EventHandler (this.OnTxtEfectivoChanged); this.btnAnular.Clicked += new global::System.EventHandler (this.OnBtnAnularClicked); this.btnCancelar.Clicked += new global::System.EventHandler (this.OnBtnCancelarClicked); this.btnImprimir.Clicked += new global::System.EventHandler (this.OnBtnImprimirClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget escuela_manejo.Main_forms.AddCourseInstance this.Name = "escuela_manejo.Main_forms.AddCourseInstance"; this.Title = global::Mono.Unix.Catalog.GetString("AddCourseInstance"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child escuela_manejo.Main_forms.AddCourseInstance.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Tipo de curso:"); this.hbox4.Add(this.label8); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label8])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.combocourse = global::Gtk.ComboBox.NewText(); this.combocourse.WidthRequest = 300; this.combocourse.Name = "combocourse"; this.hbox4.Add(this.combocourse); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.combocourse])); w2.Position = 1; w2.Fill = false; this.vbox7.Add(this.hbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString(" Instructor : "); this.vbox11.Add(this.label9); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.label9])); w4.Position = 0; w4.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString(" Vehiculo:"); this.vbox11.Add(this.label10); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.label10])); w5.Position = 1; this.hbox5.Add(this.vbox11); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox11])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.comboins = global::Gtk.ComboBox.NewText(); this.comboins.WidthRequest = 300; this.comboins.Name = "comboins"; this.vbox10.Add(this.comboins); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.comboins])); w7.Position = 0; w7.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.comboveh = global::Gtk.ComboBox.NewText(); this.comboveh.Name = "comboveh"; this.vbox10.Add(this.comboveh); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.comboveh])); w8.Position = 1; w8.Fill = false; this.hbox5.Add(this.vbox10); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox10])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox7.Add(this.hbox5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox5])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Fecha inicial"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w11.X = 15; w11.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Fecha final"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w12.X = 8; w12.Y = 310; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Cliente"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w13.X = 15; w13.Y = 10; this.hbox6.Add(this.fixed1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.fixed1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.comboclient = global::Gtk.ComboBox.NewText(); this.comboclient.WidthRequest = 300; this.comboclient.Name = "comboclient"; this.vbox8.Add(this.comboclient); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.comboclient])); w15.Position = 0; w15.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.calenIni = new global::Gtk.Calendar(); this.calenIni.CanFocus = true; this.calenIni.Name = "calenIni"; this.calenIni.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox8.Add(this.calenIni); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.calenIni])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.calenEnd = new global::Gtk.Calendar(); this.calenEnd.CanFocus = true; this.calenEnd.Name = "calenEnd"; this.calenEnd.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox8.Add(this.calenEnd); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.calenEnd])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.hbox6.Add(this.vbox8); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.vbox8])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox7.Add(this.hbox6); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox6])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Agregar Instancia"); this.vbox7.Add(this.button4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.button4])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.Add(this.vbox7); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 459; this.DefaultHeight = 580; this.Show(); this.button4.Clicked += new global::System.EventHandler(this.onClickBtnAddService); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Taquilla.pases this.Name = "Taquilla.pases"; this.Title = "Generador de pases"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Taquilla.pases.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = "Perfil de pase"; this.vbox2.Add (this.label6); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label6])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.cmbPerfilPase = global::Gtk.ComboBox.NewText (); this.cmbPerfilPase.Name = "cmbPerfilPase"; this.vbox2.Add (this.cmbPerfilPase); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.cmbPerfilPase])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = "Cantidad de pases"; this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.txtCantidadDeBoletos = new global::Gtk.Entry (); this.txtCantidadDeBoletos.CanFocus = true; this.txtCantidadDeBoletos.Name = "txtCantidadDeBoletos"; this.txtCantidadDeBoletos.Text = "0"; this.txtCantidadDeBoletos.IsEditable = true; this.txtCantidadDeBoletos.InvisibleChar = '●'; this.vbox2.Add (this.txtCantidadDeBoletos); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.txtCantidadDeBoletos])); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = "Días válidos"; this.vbox2.Add (this.label2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2])); w6.Position = 4; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.chkDomingo = new global::Gtk.CheckButton (); this.chkDomingo.CanFocus = true; this.chkDomingo.Name = "chkDomingo"; this.chkDomingo.Label = "Domingo"; this.chkDomingo.DrawIndicator = true; this.chkDomingo.UseUnderline = true; this.table1.Add (this.chkDomingo); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkDomingo])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkJueves = new global::Gtk.CheckButton (); this.chkJueves.CanFocus = true; this.chkJueves.Name = "chkJueves"; this.chkJueves.Label = "Jueves"; this.chkJueves.Active = true; this.chkJueves.DrawIndicator = true; this.chkJueves.UseUnderline = true; this.table1.Add (this.chkJueves); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkJueves])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkLunes = new global::Gtk.CheckButton (); this.chkLunes.CanFocus = true; this.chkLunes.Name = "chkLunes"; this.chkLunes.Label = "Lunes"; this.chkLunes.Active = true; this.chkLunes.DrawIndicator = true; this.chkLunes.UseUnderline = true; this.table1.Add (this.chkLunes); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkLunes])); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkMartes = new global::Gtk.CheckButton (); this.chkMartes.CanFocus = true; this.chkMartes.Name = "chkMartes"; this.chkMartes.Label = "Martes"; this.chkMartes.Active = true; this.chkMartes.DrawIndicator = true; this.chkMartes.UseUnderline = true; this.table1.Add (this.chkMartes); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkMartes])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkMiercoles = new global::Gtk.CheckButton (); this.chkMiercoles.CanFocus = true; this.chkMiercoles.Name = "chkMiercoles"; this.chkMiercoles.Label = "Miércoles"; this.chkMiercoles.Active = true; this.chkMiercoles.DrawIndicator = true; this.chkMiercoles.UseUnderline = true; this.table1.Add (this.chkMiercoles); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkMiercoles])); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkSabado = new global::Gtk.CheckButton (); this.chkSabado.CanFocus = true; this.chkSabado.Name = "chkSabado"; this.chkSabado.Label = "Sábado"; this.chkSabado.DrawIndicator = true; this.chkSabado.UseUnderline = true; this.table1.Add (this.chkSabado); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkSabado])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkViernes = new global::Gtk.CheckButton (); this.chkViernes.CanFocus = true; this.chkViernes.Name = "chkViernes"; this.chkViernes.Label = "Viernes"; this.chkViernes.DrawIndicator = true; this.chkViernes.UseUnderline = true; this.table1.Add (this.chkViernes); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkViernes])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w14.Position = 5; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.txtPrecioBoletos = new global::Gtk.Entry (); this.txtPrecioBoletos.CanFocus = true; this.txtPrecioBoletos.Name = "txtPrecioBoletos"; this.txtPrecioBoletos.Text = "0.00"; this.txtPrecioBoletos.IsEditable = true; this.txtPrecioBoletos.InvisibleChar = '●'; this.vbox2.Add (this.txtPrecioBoletos); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.txtPrecioBoletos])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 6; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = "Precio <u><b>individual</b></u> de pase"; this.label3.UseMarkup = true; this.label3.UseUnderline = true; this.vbox2.Add (this.label3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label3])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 7; w16.Expand = false; w16.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = "Fecha de expiración de tiquetes"; this.vbox4.Add (this.label5); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label5])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.calCaducidad = new global::Gtk.Calendar (); this.calCaducidad.HeightRequest = 184; this.calCaducidad.CanFocus = true; this.calCaducidad.Name = "calCaducidad"; this.calCaducidad.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox4.Add (this.calCaducidad); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.calCaducidad])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.txtRazonBoletos = new global::Gtk.Entry (); this.txtRazonBoletos.CanFocus = true; this.txtRazonBoletos.Name = "txtRazonBoletos"; this.txtRazonBoletos.IsEditable = true; this.txtRazonBoletos.InvisibleChar = '●'; this.vbox4.Add (this.txtRazonBoletos); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.txtRazonBoletos])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = "Razón para extender estos pases"; this.vbox4.Add (this.label4); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label4])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 3; w21.Expand = false; w21.Fill = false; this.hbox1.Add (this.vbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Internal child Taquilla.pases.ActionArea global::Gtk.HButtonBox w24 = this.ActionArea; w24.Name = "dialog1_ActionArea"; w24.Spacing = 10; w24.BorderWidth = ((uint)(5)); w24.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; // Container child buttonCancel.Gtk.Container+ContainerChild global::Gtk.Alignment w25 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w26 = new global::Gtk.HBox (); w26.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w27 = new global::Gtk.Image (); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu); w26.Add (w27); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w29 = new global::Gtk.Label (); w29.LabelProp = "_Salir"; w29.UseUnderline = true; w26.Add (w29); w25.Add (w26); this.buttonCancel.Add (w25); this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24 [this.buttonCancel])); w33.Expand = false; w33.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; // Container child buttonOk.Gtk.Container+ContainerChild global::Gtk.Alignment w34 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w35 = new global::Gtk.HBox (); w35.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w36 = new global::Gtk.Image (); w36.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); w35.Add (w36); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w38 = new global::Gtk.Label (); w38.LabelProp = "_Imprimir"; w38.UseUnderline = true; w35.Add (w38); w34.Add (w35); this.buttonOk.Add (w34); this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w42 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24 [this.buttonOk])); w42.Position = 1; w42.Expand = false; w42.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 454; this.DefaultHeight = 331; this.Show (); this.cmbPerfilPase.Changed += new global::System.EventHandler (this.OnCmbPerfilPaseChanged); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.label3); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w1.X = 295; w1.Y = 18; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w2.X = 85; w2.Y = 14; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed1.Add (this.entry2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry2])); w3.X = 84; w3.Y = 48; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w4.X = 33; w4.Y = 18; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w5.X = 31; w5.Y = 54; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("1.-¿En que año estamos?"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w6.X = 25; w6.Y = 95; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label5); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w7.X = 20; w7.Y = 121; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2011")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 36; w8.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label6); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w9.X = 91; w9.Y = 122; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2010")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w10.X = 108; w10.Y = 121; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label7); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label7])); w11.X = 161; w11.Y = 122; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2013")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w12.X = 180; w12.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.label8); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label8])); w13.X = 232; w13.Y = 121; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton4 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2012")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton4); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton4])); w14.X = 248; w14.Y = 119; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("2.- ¿cuanto es 2 + 2?"); this.fixed1.Add (this.label9); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label9])); w15.X = 22; w15.Y = 156; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w16.X = 37; w16.Y = 182; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("3.- ¿cuales paises son de America?"); this.fixed1.Add (this.label10); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label10])); w17.X = 18; w17.Y = 217; // Container child fixed1.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label11); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label11])); w18.X = 9; w18.Y = 242; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w19.X = 21; w19.Y = 240; // Container child fixed1.Gtk.Fixed+FixedChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label12); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label12])); w20.X = 89; w20.Y = 241; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton2 = new global::Gtk.CheckButton (); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString ("Peru"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.fixed1.Add (this.checkbutton2); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton2])); w21.X = 103; w21.Y = 241; // Container child fixed1.Gtk.Fixed+FixedChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label13); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label13])); w22.X = 155; w22.Y = 243; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton3 = new global::Gtk.CheckButton (); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString ("Alemania"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.fixed1.Add (this.checkbutton3); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton3])); w23.X = 167; w23.Y = 242; // Container child fixed1.Gtk.Fixed+FixedChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.label14); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label14])); w24.X = 247; w24.Y = 244; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton4 = new global::Gtk.CheckButton (); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString ("Japon"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.fixed1.Add (this.checkbutton4); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton4])); w25.X = 264; w25.Y = 243; // Container child fixed1.Gtk.Fixed+FixedChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("4.- Indique la fecha de la independencia de Mexico"); this.fixed1.Add (this.label15); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label15])); w26.X = 10; w26.Y = 274; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar1); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar1])); w27.X = 65; w27.Y = 303; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Terminar"); this.fixed1.Add (this.button1); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w28.X = 282; w28.Y = 503; // Container child fixed1.Gtk.Fixed+FixedChild this.combobox1 = global::Gtk.ComboBox.NewText (); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.combobox1.Name = "combobox1"; this.fixed1.Add (this.combobox1); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.combobox1])); w29.X = 331; w29.Y = 14; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 586; this.DefaultHeight = 599; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w1.X = 10; w1.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w2.X = 10; w2.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.codigo = new global::Gtk.Entry (); this.codigo.WidthRequest = 332; this.codigo.CanFocus = true; this.codigo.Name = "codigo"; this.codigo.IsEditable = true; this.codigo.InvisibleChar = '●'; this.fixed1.Add (this.codigo); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.codigo])); w3.X = 65; w3.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.nombre = new global::Gtk.Entry (); this.nombre.WidthRequest = 329; this.nombre.CanFocus = true; this.nombre.Name = "nombre"; this.nombre.IsEditable = true; this.nombre.InvisibleChar = '●'; this.fixed1.Add (this.nombre); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.nombre])); w4.X = 66; w4.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("1) Capital de Mexico"); this.fixed1.Add (this.label3); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w5.X = 8; w5.Y = 87; // Container child fixed1.Gtk.Fixed+FixedChild this.radiodf = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("DF")); this.radiodf.CanFocus = true; this.radiodf.Name = "radiodf"; this.radiodf.DrawIndicator = true; this.radiodf.UseUnderline = true; this.radiodf.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiodf); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiodf])); w6.X = 5; w6.Y = 110; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Monterrey")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiodf.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w7.X = 5; w7.Y = 150; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton4 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Guadalajara")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.radiodf.Group; this.fixed1.Add (this.radiobutton4); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton4])); w8.X = 5; w8.Y = 130; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("2) Paises de Europa"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w9.X = 8; w9.Y = 195; // Container child fixed1.Gtk.Fixed+FixedChild this.checkreino = new global::Gtk.CheckButton (); this.checkreino.CanFocus = true; this.checkreino.Name = "checkreino"; this.checkreino.Label = global::Mono.Unix.Catalog.GetString ("Reino Unido"); this.checkreino.DrawIndicator = true; this.checkreino.UseUnderline = true; this.fixed1.Add (this.checkreino); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkreino])); w10.X = 5; w10.Y = 258; // Container child fixed1.Gtk.Fixed+FixedChild this.checkportugal = new global::Gtk.CheckButton (); this.checkportugal.CanFocus = true; this.checkportugal.Name = "checkportugal"; this.checkportugal.Label = global::Mono.Unix.Catalog.GetString ("Portugal"); this.checkportugal.DrawIndicator = true; this.checkportugal.UseUnderline = true; this.fixed1.Add (this.checkportugal); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkportugal])); w11.X = 5; w11.Y = 218; // Container child fixed1.Gtk.Fixed+FixedChild this.checkmexico = new global::Gtk.CheckButton (); this.checkmexico.CanFocus = true; this.checkmexico.Name = "checkmexico"; this.checkmexico.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.checkmexico.DrawIndicator = true; this.checkmexico.UseUnderline = true; this.fixed1.Add (this.checkmexico); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkmexico])); w12.X = 5; w12.Y = 238; // Container child fixed1.Gtk.Fixed+FixedChild this.checkmace = new global::Gtk.CheckButton (); this.checkmace.CanFocus = true; this.checkmace.Name = "checkmace"; this.checkmace.Label = global::Mono.Unix.Catalog.GetString ("Macedonia"); this.checkmace.DrawIndicator = true; this.checkmace.UseUnderline = true; this.fixed1.Add (this.checkmace); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkmace])); w13.X = 5; w13.Y = 278; // Container child fixed1.Gtk.Fixed+FixedChild this.checkaustralia = new global::Gtk.CheckButton (); this.checkaustralia.CanFocus = true; this.checkaustralia.Name = "checkaustralia"; this.checkaustralia.Label = global::Mono.Unix.Catalog.GetString ("Australia"); this.checkaustralia.DrawIndicator = true; this.checkaustralia.UseUnderline = true; this.fixed1.Add (this.checkaustralia); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkaustralia])); w14.X = 5; w14.Y = 298; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("3) Cuantos estados Tiene Mexico"); this.fixed1.Add (this.label5); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w15.X = 8; w15.Y = 332; // Container child fixed1.Gtk.Fixed+FixedChild this.estados = new global::Gtk.SpinButton (0, 100, 1); this.estados.CanFocus = true; this.estados.Name = "estados"; this.estados.Adjustment.PageIncrement = 10; this.estados.ClimbRate = 1; this.estados.Numeric = true; this.fixed1.Add (this.estados); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.estados])); w16.X = 5; w16.Y = 362; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("4) Dia en que termino la segunda guuerra Mundial"); this.fixed1.Add (this.label6); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w17.X = 242; w17.Y = 87; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar (); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendario); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w18.X = 283; w18.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.terminar = new global::Gtk.Button (); this.terminar.WidthRequest = 100; this.terminar.HeightRequest = 35; this.terminar.CanFocus = true; this.terminar.Name = "terminar"; this.terminar.UseUnderline = true; this.terminar.Label = global::Mono.Unix.Catalog.GetString ("Terminar"); this.fixed1.Add (this.terminar); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.terminar])); w19.X = 464; w19.Y = 360; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 606; this.DefaultHeight = 421; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.terminar.Clicked += new global::System.EventHandler (this.OnTerminarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget FamilyDoctor.UI.GTK.MainWindow this.Name = "FamilyDoctor.UI.GTK.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child FamilyDoctor.UI.GTK.MainWindow.Gtk.Container+ContainerChild this.nbMain = new global::Gtk.Notebook(); this.nbMain.CanFocus = true; this.nbMain.Name = "nbMain"; this.nbMain.CurrentPage = 0; // Container child nbMain.Gtk.Notebook+NotebookChild this.nbAppointments = new global::Gtk.Notebook(); this.nbAppointments.CanFocus = true; this.nbAppointments.Name = "nbAppointments"; this.nbAppointments.CurrentPage = 0; // Container child nbAppointments.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.tblAppointmentsAdd = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.tblAppointmentsAdd.Name = "tblAppointmentsAdd"; this.tblAppointmentsAdd.RowSpacing = ((uint)(6)); this.tblAppointmentsAdd.ColumnSpacing = ((uint)(6)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.calAppointmentDate = new global::Gtk.Calendar(); this.calAppointmentDate.CanFocus = true; this.calAppointmentDate.Name = "calAppointmentDate"; this.calAppointmentDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.tblAppointmentsAdd.Add(this.calAppointmentDate); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.calAppointmentDate])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.chkAppointmentEmergency = new global::Gtk.CheckButton(); this.chkAppointmentEmergency.CanFocus = true; this.chkAppointmentEmergency.Name = "chkAppointmentEmergency"; this.chkAppointmentEmergency.Label = ""; this.chkAppointmentEmergency.DrawIndicator = true; this.chkAppointmentEmergency.UseUnderline = true; this.tblAppointmentsAdd.Add(this.chkAppointmentEmergency); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.chkAppointmentEmergency])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.entAppointmentAppointmentID = new global::Gtk.Entry(); this.entAppointmentAppointmentID.CanFocus = true; this.entAppointmentAppointmentID.Name = "entAppointmentAppointmentID"; this.entAppointmentAppointmentID.IsEditable = true; this.entAppointmentAppointmentID.InvisibleChar = '●'; this.tblAppointmentsAdd.Add(this.entAppointmentAppointmentID); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.entAppointmentAppointmentID])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.entAppointmentDiagnostic = new global::Gtk.Entry(); this.entAppointmentDiagnostic.CanFocus = true; this.entAppointmentDiagnostic.Name = "entAppointmentDiagnostic"; this.entAppointmentDiagnostic.IsEditable = true; this.entAppointmentDiagnostic.InvisibleChar = '●'; this.tblAppointmentsAdd.Add(this.entAppointmentDiagnostic); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.entAppointmentDiagnostic])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.entAppointmentPatientID = new global::Gtk.Entry(); this.entAppointmentPatientID.CanFocus = true; this.entAppointmentPatientID.Name = "entAppointmentPatientID"; this.entAppointmentPatientID.IsEditable = true; this.entAppointmentPatientID.InvisibleChar = '●'; this.tblAppointmentsAdd.Add(this.entAppointmentPatientID); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.entAppointmentPatientID])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.lblAppointmentAppointmentID = new global::Gtk.Label(); this.lblAppointmentAppointmentID.Name = "lblAppointmentAppointmentID"; this.lblAppointmentAppointmentID.Xalign = 0F; this.lblAppointmentAppointmentID.Yalign = 0F; this.lblAppointmentAppointmentID.LabelProp = global::Mono.Unix.Catalog.GetString("Appointment ID"); this.tblAppointmentsAdd.Add(this.lblAppointmentAppointmentID); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.lblAppointmentAppointmentID])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.lblAppointmentDate = new global::Gtk.Label(); this.lblAppointmentDate.Name = "lblAppointmentDate"; this.lblAppointmentDate.Xalign = 0F; this.lblAppointmentDate.Yalign = 0F; this.lblAppointmentDate.LabelProp = global::Mono.Unix.Catalog.GetString("Date"); this.tblAppointmentsAdd.Add(this.lblAppointmentDate); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.lblAppointmentDate])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.lblAppointmentDiagnostic = new global::Gtk.Label(); this.lblAppointmentDiagnostic.Name = "lblAppointmentDiagnostic"; this.lblAppointmentDiagnostic.Xalign = 0F; this.lblAppointmentDiagnostic.Yalign = 0F; this.lblAppointmentDiagnostic.LabelProp = global::Mono.Unix.Catalog.GetString("Diagnostic"); this.tblAppointmentsAdd.Add(this.lblAppointmentDiagnostic); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.lblAppointmentDiagnostic])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.lblAppointmentEmergency = new global::Gtk.Label(); this.lblAppointmentEmergency.Name = "lblAppointmentEmergency"; this.lblAppointmentEmergency.Xalign = 0F; this.lblAppointmentEmergency.Yalign = 0F; this.lblAppointmentEmergency.LabelProp = global::Mono.Unix.Catalog.GetString("Emergency"); this.tblAppointmentsAdd.Add(this.lblAppointmentEmergency); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.lblAppointmentEmergency])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblAppointmentsAdd.Gtk.Table+TableChild this.lblAppointmentPatientID = new global::Gtk.Label(); this.lblAppointmentPatientID.Name = "lblAppointmentPatientID"; this.lblAppointmentPatientID.Xalign = 0F; this.lblAppointmentPatientID.Yalign = 0F; this.lblAppointmentPatientID.LabelProp = global::Mono.Unix.Catalog.GetString("Patient ID"); this.tblAppointmentsAdd.Add(this.lblAppointmentPatientID); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tblAppointmentsAdd [this.lblAppointmentPatientID])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.tblAppointmentsAdd); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tblAppointmentsAdd])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox2.Add(this.fixed1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.btnAppointmentAdd = new global::Gtk.Button(); this.btnAppointmentAdd.CanFocus = true; this.btnAppointmentAdd.Name = "btnAppointmentAdd"; this.btnAppointmentAdd.UseUnderline = true; this.btnAppointmentAdd.Label = global::Mono.Unix.Catalog.GetString("Add"); this.vbox2.Add(this.btnAppointmentAdd); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnAppointmentAdd])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.nbAppointments.Add(this.vbox2); // Notebook tab this.lblAddAppointment = new global::Gtk.Label(); this.lblAddAppointment.Name = "lblAddAppointment"; this.lblAddAppointment.LabelProp = global::Mono.Unix.Catalog.GetString("Add"); this.nbAppointments.SetTabLabel(this.vbox2, this.lblAddAppointment); this.lblAddAppointment.ShowAll(); // Container child nbAppointments.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.tbAppointmentsList = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.tbAppointmentsList.Name = "tbAppointmentsList"; this.tbAppointmentsList.RowSpacing = ((uint)(6)); this.tbAppointmentsList.ColumnSpacing = ((uint)(6)); // Container child tbAppointmentsList.Gtk.Table+TableChild this.cmbAppointmentListCriteria = global::Gtk.ComboBox.NewText(); this.cmbAppointmentListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("All")); this.cmbAppointmentListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("Patient")); this.cmbAppointmentListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("Diagnostic")); this.cmbAppointmentListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("Emergency")); this.cmbAppointmentListCriteria.Name = "cmbAppointmentListCriteria"; this.cmbAppointmentListCriteria.Active = 0; this.tbAppointmentsList.Add(this.cmbAppointmentListCriteria); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tbAppointmentsList [this.cmbAppointmentListCriteria])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tbAppointmentsList.Gtk.Table+TableChild this.entAppointmentListValue = new global::Gtk.Entry(); this.entAppointmentListValue.CanFocus = true; this.entAppointmentListValue.Name = "entAppointmentListValue"; this.entAppointmentListValue.IsEditable = true; this.entAppointmentListValue.InvisibleChar = '●'; this.tbAppointmentsList.Add(this.entAppointmentListValue); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tbAppointmentsList [this.entAppointmentListValue])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tbAppointmentsList.Gtk.Table+TableChild this.lblAppointmentListValue = new global::Gtk.Label(); this.lblAppointmentListValue.Name = "lblAppointmentListValue"; this.lblAppointmentListValue.Xalign = 0F; this.lblAppointmentListValue.Yalign = 0F; this.lblAppointmentListValue.LabelProp = global::Mono.Unix.Catalog.GetString("Value"); this.tbAppointmentsList.Add(this.lblAppointmentListValue); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tbAppointmentsList [this.lblAppointmentListValue])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tbAppointmentsList.Gtk.Table+TableChild this.lblAppoitnemtListCriteria = new global::Gtk.Label(); this.lblAppoitnemtListCriteria.Name = "lblAppoitnemtListCriteria"; this.lblAppoitnemtListCriteria.Xalign = 0F; this.lblAppoitnemtListCriteria.Yalign = 0F; this.lblAppoitnemtListCriteria.LabelProp = global::Mono.Unix.Catalog.GetString("Criteria"); this.tbAppointmentsList.Add(this.lblAppoitnemtListCriteria); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tbAppointmentsList [this.lblAppoitnemtListCriteria])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.tbAppointmentsList); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tbAppointmentsList])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtAppointmentListResult = new global::Gtk.TextView(); this.txtAppointmentListResult.CanFocus = true; this.txtAppointmentListResult.Name = "txtAppointmentListResult"; this.GtkScrolledWindow.Add(this.txtAppointmentListResult); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w21.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.btnAppointmentsList = new global::Gtk.Button(); this.btnAppointmentsList.CanFocus = true; this.btnAppointmentsList.Name = "btnAppointmentsList"; this.btnAppointmentsList.UseUnderline = true; this.btnAppointmentsList.Label = global::Mono.Unix.Catalog.GetString("List"); this.vbox3.Add(this.btnAppointmentsList); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.btnAppointmentsList])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.nbAppointments.Add(this.vbox3); global::Gtk.Notebook.NotebookChild w23 = ((global::Gtk.Notebook.NotebookChild)(this.nbAppointments [this.vbox3])); w23.Position = 1; // Notebook tab this.lblListAppointment = new global::Gtk.Label(); this.lblListAppointment.Name = "lblListAppointment"; this.lblListAppointment.LabelProp = global::Mono.Unix.Catalog.GetString("List"); this.nbAppointments.SetTabLabel(this.vbox3, this.lblListAppointment); this.lblListAppointment.ShowAll(); this.nbMain.Add(this.nbAppointments); // Notebook tab this.lblAppointments = new global::Gtk.Label(); this.lblAppointments.Name = "lblAppointments"; this.lblAppointments.LabelProp = global::Mono.Unix.Catalog.GetString("Appointments"); this.nbMain.SetTabLabel(this.nbAppointments, this.lblAppointments); this.lblAppointments.ShowAll(); // Container child nbMain.Gtk.Notebook+NotebookChild this.nbPatients = new global::Gtk.Notebook(); this.nbPatients.CanFocus = true; this.nbPatients.Name = "nbPatients"; this.nbPatients.CurrentPage = 0; // Container child nbPatients.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.tblPatientsAdd = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.tblPatientsAdd.Name = "tblPatientsAdd"; this.tblPatientsAdd.RowSpacing = ((uint)(6)); this.tblPatientsAdd.ColumnSpacing = ((uint)(6)); // Container child tblPatientsAdd.Gtk.Table+TableChild this.entPatientID = new global::Gtk.Entry(); this.entPatientID.CanFocus = true; this.entPatientID.Name = "entPatientID"; this.entPatientID.IsEditable = true; this.entPatientID.InvisibleChar = '●'; this.tblPatientsAdd.Add(this.entPatientID); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tblPatientsAdd [this.entPatientID])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsAdd.Gtk.Table+TableChild this.entPatientName = new global::Gtk.Entry(); this.entPatientName.CanFocus = true; this.entPatientName.Name = "entPatientName"; this.entPatientName.IsEditable = true; this.entPatientName.InvisibleChar = '●'; this.tblPatientsAdd.Add(this.entPatientName); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tblPatientsAdd [this.entPatientName])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsAdd.Gtk.Table+TableChild this.lblPatientAge = new global::Gtk.Label(); this.lblPatientAge.Name = "lblPatientAge"; this.lblPatientAge.Xalign = 0F; this.lblPatientAge.Yalign = 0F; this.lblPatientAge.LabelProp = global::Mono.Unix.Catalog.GetString("Age"); this.tblPatientsAdd.Add(this.lblPatientAge); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tblPatientsAdd [this.lblPatientAge])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsAdd.Gtk.Table+TableChild this.lblPatientID = new global::Gtk.Label(); this.lblPatientID.Name = "lblPatientID"; this.lblPatientID.Xalign = 0F; this.lblPatientID.Yalign = 0F; this.lblPatientID.LabelProp = global::Mono.Unix.Catalog.GetString("Patient ID"); this.tblPatientsAdd.Add(this.lblPatientID); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tblPatientsAdd [this.lblPatientID])); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsAdd.Gtk.Table+TableChild this.lblPatientName = new global::Gtk.Label(); this.lblPatientName.Name = "lblPatientName"; this.lblPatientName.Xalign = 0F; this.lblPatientName.Yalign = 0F; this.lblPatientName.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); this.tblPatientsAdd.Add(this.lblPatientName); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tblPatientsAdd [this.lblPatientName])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsAdd.Gtk.Table+TableChild this.spnPatientAge = new global::Gtk.SpinButton(0, 100, 1); this.spnPatientAge.CanFocus = true; this.spnPatientAge.Name = "spnPatientAge"; this.spnPatientAge.Adjustment.PageIncrement = 10; this.spnPatientAge.ClimbRate = 1; this.spnPatientAge.Numeric = true; this.tblPatientsAdd.Add(this.spnPatientAge); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tblPatientsAdd [this.spnPatientAge])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tblPatientsAdd); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tblPatientsAdd])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vbox4.Add(this.fixed2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fixed2])); w32.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.btnPatientAdd = new global::Gtk.Button(); this.btnPatientAdd.CanFocus = true; this.btnPatientAdd.Name = "btnPatientAdd"; this.btnPatientAdd.UseUnderline = true; this.btnPatientAdd.Label = global::Mono.Unix.Catalog.GetString("Add"); this.vbox4.Add(this.btnPatientAdd); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.btnPatientAdd])); w33.Position = 2; w33.Expand = false; w33.Fill = false; this.nbPatients.Add(this.vbox4); // Notebook tab this.lblAddPatient = new global::Gtk.Label(); this.lblAddPatient.Name = "lblAddPatient"; this.lblAddPatient.LabelProp = global::Mono.Unix.Catalog.GetString("Add"); this.nbPatients.SetTabLabel(this.vbox4, this.lblAddPatient); this.lblAddPatient.ShowAll(); // Container child nbPatients.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.tblPatientsList = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.tblPatientsList.Name = "tblPatientsList"; this.tblPatientsList.RowSpacing = ((uint)(6)); this.tblPatientsList.ColumnSpacing = ((uint)(6)); // Container child tblPatientsList.Gtk.Table+TableChild this.cmbPatientListCriteria = global::Gtk.ComboBox.NewText(); this.cmbPatientListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("All")); this.cmbPatientListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("ID")); this.cmbPatientListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("Over Age X")); this.cmbPatientListCriteria.AppendText(global::Mono.Unix.Catalog.GetString("Under Age X")); this.cmbPatientListCriteria.Name = "cmbPatientListCriteria"; this.cmbPatientListCriteria.Active = 0; this.tblPatientsList.Add(this.cmbPatientListCriteria); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tblPatientsList [this.cmbPatientListCriteria])); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsList.Gtk.Table+TableChild this.entPatientListValue = new global::Gtk.Entry(); this.entPatientListValue.CanFocus = true; this.entPatientListValue.Name = "entPatientListValue"; this.entPatientListValue.IsEditable = true; this.entPatientListValue.InvisibleChar = '●'; this.tblPatientsList.Add(this.entPatientListValue); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tblPatientsList [this.entPatientListValue])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsList.Gtk.Table+TableChild this.lblPatientListCriteria = new global::Gtk.Label(); this.lblPatientListCriteria.Name = "lblPatientListCriteria"; this.lblPatientListCriteria.Xalign = 0F; this.lblPatientListCriteria.Yalign = 0F; this.lblPatientListCriteria.LabelProp = global::Mono.Unix.Catalog.GetString("Criteria"); this.tblPatientsList.Add(this.lblPatientListCriteria); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tblPatientsList [this.lblPatientListCriteria])); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblPatientsList.Gtk.Table+TableChild this.lblPatientListValue = new global::Gtk.Label(); this.lblPatientListValue.Name = "lblPatientListValue"; this.lblPatientListValue.Xalign = 0F; this.lblPatientListValue.Yalign = 0F; this.lblPatientListValue.LabelProp = global::Mono.Unix.Catalog.GetString("Value"); this.tblPatientsList.Add(this.lblPatientListValue); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tblPatientsList [this.lblPatientListValue])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.tblPatientsList); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.tblPatientsList])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.txtPatientListResult = new global::Gtk.TextView(); this.txtPatientListResult.CanFocus = true; this.txtPatientListResult.Name = "txtPatientListResult"; this.GtkScrolledWindow1.Add(this.txtPatientListResult); this.vbox5.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w41.Position = 1; // Container child vbox5.Gtk.Box+BoxChild this.btnPatientList = new global::Gtk.Button(); this.btnPatientList.CanFocus = true; this.btnPatientList.Name = "btnPatientList"; this.btnPatientList.UseUnderline = true; this.btnPatientList.Label = global::Mono.Unix.Catalog.GetString("List"); this.vbox5.Add(this.btnPatientList); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.btnPatientList])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.nbPatients.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w43 = ((global::Gtk.Notebook.NotebookChild)(this.nbPatients [this.vbox5])); w43.Position = 1; // Notebook tab this.lblListPatient1 = new global::Gtk.Label(); this.lblListPatient1.Name = "lblListPatient1"; this.lblListPatient1.LabelProp = global::Mono.Unix.Catalog.GetString("List"); this.nbPatients.SetTabLabel(this.vbox5, this.lblListPatient1); this.lblListPatient1.ShowAll(); this.nbMain.Add(this.nbPatients); global::Gtk.Notebook.NotebookChild w44 = ((global::Gtk.Notebook.NotebookChild)(this.nbMain [this.nbPatients])); w44.Position = 1; // Notebook tab this.lblPatients = new global::Gtk.Label(); this.lblPatients.Name = "lblPatients"; this.lblPatients.LabelProp = global::Mono.Unix.Catalog.GetString("Patients"); this.nbMain.SetTabLabel(this.nbPatients, this.lblPatients); this.lblPatients.ShowAll(); this.Add(this.nbMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 519; this.DefaultHeight = 481; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnAppointmentAdd.Clicked += new global::System.EventHandler(this.OnBtnAppointmentAddClicked); this.btnAppointmentsList.Clicked += new global::System.EventHandler(this.OnBtnAppointmentsListClicked); this.btnPatientAdd.Clicked += new global::System.EventHandler(this.OnBtnPatientAddClicked); this.btnPatientList.Clicked += new global::System.EventHandler(this.OnBtnPatientListClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget drive.CreditCardPayment this.Name = "drive.CreditCardPayment"; this.Title = global::Mono.Unix.Catalog.GetString("CreditCardPayment"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child drive.CreditCardPayment.Gtk.Container+ContainerChild this.fixed7 = new global::Gtk.Fixed(); this.fixed7.Name = "fixed7"; this.fixed7.HasWindow = false; // Container child fixed7.Gtk.Fixed+FixedChild this.lblDigits = new global::Gtk.Label(); this.lblDigits.Name = "lblDigits"; this.lblDigits.LabelProp = global::Mono.Unix.Catalog.GetString("Numero de Tarjeta"); this.fixed7.Add(this.lblDigits); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.lblDigits])); w1.X = 22; w1.Y = 74; // Container child fixed7.Gtk.Fixed+FixedChild this.lblName = new global::Gtk.Label(); this.lblName.Name = "lblName"; this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre en tarjeta"); this.fixed7.Add(this.lblName); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.lblName])); w2.X = 21; w2.Y = 116; // Container child fixed7.Gtk.Fixed+FixedChild this.btnClean = new global::Gtk.Button(); this.btnClean.CanFocus = true; this.btnClean.Name = "btnClean"; this.btnClean.UseUnderline = true; this.btnClean.Label = global::Mono.Unix.Catalog.GetString("Limpiar Campos"); this.fixed7.Add(this.btnClean); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.btnClean])); w3.X = 66; w3.Y = 363; // Container child fixed7.Gtk.Fixed+FixedChild this.btnOK = new global::Gtk.Button(); this.btnOK.CanFocus = true; this.btnOK.Name = "btnOK"; this.btnOK.UseUnderline = true; this.btnOK.Label = global::Mono.Unix.Catalog.GetString("OK"); this.fixed7.Add(this.btnOK); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.btnOK])); w4.X = 309; w4.Y = 363; // Container child fixed7.Gtk.Fixed+FixedChild this.lblExpDate = new global::Gtk.Label(); this.lblExpDate.Name = "lblExpDate"; this.lblExpDate.LabelProp = global::Mono.Unix.Catalog.GetString("Expira"); this.fixed7.Add(this.lblExpDate); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.lblExpDate])); w5.X = 70; w5.Y = 157; // Container child fixed7.Gtk.Fixed+FixedChild this.entNameCard = new global::Gtk.Entry(); this.entNameCard.CanFocus = true; this.entNameCard.Name = "entNameCard"; this.entNameCard.IsEditable = true; this.entNameCard.InvisibleChar = '•'; this.fixed7.Add(this.entNameCard); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.entNameCard])); w6.X = 159; w6.Y = 111; // Container child fixed7.Gtk.Fixed+FixedChild this.calExpDate = new global::Gtk.Calendar(); this.calExpDate.CanFocus = true; this.calExpDate.Name = "calExpDate"; this.calExpDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed7.Add(this.calExpDate); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.calExpDate])); w7.X = 159; w7.Y = 155; // Container child fixed7.Gtk.Fixed+FixedChild this.entCardNum = new global::Gtk.Entry(); this.entCardNum.CanFocus = true; this.entCardNum.Name = "entCardNum"; this.entCardNum.IsEditable = true; this.entCardNum.InvisibleChar = '•'; this.fixed7.Add(this.entCardNum); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.entCardNum])); w8.X = 159; w8.Y = 69; // Container child fixed7.Gtk.Fixed+FixedChild this.lblCreditCard = new global::Gtk.Label(); this.lblCreditCard.Name = "lblCreditCard"; this.lblCreditCard.LabelProp = global::Mono.Unix.Catalog.GetString("Pago con Tarjeta"); this.fixed7.Add(this.lblCreditCard); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed7[this.lblCreditCard])); w9.X = 166; w9.Y = 22; this.Add(this.fixed7); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 477; this.DefaultHeight = 412; this.Show(); this.btnClean.Clicked += new global::System.EventHandler(this.onClickBtnClean); this.btnOK.Clicked += new global::System.EventHandler(this.onClickBtnOK); this.calExpDate.DaySelected += new global::System.EventHandler(this.onDaySelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Flights"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.DefaultWidth = 1200; // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.calendarStartDate = new global::Gtk.Calendar(); this.calendarStartDate.CanFocus = true; this.calendarStartDate.Name = "calendarStartDate"; this.calendarStartDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calendarStartDate); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.calendarStartDate])); w1.X = 15; w1.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.calendarEndDate = new global::Gtk.Calendar(); this.calendarEndDate.CanFocus = true; this.calendarEndDate.Name = "calendarEndDate"; this.calendarEndDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calendarEndDate); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.calendarEndDate])); w2.X = 250; w2.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.btnSearch = new global::Gtk.Button(); this.btnSearch.WidthRequest = 120; this.btnSearch.HeightRequest = 50; this.btnSearch.CanFocus = true; this.btnSearch.Name = "btnSearch"; this.btnSearch.UseUnderline = true; this.btnSearch.Label = global::Mono.Unix.Catalog.GetString("Search"); this.fixed1.Add(this.btnSearch); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnSearch])); w3.X = 1090; w3.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.fixed1.Add(this.alignment1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.alignment1])); w4.X = 370; w4.Y = 268; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 1200; this.GtkScrolledWindow.HeightRequest = 500; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtInfo = new global::Gtk.TextView(); this.txtInfo.CanFocus = true; this.txtInfo.Name = "txtInfo"; this.GtkScrolledWindow.Add(this.txtInfo); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.GtkScrolledWindow])); w6.X = 15; w6.Y = 200; // Container child fixed1.Gtk.Fixed+FixedChild this.chkWizz = new global::Gtk.CheckButton(); this.chkWizz.CanFocus = true; this.chkWizz.Name = "chkWizz"; this.chkWizz.Label = global::Mono.Unix.Catalog.GetString("Wizzair"); this.chkWizz.Active = true; this.chkWizz.DrawIndicator = true; this.chkWizz.UseUnderline = true; this.fixed1.Add(this.chkWizz); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkWizz])); w7.X = 670; w7.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.chkRyanair = new global::Gtk.CheckButton(); this.chkRyanair.CanFocus = true; this.chkRyanair.Name = "chkRyanair"; this.chkRyanair.Label = global::Mono.Unix.Catalog.GetString("Ryanair"); this.chkRyanair.Active = true; this.chkRyanair.DrawIndicator = true; this.chkRyanair.UseUnderline = true; this.fixed1.Add(this.chkRyanair); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkRyanair])); w8.X = 670; w8.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBlueair = new global::Gtk.CheckButton(); this.chkBlueair.CanFocus = true; this.chkBlueair.Name = "chkBlueair"; this.chkBlueair.Label = global::Mono.Unix.Catalog.GetString("Blueair"); this.chkBlueair.DrawIndicator = true; this.chkBlueair.UseUnderline = true; this.fixed1.Add(this.chkBlueair); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBlueair])); w9.X = 670; w9.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.chkTarom = new global::Gtk.CheckButton(); this.chkTarom.CanFocus = true; this.chkTarom.Name = "chkTarom"; this.chkTarom.Label = global::Mono.Unix.Catalog.GetString("Tarom"); this.chkTarom.DrawIndicator = true; this.chkTarom.UseUnderline = true; this.fixed1.Add(this.chkTarom); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkTarom])); w10.X = 670; w10.Y = 100; // Container child fixed1.Gtk.Fixed+FixedChild this.cbFrom = global::Gtk.ComboBox.NewText(); this.cbFrom.WidthRequest = 150; this.cbFrom.Name = "cbFrom"; this.fixed1.Add(this.cbFrom); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cbFrom])); w11.X = 500; w11.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.cbTo = global::Gtk.ComboBox.NewText(); this.cbTo.WidthRequest = 150; this.cbTo.Name = "cbTo"; this.fixed1.Add(this.cbTo); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cbTo])); w12.X = 500; w12.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.lblDates = new global::Gtk.Label(); this.lblDates.WidthRequest = 120; this.lblDates.Name = "lblDates"; this.lblDates.LabelProp = global::Mono.Unix.Catalog.GetString("Selected dates"); this.fixed1.Add(this.lblDates); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblDates])); w13.X = 500; w13.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("1 EUR = "); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w14.X = 780; w14.Y = 17; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("GBP"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w15.X = 885; w15.Y = 47; // Container child fixed1.Gtk.Fixed+FixedChild this.txtRon = new global::Gtk.Entry(); this.txtRon.WidthRequest = 50; this.txtRon.CanFocus = true; this.txtRon.Name = "txtRon"; this.txtRon.Text = global::Mono.Unix.Catalog.GetString("4.566"); this.txtRon.IsEditable = true; this.txtRon.InvisibleChar = '●'; this.fixed1.Add(this.txtRon); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtRon])); w16.X = 830; w16.Y = 12; // Container child fixed1.Gtk.Fixed+FixedChild this.txtGbp = new global::Gtk.Entry(); this.txtGbp.WidthRequest = 50; this.txtGbp.CanFocus = true; this.txtGbp.Name = "txtGbp"; this.txtGbp.Text = global::Mono.Unix.Catalog.GetString("0.869"); this.txtGbp.IsEditable = true; this.txtGbp.InvisibleChar = '●'; this.fixed1.Add(this.txtGbp); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtGbp])); w17.X = 830; w17.Y = 42; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("RON"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w18.X = 885; w18.Y = 17; // Container child fixed1.Gtk.Fixed+FixedChild this.chkDirectFlights = new global::Gtk.CheckButton(); this.chkDirectFlights.CanFocus = true; this.chkDirectFlights.Name = "chkDirectFlights"; this.chkDirectFlights.Label = global::Mono.Unix.Catalog.GetString("Direct flights only"); this.chkDirectFlights.DrawIndicator = true; this.chkDirectFlights.UseUnderline = true; this.fixed1.Add(this.chkDirectFlights); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkDirectFlights])); w19.X = 500; w19.Y = 100; // Container child fixed1.Gtk.Fixed+FixedChild this.chkOnlyFrom = new global::Gtk.CheckButton(); this.chkOnlyFrom.CanFocus = true; this.chkOnlyFrom.Name = "chkOnlyFrom"; this.chkOnlyFrom.Label = global::Mono.Unix.Catalog.GetString("Only from"); this.chkOnlyFrom.DrawIndicator = true; this.chkOnlyFrom.UseUnderline = true; this.fixed1.Add(this.chkOnlyFrom); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkOnlyFrom])); w20.X = 500; w20.Y = 75; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultHeight = 733; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.calendarStartDate.PrevMonth += new global::System.EventHandler(this.OnStartDateChanged); this.calendarStartDate.DaySelected += new global::System.EventHandler(this.OnStartDateChanged); this.calendarStartDate.NextMonth += new global::System.EventHandler(this.OnStartDateChanged); this.calendarStartDate.MonthChanged += new global::System.EventHandler(this.OnStartDateChanged); this.calendarStartDate.PrevYear += new global::System.EventHandler(this.OnStartDateChanged); this.calendarStartDate.DaySelectedDoubleClick += new global::System.EventHandler(this.OnStartDateChanged); this.calendarStartDate.NextYear += new global::System.EventHandler(this.OnStartDateChanged); this.calendarEndDate.PrevMonth += new global::System.EventHandler(this.OnEndDayChanged); this.calendarEndDate.DaySelected += new global::System.EventHandler(this.OnEndDayChanged); this.calendarEndDate.NextMonth += new global::System.EventHandler(this.OnEndDayChanged); this.calendarEndDate.MonthChanged += new global::System.EventHandler(this.OnEndDayChanged); this.calendarEndDate.PrevYear += new global::System.EventHandler(this.OnEndDayChanged); this.calendarEndDate.DaySelectedDoubleClick += new global::System.EventHandler(this.OnEndDayChanged); this.calendarEndDate.NextYear += new global::System.EventHandler(this.OnEndDayChanged); this.btnSearch.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.chkOnlyFrom.Toggled += new global::System.EventHandler(this.OnChkOnlyFromToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Tiempos"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_calendar", global::Gtk.IconSize.LargeToolbar); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.calendarDesde = new global::Gtk.Calendar (); this.calendarDesde.CanFocus = true; this.calendarDesde.Name = "calendarDesde"; this.calendarDesde.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(43)); this.calendarDesde.ShowWeekNumbers = true; this.hbox3.Add (this.calendarDesde); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.calendarDesde])); w1.Position = 0; w1.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator (); this.vseparator2.Name = "vseparator2"; this.hbox3.Add (this.vseparator2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator2])); w2.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.calendarHasta = new global::Gtk.Calendar (); this.calendarHasta.CanFocus = true; this.calendarHasta.Name = "calendarHasta"; this.calendarHasta.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(43)); this.calendarHasta.ShowWeekNumbers = true; this.hbox3.Add (this.calendarHasta); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.calendarHasta])); w3.Position = 2; w3.Expand = false; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Ypad = 5; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Días"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Semanas"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Ypad = 5; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Meses"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Ypad = 5; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Años"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w8.LeftAttach = ((uint)(4)); w8.RightAttach = ((uint)(5)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Ypad = 5; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Diferencia"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Ypad = 5; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Transcurrido"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelAños = new global::Gtk.Label (); this.labelAños.Name = "labelAños"; this.labelAños.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelAños); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelAños])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(4)); w11.RightAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelAñosTranscurridos = new global::Gtk.Label (); this.labelAñosTranscurridos.Name = "labelAñosTranscurridos"; this.labelAñosTranscurridos.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelAñosTranscurridos); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelAñosTranscurridos])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(4)); w12.RightAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDias = new global::Gtk.Label (); this.labelDias.Name = "labelDias"; this.labelDias.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelDias); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDias])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDiasTranscurridos = new global::Gtk.Label (); this.labelDiasTranscurridos.Name = "labelDiasTranscurridos"; this.labelDiasTranscurridos.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelDiasTranscurridos); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDiasTranscurridos])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMeses = new global::Gtk.Label (); this.labelMeses.Name = "labelMeses"; this.labelMeses.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelMeses); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelMeses])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(3)); w15.RightAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMesesTranscurridos = new global::Gtk.Label (); this.labelMesesTranscurridos.Name = "labelMesesTranscurridos"; this.labelMesesTranscurridos.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelMesesTranscurridos); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelMesesTranscurridos])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(3)); w16.RightAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSemanas = new global::Gtk.Label (); this.labelSemanas.Name = "labelSemanas"; this.labelSemanas.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelSemanas); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelSemanas])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSemanasTranscurrido = new global::Gtk.Label (); this.labelSemanasTranscurrido.Name = "labelSemanasTranscurrido"; this.labelSemanasTranscurrido.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.labelSemanasTranscurrido); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelSemanasTranscurrido])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w19.Position = 1; w19.Expand = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 541; this.DefaultHeight = 329; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.calendarDesde.DaySelected += new global::System.EventHandler (this.Calcular); this.calendarHasta.DaySelected += new global::System.EventHandler (this.Calcular); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BugzillaInterface.DateFilterWidget global::Stetic.BinContainer.Attach (this); this.Name = "BugzillaInterface.DateFilterWidget"; // Container child BugzillaInterface.DateFilterWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.reportedCalendar = new global::Gtk.Calendar (); this.reportedCalendar.CanFocus = true; this.reportedCalendar.Name = "reportedCalendar"; this.reportedCalendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.GtkAlignment.Add (this.reportedCalendar); this.frame1.Add (this.GtkAlignment); this.GtkLabel = new global::Gtk.Label (); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Reported after</b>"); this.GtkLabel.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel; this.vbox2.Add (this.frame1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.modifiedCalendar = new global::Gtk.Calendar (); this.modifiedCalendar.CanFocus = true; this.modifiedCalendar.Name = "modifiedCalendar"; this.modifiedCalendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.GtkAlignment1.Add (this.modifiedCalendar); this.frame2.Add (this.GtkAlignment1); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Modified After</b>"); this.GtkLabel1.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.frame2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame2])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.QuitAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.eventboxNonClient = new global::Gtk.EventBox(); this.eventboxNonClient.Name = "eventboxNonClient"; // Container child eventboxNonClient.Gtk.Container+ContainerChild this.eventboxClient = new global::Gtk.EventBox(); this.eventboxClient.Name = "eventboxClient"; this.eventboxClient.BorderWidth = ((uint)(4)); // Container child eventboxClient.Gtk.Container+ContainerChild this.vboxClient = new global::Gtk.VBox(); this.vboxClient.Name = "vboxClient"; // Container child vboxClient.Gtk.Box+BoxChild this.titlebox2 = new global::GuiWidgets.TitleBox(); this.titlebox2.Events = ((global::Gdk.EventMask)(256)); this.titlebox2.Name = "titlebox2"; this.titlebox2.Title = "Young, strong and crazy!"; this.titlebox2.QuitOnClose = true; this.titlebox2.MinimizeVisible = true; this.titlebox2.MaximizeVisible = true; this.vboxClient.Add(this.titlebox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.titlebox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar4\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'QuitAction\' action=\'QuitAction\'/></menu><menu name=\'HelpAction\' action=\'" + "HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu><menu/></m" + "enubar></ui>"); this.menubar4 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar4"))); this.menubar4.Name = "menubar4"; this.vboxClient.Add(this.menubar4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.menubar4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w4.X = 8; w4.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 8; w5.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("Young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.fixed1.Add(this.comboboxentry1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry1])); w6.X = 8; w6.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add(this.checkbutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w7.X = 287; w7.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 287; w8.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w9.X = 287; w9.Y = 66; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.WidthRequest = 250; this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.fixed1.Add(this.progressbar1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1])); w10.X = 8; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.WidthRequest = 250; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 50D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.fixed1.Add(this.hscale1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w11.X = 287; w11.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 50D; this.fixed1.Add(this.spinbutton1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w12.X = 422; w12.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar3 = new global::Gtk.Calendar(); this.calendar3.CanFocus = true; this.calendar3.Name = "calendar3"; this.calendar3.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calendar3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar3])); w13.X = 8; w13.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton(); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.fixed1.Add(this.togglebutton2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.togglebutton2])); w14.X = 79; w14.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview3 = new global::Gtk.TextView(); this.textview3.Buffer.Text = "Young, strong and crazy!"; this.textview3.WidthRequest = 200; this.textview3.HeightRequest = 150; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add(this.textview3); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w16.X = 169; w16.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w17.X = 193; w17.Y = 13; this.alignment1.Add(this.fixed1); this.vboxClient.Add(this.alignment1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.alignment1])); w19.Position = 2; // Container child vboxClient.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar(); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vboxClient.Add(this.statusbar2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.statusbar2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.eventboxClient.Add(this.vboxClient); this.eventboxNonClient.Add(this.eventboxClient); this.Add(this.eventboxNonClient); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 601; this.DefaultHeight = 481; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.HeightRequest = 101; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w1.X = 7; w1.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w2.X = 6; w2.Y = 7; // Container child fixed1.Gtk.Fixed+FixedChild this.nombre = new global::Gtk.Entry (); this.nombre.CanFocus = true; this.nombre.Name = "nombre"; this.nombre.IsEditable = true; this.nombre.InvisibleChar = '●'; this.fixed1.Add (this.nombre); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.nombre])); w3.X = 61; w3.Y = 5; // Container child fixed1.Gtk.Fixed+FixedChild this.codigo = new global::Gtk.Entry (); this.codigo.CanFocus = true; this.codigo.Name = "codigo"; this.codigo.IsEditable = true; this.codigo.InvisibleChar = '●'; this.fixed1.Add (this.codigo); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.codigo])); w4.X = 61; w4.Y = 36; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w5.X = 21; w5.Y = 101; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("de Mexico")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w6.X = 37; w6.Y = 100; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("2.-¿Cuanto es 2+2?"); this.fixed1.Add (this.label7); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label7])); w7.X = 19; w7.Y = 148; // Container child fixed1.Gtk.Fixed+FixedChild this.opc = new global::Gtk.SpinButton (0D, 100D, 1D); this.opc.CanFocus = true; this.opc.Name = "opc"; this.opc.Adjustment.PageIncrement = 10D; this.opc.ClimbRate = 1D; this.opc.Numeric = true; this.fixed1.Add (this.opc); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opc])); w8.X = 33; w8.Y = 166; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("3.-¿De los siguientes paises cuales son de America?"); this.fixed1.Add (this.label8); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label8])); w9.X = 19; w9.Y = 192; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("1.-¿De que ciudad es la torta ahogada??"); this.fixed1.Add (this.label3); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w10.X = 18; w10.Y = 77; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("España"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w11.X = 34; w11.Y = 214; // Container child fixed1.Gtk.Fixed+FixedChild this.Per = new global::Gtk.CheckButton (); this.Per.CanFocus = true; this.Per.Name = "Per"; this.Per.Label = global::Mono.Unix.Catalog.GetString ("Peru"); this.Per.DrawIndicator = true; this.Per.UseUnderline = true; this.fixed1.Add (this.Per); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Per])); w12.X = 168; w12.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.Mex = new global::Gtk.CheckButton (); this.Mex.CanFocus = true; this.Mex.Name = "Mex"; this.Mex.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.Mex.DrawIndicator = true; this.Mex.UseUnderline = true; this.fixed1.Add (this.Mex); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Mex])); w13.X = 318; w13.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label9); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label9])); w14.X = 5; w14.Y = 218; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label10); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label10])); w15.X = 134; w15.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label11); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label11])); w16.X = 299; w16.Y = 217; // Container child fixed1.Gtk.Fixed+FixedChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("4.- Indique la fecha de la independencia de Mexico"); this.fixed1.Add (this.label13); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label13])); w17.X = 28; w17.Y = 255; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar (); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendario); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w18.X = 81; w18.Y = 281; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Resultado"); this.fixed1.Add (this.button1); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w19.X = 460; w19.Y = 325; // Container child fixed1.Gtk.Fixed+FixedChild this.Grupo = global::Gtk.ComboBox.NewText (); this.Grupo.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.Grupo.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.Grupo.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.Grupo.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.Grupo.Name = "Grupo"; this.fixed1.Add (this.Grupo); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Grupo])); w20.X = 292; w20.Y = 6; // Container child fixed1.Gtk.Fixed+FixedChild this.grupo = new global::Gtk.Label (); this.grupo.Name = "grupo"; this.grupo.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.grupo); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.grupo])); w21.X = 245; w21.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label5); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w22.X = 150; w22.Y = 101; // Container child fixed1.Gtk.Fixed+FixedChild this.Guadalajara = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("de Guadalajara")); this.Guadalajara.CanFocus = true; this.Guadalajara.Name = "Guadalajara"; this.Guadalajara.DrawIndicator = true; this.Guadalajara.UseUnderline = true; this.Guadalajara.Group = this.radiobutton1.Group; this.fixed1.Add (this.Guadalajara); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Guadalajara])); w23.X = 175; w23.Y = 101; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label6); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w24.X = 305; w24.Y = 102; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("de Monterrey")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w25.X = 320; w25.Y = 101; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 643; this.DefaultHeight = 499; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget punto.gui.GenerarReportesDialog this.Name = "punto.gui.GenerarReportesDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Reporte Ventas"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Internal child punto.gui.GenerarReportesDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.alignment15 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment15.Name = "alignment15"; this.vbox4.Add (this.alignment15); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.alignment15])); w2.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.alignment3 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; this.vbox2.Add (this.alignment3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment3])); w3.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.alignment4 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.hbox2.Add (this.alignment4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.alignment4])); w4.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.labelFechaInicial = new global::Gtk.Label (); this.labelFechaInicial.Name = "labelFechaInicial"; this.labelFechaInicial.LabelProp = global::Mono.Unix.Catalog.GetString ("Fecha Inicial:"); this.hbox2.Add (this.labelFechaInicial); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelFechaInicial])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment5 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; this.hbox2.Add (this.alignment5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.alignment5])); w6.Position = 2; // Container child hbox2.Gtk.Box+BoxChild this.labelFechaFinal = new global::Gtk.Label (); this.labelFechaFinal.Name = "labelFechaFinal"; this.labelFechaFinal.LabelProp = global::Mono.Unix.Catalog.GetString ("Fecha Final:"); this.hbox2.Add (this.labelFechaFinal); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelFechaFinal])); w7.Position = 3; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment6.Name = "alignment6"; this.hbox2.Add (this.alignment6); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.alignment6])); w8.Position = 4; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.hbox3.Add (this.alignment2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment2])); w10.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.alignment8 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment8.Name = "alignment8"; // Container child alignment8.Gtk.Container+ContainerChild this.calendarFInicial = new global::Gtk.Calendar (); this.calendarFInicial.CanFocus = true; this.calendarFInicial.Name = "calendarFInicial"; this.calendarFInicial.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.alignment8.Add (this.calendarFInicial); this.hbox3.Add (this.alignment8); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment8])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox3.Add (this.vseparator1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.alignment9 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment9.Name = "alignment9"; // Container child alignment9.Gtk.Container+ContainerChild this.calendarFFinal = new global::Gtk.Calendar (); this.calendarFFinal.CanFocus = true; this.calendarFFinal.Name = "calendarFFinal"; this.calendarFFinal.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.alignment9.Add (this.calendarFFinal); this.hbox3.Add (this.alignment9); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment9])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox3.Add (this.alignment1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment1])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 4; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.alignment10 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment10.Name = "alignment10"; this.vbox2.Add (this.alignment10); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment10])); w18.Position = 3; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.alignment12 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment12.Name = "alignment12"; this.hbox4.Add (this.alignment12); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment12])); w19.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonGuardarReporte = new global::Gtk.Button (); this.buttonGuardarReporte.CanFocus = true; this.buttonGuardarReporte.Name = "buttonGuardarReporte"; this.buttonGuardarReporte.UseUnderline = true; this.buttonGuardarReporte.Label = global::Mono.Unix.Catalog.GetString ("Guardar Reporte"); this.hbox4.Add (this.buttonGuardarReporte); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonGuardarReporte])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.alignment11 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment11.Name = "alignment11"; this.hbox4.Add (this.alignment11); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment11])); w21.Position = 2; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w22.Position = 4; w22.Expand = false; w22.Fill = false; this.GtkAlignment2.Add (this.vbox2); this.frame1.Add (this.GtkAlignment2); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("Seleccione Fecha"); this.GtkLabel3.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel3; this.vbox4.Add (this.frame1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.frame1])); w25.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.alignment13 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment13.Name = "alignment13"; this.vbox4.Add (this.alignment13); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.alignment13])); w26.Position = 2; w1.Add (this.vbox4); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox4])); w27.Position = 0; // Internal child punto.gui.GenerarReportesDialog.ActionArea global::Gtk.HButtonBox w28 = this.ActionArea; w28.Name = "dialog1_ActionArea"; w28.Spacing = 10; w28.BorderWidth = ((uint)(5)); w28.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; // Container child buttonCancel.Gtk.Container+ContainerChild global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w30 = new global::Gtk.HBox (); w30.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w31 = new global::Gtk.Image (); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w30.Add (w31); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w33 = new global::Gtk.Label (); w33.LabelProp = global::Mono.Unix.Catalog.GetString ("_Cancelar"); w33.UseUnderline = true; w30.Add (w33); w29.Add (w30); this.buttonCancel.Add (w29); this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w37 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w28 [this.buttonCancel])); w37.Expand = false; w37.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; // Container child buttonOk.Gtk.Container+ContainerChild global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w39 = new global::Gtk.HBox (); w39.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w39.Add (w40); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w42 = new global::Gtk.Label (); w42.LabelProp = global::Mono.Unix.Catalog.GetString ("_Aceptar"); w42.UseUnderline = true; w39.Add (w42); w38.Add (w39); this.buttonOk.Add (w38); this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w46 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w28 [this.buttonOk])); w46.Position = 1; w46.Expand = false; w46.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 562; this.DefaultHeight = 361; this.Show (); this.buttonGuardarReporte.Clicked += new global::System.EventHandler (this.OnButtonGuardarReporteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Auto_Warehouse.Change_Window this.Name = "Auto_Warehouse.Change_Window"; this.Title = global::Mono.Unix.Catalog.GetString("Change_Window"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child Auto_Warehouse.Change_Window.Gtk.Container+ContainerChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Список всех товаров"); this.vbox5.Add(this.label14); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label14])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeview_AllProduct = new global::Gtk.TreeView(); this.treeview_AllProduct.WidthRequest = 500; this.treeview_AllProduct.CanFocus = true; this.treeview_AllProduct.Name = "treeview_AllProduct"; this.GtkScrolledWindow1.Add(this.treeview_AllProduct); this.vbox5.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w3.Position = 1; this.hbox10.Add(this.vbox5); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.vbox5])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Параметр для поиска"); this.vbox7.Add(this.label15); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label15])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.cb_ParamForSearch = global::Gtk.ComboBox.NewText(); this.cb_ParamForSearch.Name = "cb_ParamForSearch"; this.vbox7.Add(this.cb_ParamForSearch); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.cb_ParamForSearch])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Параметр"); this.vbox7.Add(this.label16); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label16])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.tb_ValueForSearch = new global::Gtk.Entry(); this.tb_ValueForSearch.CanFocus = true; this.tb_ValueForSearch.Name = "tb_ValueForSearch"; this.tb_ValueForSearch.IsEditable = true; this.tb_ValueForSearch.InvisibleChar = '•'; this.vbox7.Add(this.tb_ValueForSearch); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.tb_ValueForSearch])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.bn_Search = new global::Gtk.Button(); this.bn_Search.CanFocus = true; this.bn_Search.Name = "bn_Search"; this.bn_Search.UseUnderline = true; this.bn_Search.Label = global::Mono.Unix.Catalog.GetString("Поиск"); this.vbox7.Add(this.bn_Search); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.bn_Search])); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.bn_GetAllProduct = new global::Gtk.Button(); this.bn_GetAllProduct.CanFocus = true; this.bn_GetAllProduct.Name = "bn_GetAllProduct"; this.bn_GetAllProduct.UseUnderline = true; this.bn_GetAllProduct.Label = global::Mono.Unix.Catalog.GetString("Все продукты"); this.vbox7.Add(this.bn_GetAllProduct); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.bn_GetAllProduct])); w10.Position = 5; w10.Expand = false; w10.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.calendar = new global::Gtk.Calendar(); this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox7.Add(this.calendar); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.calendar])); w11.Position = 6; w11.Expand = false; w11.Fill = false; this.hbox10.Add(this.vbox7); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.vbox7])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Сведенья о товаре"); this.vbox8.Add(this.label18); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label18])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Номер"); this.vbox8.Add(this.label19); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label19])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_Code_ForInsert = new global::Gtk.Entry(); this.tb_Code_ForInsert.CanFocus = true; this.tb_Code_ForInsert.Name = "tb_Code_ForInsert"; this.tb_Code_ForInsert.IsEditable = true; this.tb_Code_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_Code_ForInsert); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_Code_ForInsert])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Название"); this.vbox8.Add(this.label20); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label20])); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_Name_ForInsert = new global::Gtk.Entry(); this.tb_Name_ForInsert.CanFocus = true; this.tb_Name_ForInsert.Name = "tb_Name_ForInsert"; this.tb_Name_ForInsert.IsEditable = true; this.tb_Name_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_Name_ForInsert); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_Name_ForInsert])); w17.Position = 4; w17.Expand = false; w17.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Докуммент"); this.vbox8.Add(this.label21); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label21])); w18.Position = 5; w18.Expand = false; w18.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_DocName_ForInsert = new global::Gtk.Entry(); this.tb_DocName_ForInsert.CanFocus = true; this.tb_DocName_ForInsert.Name = "tb_DocName_ForInsert"; this.tb_DocName_ForInsert.IsEditable = true; this.tb_DocName_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_DocName_ForInsert); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_DocName_ForInsert])); w19.Position = 6; w19.Expand = false; w19.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Номер докуммента"); this.vbox8.Add(this.label22); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label22])); w20.Position = 7; w20.Expand = false; w20.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_DocNumber_ForInsert = new global::Gtk.Entry(); this.tb_DocNumber_ForInsert.CanFocus = true; this.tb_DocNumber_ForInsert.Name = "tb_DocNumber_ForInsert"; this.tb_DocNumber_ForInsert.IsEditable = true; this.tb_DocNumber_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_DocNumber_ForInsert); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_DocNumber_ForInsert])); w21.Position = 8; w21.Expand = false; w21.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания"); this.vbox8.Add(this.label23); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label23])); w22.Position = 9; w22.Expand = false; w22.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_DateCreateDoc_ForInsert = new global::Gtk.Entry(); this.tb_DateCreateDoc_ForInsert.CanFocus = true; this.tb_DateCreateDoc_ForInsert.Name = "tb_DateCreateDoc_ForInsert"; this.tb_DateCreateDoc_ForInsert.IsEditable = true; this.tb_DateCreateDoc_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_DateCreateDoc_ForInsert); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_DateCreateDoc_ForInsert])); w23.Position = 10; w23.Expand = false; w23.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Текущая дата"); this.vbox8.Add(this.label24); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label24])); w24.Position = 11; w24.Expand = false; w24.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_TodeyDate_ForInsert = new global::Gtk.Entry(); this.tb_TodeyDate_ForInsert.CanFocus = true; this.tb_TodeyDate_ForInsert.Name = "tb_TodeyDate_ForInsert"; this.tb_TodeyDate_ForInsert.IsEditable = true; this.tb_TodeyDate_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_TodeyDate_ForInsert); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_TodeyDate_ForInsert])); w25.Position = 12; w25.Expand = false; w25.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Количество"); this.vbox8.Add(this.label25); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label25])); w26.Position = 13; w26.Expand = false; w26.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_Count_ForInsert = new global::Gtk.Entry(); this.tb_Count_ForInsert.CanFocus = true; this.tb_Count_ForInsert.Name = "tb_Count_ForInsert"; this.tb_Count_ForInsert.IsEditable = true; this.tb_Count_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_Count_ForInsert); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_Count_ForInsert])); w27.Position = 14; w27.Expand = false; w27.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Интентор"); this.vbox8.Add(this.label26); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label26])); w28.Position = 15; w28.Expand = false; w28.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.tb_Warehouser_ForInsert = new global::Gtk.Entry(); this.tb_Warehouser_ForInsert.CanFocus = true; this.tb_Warehouser_ForInsert.Name = "tb_Warehouser_ForInsert"; this.tb_Warehouser_ForInsert.IsEditable = true; this.tb_Warehouser_ForInsert.InvisibleChar = '•'; this.vbox8.Add(this.tb_Warehouser_ForInsert); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.tb_Warehouser_ForInsert])); w29.Position = 16; w29.Expand = false; w29.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.vbox8.Add(this.label27); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label27])); w30.Position = 17; w30.Expand = false; w30.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.bn_AddTo_InsertList = new global::Gtk.Button(); this.bn_AddTo_InsertList.CanFocus = true; this.bn_AddTo_InsertList.Name = "bn_AddTo_InsertList"; this.bn_AddTo_InsertList.UseUnderline = true; this.bn_AddTo_InsertList.Label = global::Mono.Unix.Catalog.GetString("Добавить в список"); this.vbox8.Add(this.bn_AddTo_InsertList); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.bn_AddTo_InsertList])); w31.Position = 18; w31.Expand = false; w31.Fill = false; this.hbox10.Add(this.vbox8); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.vbox8])); w32.Position = 2; w32.Expand = false; w32.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Список на удаление"); this.vbox6.Add(this.label13); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label13])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview_InsertList = new global::Gtk.TreeView(); this.treeview_InsertList.WidthRequest = 500; this.treeview_InsertList.CanFocus = true; this.treeview_InsertList.Name = "treeview_InsertList"; this.GtkScrolledWindow.Add(this.treeview_InsertList); this.vbox6.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow])); w35.Position = 1; // Container child vbox6.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.bn_MInesDataFrom_InsertList = new global::Gtk.Button(); this.bn_MInesDataFrom_InsertList.CanFocus = true; this.bn_MInesDataFrom_InsertList.Name = "bn_MInesDataFrom_InsertList"; this.bn_MInesDataFrom_InsertList.UseUnderline = true; this.bn_MInesDataFrom_InsertList.Label = global::Mono.Unix.Catalog.GetString("Списать"); this.hbox11.Add(this.bn_MInesDataFrom_InsertList); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.bn_MInesDataFrom_InsertList])); w36.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.bn_AddingDataFrom_InsertList = new global::Gtk.Button(); this.bn_AddingDataFrom_InsertList.CanFocus = true; this.bn_AddingDataFrom_InsertList.Name = "bn_AddingDataFrom_InsertList"; this.bn_AddingDataFrom_InsertList.UseUnderline = true; this.bn_AddingDataFrom_InsertList.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox11.Add(this.bn_AddingDataFrom_InsertList); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.bn_AddingDataFrom_InsertList])); w37.Position = 1; this.vbox6.Add(this.hbox11); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox11])); w38.Position = 2; w38.Expand = false; w38.Fill = false; this.hbox10.Add(this.vbox6); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.vbox6])); w39.Position = 3; w39.Expand = false; w39.Fill = false; this.Add(this.hbox10); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1378; this.DefaultHeight = 523; this.Show(); this.treeview_AllProduct.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTreeviewAllProductRowActivated); this.treeview_AllProduct.CursorChanged += new global::System.EventHandler(this.OnTreeviewAllProductCursorChanged); this.bn_Search.Clicked += new global::System.EventHandler(this.OnBnSearchClicked); this.bn_GetAllProduct.Clicked += new global::System.EventHandler(this.OnBnGetAllProductClicked); this.calendar.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalendarDaySelectedDoubleClick); this.bn_AddTo_InsertList.Clicked += new global::System.EventHandler(this.OnBnAddToInsertListClicked); this.treeview_InsertList.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTreeviewInsertListRowActivated); this.bn_MInesDataFrom_InsertList.Clicked += new global::System.EventHandler(this.OnBnMInesDataFromInsertListClicked); this.bn_AddingDataFrom_InsertList.Clicked += new global::System.EventHandler(this.OnBnAddingDataFromInsertListClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("¿De los siguientes paises cuales son de america?"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w1.X = 11; w1.Y = 12; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w2.X = 10; w2.Y = 55; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.WidthRequest = 304; this.entry1.HeightRequest = 24; this.entry1.CanFocus = true; this.entry1.IsEditable = true; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w3.X = 58; w3.Y = 11; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.fixed1.Add (this.entry2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry2])); w4.X = 61; w4.Y = 53; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label5); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w5.X = 21; w5.Y = 179; // Container child fixed1.Gtk.Fixed+FixedChild this.Conejo = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Conejo")); this.Conejo.CanFocus = true; this.Conejo.Name = "Conejo"; this.Conejo.DrawIndicator = true; this.Conejo.UseUnderline = true; this.Conejo.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.Conejo); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Conejo])); w6.X = 41; w6.Y = 175; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label6); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w7.X = 211; w7.Y = 176; // Container child fixed1.Gtk.Fixed+FixedChild this.Leon = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Leon")); this.Leon.WidthRequest = 53; this.Leon.CanFocus = true; this.Leon.Name = "Leon"; this.Leon.DrawIndicator = true; this.Leon.UseUnderline = true; this.Leon.Group = this.Conejo.Group; this.fixed1.Add (this.Leon); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Leon])); w8.X = 232; w8.Y = 175; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label7); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label7])); w9.X = 383; w9.Y = 174; // Container child fixed1.Gtk.Fixed+FixedChild this.Pero = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Perro")); this.Pero.CanFocus = true; this.Pero.Name = "Pero"; this.Pero.DrawIndicator = true; this.Pero.UseUnderline = true; this.Pero.Group = this.Conejo.Group; this.fixed1.Add (this.Pero); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Pero])); w10.X = 402; w10.Y = 174; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.label8); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label8])); w11.X = 564; w11.Y = 174; // Container child fixed1.Gtk.Fixed+FixedChild this.Pato = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Pato")); this.Pato.CanFocus = true; this.Pato.Name = "Pato"; this.Pato.DrawIndicator = true; this.Pato.UseUnderline = true; this.Pato.Group = this.Conejo.Group; this.fixed1.Add (this.Pato); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Pato])); w12.X = 589; w12.Y = 173; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.label3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w13.X = 397; w13.Y = 15; // Container child fixed1.Gtk.Fixed+FixedChild this.combobox1 = global::Gtk.ComboBox.NewText (); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("E")); global::Gtk.Tooltips w14 = new Gtk.Tooltips (); w14.SetTip (this.combobox1, "A\nB\nC\nD\nE", "A\nB\nC\nD\nE"); this.combobox1.HeightRequest = 26; this.combobox1.Name = "combobox1"; this.fixed1.Add (this.combobox1); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.combobox1])); w15.X = 439; w15.Y = 12; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("2-¿cuanto es 2+2?"); this.fixed1.Add (this.label9); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label9])); w16.X = 14; w16.Y = 234; // Container child fixed1.Gtk.Fixed+FixedChild this.Suma = new global::Gtk.SpinButton (0D, 100D, 1D); this.Suma.CanFocus = true; this.Suma.Name = "Suma"; this.Suma.Adjustment.PageIncrement = 10D; this.Suma.ClimbRate = 1D; this.Suma.Numeric = true; this.fixed1.Add (this.Suma); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Suma])); w17.X = 12; w17.Y = 266; // Container child fixed1.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label11); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label11])); w18.X = 19; w18.Y = 361; // Container child fixed1.Gtk.Fixed+FixedChild this.Mexico = new global::Gtk.CheckButton (); this.Mexico.CanFocus = true; this.Mexico.Name = "Mexico"; this.Mexico.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.Mexico.Active = true; this.Mexico.DrawIndicator = true; this.Mexico.UseUnderline = true; this.fixed1.Add (this.Mexico); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Mexico])); w19.X = 40; w19.Y = 358; // Container child fixed1.Gtk.Fixed+FixedChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label12); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label12])); w20.X = 143; w20.Y = 359; // Container child fixed1.Gtk.Fixed+FixedChild this.España = new global::Gtk.CheckButton (); this.España.CanFocus = true; this.España.Name = "España"; this.España.Label = global::Mono.Unix.Catalog.GetString ("España"); this.España.DrawIndicator = true; this.España.UseUnderline = true; this.fixed1.Add (this.España); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.España])); w21.X = 165; w21.Y = 357; // Container child fixed1.Gtk.Fixed+FixedChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label13); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label13])); w22.X = 260; w22.Y = 357; // Container child fixed1.Gtk.Fixed+FixedChild this.Japon = new global::Gtk.CheckButton (); this.Japon.CanFocus = true; this.Japon.Name = "Japon"; this.Japon.Label = global::Mono.Unix.Catalog.GetString ("Japon"); this.Japon.DrawIndicator = true; this.Japon.UseUnderline = true; this.fixed1.Add (this.Japon); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Japon])); w23.X = 279; w23.Y = 356; // Container child fixed1.Gtk.Fixed+FixedChild this.Argentina = new global::Gtk.CheckButton (); this.Argentina.CanFocus = true; this.Argentina.Name = "Argentina"; this.Argentina.Label = global::Mono.Unix.Catalog.GetString ("Argentina"); this.Argentina.DrawIndicator = true; this.Argentina.UseUnderline = true; this.fixed1.Add (this.Argentina); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Argentina])); w24.X = 388; w24.Y = 356; // Container child fixed1.Gtk.Fixed+FixedChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.label14); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label14])); w25.X = 358; w25.Y = 358; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("3-¿De los sguientes paises cuales son de america?"); this.fixed1.Add (this.label10); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label10])); w26.X = 19; w26.Y = 313; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("1-¿ De los siguientes animales cual es felino?"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w27.X = 22; w27.Y = 127; // Container child fixed1.Gtk.Fixed+FixedChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("4-.¿Indique la fecha de la independencia de Mexico?"); this.fixed1.Add (this.label15); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label15])); w28.X = 14; w28.Y = 415; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar (); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendario); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w29.X = 73; w29.Y = 444; // Container child fixed1.Gtk.Fixed+FixedChild this.entrycalificacion = new global::Gtk.Entry (); this.entrycalificacion.WidthRequest = 63; this.entrycalificacion.HeightRequest = 26; this.entrycalificacion.CanFocus = true; this.entrycalificacion.Name = "entrycalificacion"; this.entrycalificacion.IsEditable = true; this.fixed1.Add (this.entrycalificacion); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entrycalificacion])); w30.X = 600; w30.Y = 581; // Container child fixed1.Gtk.Fixed+FixedChild this.TERMINAR = new global::Gtk.Button (); this.TERMINAR.WidthRequest = 106; this.TERMINAR.HeightRequest = 23; this.TERMINAR.CanFocus = true; this.TERMINAR.Name = "TERMINAR"; this.TERMINAR.UseUnderline = true; this.TERMINAR.Label = global::Mono.Unix.Catalog.GetString ("TERMINAR"); this.fixed1.Add (this.TERMINAR); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.TERMINAR])); w31.X = 479; w31.Y = 583; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 830; this.DefaultHeight = 665; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.TERMINAR.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Projekt.ZaVoditeljeWidgetDodajTermin global::Stetic.BinContainer.Attach(this); this.Name = "Projekt.ZaVoditeljeWidgetDodajTermin"; // Container child Projekt.ZaVoditeljeWidgetDodajTermin.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.WidthRequest = 100; this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Nacionalni park:"); this.hbox5.Add(this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.comboboxNP = global::Gtk.ComboBox.NewText(); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Krka")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Risnjak")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Brijuni")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Kornati")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Sjeverni Velebit")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Paklenica")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Mljet")); this.comboboxNP.AppendText(global::Mono.Unix.Catalog.GetString("Plitvička jezera")); this.comboboxNP.Name = "comboboxNP"; this.hbox5.Add(this.comboboxNP); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.comboboxNP])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString(" Postojeći termini:"); this.hbox5.Add(this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label4])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.comboboxTermini = global::Gtk.ComboBox.NewText(); this.comboboxTermini.WidthRequest = 100; this.comboboxTermini.Name = "comboboxTermini"; this.hbox5.Add(this.comboboxTermini); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.comboboxTermini])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.vbox7.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 100; this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Cijena - Djeca:"); this.hbox2.Add(this.label5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label5])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.hbox2.Add(this.spinbutton1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.spinbutton1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox7.Add(this.hbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.WidthRequest = 100; this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Cijena - Odrasli:"); this.hbox7.Add(this.label8); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label8])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.spinbutton3 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton3.CanFocus = true; this.spinbutton3.Name = "spinbutton3"; this.spinbutton3.Adjustment.PageIncrement = 10D; this.spinbutton3.ClimbRate = 1D; this.spinbutton3.Numeric = true; this.hbox7.Add(this.spinbutton3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.spinbutton3])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox7.Add(this.hbox7); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox7])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.WidthRequest = 100; this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Kapacitet:"); this.hbox6.Add(this.label6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label6])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.spinbutton2 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton2.CanFocus = true; this.spinbutton2.Name = "spinbutton2"; this.spinbutton2.Adjustment.PageIncrement = 10D; this.spinbutton2.ClimbRate = 1D; this.spinbutton2.Numeric = true; this.hbox6.Add(this.spinbutton2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinbutton2])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.vbox7.Add(this.hbox6); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox6])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Unesite datum termina:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; this.vbox7.Add(this.hbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox3])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar(); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.hbox4.Add(this.calendar1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.calendar1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; this.vbox7.Add(this.hbox4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox4])); w18.Position = 5; w18.Expand = false; w18.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.button225 = new global::Gtk.Button(); this.button225.WidthRequest = 100; this.button225.CanFocus = true; this.button225.Name = "button225"; this.button225.UseUnderline = true; this.button225.Label = global::Mono.Unix.Catalog.GetString("Dodaj termin"); this.hbox1.Add(this.button225); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button225])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.WidthRequest = 200; this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Povratak na izbornik za voditelje"); this.hbox1.Add(this.button1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox7.Add(this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox1])); w21.Position = 6; w21.Expand = false; w21.Fill = false; this.Add(this.vbox7); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.comboboxNP.Changed += new global::System.EventHandler(this.OnComboboxNPChanged); this.button225.Clicked += new global::System.EventHandler(this.OnButton225Clicked); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget AppProject.WindowDodajKorisnika this.Name = "AppProject.WindowDodajKorisnika"; this.Title = global::Mono.Unix.Catalog.GetString("Korisnik"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("AppProject.Resources.icon.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Container child AppProject.WindowDodajKorisnika.Gtk.Container+ContainerChild this.eventboxDodajKorisnika = new global::Gtk.EventBox(); this.eventboxDodajKorisnika.Name = "eventboxDodajKorisnika"; // Container child eventboxDodajKorisnika.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelIme = new global::Gtk.Label(); this.labelIme.Name = "labelIme"; this.labelIme.LabelProp = global::Mono.Unix.Catalog.GetString("Ime:"); this.hbox1.Add(this.labelIme); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelIme])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryIme = new global::Gtk.Entry(); this.entryIme.CanFocus = true; this.entryIme.Name = "entryIme"; this.entryIme.IsEditable = true; this.entryIme.InvisibleChar = '●'; this.hbox1.Add(this.entryIme); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryIme])); w2.Position = 1; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelPrezime = new global::Gtk.Label(); this.labelPrezime.Name = "labelPrezime"; this.labelPrezime.LabelProp = global::Mono.Unix.Catalog.GetString("Prezime:"); this.hbox2.Add(this.labelPrezime); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelPrezime])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryPrezime = new global::Gtk.Entry(); this.entryPrezime.CanFocus = true; this.entryPrezime.Name = "entryPrezime"; this.entryPrezime.IsEditable = true; this.entryPrezime.InvisibleChar = '●'; this.hbox2.Add(this.entryPrezime); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryPrezime])); w5.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.labelDob = new global::Gtk.Label(); this.labelDob.Name = "labelDob"; this.labelDob.LabelProp = global::Mono.Unix.Catalog.GetString("Datum Rodjenja:"); this.hbox3.Add(this.labelDob); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelDob])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.comboboxDan = global::Gtk.ComboBox.NewText(); this.comboboxDan.Name = "comboboxDan"; this.hbox3.Add(this.comboboxDan); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxDan])); w8.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.comboboxMjesec = global::Gtk.ComboBox.NewText(); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("sječanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("veljača")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("ožujak")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("travanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("svibanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("lipanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("srpanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("kolovoz")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("rujan")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("listopad")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("studeni")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("prosinac")); this.comboboxMjesec.Name = "comboboxMjesec"; this.hbox3.Add(this.comboboxMjesec); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxMjesec])); w9.Position = 2; // Container child hbox3.Gtk.Box+BoxChild this.comboboxGodina = global::Gtk.ComboBox.NewText(); this.comboboxGodina.Name = "comboboxGodina"; this.hbox3.Add(this.comboboxGodina); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxGodina])); w10.Position = 3; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox7.Add(this.fixed1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.fixed1])); w12.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.calendarDatumRodjenja = new global::Gtk.Calendar(); this.calendarDatumRodjenja.CanFocus = true; this.calendarDatumRodjenja.Name = "calendarDatumRodjenja"; this.calendarDatumRodjenja.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(33)); this.calendarDatumRodjenja.ShowDayNames = false; this.hbox7.Add(this.calendarDatumRodjenja); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.calendarDatumRodjenja])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox7.Add(this.fixed2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.fixed2])); w14.Position = 2; this.vbox1.Add(this.hbox7); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox7])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelVisina = new global::Gtk.Label(); this.labelVisina.Name = "labelVisina"; this.labelVisina.LabelProp = global::Mono.Unix.Catalog.GetString("Visina:"); this.hbox4.Add(this.labelVisina); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelVisina])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.spinbuttonVisina = new global::Gtk.SpinButton(100D, 250D, 1D); this.spinbuttonVisina.CanFocus = true; this.spinbuttonVisina.Name = "spinbuttonVisina"; this.spinbuttonVisina.Adjustment.PageIncrement = 10D; this.spinbuttonVisina.ClimbRate = 1D; this.spinbuttonVisina.Numeric = true; this.spinbuttonVisina.Value = 170D; this.hbox4.Add(this.spinbuttonVisina); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.spinbuttonVisina])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelCm = new global::Gtk.Label(); this.labelCm.Name = "labelCm"; this.labelCm.LabelProp = global::Mono.Unix.Catalog.GetString("cm"); this.hbox4.Add(this.labelCm); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelCm])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w19.Position = 4; w19.Expand = false; w19.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.labelTezina = new global::Gtk.Label(); this.labelTezina.Name = "labelTezina"; this.labelTezina.LabelProp = global::Mono.Unix.Catalog.GetString("Težina:"); this.hbox5.Add(this.labelTezina); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelTezina])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.spinbuttonTezina = new global::Gtk.SpinButton(20D, 300D, 1D); this.spinbuttonTezina.CanFocus = true; this.spinbuttonTezina.Name = "spinbuttonTezina"; this.spinbuttonTezina.Adjustment.PageIncrement = 10D; this.spinbuttonTezina.ClimbRate = 1D; this.spinbuttonTezina.Numeric = true; this.spinbuttonTezina.Value = 65D; this.hbox5.Add(this.spinbuttonTezina); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.spinbuttonTezina])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.labelKg = new global::Gtk.Label(); this.labelKg.Name = "labelKg"; this.labelKg.LabelProp = global::Mono.Unix.Catalog.GetString("kg"); this.hbox5.Add(this.labelKg); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelKg])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w23.Position = 5; w23.Expand = false; w23.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed6 = new global::Gtk.Fixed(); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.vbox1.Add(this.fixed6); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.fixed6])); w24.Position = 6; w24.Expand = false; w24.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed7 = new global::Gtk.Fixed(); this.fixed7.Name = "fixed7"; this.fixed7.HasWindow = false; this.vbox1.Add(this.fixed7); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.fixed7])); w25.PackType = ((global::Gtk.PackType)(1)); w25.Position = 7; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonSpremi = new global::Gtk.Button(); this.buttonSpremi.CanFocus = true; this.buttonSpremi.Name = "buttonSpremi"; this.buttonSpremi.UseUnderline = true; this.buttonSpremi.Label = global::Mono.Unix.Catalog.GetString("Spremi"); this.hbox6.Add(this.buttonSpremi); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonSpremi])); w26.Position = 1; w26.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonOdustani = new global::Gtk.Button(); this.buttonOdustani.CanFocus = true; this.buttonOdustani.Name = "buttonOdustani"; this.buttonOdustani.UseUnderline = true; this.buttonOdustani.Label = global::Mono.Unix.Catalog.GetString("Odustani"); this.hbox6.Add(this.buttonOdustani); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonOdustani])); w27.Position = 2; w27.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox6])); w28.PackType = ((global::Gtk.PackType)(1)); w28.Position = 8; w28.Expand = false; w28.Fill = false; this.eventboxDodajKorisnika.Add(this.vbox1); this.Add(this.eventboxDodajKorisnika); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 430; this.DefaultHeight = 412; this.Show(); this.calendarDatumRodjenja.PrevMonth += new global::System.EventHandler(this.UpdateDate); this.calendarDatumRodjenja.DaySelected += new global::System.EventHandler(this.UpdateDate); this.calendarDatumRodjenja.NextMonth += new global::System.EventHandler(this.UpdateDate); this.calendarDatumRodjenja.MonthChanged += new global::System.EventHandler(this.UpdateDate); this.calendarDatumRodjenja.PrevYear += new global::System.EventHandler(this.UpdateDate); this.calendarDatumRodjenja.NextYear += new global::System.EventHandler(this.UpdateDate); this.buttonSpremi.Clicked += new global::System.EventHandler(this.SpremiKorisnika); this.buttonOdustani.Clicked += new global::System.EventHandler(this.OdustaniClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget TraceLab.UI.GTK.CalendarDatePickerDialog this.Name = "TraceLab.UI.GTK.CalendarDatePickerDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child TraceLab.UI.GTK.CalendarDatePickerDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar(); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); w1.Add(this.calendar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.calendar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Internal child TraceLab.UI.GTK.CalendarDatePickerDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget AppProject.WindowMijenjajAktivnost this.Name = "AppProject.WindowMijenjajAktivnost"; this.Title = global::Mono.Unix.Catalog.GetString("Aktivnost"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("AppProject.Resources.icon.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Container child AppProject.WindowMijenjajAktivnost.Gtk.Container+ContainerChild this.eventboxDodajAktivnost = new global::Gtk.EventBox(); this.eventboxDodajAktivnost.Name = "eventboxDodajAktivnost"; // Container child eventboxDodajAktivnost.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelDatum = new global::Gtk.Label(); this.labelDatum.Name = "labelDatum"; this.labelDatum.LabelProp = global::Mono.Unix.Catalog.GetString("Datum:"); this.hbox2.Add(this.labelDatum); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDatum])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboboxDan = global::Gtk.ComboBox.NewText(); this.comboboxDan.Name = "comboboxDan"; this.hbox2.Add(this.comboboxDan); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxDan])); w2.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.comboboxMjesec = global::Gtk.ComboBox.NewText(); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("sječanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("veljača")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("ožujak")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("travanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("svibanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("lipanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("srpanj")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("kolovoz")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("rujan")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("listopad")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("studeni")); this.comboboxMjesec.AppendText(global::Mono.Unix.Catalog.GetString("prosinac")); this.comboboxMjesec.Name = "comboboxMjesec"; this.hbox2.Add(this.comboboxMjesec); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxMjesec])); w3.Position = 2; // Container child hbox2.Gtk.Box+BoxChild this.comboboxGodina = global::Gtk.ComboBox.NewText(); this.comboboxGodina.Name = "comboboxGodina"; this.hbox2.Add(this.comboboxGodina); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxGodina])); w4.Position = 3; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelKorisnikId = new global::Gtk.Label(); this.labelKorisnikId.Name = "labelKorisnikId"; this.hbox1.Add(this.labelKorisnikId); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelKorisnikId])); w6.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.calendarAktivnosti = new global::Gtk.Calendar(); this.calendarAktivnosti.CanFocus = true; this.calendarAktivnosti.Name = "calendarAktivnosti"; this.calendarAktivnosti.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.hbox1.Add(this.calendarAktivnosti); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.calendarAktivnosti])); w7.Position = 1; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.labelTipId = new global::Gtk.Label(); this.labelTipId.Name = "labelTipId"; this.hbox1.Add(this.labelTipId); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelTipId])); w8.Position = 2; this.vbox5.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.labelNaziv = new global::Gtk.Label(); this.labelNaziv.Name = "labelNaziv"; this.labelNaziv.LabelProp = global::Mono.Unix.Catalog.GetString("Naziv aktivnosti:"); this.hbox6.Add(this.labelNaziv); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.labelNaziv])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.entryNaziv = new global::Gtk.Entry(); this.entryNaziv.CanFocus = true; this.entryNaziv.Name = "entryNaziv"; this.entryNaziv.IsEditable = true; this.entryNaziv.InvisibleChar = '●'; this.hbox6.Add(this.entryNaziv); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.entryNaziv])); w11.Position = 1; this.vbox5.Add(this.hbox6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox6])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelTip = new global::Gtk.Label(); this.labelTip.Name = "labelTip"; this.labelTip.LabelProp = global::Mono.Unix.Catalog.GetString("Tip aktivnosti:"); this.hbox7.Add(this.labelTip); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelTip])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.comboboxTipovi = global::Gtk.ComboBox.NewText(); this.comboboxTipovi.Name = "comboboxTipovi"; this.hbox7.Add(this.comboboxTipovi); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.comboboxTipovi])); w14.Position = 1; this.vbox5.Add(this.hbox7); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox7])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.labelVrijemePocetka = new global::Gtk.Label(); this.labelVrijemePocetka.Name = "labelVrijemePocetka"; this.labelVrijemePocetka.LabelProp = global::Mono.Unix.Catalog.GetString("Vrijeme Početka:"); this.hbox8.Add(this.labelVrijemePocetka); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelVrijemePocetka])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.comboboxSatPocetak = global::Gtk.ComboBox.NewText(); this.comboboxSatPocetak.Name = "comboboxSatPocetak"; this.hbox8.Add(this.comboboxSatPocetak); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.comboboxSatPocetak])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.comboboxMinPocetak = global::Gtk.ComboBox.NewText(); this.comboboxMinPocetak.Name = "comboboxMinPocetak"; this.hbox8.Add(this.comboboxMinPocetak); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.comboboxMinPocetak])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.comboboxSecPocetak = global::Gtk.ComboBox.NewText(); this.comboboxSecPocetak.Name = "comboboxSecPocetak"; this.hbox8.Add(this.comboboxSecPocetak); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.comboboxSecPocetak])); w19.Position = 3; w19.Expand = false; w19.Fill = false; this.vbox5.Add(this.hbox8); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox8])); w20.Position = 4; w20.Expand = false; w20.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.labelVrijemeKraja = new global::Gtk.Label(); this.labelVrijemeKraja.Name = "labelVrijemeKraja"; this.labelVrijemeKraja.LabelProp = global::Mono.Unix.Catalog.GetString("Vrijeme Kraja:"); this.hbox11.Add(this.labelVrijemeKraja); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.labelVrijemeKraja])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.comboboxSatKraj = global::Gtk.ComboBox.NewText(); this.comboboxSatKraj.Name = "comboboxSatKraj"; this.hbox11.Add(this.comboboxSatKraj); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.comboboxSatKraj])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.comboboxMinKraj = global::Gtk.ComboBox.NewText(); this.comboboxMinKraj.Name = "comboboxMinKraj"; this.hbox11.Add(this.comboboxMinKraj); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.comboboxMinKraj])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.comboboxSecKraj = global::Gtk.ComboBox.NewText(); this.comboboxSecKraj.Name = "comboboxSecKraj"; this.hbox11.Add(this.comboboxSecKraj); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.comboboxSecKraj])); w24.Position = 3; w24.Expand = false; w24.Fill = false; this.vbox5.Add(this.hbox11); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox11])); w25.Position = 5; w25.Expand = false; w25.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.fixed11 = new global::Gtk.Fixed(); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; this.vbox5.Add(this.fixed11); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fixed11])); w26.Position = 6; w26.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.buttonSpremi = new global::Gtk.Button(); this.buttonSpremi.CanFocus = true; this.buttonSpremi.Name = "buttonSpremi"; this.buttonSpremi.UseUnderline = true; this.buttonSpremi.Label = global::Mono.Unix.Catalog.GetString("Spremi"); this.hbox10.Add(this.buttonSpremi); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonSpremi])); w27.Position = 1; w27.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.labelAktivnostId = new global::Gtk.Label(); this.labelAktivnostId.Name = "labelAktivnostId"; this.hbox10.Add(this.labelAktivnostId); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.labelAktivnostId])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonOdustani = new global::Gtk.Button(); this.buttonOdustani.CanFocus = true; this.buttonOdustani.Name = "buttonOdustani"; this.buttonOdustani.UseUnderline = true; this.buttonOdustani.Label = global::Mono.Unix.Catalog.GetString("Odustani"); this.hbox10.Add(this.buttonOdustani); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.buttonOdustani])); w29.Position = 3; w29.Fill = false; this.vbox5.Add(this.hbox10); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox10])); w30.Position = 7; w30.Expand = false; w30.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.labelPotrosnjaKcal = new global::Gtk.Label(); this.labelPotrosnjaKcal.Name = "labelPotrosnjaKcal"; this.vbox5.Add(this.labelPotrosnjaKcal); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.labelPotrosnjaKcal])); w31.PackType = ((global::Gtk.PackType)(1)); w31.Position = 8; w31.Fill = false; this.eventboxDodajAktivnost.Add(this.vbox5); this.Add(this.eventboxDodajAktivnost); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 562; this.DefaultHeight = 454; this.labelKorisnikId.Hide(); this.labelTipId.Hide(); this.labelAktivnostId.Hide(); this.labelPotrosnjaKcal.Hide(); this.Show(); this.buttonSpremi.Clicked += new global::System.EventHandler(this.SpremiClicked); this.buttonOdustani.Clicked += new global::System.EventHandler(this.OdustaniClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.nombre = new global::Gtk.Entry (); this.nombre.CanFocus = true; this.nombre.Name = "nombre"; this.nombre.IsEditable = true; this.nombre.InvisibleChar = '●'; this.fixed1.Add (this.nombre); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.nombre])); w1.X = 112; w1.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.codigo = new global::Gtk.Entry (); this.codigo.CanFocus = true; this.codigo.Name = "codigo"; this.codigo.IsEditable = true; this.codigo.InvisibleChar = '●'; this.fixed1.Add (this.codigo); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.codigo])); w2.X = 112; w2.Y = 85; // Container child fixed1.Gtk.Fixed+FixedChild this.grupo = global::Gtk.ComboBox.NewText (); this.grupo.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.grupo.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.grupo.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.grupo.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.grupo.AppendText (global::Mono.Unix.Catalog.GetString ("E")); this.grupo.AppendText (""); this.grupo.Name = "grupo"; this.fixed1.Add (this.grupo); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.grupo])); w3.X = 474; w3.Y = 52; // Container child fixed1.Gtk.Fixed+FixedChild this.Nombre = new global::Gtk.Label (); this.Nombre.Name = "Nombre"; this.Nombre.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.Nombre); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Nombre])); w4.X = 52; w4.Y = 44; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w5.X = 55; w5.Y = 88; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.label3); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w6.X = 420; w6.Y = 57; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("1.-"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w7.X = 49; w7.Y = 154; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("¿Cual numero se obtiene de multiplicar 2 a la 5 potencia?"); this.fixed1.Add (this.label5); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w8.X = 78; w8.Y = 154; // Container child fixed1.Gtk.Fixed+FixedChild this.opca = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("32")); this.opca.CanFocus = true; this.opca.Name = "opca"; this.opca.DrawIndicator = true; this.opca.UseUnderline = true; this.opca.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.opca); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opca])); w9.X = 75; w9.Y = 194; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label7); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label7])); w10.X = 131; w10.Y = 197; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("5")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.opca.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w11.X = 153; w11.Y = 195; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w12.X = 206; w12.Y = 196; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("45")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.opca.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w13.X = 229; w13.Y = 196; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.label8); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label8])); w14.X = 287; w14.Y = 197; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton4 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("56")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.opca.Group; this.fixed1.Add (this.radiobutton4); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton4])); w15.X = 312; w15.Y = 195; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label6); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w16.X = 52; w16.Y = 195; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("2.-"); this.fixed1.Add (this.label9); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label9])); w17.X = 48; w17.Y = 245; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("¿ Cuanto es 2 + 2 ? "); this.fixed1.Add (this.label10); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label10])); w18.X = 80; w18.Y = 245; // Container child fixed1.Gtk.Fixed+FixedChild this.spm = new global::Gtk.SpinButton (0D, 100D, 1D); this.spm.CanFocus = true; this.spm.Name = "spm"; this.spm.Adjustment.PageIncrement = 10D; this.spm.ClimbRate = 1D; this.spm.Numeric = true; this.fixed1.Add (this.spm); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spm])); w19.X = 77; w19.Y = 269; // Container child fixed1.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("3.-"); this.fixed1.Add (this.label11); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label11])); w20.X = 44; w20.Y = 320; // Container child fixed1.Gtk.Fixed+FixedChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("¿ De los siguientes paises cuales son de America ?"); this.fixed1.Add (this.label12); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label12])); w21.X = 75; w21.Y = 320; // Container child fixed1.Gtk.Fixed+FixedChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.label13); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label13])); w22.X = 68; w22.Y = 352; // Container child fixed1.Gtk.Fixed+FixedChild this.opa = new global::Gtk.CheckButton (); this.opa.CanFocus = true; this.opa.Name = "opa"; this.opa.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.opa.DrawIndicator = true; this.opa.UseUnderline = true; this.fixed1.Add (this.opa); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opa])); w23.X = 89; w23.Y = 352; // Container child fixed1.Gtk.Fixed+FixedChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.label14); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label14])); w24.X = 163; w24.Y = 354; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton2 = new global::Gtk.CheckButton (); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString ("España"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.fixed1.Add (this.checkbutton2); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton2])); w25.X = 186; w25.Y = 355; // Container child fixed1.Gtk.Fixed+FixedChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.label15); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label15])); w26.X = 262; w26.Y = 356; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton3 = new global::Gtk.CheckButton (); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString ("Japon"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.fixed1.Add (this.checkbutton3); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton3])); w27.X = 284; w27.Y = 355; // Container child fixed1.Gtk.Fixed+FixedChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.label16); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label16])); w28.X = 355; w28.Y = 356; // Container child fixed1.Gtk.Fixed+FixedChild this.opd = new global::Gtk.CheckButton (); this.opd.CanFocus = true; this.opd.Name = "opd"; this.opd.Label = global::Mono.Unix.Catalog.GetString ("Peru"); this.opd.DrawIndicator = true; this.opd.UseUnderline = true; this.fixed1.Add (this.opd); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.opd])); w29.X = 374; w29.Y = 355; // Container child fixed1.Gtk.Fixed+FixedChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("4.-"); this.fixed1.Add (this.label17); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label17])); w30.X = 46; w30.Y = 414; // Container child fixed1.Gtk.Fixed+FixedChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Indique la fecha de la independencia"); this.fixed1.Add (this.label18); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label18])); w31.X = 84; w31.Y = 414; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar (); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendario); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w32.X = 94; w32.Y = 447; // Container child fixed1.Gtk.Fixed+FixedChild this.Terminar = new global::Gtk.Button (); this.Terminar.CanFocus = true; this.Terminar.Name = "Terminar"; this.Terminar.UseUnderline = true; this.Terminar.Label = global::Mono.Unix.Catalog.GetString ("Terminar"); this.fixed1.Add (this.Terminar); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Terminar])); w33.X = 473; w33.Y = 648; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 756; this.DefaultHeight = 780; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.Terminar.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("KeyKeeper"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-about", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.searchentry1 = new global::KeyKeeper.SearchEntry (); this.searchentry1.Events = ((global::Gdk.EventMask)(256)); this.searchentry1.Name = "searchentry1"; this.hbox1.Add (this.searchentry1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.searchentry1])); w1.Position = 0; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.workerOnWork = new global::Gtk.TreeView (); this.workerOnWork.CanFocus = true; this.workerOnWork.Name = "workerOnWork"; this.GtkScrolledWindow.Add (this.workerOnWork); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w4.Position = 1; this.notebook1.Add (this.vbox1); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("На работе"); this.notebook1.SetTabLabel (this.vbox1, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.generalKeyTreeview = new global::Gtk.TreeView (); this.generalKeyTreeview.CanFocus = true; this.generalKeyTreeview.Name = "generalKeyTreeview"; this.GtkScrolledWindow2.Add (this.generalKeyTreeview); this.vbox2.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow2])); w7.Position = 0; this.hbox4.Add (this.vbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox2])); w8.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.officialTreeview = new global::Gtk.TreeView (); this.officialTreeview.CanFocus = true; this.officialTreeview.Name = "officialTreeview"; this.GtkScrolledWindow3.Add (this.officialTreeview); this.vbox4.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow3])); w10.Position = 0; this.hbox4.Add (this.vbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4])); w11.Position = 1; this.notebook1.Add (this.hbox4); global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox4])); w12.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Ключи"); this.notebook1.SetTabLabel (this.hbox4, this.label3); this.label3.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox5.Add (this.calendar1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.calendar1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.journalSearchEntry = new global::KeyKeeper.SearchEntry (); this.journalSearchEntry.Events = ((global::Gdk.EventMask)(256)); this.journalSearchEntry.Name = "journalSearchEntry"; this.vbox5.Add (this.journalSearchEntry); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.journalSearchEntry])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.JournalTreeView = new global::Gtk.TreeView (); this.JournalTreeView.CanFocus = true; this.JournalTreeView.Name = "JournalTreeView"; this.GtkScrolledWindow4.Add (this.JournalTreeView); this.vbox5.Add (this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow4])); w16.Position = 2; this.notebook1.Add (this.vbox5); global::Gtk.Notebook.NotebookChild w17 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox5])); w17.Position = 2; // Notebook tab this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Журнал"); this.notebook1.SetTabLabel (this.vbox5, this.label4); this.label4.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.searchentry2 = new global::KeyKeeper.SearchEntry (); this.searchentry2.Events = ((global::Gdk.EventMask)(256)); this.searchentry2.Name = "searchentry2"; this.vbox3.Add (this.searchentry2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.searchentry2])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.helperTreeview = new global::Gtk.TreeView (); this.helperTreeview.CanFocus = true; this.helperTreeview.Name = "helperTreeview"; this.GtkScrolledWindow1.Add (this.helperTreeview); this.vbox3.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w20.Position = 1; this.notebook1.Add (this.vbox3); global::Gtk.Notebook.NotebookChild w21 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3])); w21.Position = 3; // Notebook tab this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Справочник"); this.notebook1.SetTabLabel (this.vbox3, this.label5); this.label5.ShowAll (); this.Add (this.notebook1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 486; this.DefaultHeight = 483; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); this.workerOnWork.RowActivated += new global::Gtk.RowActivatedHandler (this.OnWorkerOnWorkRowActivated); this.calendar1.DaySelected += new global::System.EventHandler (this.OnCalendar1DaySelected); this.helperTreeview.RowActivated += new global::Gtk.RowActivatedHandler (this.OnHelperTreeviewRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget frugalmonotools.WID_DateTime global::Stetic.BinContainer.Attach (this); this.Name = "frugalmonotools.WID_DateTime"; // Container child frugalmonotools.WID_DateTime.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.image40 = new global::Gtk.Image (); this.image40.Name = "image40"; this.image40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.Pictures.icons.datetime.png"); this.hbox2.Add (this.image40); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.image40])); w1.Position = 2; w1.Expand = false; w1.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Date"); this.hbox3.Add (this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.SAI_Date = new global::Gtk.Entry (); this.SAI_Date.CanFocus = true; this.SAI_Date.Name = "SAI_Date"; this.SAI_Date.IsEditable = true; this.SAI_Date.InvisibleChar = '•'; this.hbox3.Add (this.SAI_Date); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.SAI_Date])); w4.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.CAL_DateSys = new global::Gtk.Calendar (); this.CAL_DateSys.CanFocus = true; this.CAL_DateSys.Name = "CAL_DateSys"; this.CAL_DateSys.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.hbox3.Add (this.CAL_DateSys); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CAL_DateSys])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Hours"); this.hbox4.Add (this.label2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.SAI_Hours = new global::Gtk.Entry (); this.SAI_Hours.CanFocus = true; this.SAI_Hours.Name = "SAI_Hours"; this.SAI_Hours.IsEditable = true; this.SAI_Hours.WidthChars = 8; this.SAI_Hours.MaxLength = 8; this.SAI_Hours.InvisibleChar = '•'; this.hbox4.Add (this.SAI_Hours); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.SAI_Hours])); w8.Position = 1; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.LIB_Root = new global::Gtk.Label (); this.LIB_Root.Name = "LIB_Root"; this.LIB_Root.LabelProp = global::Mono.Unix.Catalog.GetString ("Can't save, should be started as root"); this.hbox1.Add (this.LIB_Root); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.LIB_Root])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.BTN_Apply = new global::Gtk.Button (); this.BTN_Apply.CanFocus = true; this.BTN_Apply.Name = "BTN_Apply"; this.BTN_Apply.UseUnderline = true; // Container child BTN_Apply.Gtk.Container+ContainerChild global::Gtk.Alignment w11 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w12 = new global::Gtk.HBox (); w12.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w12.Add (w13); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w15 = new global::Gtk.Label (); w15.LabelProp = global::Mono.Unix.Catalog.GetString ("Apply"); w15.UseUnderline = true; w12.Add (w15); w11.Add (w12); this.BTN_Apply.Add (w11); this.hbox1.Add (this.BTN_Apply); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.BTN_Apply])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w20.Position = 4; w20.Expand = false; w20.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.SAI_Date.Hide (); this.LIB_Root.Hide (); this.Hide (); this.CAL_DateSys.DaySelected += new global::System.EventHandler (this.OnCALDateSysDaySelected); this.BTN_Apply.Clicked += new global::System.EventHandler (this.OnBTNApplyClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget WhiteRose.VntFechaCalendario this.Name = "WhiteRose.VntFechaCalendario"; this.Title = global::Mono.Unix.Catalog.GetString("VntFechaCalendario"); this.TypeHint = ((global::Gdk.WindowTypeHint)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.Resizable = false; this.AllowGrow = false; // Container child WhiteRose.VntFechaCalendario.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; this.vbox7.BorderWidth = ((uint)(6)); // Container child vbox7.Gtk.Box+BoxChild this.Calendario = new global::Gtk.Calendar(); this.Calendario.CanFocus = true; this.Calendario.Name = "Calendario"; this.Calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox7.Add(this.Calendario); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.Calendario])); w1.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.BtnCancelar = new global::Gtk.Button(); this.BtnCancelar.CanFocus = true; this.BtnCancelar.Name = "BtnCancelar"; this.BtnCancelar.UseUnderline = true; this.BtnCancelar.Label = global::Mono.Unix.Catalog.GetString("Cancelar"); this.hbox1.Add(this.BtnCancelar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.BtnCancelar])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox1.Add(this.fixed3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed3])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.BtnAceptar = new global::Gtk.Button(); this.BtnAceptar.CanFocus = true; this.BtnAceptar.Name = "BtnAceptar"; this.BtnAceptar.UseUnderline = true; this.BtnAceptar.Label = global::Mono.Unix.Catalog.GetString("Aceptar"); this.hbox1.Add(this.BtnAceptar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.BtnAceptar])); w4.Position = 2; this.vbox7.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add(this.vbox7); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 281; this.DefaultHeight = 248; this.Show(); this.Calendario.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalendarioDaySelectedDoubleClick); this.BtnCancelar.Clicked += new global::System.EventHandler(this.OnBtnCancelarClicked); this.BtnAceptar.Clicked += new global::System.EventHandler(this.OnBtnAceptarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Template.TemplateWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style"); w1.Add(this.WindowStyleAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE"); w1.Add(this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.Sensitive = false; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction.Visible = false; this.PlatformStyleAction.VisibleHorizontal = false; this.PlatformStyleAction.VisibleVertical = false; this.PlatformStyleAction.VisibleOverflown = false; w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE"); w1.Add(this.DecoratedCustomStyleAction, null); this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group; this.PlatformStyleAction1.Sensitive = false; this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction1.Visible = false; w1.Add(this.PlatformStyleAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Template.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child Template.TemplateWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.table1.Add(this.button1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("young")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("strong")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.table1.Add(this.comboboxentry1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.table1.Add(this.entry1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.Buffer.Text = "Young, strong and crazy!"; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.table1.Add(this.progressbar1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table1.Add(this.spinbutton1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.table1.Add(this.togglebutton1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.vbox3.Add(this.checkbutton3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.vbox3.Add(this.checkbutton4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobutton1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton3")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w22.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 483; this.DefaultHeight = 497; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Osobni_Troškovnik.EditTrosakWindow this.Name = "Osobni_Troškovnik.EditTrosakWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Uredi trošak"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("Osobni_Troškovnik.Pics.winico.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child Osobni_Troškovnik.EditTrosakWindow.Gtk.Container+ContainerChild this.eventBox = new global::Gtk.EventBox(); this.eventBox.Name = "eventBox"; // Container child eventBox.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(15)); // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.cijena = new global::Gtk.SpinButton(0D, 1E+128D, 1D); this.cijena.CanFocus = true; this.cijena.Name = "cijena"; this.cijena.Adjustment.PageIncrement = 10D; this.cijena.ClimbRate = 1D; this.cijena.Digits = ((uint)(2)); this.cijena.Numeric = true; this.table1.Add(this.cijena); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.cijena])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.opis = new global::Gtk.TextView(); this.opis.CanFocus = true; this.opis.Name = "opis"; this.GtkScrolledWindow.Add(this.opis); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.kalendar = new global::Gtk.Calendar(); this.kalendar.CanFocus = true; this.kalendar.Name = "kalendar"; this.kalendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.kalendar); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.kalendar])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.kategorijaLabel = new global::Gtk.Label(); this.kategorijaLabel.Name = "kategorijaLabel"; this.kategorijaLabel.Xalign = 0.03F; this.table1.Add(this.kategorijaLabel); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.kategorijaLabel])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Kategorija:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Cijena:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Yalign = 0.03F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Datum:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Yalign = 0.04F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Opis:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 70; // Container child hbox1.Gtk.Box+BoxChild this.odustani = new global::Gtk.Button(); global::Gtk.Tooltips w12 = new Gtk.Tooltips(); w12.SetTip(this.odustani, "Odbaci promjene", "Odbaci promjene"); this.odustani.CanFocus = true; this.odustani.Name = "odustani"; this.odustani.UseUnderline = true; this.odustani.Label = global::Mono.Unix.Catalog.GetString("Odustani"); this.hbox1.Add(this.odustani); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.odustani])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.brisi = new global::Gtk.Button(); w12.SetTip(this.brisi, "Izbriši trošak", "Izbriši trošak"); this.brisi.CanFocus = true; this.brisi.Name = "brisi"; this.brisi.UseUnderline = true; this.brisi.Label = global::Mono.Unix.Catalog.GetString("Briši trošak"); this.hbox1.Add(this.brisi); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.brisi])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.spremi = new global::Gtk.Button(); w12.SetTip(this.spremi, "Spremi promjene", "Spremi promjene"); this.spremi.CanFocus = true; this.spremi.Name = "spremi"; this.spremi.UseUnderline = true; this.spremi.Label = global::Mono.Unix.Catalog.GetString("Spremi"); this.hbox1.Add(this.spremi); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.spremi])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.eventBox.Add(this.vbox1); this.Add(this.eventBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 377; this.DefaultHeight = 409; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnKeyPress); this.odustani.Clicked += new global::System.EventHandler(this.odustaniClicked); this.brisi.Clicked += new global::System.EventHandler(this.brisiClicked); this.spremi.Clicked += new global::System.EventHandler(this.spremiClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Todo List"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.btnAdd = new global::Gtk.Button (); this.btnAdd.CanFocus = true; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseUnderline = true; this.btnAdd.Label = global::Mono.Unix.Catalog.GetString ("Add"); this.hbox1.Add (this.btnAdd); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnAdd])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnRemove = new global::Gtk.Button (); this.btnRemove.CanFocus = true; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseUnderline = true; this.btnRemove.Label = global::Mono.Unix.Catalog.GetString ("Remove"); this.hbox1.Add (this.btnRemove); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnRemove])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnUpdate = new global::Gtk.Button (); this.btnUpdate.CanFocus = true; this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.UseUnderline = true; this.btnUpdate.Label = global::Mono.Unix.Catalog.GetString ("Update"); this.hbox1.Add (this.btnUpdate); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnUpdate])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.mainview = new global::Gtk.NodeView (); this.mainview.CanFocus = true; this.mainview.Name = "mainview"; this.GtkScrolledWindow.Add (this.mainview); this.hbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w6.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.lblTitle = new global::Gtk.Label (); this.lblTitle.Name = "lblTitle"; this.lblTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Title"); this.vbox2.Add (this.lblTitle); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblTitle])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.txtName = new global::Gtk.Entry (); this.txtName.CanFocus = true; this.txtName.Name = "txtName"; this.txtName.IsEditable = true; this.txtName.InvisibleChar = '•'; this.vbox2.Add (this.txtName); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.txtName])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.lblDetails = new global::Gtk.Label (); this.lblDetails.Name = "lblDetails"; this.lblDetails.LabelProp = global::Mono.Unix.Catalog.GetString ("Details"); this.vbox2.Add (this.lblDetails); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblDetails])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.txtDetails = new global::Gtk.Entry (); this.txtDetails.CanFocus = true; this.txtDetails.Name = "txtDetails"; this.txtDetails.IsEditable = true; this.txtDetails.InvisibleChar = '•'; this.vbox2.Add (this.txtDetails); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.txtDetails])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.lblDate = new global::Gtk.Label (); this.lblDate.Name = "lblDate"; this.lblDate.LabelProp = global::Mono.Unix.Catalog.GetString ("Date"); this.vbox2.Add (this.lblDate); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblDate])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.calDate = new global::Gtk.Calendar (); this.calDate.CanFocus = true; this.calDate.Name = "calDate"; this.calDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox2.Add (this.calDate); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.calDate])); w12.Position = 5; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.lblTime = new global::Gtk.Label (); this.lblTime.Name = "lblTime"; this.lblTime.LabelProp = global::Mono.Unix.Catalog.GetString ("Time"); this.vbox2.Add (this.lblTime); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblTime])); w13.Position = 6; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; this.hbox4.BorderWidth = ((uint)(5)); // Container child hbox4.Gtk.Box+BoxChild this.txtHour = new global::Gtk.Entry (); this.txtHour.CanFocus = true; this.txtHour.Name = "txtHour"; this.txtHour.IsEditable = true; this.txtHour.InvisibleChar = '•'; this.hbox4.Add (this.txtHour); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.txtHour])); w14.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.lblParentheses = new global::Gtk.Label (); this.lblParentheses.Name = "lblParentheses"; this.lblParentheses.LabelProp = global::Mono.Unix.Catalog.GetString (":"); this.hbox4.Add (this.lblParentheses); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.lblParentheses])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.txtMinute = new global::Gtk.Entry (); this.txtMinute.CanFocus = true; this.txtMinute.Name = "txtMinute"; this.txtMinute.IsEditable = true; this.txtMinute.InvisibleChar = '•'; this.hbox4.Add (this.txtMinute); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.txtMinute])); w16.Position = 2; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w17.Position = 7; w17.Expand = false; w17.Fill = false; this.hbox2.Add (this.vbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 617; this.DefaultHeight = 556; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.btnAdd.Clicked += new global::System.EventHandler (this.OnAddPress); this.btnRemove.Clicked += new global::System.EventHandler (this.OnRemovePress); this.btnUpdate.Clicked += new global::System.EventHandler (this.OnUpdatePress); this.mainview.CursorChanged += new global::System.EventHandler (this.OnCursorChange); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(9)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.BrojIndex = new global::Gtk.Label(); this.BrojIndex.Name = "BrojIndex"; this.BrojIndex.LabelProp = global::Mono.Unix.Catalog.GetString("BrojIndex"); this.table1.Add(this.BrojIndex); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.BrojIndex])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar = new global::Gtk.Calendar(); this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("E1")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("E2")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("E3")); this.combobox1.Name = "combobox1"; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w3.TopAttach = ((uint)(6)); w3.BottomAttach = ((uint)(7)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datumRodjenja = new global::Gtk.Label(); this.datumRodjenja.Name = "datumRodjenja"; this.datumRodjenja.LabelProp = global::Mono.Unix.Catalog.GetString("datumRodjenja"); this.table1.Add(this.datumRodjenja); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.datumRodjenja])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dodaj = new global::Gtk.Button(); this.dodaj.CanFocus = true; this.dodaj.Name = "dodaj"; this.dodaj.UseUnderline = true; this.dodaj.Label = global::Mono.Unix.Catalog.GetString("Dodaj ucenika"); this.table1.Add(this.dodaj); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.dodaj])); w5.TopAttach = ((uint)(8)); w5.BottomAttach = ((uint)(9)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Muski")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radiobutton2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radiobutton2])); w6.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Zenski")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton2.Group; this.hbox1.Add(this.radiobutton3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radiobutton3])); w7.Position = 1; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ime = new global::Gtk.Label(); this.ime.Name = "ime"; this.ime.LabelProp = global::Mono.Unix.Catalog.GetString("Ime"); this.table1.Add(this.ime); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ime])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.imeRoditelja = new global::Gtk.Label(); this.imeRoditelja.Name = "imeRoditelja"; this.imeRoditelja.LabelProp = global::Mono.Unix.Catalog.GetString("imeRoditelja"); this.table1.Add(this.imeRoditelja); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.imeRoditelja])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Godina"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w11.TopAttach = ((uint)(7)); w11.BottomAttach = ((uint)(8)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Pol = new global::Gtk.Label(); this.Pol.Name = "Pol"; this.Pol.LabelProp = global::Mono.Unix.Catalog.GetString("pol"); this.table1.Add(this.Pol); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.Pol])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Prezime = new global::Gtk.Label(); this.Prezime.Name = "Prezime"; this.Prezime.LabelProp = global::Mono.Unix.Catalog.GetString("prezime"); this.table1.Add(this.Prezime); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.Prezime])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Smer = new global::Gtk.Label(); this.Smer.Name = "Smer"; this.Smer.LabelProp = global::Mono.Unix.Catalog.GetString("Smer"); this.table1.Add(this.Smer); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.Smer])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.studenti = new global::Gtk.Button(); this.studenti.CanFocus = true; this.studenti.Name = "studenti"; this.studenti.UseUnderline = true; this.studenti.Label = global::Mono.Unix.Catalog.GetString("Studenti"); this.table1.Add(this.studenti); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.studenti])); w15.TopAttach = ((uint)(8)); w15.BottomAttach = ((uint)(9)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tbrojIndex = new global::Gtk.TextView(); this.tbrojIndex.CanFocus = true; this.tbrojIndex.Name = "tbrojIndex"; this.tbrojIndex.AcceptsTab = false; this.table1.Add(this.tbrojIndex); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.tbrojIndex])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tgodina = new global::Gtk.TextView(); this.tgodina.CanFocus = true; this.tgodina.Name = "tgodina"; this.tgodina.AcceptsTab = false; this.table1.Add(this.tgodina); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.tgodina])); w17.TopAttach = ((uint)(7)); w17.BottomAttach = ((uint)(8)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tIme = new global::Gtk.TextView(); this.tIme.CanFocus = true; this.tIme.Name = "tIme"; this.tIme.AcceptsTab = false; this.table1.Add(this.tIme); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.tIme])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.timeRoditelja = new global::Gtk.TextView(); this.timeRoditelja.CanFocus = true; this.timeRoditelja.Name = "timeRoditelja"; this.timeRoditelja.AcceptsTab = false; this.table1.Add(this.timeRoditelja); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.timeRoditelja])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tprezime = new global::Gtk.TextView(); this.tprezime.CanFocus = true; this.tprezime.Name = "tprezime"; this.tprezime.AcceptsTab = false; this.table1.Add(this.tprezime); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.tprezime])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 389; this.DefaultHeight = 420; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.studenti.Clicked += new global::System.EventHandler(this.Studenti); this.dodaj.Clicked += new global::System.EventHandler(this.dodajUcenika); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.lblnom = new global::Gtk.Label (); this.lblnom.Name = "lblnom"; this.lblnom.LabelProp = global::Mono.Unix.Catalog.GetString ("NOMBRE"); this.fixed1.Add (this.lblnom); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblnom])); w1.X = 30; w1.Y = 19; // Container child fixed1.Gtk.Fixed+FixedChild this.lblcod = new global::Gtk.Label (); this.lblcod.Name = "lblcod"; this.lblcod.LabelProp = global::Mono.Unix.Catalog.GetString ("CODIGO"); this.fixed1.Add (this.lblcod); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblcod])); w2.X = 31; w2.Y = 52; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed1.Add (this.entry2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry2])); w3.X = 83; w3.Y = 47; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp2 = new global::Gtk.Label (); this.lblp2.Name = "lblp2"; this.lblp2.LabelProp = global::Mono.Unix.Catalog.GetString ("2-. ¿Cuanto es 23 + 15 / 2?"); this.fixed1.Add (this.lblp2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp2])); w4.X = 26; w4.Y = 224; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp1a = new global::Gtk.Label (); this.lblp1a.Name = "lblp1a"; this.lblp1a.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.lblp1a); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp1a])); w5.X = 27; w5.Y = 155; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp1 = new global::Gtk.Label (); this.lblp1.Name = "lblp1"; this.lblp1.LabelProp = global::Mono.Unix.Catalog.GetString ("1-. ¿Cual es la capital del estado de Sinaloa?"); this.fixed1.Add (this.lblp1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp1])); w6.X = 27; w6.Y = 108; // Container child fixed1.Gtk.Fixed+FixedChild this.spinp2 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinp2.CanFocus = true; this.spinp2.Name = "spinp2"; this.spinp2.Adjustment.PageIncrement = 10D; this.spinp2.ClimbRate = 1D; this.spinp2.Numeric = true; this.fixed1.Add (this.spinp2); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinp2])); w7.X = 217; w7.Y = 257; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp3 = new global::Gtk.Label (); this.lblp3.Name = "lblp3"; this.lblp3.LabelProp = global::Mono.Unix.Catalog.GetString ("3-. ¿Cuales son paises Norteamericanos?"); this.fixed1.Add (this.lblp3); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp3])); w8.X = 30; w8.Y = 309; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp3a = new global::Gtk.Label (); this.lblp3a.Name = "lblp3a"; this.lblp3a.LabelProp = global::Mono.Unix.Catalog.GetString ("a)"); this.fixed1.Add (this.lblp3a); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp3a])); w9.X = 28; w9.Y = 345; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp4 = new global::Gtk.Label (); this.lblp4.Name = "lblp4"; this.lblp4.LabelProp = global::Mono.Unix.Catalog.GetString ("4-. Indica en el calendario cual es la fecha de la independencia de Mexico"); this.fixed1.Add (this.lblp4); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp4])); w10.X = 28; w10.Y = 401; // Container child fixed1.Gtk.Fixed+FixedChild this.calendario = new global::Gtk.Calendar (); this.calendario.CanFocus = true; this.calendario.Name = "calendario"; this.calendario.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendario); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendario])); w11.X = 128; w11.Y = 452; // Container child fixed1.Gtk.Fixed+FixedChild this.lblgr = new global::Gtk.Label (); this.lblgr.Name = "lblgr"; this.lblgr.LabelProp = global::Mono.Unix.Catalog.GetString ("GRUPO"); this.fixed1.Add (this.lblgr); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblgr])); w12.X = 340; w12.Y = 19; // Container child fixed1.Gtk.Fixed+FixedChild this.entry5 = new global::Gtk.Entry (); this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.InvisibleChar = '●'; this.fixed1.Add (this.entry5); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry5])); w13.X = 84; w13.Y = 15; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp1b = new global::Gtk.Label (); this.lblp1b.Name = "lblp1b"; this.lblp1b.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.lblp1b); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp1b])); w14.X = 164; w14.Y = 156; // Container child fixed1.Gtk.Fixed+FixedChild this.radp1b = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Culiacan")); this.radp1b.CanFocus = true; this.radp1b.Name = "radp1b"; this.radp1b.DrawIndicator = true; this.radp1b.UseUnderline = true; this.radp1b.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radp1b); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radp1b])); w15.X = 187; w15.Y = 155; // Container child fixed1.Gtk.Fixed+FixedChild this.radp1d = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Cancun")); this.radp1d.CanFocus = true; this.radp1d.Name = "radp1d"; this.radp1d.DrawIndicator = true; this.radp1d.UseUnderline = true; this.radp1d.Group = this.radp1b.Group; this.fixed1.Add (this.radp1d); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radp1d])); w16.X = 452; w16.Y = 157; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp1c = new global::Gtk.Label (); this.lblp1c.Name = "lblp1c"; this.lblp1c.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.lblp1c); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp1c])); w17.X = 301; w17.Y = 156; // Container child fixed1.Gtk.Fixed+FixedChild this.radp1c = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Mazatlan")); this.radp1c.CanFocus = true; this.radp1c.Name = "radp1c"; this.radp1c.DrawIndicator = true; this.radp1c.UseUnderline = true; this.radp1c.Group = this.radp1b.Group; this.fixed1.Add (this.radp1c); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radp1c])); w18.X = 320; w18.Y = 157; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp1d = new global::Gtk.Label (); this.lblp1d.Name = "lblp1d"; this.lblp1d.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.lblp1d); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp1d])); w19.X = 433; w19.Y = 158; // Container child fixed1.Gtk.Fixed+FixedChild this.checkp3a = new global::Gtk.CheckButton (); this.checkp3a.CanFocus = true; this.checkp3a.Name = "checkp3a"; this.checkp3a.Label = global::Mono.Unix.Catalog.GetString ("Mexico"); this.checkp3a.DrawIndicator = true; this.checkp3a.UseUnderline = true; this.fixed1.Add (this.checkp3a); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkp3a])); w20.X = 44; w20.Y = 344; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp3b = new global::Gtk.Label (); this.lblp3b.Name = "lblp3b"; this.lblp3b.LabelProp = global::Mono.Unix.Catalog.GetString ("b)"); this.fixed1.Add (this.lblp3b); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp3b])); w21.X = 138; w21.Y = 346; // Container child fixed1.Gtk.Fixed+FixedChild this.checkp3b = new global::Gtk.CheckButton (); this.checkp3b.CanFocus = true; this.checkp3b.Name = "checkp3b"; this.checkp3b.Label = global::Mono.Unix.Catalog.GetString ("Honduras"); this.checkp3b.DrawIndicator = true; this.checkp3b.UseUnderline = true; this.fixed1.Add (this.checkp3b); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkp3b])); w22.X = 155; w22.Y = 345; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp3c = new global::Gtk.Label (); this.lblp3c.Name = "lblp3c"; this.lblp3c.LabelProp = global::Mono.Unix.Catalog.GetString ("c)"); this.fixed1.Add (this.lblp3c); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp3c])); w23.X = 284; w23.Y = 348; // Container child fixed1.Gtk.Fixed+FixedChild this.checkp3c = new global::Gtk.CheckButton (); this.checkp3c.CanFocus = true; this.checkp3c.Name = "checkp3c"; this.checkp3c.Label = global::Mono.Unix.Catalog.GetString ("Canada"); this.checkp3c.DrawIndicator = true; this.checkp3c.UseUnderline = true; this.fixed1.Add (this.checkp3c); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkp3c])); w24.X = 297; w24.Y = 347; // Container child fixed1.Gtk.Fixed+FixedChild this.lblp3d = new global::Gtk.Label (); this.lblp3d.Name = "lblp3d"; this.lblp3d.LabelProp = global::Mono.Unix.Catalog.GetString ("d)"); this.fixed1.Add (this.lblp3d); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblp3d])); w25.X = 399; w25.Y = 348; // Container child fixed1.Gtk.Fixed+FixedChild this.checkp3d = new global::Gtk.CheckButton (); this.checkp3d.CanFocus = true; this.checkp3d.Name = "checkp3d"; this.checkp3d.Label = global::Mono.Unix.Catalog.GetString ("Cuba"); this.checkp3d.DrawIndicator = true; this.checkp3d.UseUnderline = true; this.fixed1.Add (this.checkp3d); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkp3d])); w26.X = 418; w26.Y = 348; // Container child fixed1.Gtk.Fixed+FixedChild this.radp1a = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Torreon")); this.radp1a.CanFocus = true; this.radp1a.Name = "radp1a"; this.radp1a.DrawIndicator = true; this.radp1a.UseUnderline = true; this.radp1a.Group = this.radp1b.Group; this.fixed1.Add (this.radp1a); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radp1a])); w27.X = 43; w27.Y = 155; // Container child fixed1.Gtk.Fixed+FixedChild this.combogrup = global::Gtk.ComboBox.NewText (); this.combogrup.Name = "combogrup"; this.fixed1.Add (this.combogrup); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.combogrup])); w28.X = 395; w28.Y = 19; // Container child fixed1.Gtk.Fixed+FixedChild this.btn = new global::Gtk.Button (); this.btn.CanFocus = true; this.btn.Name = "btn"; this.btn.UseUnderline = true; this.btn.Label = global::Mono.Unix.Catalog.GetString ("Terminar"); this.fixed1.Add (this.btn); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btn])); w29.X = 258; w29.Y = 671; // Container child fixed1.Gtk.Fixed+FixedChild this.txtpuntos = new global::Gtk.Entry (); this.txtpuntos.CanFocus = true; this.txtpuntos.Name = "txtpuntos"; this.txtpuntos.IsEditable = true; this.txtpuntos.InvisibleChar = '●'; this.fixed1.Add (this.txtpuntos); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.txtpuntos])); w30.X = 457; w30.Y = 672; // Container child fixed1.Gtk.Fixed+FixedChild this.lblpuntos = new global::Gtk.Label (); this.lblpuntos.Name = "lblpuntos"; this.lblpuntos.LabelProp = global::Mono.Unix.Catalog.GetString ("Puntos"); this.fixed1.Add (this.lblpuntos); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblpuntos])); w31.X = 417; w31.Y = 674; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 639; this.DefaultHeight = 779; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.btn.Clicked += new global::System.EventHandler (this.OnBtnClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Practica 7"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w1.X = 247; w1.Y = 28; // Container child fixed1.Gtk.Fixed+FixedChild this.lNombre = new global::Gtk.Label (); this.lNombre.Name = "lNombre"; this.lNombre.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.lNombre); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lNombre])); w2.X = 43; w2.Y = 87; // Container child fixed1.Gtk.Fixed+FixedChild this.lCodigo = new global::Gtk.Label (); this.lCodigo.Name = "lCodigo"; this.lCodigo.LabelProp = global::Mono.Unix.Catalog.GetString ("Código"); this.fixed1.Add (this.lCodigo); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lCodigo])); w3.X = 51; w3.Y = 111; // Container child fixed1.Gtk.Fixed+FixedChild this.eNombre = new global::Gtk.Entry (); this.eNombre.CanFocus = true; this.eNombre.Name = "eNombre"; this.eNombre.IsEditable = true; this.eNombre.InvisibleChar = '•'; this.fixed1.Add (this.eNombre); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.eNombre])); w4.X = 126; w4.Y = 84; // Container child fixed1.Gtk.Fixed+FixedChild this.lGrupo = new global::Gtk.Label (); this.lGrupo.Name = "lGrupo"; this.lGrupo.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.lGrupo); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lGrupo])); w5.X = 342; w5.Y = 76; // Container child fixed1.Gtk.Fixed+FixedChild this.lPregunta1 = new global::Gtk.Label (); this.lPregunta1.Name = "lPregunta1"; this.lPregunta1.LabelProp = global::Mono.Unix.Catalog.GetString ("1.-Cúal es mi nombre?"); this.fixed1.Add (this.lPregunta1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lPregunta1])); w6.X = 36; w6.Y = 174; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Joshua")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w7.X = 40; w7.Y = 200; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Marco")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w8.X = 151; w8.Y = 199; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Mariano")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w9.X = 251; w9.Y = 197; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton4 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Pepe")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton4); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton4])); w10.X = 374; w10.Y = 198; // Container child fixed1.Gtk.Fixed+FixedChild this.lPregunta2 = new global::Gtk.Label (); this.lPregunta2.Name = "lPregunta2"; this.lPregunta2.LabelProp = global::Mono.Unix.Catalog.GetString ("2.-Cuanto es 2 + 2?"); this.fixed1.Add (this.lPregunta2); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lPregunta2])); w11.X = 44; w11.Y = 253; // Container child fixed1.Gtk.Fixed+FixedChild this.combobox1 = global::Gtk.ComboBox.NewText (); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("E")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.fixed1.Add (this.combobox1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.combobox1])); w12.X = 406; w12.Y = 71; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0, 100, 1); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10; this.spinbutton1.ClimbRate = 1; this.spinbutton1.Numeric = true; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w13.X = 61; w13.Y = 288; // Container child fixed1.Gtk.Fixed+FixedChild this.checkOpc1 = new global::Gtk.CheckButton (); this.checkOpc1.CanFocus = true; this.checkOpc1.Name = "checkOpc1"; this.checkOpc1.Label = global::Mono.Unix.Catalog.GetString ("México"); this.checkOpc1.DrawIndicator = true; this.checkOpc1.UseUnderline = true; this.fixed1.Add (this.checkOpc1); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkOpc1])); w14.X = 42; w14.Y = 378; // Container child fixed1.Gtk.Fixed+FixedChild this.checkOpc2 = new global::Gtk.CheckButton (); this.checkOpc2.CanFocus = true; this.checkOpc2.Name = "checkOpc2"; this.checkOpc2.Label = global::Mono.Unix.Catalog.GetString ("España"); this.checkOpc2.DrawIndicator = true; this.checkOpc2.UseUnderline = true; this.fixed1.Add (this.checkOpc2); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkOpc2])); w15.X = 154; w15.Y = 376; // Container child fixed1.Gtk.Fixed+FixedChild this.checkOpc3 = new global::Gtk.CheckButton (); this.checkOpc3.CanFocus = true; this.checkOpc3.Name = "checkOpc3"; this.checkOpc3.Label = global::Mono.Unix.Catalog.GetString ("Japón"); this.checkOpc3.DrawIndicator = true; this.checkOpc3.UseUnderline = true; this.fixed1.Add (this.checkOpc3); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkOpc3])); w16.X = 248; w16.Y = 373; // Container child fixed1.Gtk.Fixed+FixedChild this.checkOpc4 = new global::Gtk.CheckButton (); this.checkOpc4.CanFocus = true; this.checkOpc4.Name = "checkOpc4"; this.checkOpc4.Label = global::Mono.Unix.Catalog.GetString ("Chile"); this.checkOpc4.DrawIndicator = true; this.checkOpc4.UseUnderline = true; this.fixed1.Add (this.checkOpc4); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkOpc4])); w17.X = 338; w17.Y = 375; // Container child fixed1.Gtk.Fixed+FixedChild this.lPregunta4 = new global::Gtk.Label (); this.lPregunta4.Name = "lPregunta4"; this.lPregunta4.LabelProp = global::Mono.Unix.Catalog.GetString ("4.-Indique la fecha de la independencia de México"); this.fixed1.Add (this.lPregunta4); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lPregunta4])); w18.X = 46; w18.Y = 435; // Container child fixed1.Gtk.Fixed+FixedChild this.lPregunta3 = new global::Gtk.Label (); this.lPregunta3.Name = "lPregunta3"; this.lPregunta3.LabelProp = global::Mono.Unix.Catalog.GetString ("3.-De los siguientes paises, cuales son de America?"); this.fixed1.Add (this.lPregunta3); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lPregunta3])); w19.X = 42; w19.Y = 340; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar1); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar1])); w20.X = 49; w20.Y = 487; // Container child fixed1.Gtk.Fixed+FixedChild this.botonTerminar = new global::Gtk.Button (); this.botonTerminar.CanFocus = true; this.botonTerminar.Name = "botonTerminar"; this.botonTerminar.UseUnderline = true; this.botonTerminar.Label = global::Mono.Unix.Catalog.GetString ("Terminar"); this.fixed1.Add (this.botonTerminar); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.botonTerminar])); w21.X = 337; w21.Y = 673; // Container child fixed1.Gtk.Fixed+FixedChild this.eCodigo = new global::Gtk.Entry (); this.eCodigo.CanFocus = true; this.eCodigo.Name = "eCodigo"; this.eCodigo.IsEditable = true; this.eCodigo.InvisibleChar = '•'; this.fixed1.Add (this.eCodigo); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.eCodigo])); w22.X = 126; w22.Y = 122; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 637; this.DefaultHeight = 751; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget FennecWidget.DayTimes this.Name = "FennecWidget.DayTimes"; this.Title = global::Mono.Unix.Catalog.GetString("Day Boundaries"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child FennecWidget.DayTimes.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.EodDate = new global::Gtk.Calendar(); this.EodDate.CanFocus = true; this.EodDate.Name = "EodDate"; this.EodDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.EodDate); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.EodDate])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.spinHour = new global::Gtk.SpinButton(0, 100, 1); this.spinHour.CanFocus = true; this.spinHour.Name = "spinHour"; this.spinHour.Adjustment.PageIncrement = 10; this.spinHour.ClimbRate = 1; this.spinHour.Numeric = true; this.hbox2.Add(this.spinHour); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.spinHour])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.spinMinute = new global::Gtk.SpinButton(0, 100, 1); this.spinMinute.CanFocus = true; this.spinMinute.Name = "spinMinute"; this.spinMinute.Adjustment.PageIncrement = 10; this.spinMinute.ClimbRate = 1; this.spinMinute.Numeric = true; this.hbox2.Add(this.spinMinute); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.spinMinute])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox2])); w5.Position = 0; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("End Date"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Start Post"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("End Time"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txtStartPost = new global::Gtk.Entry(); this.txtStartPost.CanFocus = true; this.txtStartPost.Name = "txtStartPost"; this.txtStartPost.IsEditable = true; this.txtStartPost.InvisibleChar = '●'; this.table1.Add(this.txtStartPost); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtStartPost])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Internal child FennecWidget.DayTimes.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(8)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonCancel])); w13.Expand = false; w13.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOk])); w14.Position = 1; w14.Expand = false; w14.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 308; this.DefaultHeight = 330; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget AplikacijaTaxy.WindowUnosVoznje this.Name = "AplikacijaTaxy.WindowUnosVoznje"; this.Title = global::Mono.Unix.Catalog.GetString("UNOS VOZNJE"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(10)); // Container child AplikacijaTaxy.WindowUnosVoznje.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.WidthRequest = 150; this.label1.HeightRequest = 50; this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("NAZIV OSOBE"); this.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.HeightRequest = 50; this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("KONTAKT(mob)"); this.vbox1.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.HeightRequest = 50; this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("POČETNA LOKACIJA"); this.vbox1.Add(this.label3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label3])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.HeightRequest = 50; this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("ZAVRŠNA LOKACIJA"); this.vbox1.Add(this.label4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label4])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.HeightRequest = 50; this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("CIJENA"); this.vbox1.Add(this.label5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label5])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.HeightRequest = 50; this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("VOZAC"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.HeightRequest = 50; this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("VRIJEME"); this.vbox1.Add(this.label7); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label7])); w7.Position = 6; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.HeightRequest = 180; this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("DATUM"); this.vbox1.Add(this.label8); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label8])); w8.Position = 7; w8.Expand = false; w8.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.entry_NazivOsobe = new global::Gtk.Entry(); this.entry_NazivOsobe.WidthRequest = 200; this.entry_NazivOsobe.HeightRequest = 50; this.entry_NazivOsobe.CanFocus = true; this.entry_NazivOsobe.Name = "entry_NazivOsobe"; this.entry_NazivOsobe.IsEditable = true; this.entry_NazivOsobe.InvisibleChar = '●'; this.vbox2.Add(this.entry_NazivOsobe); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entry_NazivOsobe])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.entry_Kontakt = new global::Gtk.Entry(); this.entry_Kontakt.HeightRequest = 50; this.entry_Kontakt.CanFocus = true; this.entry_Kontakt.Name = "entry_Kontakt"; this.entry_Kontakt.IsEditable = true; this.entry_Kontakt.InvisibleChar = '●'; this.vbox2.Add(this.entry_Kontakt); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entry_Kontakt])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.entry_PocetnaLokacija = new global::Gtk.Entry(); this.entry_PocetnaLokacija.HeightRequest = 50; this.entry_PocetnaLokacija.CanFocus = true; this.entry_PocetnaLokacija.Name = "entry_PocetnaLokacija"; this.entry_PocetnaLokacija.IsEditable = true; this.entry_PocetnaLokacija.InvisibleChar = '●'; this.vbox2.Add(this.entry_PocetnaLokacija); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entry_PocetnaLokacija])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.entry_ZavrsnaLokacija = new global::Gtk.Entry(); this.entry_ZavrsnaLokacija.HeightRequest = 50; this.entry_ZavrsnaLokacija.CanFocus = true; this.entry_ZavrsnaLokacija.Name = "entry_ZavrsnaLokacija"; this.entry_ZavrsnaLokacija.IsEditable = true; this.entry_ZavrsnaLokacija.InvisibleChar = '●'; this.vbox2.Add(this.entry_ZavrsnaLokacija); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entry_ZavrsnaLokacija])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.spinbutton_Cijena = new global::Gtk.SpinButton(100D, 50000D, 10D); this.spinbutton_Cijena.HeightRequest = 50; this.spinbutton_Cijena.CanFocus = true; this.spinbutton_Cijena.Name = "spinbutton_Cijena"; this.spinbutton_Cijena.Adjustment.PageIncrement = 50D; this.spinbutton_Cijena.ClimbRate = 1D; this.spinbutton_Cijena.Numeric = true; this.spinbutton_Cijena.SnapToTicks = true; this.spinbutton_Cijena.Value = 500D; this.vbox2.Add(this.spinbutton_Cijena); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.spinbutton_Cijena])); w14.Position = 4; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.combobox_Vozac = global::Gtk.ComboBox.NewText(); this.combobox_Vozac.HeightRequest = 50; this.combobox_Vozac.Name = "combobox_Vozac"; this.vbox2.Add(this.combobox_Vozac); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.combobox_Vozac])); w15.Position = 5; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.entry_Vrijeme = new global::Gtk.Entry(); this.entry_Vrijeme.HeightRequest = 50; this.entry_Vrijeme.CanFocus = true; this.entry_Vrijeme.Name = "entry_Vrijeme"; this.entry_Vrijeme.IsEditable = true; this.entry_Vrijeme.InvisibleChar = '●'; this.vbox2.Add(this.entry_Vrijeme); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entry_Vrijeme])); w16.Position = 6; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.calendar = new global::Gtk.Calendar(); this.calendar.HeightRequest = 180; this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox2.Add(this.calendar); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.calendar])); w17.Position = 7; w17.Expand = false; w17.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(10)); // Container child vbox3.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.WidthRequest = 0; this.fixed1.HeightRequest = 135; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox3.Add(this.fixed1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.fixed1])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.WidthRequest = 150; this.button2.HeightRequest = 100; this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("SPREMI"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.button2.Image = w20; this.vbox3.Add(this.button2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.button2])); w21.Position = 1; w21.Expand = false; w21.Fill = false; w21.Padding = ((uint)(15)); // Container child vbox3.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.HeightRequest = 100; this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("ODUSTANI"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.button3.Image = w22; this.vbox3.Add(this.button3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.button3])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w24.Position = 2; w24.Expand = false; w24.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 561; this.DefaultHeight = 592; this.Show(); this.button2.Clicked += new global::System.EventHandler(this.OnButtonSpremiVoznju); this.button3.Clicked += new global::System.EventHandler(this.On_Button_OdustaniOdUnosaVoznje); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.AboutOurAppAction = new global::Gtk.Action("AboutOurAppAction", global::Mono.Unix.Catalog.GetString("About our App"), null, null); this.AboutOurAppAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About our App"); w1.Add(this.AboutOurAppAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(3)); // Container child MainWindow.Gtk.Container+ContainerChild this.mainWindow = new global::Gtk.Fixed(); this.mainWindow.WidthRequest = 790; this.mainWindow.HeightRequest = 430; this.mainWindow.Name = "mainWindow"; this.mainWindow.HasWindow = false; // Container child mainWindow.Gtk.Fixed+FixedChild this.helloLabel = new global::Gtk.Label(); this.helloLabel.Name = "helloLabel"; this.helloLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Hello, User!"); this.mainWindow.Add(this.helloLabel); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.helloLabel])); w2.X = 20; w2.Y = 20; // Container child mainWindow.Gtk.Fixed+FixedChild this.currentLocationText = new global::Gtk.Label(); this.currentLocationText.Name = "currentLocationText"; this.currentLocationText.LabelProp = global::Mono.Unix.Catalog.GetString("Your address:"); this.mainWindow.Add(this.currentLocationText); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.currentLocationText])); w3.X = 20; w3.Y = 50; // Container child mainWindow.Gtk.Fixed+FixedChild this.currentLocationAddress = new global::Gtk.Label(); this.currentLocationAddress.Name = "currentLocationAddress"; this.currentLocationAddress.LabelProp = global::Mono.Unix.Catalog.GetString("Address here"); this.mainWindow.Add(this.currentLocationAddress); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.currentLocationAddress])); w4.X = 20; w4.Y = 70; // Container child mainWindow.Gtk.Fixed+FixedChild this.dateText = new global::Gtk.Label(); this.dateText.Name = "dateText"; this.dateText.Xpad = 55; this.dateText.LabelProp = global::Mono.Unix.Catalog.GetString("Date here"); this.dateText.Justify = ((global::Gtk.Justification)(2)); this.mainWindow.Add(this.dateText); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.dateText])); w5.X = 570; w5.Y = 20; // Container child mainWindow.Gtk.Fixed+FixedChild this.currentTimeText = new global::Gtk.Label(); this.currentTimeText.Name = "currentTimeText"; this.currentTimeText.Xpad = 35; this.currentTimeText.LabelProp = global::Mono.Unix.Catalog.GetString("Time here"); this.mainWindow.Add(this.currentTimeText); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.currentTimeText])); w6.X = 620; w6.Y = 45; // Container child mainWindow.Gtk.Fixed+FixedChild this.startBox = global::Gtk.ComboBox.NewText(); this.startBox.Name = "startBox"; this.mainWindow.Add(this.startBox); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.startBox])); w7.X = 20; w7.Y = 155; // Container child mainWindow.Gtk.Fixed+FixedChild this.destinationBox = global::Gtk.ComboBox.NewText(); this.destinationBox.Name = "destinationBox"; this.mainWindow.Add(this.destinationBox); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.destinationBox])); w8.X = 20; w8.Y = 235; // Container child mainWindow.Gtk.Fixed+FixedChild this.startAtText = new global::Gtk.Label(); this.startAtText.Name = "startAtText"; this.startAtText.LabelProp = global::Mono.Unix.Catalog.GetString("Start at text"); this.mainWindow.Add(this.startAtText); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.startAtText])); w9.X = 20; w9.Y = 135; // Container child mainWindow.Gtk.Fixed+FixedChild this.destinationText = new global::Gtk.Label(); this.destinationText.Name = "destinationText"; this.destinationText.LabelProp = global::Mono.Unix.Catalog.GetString("Destination text"); this.mainWindow.Add(this.destinationText); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.destinationText])); w10.X = 20; w10.Y = 215; // Container child mainWindow.Gtk.Fixed+FixedChild this.startAtTextNote = new global::Gtk.Label(); this.startAtTextNote.Name = "startAtTextNote"; this.startAtTextNote.LabelProp = global::Mono.Unix.Catalog.GetString("note here"); this.mainWindow.Add(this.startAtTextNote); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.startAtTextNote])); w11.X = 100; w11.Y = 132; // Container child mainWindow.Gtk.Fixed+FixedChild this.goButton = new global::Gtk.Button(); this.goButton.WidthRequest = 120; this.goButton.CanFocus = true; this.goButton.Name = "goButton"; this.goButton.UseUnderline = true; this.goButton.BorderWidth = ((uint)(1)); this.goButton.Label = global::Mono.Unix.Catalog.GetString("Go!"); this.mainWindow.Add(this.goButton); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.goButton])); w12.X = 340; w12.Y = 300; // Container child mainWindow.Gtk.Fixed+FixedChild this.tripDistance = new global::Gtk.Label(); this.tripDistance.Name = "tripDistance"; this.tripDistance.LabelProp = global::Mono.Unix.Catalog.GetString("Trip distance text here"); this.mainWindow.Add(this.tripDistance); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.tripDistance])); w13.X = 270; w13.Y = 360; // Container child mainWindow.Gtk.Fixed+FixedChild this.calendarWindow = new global::Gtk.Calendar(); this.calendarWindow.WidthRequest = 170; this.calendarWindow.Sensitive = false; this.calendarWindow.Name = "calendarWindow"; this.calendarWindow.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(37)); this.calendarWindow.ShowDayNames = false; this.calendarWindow.NoMonthChange = true; this.mainWindow.Add(this.calendarWindow); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.calendarWindow])); w14.X = 615; w14.Y = 80; // Container child mainWindow.Gtk.Fixed+FixedChild this.nextBusDeparture = new global::Gtk.Label(); this.nextBusDeparture.Name = "nextBusDeparture"; this.nextBusDeparture.LabelProp = global::Mono.Unix.Catalog.GetString("Next Bus Departure time text"); this.mainWindow.Add(this.nextBusDeparture); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.nextBusDeparture])); w15.X = 270; w15.Y = 385; // Container child mainWindow.Gtk.Fixed+FixedChild this.milesRadioButton = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Miles")); this.milesRadioButton.CanFocus = true; this.milesRadioButton.Name = "milesRadioButton"; this.milesRadioButton.DrawIndicator = true; this.milesRadioButton.UseUnderline = true; this.milesRadioButton.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.mainWindow.Add(this.milesRadioButton); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.milesRadioButton])); w16.X = 20; w16.Y = 95; // Container child mainWindow.Gtk.Fixed+FixedChild this.kilometersRadioButton = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Kilometers")); this.kilometersRadioButton.CanFocus = true; this.kilometersRadioButton.Name = "kilometersRadioButton"; this.kilometersRadioButton.DrawIndicator = true; this.kilometersRadioButton.UseUnderline = true; this.kilometersRadioButton.Group = this.milesRadioButton.Group; this.mainWindow.Add(this.kilometersRadioButton); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.kilometersRadioButton])); w17.X = 90; w17.Y = 95; // Container child mainWindow.Gtk.Fixed+FixedChild this.estimatedArrival = new global::Gtk.Label(); this.estimatedArrival.Name = "estimatedArrival"; this.estimatedArrival.LabelProp = global::Mono.Unix.Catalog.GetString("Estimated Arrival time text"); this.mainWindow.Add(this.estimatedArrival); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.estimatedArrival])); w18.X = 270; w18.Y = 410; // Container child mainWindow.Gtk.Fixed+FixedChild this.numberOfStops = new global::Gtk.Label(); this.numberOfStops.Name = "numberOfStops"; this.numberOfStops.LabelProp = global::Mono.Unix.Catalog.GetString("Number of Stops text"); this.mainWindow.Add(this.numberOfStops); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.numberOfStops])); w19.X = 270; w19.Y = 435; // Container child mainWindow.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.mainWindow.Add(this.progressbar1); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.progressbar1])); w20.X = 324; w20.Y = 332; // Container child mainWindow.Gtk.Fixed+FixedChild this.tripStatus = new global::Gtk.Label(); this.tripStatus.Name = "tripStatus"; this.tripStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Trip status text here"); this.mainWindow.Add(this.tripStatus); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.mainWindow[this.tripStatus])); w21.X = 20; w21.Y = 280; this.Add(this.mainWindow); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 806; this.DefaultHeight = 488; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DamageControl.Calendario this.Name = "DamageControl.Calendario"; this.Title = global::Mono.Unix.Catalog.GetString("Calendario"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.BorderWidth = ((uint)(15)); // Container child DamageControl.Calendario.Gtk.Container+ContainerChild this.frameCalendario = new global::Gtk.Frame(); this.frameCalendario.Name = "frameCalendario"; this.frameCalendario.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frameCalendario.Gtk.Container+ContainerChild this.GtkAligInterior = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAligInterior.Name = "GtkAligInterior"; this.GtkAligInterior.LeftPadding = ((uint)(12)); this.GtkAligInterior.BorderWidth = ((uint)(15)); // Container child GtkAligInterior.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.calendar = new global::Gtk.Calendar(); this.calendar.CanFocus = true; this.calendar.Name = "calendar"; this.calendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(43)); this.calendar.ShowWeekNumbers = true; this.vbox2.Add(this.calendar); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.calendar])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Homogeneous = true; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.butCancelar = new global::Gtk.Button(); this.butCancelar.WidthRequest = 50; this.butCancelar.HeightRequest = 50; this.butCancelar.CanFocus = true; this.butCancelar.Name = "butCancelar"; this.butCancelar.UseUnderline = true; this.butCancelar.Label = global::Mono.Unix.Catalog.GetString("Cancelar"); this.hbox12.Add(this.butCancelar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.butCancelar])); w2.Position = 0; // Container child hbox12.Gtk.Box+BoxChild this.butAceptar = new global::Gtk.Button(); this.butAceptar.CanFocus = true; this.butAceptar.Name = "butAceptar"; this.butAceptar.UseUnderline = true; this.butAceptar.Label = global::Mono.Unix.Catalog.GetString("Aceptar"); this.hbox12.Add(this.butAceptar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.butAceptar])); w3.Position = 1; this.vbox2.Add(this.hbox12); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox12])); w4.Position = 1; this.GtkAligInterior.Add(this.vbox2); this.frameCalendario.Add(this.GtkAligInterior); this.GtkLabCalendario = new global::Gtk.Label(); this.GtkLabCalendario.Name = "GtkLabCalendario"; this.GtkLabCalendario.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Calendario</b>"); this.GtkLabCalendario.UseMarkup = true; this.frameCalendario.LabelWidget = this.GtkLabCalendario; this.Add(this.frameCalendario); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 357; this.DefaultHeight = 335; this.Show(); this.calendar.DaySelectedDoubleClick += new global::System.EventHandler(this.OnCalendarDaySelectedDoubleClick); this.butCancelar.Clicked += new global::System.EventHandler(this.OnButCancelarClicked); this.butAceptar.Clicked += new global::System.EventHandler(this.OnButAceptarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander(null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add(this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Minimaler Beginn"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Maximales Ende"); this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Suchen"); this.hbox2.Add(this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add(this.vbox3); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add(this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label(); w17.LabelProp = global::Mono.Unix.Catalog.GetString("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); this.togglebutton1.Add(w13); this.hbox1.Add(this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show(); this.hscale2.ValueChanged += new global::System.EventHandler(this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler(this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget SecretariaElectrial.AddDocument this.Name = "SecretariaElectrial.AddDocument"; this.Title = global::Mono.Unix.Catalog.GetString ("New document"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; // Internal child SecretariaElectrial.AddDocument.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.BorderWidth = ((uint)(5)); // Container child table2.Gtk.Table+TableChild this.categoryComboBox = global::Gtk.ComboBox.NewText (); this.categoryComboBox.Name = "categoryComboBox"; this.table2.Add (this.categoryComboBox); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.categoryComboBox])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.dateCalendar = new global::Gtk.Calendar (); this.dateCalendar.CanFocus = true; this.dateCalendar.Name = "dateCalendar"; this.dateCalendar.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table2.Add (this.dateCalendar); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateCalendar])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.idEntry = new global::Gtk.Entry (); this.idEntry.CanFocus = true; this.idEntry.Name = "idEntry"; this.idEntry.IsEditable = true; this.idEntry.InvisibleChar = '•'; this.table2.Add (this.idEntry); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.idEntry])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.idLabel = new global::Gtk.Label (); this.idLabel.Name = "idLabel"; this.idLabel.Xalign = 0F; this.idLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Id"); this.table2.Add (this.idLabel); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.idLabel])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Name"); this.table2.Add (this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Category"); this.table2.Add (this.label4); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Date"); this.table2.Add (this.label5); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.nameEntry = new global::Gtk.Entry (); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '•'; this.table2.Add (this.nameEntry); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.nameEntry])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.rememberLabel = new global::Gtk.Label (); this.rememberLabel.Name = "rememberLabel"; this.rememberLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Remember you must stamp, sign and scan this document after registering it"); this.rememberLabel.Wrap = true; this.rememberLabel.Justify = ((global::Gtk.Justification)(2)); this.table2.Add (this.rememberLabel); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.rememberLabel])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.table2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Internal child SecretariaElectrial.AddDocument.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(5)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonCancel])); w13.Expand = false; w13.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; w12.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOk])); w14.Position = 1; w14.Expand = false; w14.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 300; this.DefaultHeight = 368; this.Show (); this.categoryComboBox.Changed += new global::System.EventHandler (this.OnCategoryComboBoxChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Estado"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w1.X = 12; w1.Y = 12; // Container child fixed1.Gtk.Fixed+FixedChild this.cmbEstado = global::Gtk.ComboBox.NewText(); this.cmbEstado.AppendText(""); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Jalisco")); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Nayarit")); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Colima")); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Yucatan")); this.cmbEstado.Name = "cmbEstado"; this.fixed1.Add(this.cmbEstado); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.cmbEstado])); w2.X = 20; w2.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Idiomas"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w3.X = 19; w3.Y = 88; // Container child fixed1.Gtk.Fixed+FixedChild this.chkAleman = new global::Gtk.CheckButton(); this.chkAleman.CanFocus = true; this.chkAleman.Name = "chkAleman"; this.chkAleman.Label = global::Mono.Unix.Catalog.GetString("Aleman"); this.chkAleman.DrawIndicator = true; this.chkAleman.UseUnderline = true; this.fixed1.Add(this.chkAleman); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.chkAleman])); w4.X = 15; w4.Y = 112; // Container child fixed1.Gtk.Fixed+FixedChild this.chkIngles = new global::Gtk.CheckButton(); this.chkIngles.CanFocus = true; this.chkIngles.Name = "chkIngles"; this.chkIngles.Label = global::Mono.Unix.Catalog.GetString("Inglés"); this.chkIngles.DrawIndicator = true; this.chkIngles.UseUnderline = true; this.fixed1.Add(this.chkIngles); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.chkIngles])); w5.X = 15; w5.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.chkIslandes = new global::Gtk.CheckButton(); this.chkIslandes.CanFocus = true; this.chkIslandes.Name = "chkIslandes"; this.chkIslandes.Label = global::Mono.Unix.Catalog.GetString("Islandes"); this.chkIslandes.DrawIndicator = true; this.chkIslandes.UseUnderline = true; this.fixed1.Add(this.chkIslandes); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.chkIslandes])); w6.X = 17; w6.Y = 160; // Container child fixed1.Gtk.Fixed+FixedChild this.radMasculino = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Masculino")); this.radMasculino.CanFocus = true; this.radMasculino.Name = "radMasculino"; this.radMasculino.DrawIndicator = true; this.radMasculino.UseUnderline = true; this.radMasculino.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radMasculino); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radMasculino])); w7.X = 18; w7.Y = 238; // Container child fixed1.Gtk.Fixed+FixedChild this.radFemenino = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Femenino")); this.radFemenino.CanFocus = true; this.radFemenino.Name = "radFemenino"; this.radFemenino.DrawIndicator = true; this.radFemenino.UseUnderline = true; this.radFemenino.Group = this.radMasculino.Group; this.fixed1.Add(this.radFemenino); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radFemenino])); w8.X = 18; w8.Y = 265; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Sexo"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w9.X = 20; w9.Y = 200; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Fecha de nacimiento"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w10.X = 202; w10.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.calFecha = new global::Gtk.Calendar(); this.calFecha.CanFocus = true; this.calFecha.Name = "calFecha"; this.calFecha.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calFecha); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calFecha])); w11.X = 212; w11.Y = 73; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Edad"); this.fixed1.Add(this.label5); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w12.X = 22; w12.Y = 297; // Container child fixed1.Gtk.Fixed+FixedChild this.spinEdad = new global::Gtk.SpinButton(10, 40, 1); this.spinEdad.CanFocus = true; this.spinEdad.Name = "spinEdad"; this.spinEdad.Adjustment.PageIncrement = 10; this.spinEdad.ClimbRate = 1; this.spinEdad.Numeric = true; this.spinEdad.Value = 10; this.fixed1.Add(this.spinEdad); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinEdad])); w13.X = 22; w13.Y = 315; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtComentarios = new global::Gtk.TextView(); this.txtComentarios.WidthRequest = 440; this.txtComentarios.HeightRequest = 158; this.txtComentarios.CanFocus = true; this.txtComentarios.Name = "txtComentarios"; this.GtkScrolledWindow.Add(this.txtComentarios); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w15.X = 26; w15.Y = 370; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Observaciones"); this.fixed1.Add(this.label6); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w16.X = 30; w16.Y = 347; // Container child fixed1.Gtk.Fixed+FixedChild this.btnGuardar = new global::Gtk.Button(); this.btnGuardar.CanFocus = true; this.btnGuardar.Name = "btnGuardar"; this.btnGuardar.UseUnderline = true; this.btnGuardar.Label = global::Mono.Unix.Catalog.GetString("Guardar"); this.fixed1.Add(this.btnGuardar); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnGuardar])); w17.X = 404; w17.Y = 284; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 601; this.DefaultHeight = 547; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.Shown += new global::System.EventHandler(this.OnShown); this.cmbEstado.Changed += new global::System.EventHandler(this.OnCombobox1Changed); this.calFecha.PrevMonth += new global::System.EventHandler(this.OnCalFechaPrevMonth); this.calFecha.NextMonth += new global::System.EventHandler(this.OnCalFechaNextMonth); this.calFecha.DaySelected += new global::System.EventHandler(this.OnCalFechaDaySelected); this.btnGuardar.Clicked += new global::System.EventHandler(this.OnBtnGuardarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString ("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar (); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add (this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Minimaler Beginn"); this.vbox3.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Maximales Ende"); this.vbox3.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale (null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Suchen"); this.hbox2.Add (this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox3.Add (this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add (this.vbox3); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add (this.treeview1); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton (); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox (); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add (w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label (); w17.LabelProp = global::Mono.Unix.Catalog.GetString ("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add (w17); w13.Add (w14); this.togglebutton1.Add (w13); this.hbox1.Add (this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show (); this.hscale2.ValueChanged += new global::System.EventHandler (this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler (this.OnTogglebutton1Clicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w1.X = 9; w1.Y = 11; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Codigo"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w2.X = 9; w2.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.combobox1 = global::Gtk.ComboBox.NewText (); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("A")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("B")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("C")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("D")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("E")); this.combobox1.Name = "combobox1"; this.fixed1.Add (this.combobox1); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.combobox1])); w3.X = 448; w3.Y = 16; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Grupo"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w4.X = 406; w4.Y = 21; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 67; w5.Y = 4; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed1.Add (this.entry2); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry2])); w6.X = 67; w6.Y = 36; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("1-. ¿ EN QUE AÑO DEBUTO SUPER JUNIOR?"); this.fixed1.Add (this.label5); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w7.X = 37; w7.Y = 86; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("A)"); this.fixed1.Add (this.label6); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w8.X = 36; w8.Y = 111; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2003")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w9.X = 52; w9.Y = 110; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("B)"); this.fixed1.Add (this.label7); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label7])); w10.X = 121; w10.Y = 111; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("C)"); this.fixed1.Add (this.label8); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label8])); w11.X = 206; w11.Y = 111; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2005")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w12.X = 134; w12.Y = 110; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2009")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton3])); w13.X = 221; w13.Y = 110; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("D)"); this.fixed1.Add (this.label9); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label9])); w14.X = 289; w14.Y = 110; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton4 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("2007")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton4); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton4])); w15.X = 304; w15.Y = 109; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("2-.¿ CUANTOS ES 2+2?"); this.fixed1.Add (this.label10); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label10])); w16.X = 39; w16.Y = 139; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w17.X = 45; w17.Y = 162; // Container child fixed1.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("3-. ¿ QUE ACTORES SALDRAN EN EL NUEVO DORAMA THE HEIRS?"); this.fixed1.Add (this.label11); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label11])); w18.X = 40; w18.Y = 195; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("LEE MIN HO"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w19.X = 43; w19.Y = 217; // Container child fixed1.Gtk.Fixed+FixedChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("4-.¿CUAL ES LA FECHA DE NACIMIENTO DE KIM HYUNG JOONG?"); this.fixed1.Add (this.label12); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label12])); w20.X = 38; w20.Y = 239; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar1 = new global::Gtk.Calendar (); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar1); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar1])); w21.X = 113; w21.Y = 260; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton2 = new global::Gtk.CheckButton (); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString ("YOUNG JOONG HWA"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.fixed1.Add (this.checkbutton2); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton2])); w22.X = 133; w22.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton3 = new global::Gtk.CheckButton (); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString ("PARK SHIN HYE"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.fixed1.Add (this.checkbutton3); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton3])); w23.X = 271; w23.Y = 214; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton4 = new global::Gtk.CheckButton (); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString ("CHOI MIN HO"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.fixed1.Add (this.checkbutton4); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton4])); w24.X = 385; w24.Y = 214; // Container child fixed1.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString ("TERMINAR"); this.fixed1.Add (this.button2); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button2])); w25.X = 346; w25.Y = 438; // Container child fixed1.Gtk.Fixed+FixedChild this.calificacion = new global::Gtk.Entry (); this.calificacion.CanFocus = true; this.calificacion.Name = "calificacion"; this.calificacion.IsEditable = true; this.calificacion.InvisibleChar = '●'; this.fixed1.Add (this.calificacion); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calificacion])); w26.X = 423; w26.Y = 438; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 605; this.DefaultHeight = 524; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button2.Clicked += new global::System.EventHandler (this.OnButton2Clicked); }