protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.EquipmentGenerator
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "Vodovoz.EquipmentGenerator";
     // Container child Vodovoz.EquipmentGenerator.Gtk.Container+ContainerChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.datavbox1 = new global::Gtk.DataBindings.DataVBox ();
     this.datavbox1.Name = "datavbox1";
     this.datavbox1.Spacing = 6;
     this.datavbox1.InheritedDataSource = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.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 ("<b>Регистрация оборудования</b>");
     this.label1.UseMarkup = true;
     this.datavbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.datavbox1.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.hseparator1]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child datavbox1.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.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Модель:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Количество:");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w6.TopAttach = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Номенклатура:");
     this.table1.Add (this.label4);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Окончание гарантии:");
     this.table1.Add (this.label5);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w8.TopAttach = ((uint)(3));
     w8.BottomAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelModel = new global::Gtk.Label ();
     this.labelModel.Name = "labelModel";
     this.labelModel.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--");
     this.table1.Add (this.labelModel);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelModel]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceNomenclature = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceNomenclature.Events = ((global::Gdk.EventMask)(256));
     this.referenceNomenclature.Name = "referenceNomenclature";
     this.referenceNomenclature.DisplayFields = new string[] {
         "Name"
     };
     this.referenceNomenclature.InheritedDataSource = false;
     this.referenceNomenclature.InheritedBoundaryDataSource = false;
     this.referenceNomenclature.CursorPointsEveryType = false;
     this.table1.Add (this.referenceNomenclature);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.referenceNomenclature]));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinAmount = new global::Gtk.SpinButton (0, 100, 1);
     this.spinAmount.CanFocus = true;
     this.spinAmount.Name = "spinAmount";
     this.spinAmount.Adjustment.PageIncrement = 10;
     this.spinAmount.ClimbRate = 1;
     this.spinAmount.Numeric = true;
     this.table1.Add (this.spinAmount);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinAmount]));
     w11.TopAttach = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydatepickerWarrantyEnd = new global::Gamma.Widgets.yDatePicker ();
     this.ydatepickerWarrantyEnd.Events = ((global::Gdk.EventMask)(256));
     this.ydatepickerWarrantyEnd.Name = "ydatepickerWarrantyEnd";
     this.ydatepickerWarrantyEnd.WithTime = false;
     this.ydatepickerWarrantyEnd.Date = new global::System.DateTime (0);
     this.ydatepickerWarrantyEnd.IsEditable = true;
     this.ydatepickerWarrantyEnd.AutoSeparation = false;
     this.table1.Add (this.ydatepickerWarrantyEnd);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydatepickerWarrantyEnd]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     this.datavbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.table1]));
     w13.Position = 2;
     w13.Expand = false;
     w13.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.buttonCreate = new global::Gtk.Button ();
     this.buttonCreate.Sensitive = false;
     this.buttonCreate.CanFocus = true;
     this.buttonCreate.Name = "buttonCreate";
     this.buttonCreate.UseUnderline = true;
     this.buttonCreate.Label = global::Mono.Unix.Catalog.GetString ("Зарегистрировать оборудование");
     global::Gtk.Image w14 = new global::Gtk.Image ();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonCreate.Image = w14;
     this.datavbox1.Add (this.buttonCreate);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.buttonCreate]));
     w15.Position = 3;
     w15.Expand = false;
     w15.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Формирование наклеек</b>");
     this.label6.UseMarkup = true;
     this.datavbox1.Add (this.label6);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label6]));
     w16.Position = 4;
     w16.Expand = false;
     w16.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.printTwo = new global::Gtk.CheckButton ();
     this.printTwo.CanFocus = true;
     this.printTwo.Name = "printTwo";
     this.printTwo.Label = global::Mono.Unix.Catalog.GetString ("Печатать по 2 наклейки");
     this.printTwo.Active = true;
     this.printTwo.DrawIndicator = true;
     this.printTwo.UseUnderline = true;
     this.datavbox1.Add (this.printTwo);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.printTwo]));
     w17.Position = 5;
     w17.Expand = false;
     w17.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonAddAndClose = new global::Gtk.Button ();
     this.buttonAddAndClose.Sensitive = false;
     this.buttonAddAndClose.CanFocus = true;
     this.buttonAddAndClose.Name = "buttonAddAndClose";
     this.buttonAddAndClose.UseUnderline = true;
     this.buttonAddAndClose.Label = global::Mono.Unix.Catalog.GetString ("Добавить в накладную и закрыть");
     global::Gtk.Image w18 = new global::Gtk.Image ();
     w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonAddAndClose.Image = w18;
     this.hbox4.Add (this.buttonAddAndClose);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonAddAndClose]));
     w19.Position = 0;
     this.datavbox1.Add (this.hbox4);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.hbox4]));
     w20.Position = 6;
     w20.Expand = false;
     w20.Fill = false;
     this.hbox2.Add (this.datavbox1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.datavbox1]));
     w21.Position = 0;
     w21.Expand = false;
     w21.Fill = false;
     w21.Padding = ((uint)(5));
     // Container child hbox2.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.hbox2.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vseparator1]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.reportviewer2 = new global::fyiReporting.RdlGtkViewer.ReportViewer ();
     this.reportviewer2.WidthRequest = 0;
     this.reportviewer2.HeightRequest = 0;
     this.reportviewer2.Events = ((global::Gdk.EventMask)(256));
     this.reportviewer2.Name = "reportviewer2";
     this.reportviewer2.ShowErrors = false;
     this.reportviewer2.ShowParameters = false;
     this.hbox2.Add (this.reportviewer2);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.reportviewer2]));
     w23.Position = 2;
     w23.Padding = ((uint)(5));
     this.Add (this.hbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
     this.spinAmount.ValueChanged += new global::System.EventHandler (this.OnSpinAmountValueChanged);
     this.referenceNomenclature.Changed += new global::System.EventHandler (this.OnReferenceNomenclatureChanged);
     this.buttonCreate.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
     this.printTwo.Toggled += new global::System.EventHandler (this.OnPrintTwoToggled);
     this.buttonAddAndClose.Clicked += new global::System.EventHandler (this.OnButtonAddAndCloseClicked);
 }
Ejemplo n.º 2
0
 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)(8));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.WindowBox                             = new global::Gtk.DataBindings.DataHBox();
     this.WindowBox.Name                        = "WindowBox";
     this.WindowBox.Spacing                     = 6;
     this.WindowBox.InheritedDataSource         = false;
     this.WindowBox.InheritedBoundaryDataSource = false;
     this.WindowBox.InheritedDataSource         = false;
     this.WindowBox.InheritedBoundaryDataSource = false;
     // Container child WindowBox.Gtk.Box+BoxChild
     this.table1                             = new global::Gtk.DataBindings.DataTable(((uint)(11)), ((uint)(2)), false);
     this.table1.Name                        = "table1";
     this.table1.RowSpacing                  = ((uint)(6));
     this.table1.ColumnSpacing               = ((uint)(8));
     this.table1.InheritedDataSource         = true;
     this.table1.InheritedBoundaryDataSource = false;
     this.table1.InheritedDataSource         = true;
     this.table1.InheritedBoundaryDataSource = false;
     // Container child table1.Gtk.Table+TableChild
     this.datacheckbutton1                             = new global::Gtk.DataBindings.DataCheckButton();
     this.datacheckbutton1.CanFocus                    = true;
     this.datacheckbutton1.Name                        = "datacheckbutton1";
     this.datacheckbutton1.Label                       = global::Mono.Unix.Catalog.GetString("Active");
     this.datacheckbutton1.DrawIndicator               = true;
     this.datacheckbutton1.UseUnderline                = true;
     this.datacheckbutton1.InheritedDataSource         = true;
     this.datacheckbutton1.Mappings                    = "Active";
     this.datacheckbutton1.InheritedBoundaryDataSource = false;
     this.datacheckbutton1.Editable                    = false;
     this.datacheckbutton1.AutomaticTitle              = false;
     this.datacheckbutton1.InheritedBoundaryDataSource = false;
     this.datacheckbutton1.InheritedDataSource         = true;
     this.datacheckbutton1.Mappings                    = "Active";
     this.table1.Add(this.datacheckbutton1);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.datacheckbutton1]));
     w1.TopAttach    = ((uint)(4));
     w1.BottomAttach = ((uint)(5));
     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.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Server";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Server";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.table1.Add(this.dataentry1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dataentry1]));
     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.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "Username";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "Username";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.table1.Add(this.dataentry2);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dataentry2]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     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.dataentry3                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry3.CanFocus                    = true;
     this.dataentry3.Name                        = "dataentry3";
     this.dataentry3.IsEditable                  = true;
     this.dataentry3.Visibility                  = false;
     this.dataentry3.InvisibleChar               = '•';
     this.dataentry3.InheritedDataSource         = true;
     this.dataentry3.Mappings                    = "Password";
     this.dataentry3.InheritedBoundaryDataSource = false;
     this.dataentry3.InheritedDataSource         = true;
     this.dataentry3.Mappings                    = "Password";
     this.dataentry3.InheritedBoundaryDataSource = false;
     this.table1.Add(this.dataentry3);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dataentry3]));
     w4.TopAttach    = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     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.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.Xalign                      = 0F;
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "ConnectedDataset";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "ConnectedDataset";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.table1.Add(this.datalabel1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.datalabel1]));
     w5.TopAttach    = ((uint)(7));
     w5.BottomAttach = ((uint)(8));
     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.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.Xalign                      = 0F;
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "IsActive";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "IsActive";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.table1.Add(this.datalabel2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.datalabel2]));
     w6.TopAttach    = ((uint)(5));
     w6.BottomAttach = ((uint)(6));
     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.DatasetsCB      = new global::Gtk.DataBindings.DataComboBoxEntry();
     this.DatasetsCB.Name = "DatasetsCB";
     this.DatasetsCB.InheritedDataSource         = false;
     this.DatasetsCB.Mappings                    = "";
     this.DatasetsCB.ColumnMappings              = "";
     this.DatasetsCB.InheritedBoundaryDataSource = false;
     this.DatasetsCB.CursorPointsEveryType       = false;
     this.DatasetsCB.InheritedDataSource         = false;
     this.DatasetsCB.Mappings                    = "";
     this.DatasetsCB.InheritedBoundaryDataSource = false;
     this.table1.Add(this.DatasetsCB);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.DatasetsCB]));
     w7.TopAttach    = ((uint)(6));
     w7.BottomAttach = ((uint)(7));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DriversCB      = new global::Gtk.DataBindings.DataComboBox();
     this.DriversCB.Name = "DriversCB";
     this.DriversCB.InheritedDataSource         = false;
     this.DriversCB.Mappings                    = "";
     this.DriversCB.ColumnMappings              = "";
     this.DriversCB.InheritedBoundaryDataSource = false;
     this.DriversCB.CursorPointsEveryType       = false;
     this.DriversCB.InheritedDataSource         = false;
     this.DriversCB.Mappings                    = "";
     this.DriversCB.InheritedBoundaryDataSource = false;
     this.table1.Add(this.DriversCB);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.DriversCB]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.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("Connected Database");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w9.TopAttach    = ((uint)(7));
     w9.BottomAttach = ((uint)(8));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Tables");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w10.TopAttach    = ((uint)(8));
     w10.BottomAttach = ((uint)(9));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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("Server");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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("Username");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     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.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Password");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w13.TopAttach    = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Database drivers");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Databases");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w15.TopAttach    = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("IsActive");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w16.TopAttach    = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.TablesCB      = new global::Gtk.DataBindings.DataComboBox();
     this.TablesCB.Name = "TablesCB";
     this.TablesCB.InheritedDataSource         = false;
     this.TablesCB.InheritedBoundaryDataSource = false;
     this.TablesCB.CursorPointsEveryType       = false;
     this.TablesCB.InheritedDataSource         = false;
     this.TablesCB.InheritedBoundaryDataSource = false;
     this.table1.Add(this.TablesCB);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.TablesCB]));
     w17.TopAttach    = ((uint)(8));
     w17.BottomAttach = ((uint)(9));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.WindowBox.Add(this.table1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.WindowBox [this.table1]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child WindowBox.Gtk.Box+BoxChild
     this.TableViewBox                             = new global::Gtk.DataBindings.DataVBox();
     this.TableViewBox.Name                        = "TableViewBox";
     this.TableViewBox.Spacing                     = 6;
     this.TableViewBox.InheritedDataSource         = true;
     this.TableViewBox.InheritedBoundaryDataSource = false;
     this.TableViewBox.InheritedDataSource         = true;
     this.TableViewBox.InheritedBoundaryDataSource = false;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.QueryBox                             = new global::Gtk.DataBindings.DataHBox();
     this.QueryBox.Name                        = "QueryBox";
     this.QueryBox.Spacing                     = 6;
     this.QueryBox.InheritedDataSource         = true;
     this.QueryBox.InheritedBoundaryDataSource = false;
     this.QueryBox.InheritedDataSource         = true;
     this.QueryBox.InheritedBoundaryDataSource = false;
     // Container child QueryBox.Gtk.Box+BoxChild
     this.QueryTable                             = new global::Gtk.DataBindings.DataTable(((uint)(2)), ((uint)(2)), false);
     this.QueryTable.Name                        = "QueryTable";
     this.QueryTable.RowSpacing                  = ((uint)(6));
     this.QueryTable.ColumnSpacing               = ((uint)(6));
     this.QueryTable.InheritedDataSource         = true;
     this.QueryTable.InheritedBoundaryDataSource = false;
     this.QueryTable.InheritedDataSource         = true;
     this.QueryTable.InheritedBoundaryDataSource = false;
     // Container child QueryTable.Gtk.Table+TableChild
     this.dataentry4                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry4.CanFocus                    = true;
     this.dataentry4.Name                        = "dataentry4";
     this.dataentry4.IsEditable                  = true;
     this.dataentry4.InvisibleChar               = '•';
     this.dataentry4.InheritedDataSource         = true;
     this.dataentry4.Mappings                    = "Where";
     this.dataentry4.InheritedBoundaryDataSource = false;
     this.dataentry4.InheritedDataSource         = true;
     this.dataentry4.Mappings                    = "Where";
     this.dataentry4.InheritedBoundaryDataSource = false;
     this.QueryTable.Add(this.dataentry4);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.dataentry4]));
     w19.TopAttach    = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child QueryTable.Gtk.Table+TableChild
     this.dataentry5                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry5.CanFocus                    = true;
     this.dataentry5.Name                        = "dataentry5";
     this.dataentry5.IsEditable                  = true;
     this.dataentry5.InvisibleChar               = '•';
     this.dataentry5.InheritedDataSource         = true;
     this.dataentry5.Mappings                    = "Select";
     this.dataentry5.InheritedBoundaryDataSource = false;
     this.dataentry5.InheritedDataSource         = true;
     this.dataentry5.Mappings                    = "Select";
     this.dataentry5.InheritedBoundaryDataSource = false;
     this.QueryTable.Add(this.dataentry5);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.dataentry5]));
     w20.LeftAttach  = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child QueryTable.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 0F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("SELECT");
     this.QueryTable.Add(this.label10);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.label10]));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child QueryTable.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("WHERE");
     this.QueryTable.Add(this.label9);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.label9]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.QueryBox.Add(this.QueryTable);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.QueryBox [this.QueryTable]));
     w23.Position = 0;
     // Container child QueryBox.Gtk.Box+BoxChild
     this.btnRunQuery              = new global::Gtk.Button();
     this.btnRunQuery.CanFocus     = true;
     this.btnRunQuery.Name         = "btnRunQuery";
     this.btnRunQuery.UseUnderline = true;
     this.btnRunQuery.Label        = global::Mono.Unix.Catalog.GetString("Run Query");
     this.QueryBox.Add(this.btnRunQuery);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.QueryBox [this.btnRunQuery]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child QueryBox.Gtk.Box+BoxChild
     this.btnColumns              = new global::Gtk.Button();
     this.btnColumns.CanFocus     = true;
     this.btnColumns.Name         = "btnColumns";
     this.btnColumns.UseUnderline = true;
     this.btnColumns.Label        = global::Mono.Unix.Catalog.GetString("Columns");
     this.QueryBox.Add(this.btnColumns);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.QueryBox [this.btnColumns]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     this.TableViewBox.Add(this.QueryBox);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.QueryBox]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.TableView            = new global::Gtk.ScrolledWindow();
     this.TableView.Name       = "TableView";
     this.TableView.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child TableView.Gtk.Container+ContainerChild
     this.treeview1          = new global::Gtk.DataBindings.DataTreeView();
     this.treeview1.CanFocus = true;
     this.treeview1.Name     = "treeview1";
     this.treeview1.CursorPointsEveryType       = false;
     this.treeview1.InheritedDataSource         = false;
     this.treeview1.InheritedBoundaryDataSource = false;
     this.treeview1.InheritedDataSource         = false;
     this.treeview1.InheritedBoundaryDataSource = false;
     this.TableView.Add(this.treeview1);
     this.TableViewBox.Add(this.TableView);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.TableView]));
     w28.Position = 1;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.datalabel3                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel3.Name                        = "datalabel3";
     this.datalabel3.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Query";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datalabel3.Important                   = false;
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Query";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.TableViewBox.Add(this.datalabel3);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.datalabel3]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.StatusBox                             = new global::Gtk.DataBindings.DataHBox();
     this.StatusBox.Name                        = "StatusBox";
     this.StatusBox.Spacing                     = 6;
     this.StatusBox.InheritedDataSource         = true;
     this.StatusBox.InheritedBoundaryDataSource = false;
     this.StatusBox.InheritedDataSource         = true;
     this.StatusBox.InheritedBoundaryDataSource = false;
     // Container child StatusBox.Gtk.Box+BoxChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString(" ");
     this.StatusBox.Add(this.label11);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.StatusBox [this.label11]));
     w30.Position = 0;
     // Container child StatusBox.Gtk.Box+BoxChild
     this.datalabel4                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel4.Name                        = "datalabel4";
     this.datalabel4.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel4.Justify                     = ((global::Gtk.Justification)(1));
     this.datalabel4.InheritedDataSource         = true;
     this.datalabel4.Mappings                    = "Status";
     this.datalabel4.InheritedBoundaryDataSource = false;
     this.datalabel4.Important                   = false;
     this.datalabel4.InheritedDataSource         = true;
     this.datalabel4.Mappings                    = "Status";
     this.datalabel4.InheritedBoundaryDataSource = false;
     this.StatusBox.Add(this.datalabel4);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.StatusBox [this.datalabel4]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     this.TableViewBox.Add(this.StatusBox);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.StatusBox]));
     w32.Position = 3;
     w32.Expand   = false;
     w32.Fill     = false;
     this.WindowBox.Add(this.TableViewBox);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.WindowBox [this.TableViewBox]));
     w33.Position = 1;
     this.Add(this.WindowBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 852;
     this.DefaultHeight = 381;
     this.TableViewBox.Hide();
     this.Show();
     this.DeleteEvent        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.TablesCB.Changed   += new global::System.EventHandler(this.OnTablesCBChanged);
     this.DriversCB.Changed  += new global::System.EventHandler(this.OnDriversCBChanged);
     this.DatasetsCB.Changed += new global::System.EventHandler(this.OnDatasetsCBChanged);
 }
Ejemplo n.º 3
0
	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.jkjhkAction = new global::Gtk.Action ("jkjhkAction", global::Mono.Unix.Catalog.GetString ("jkjhk"), null, null);
		this.jkjhkAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("jkjhk");
		w1.Add (this.jkjhkAction, 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)(8));
		this.Resizable = false;
		this.AllowGrow = false;
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.datavbox1 = new global::Gtk.DataBindings.DataVBox ();
		this.datavbox1.Name = "datavbox1";
		this.datavbox1.Spacing = 6;
		this.datavbox1.InheritedDataSource = false;
		this.datavbox1.InheritedBoundaryDataSource = false;
		this.datavbox1.InheritedDataSource = false;
		this.datavbox1.InheritedBoundaryDataSource = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
		this.dataspinbutton2.CanFocus = true;
		this.dataspinbutton2.Name = "dataspinbutton2";
		this.dataspinbutton2.Adjustment.PageIncrement = 10;
		this.dataspinbutton2.ClimbRate = 1;
		this.dataspinbutton2.Numeric = true;
		this.dataspinbutton2.Value = 1;
		this.dataspinbutton2.InheritedDataSource = true;
		this.dataspinbutton2.Mappings = "IntValue";
		this.dataspinbutton2.InheritedBoundaryDataSource = false;
		this.dataspinbutton2.InheritedDataSource = true;
		this.dataspinbutton2.Mappings = "IntValue";
		this.dataspinbutton2.InheritedBoundaryDataSource = false;
		this.datavbox1.Add (this.dataspinbutton2);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataspinbutton2]));
		w2.Position = 0;
		w2.Expand = false;
		w2.Fill = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.dataentry2 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry2.CanFocus = true;
		this.dataentry2.Name = "dataentry2";
		this.dataentry2.IsEditable = true;
		this.dataentry2.InvisibleChar = '•';
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "StrValue";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "StrValue";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.datavbox1.Add (this.dataentry2);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry2]));
		w3.Position = 1;
		w3.Expand = false;
		w3.Fill = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.label1 = new global::Gtk.Label ();
		this.label1.Name = "label1";
		this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("ConfigFile supports file monitoring, so in this example you can go to ~/.config/config_sample1 or config_sample1 in your Application Data on Windows and manually edit config.xml. Controls will auto update on save");
		this.label1.Wrap = true;
		this.datavbox1.Add (this.label1);
		global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1]));
		w4.Position = 2;
		w4.Expand = false;
		w4.Fill = false;
		this.Add (this.datavbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 1593;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.dataspinbutton2.LeaveNotifyEvent += new global::Gtk.LeaveNotifyEventHandler (this.OnDataspinbutton2LeaveNotifyEvent);
	}
Ejemplo n.º 4
0
 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.datavbox2                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox2.Name                        = "datavbox2";
     this.datavbox2.Spacing                     = 6;
     this.datavbox2.InheritedDataSource         = false;
     this.datavbox2.InheritedBoundaryDataSource = false;
     this.datavbox2.InheritedDataSource         = false;
     this.datavbox2.InheritedBoundaryDataSource = false;
     // Container child datavbox2.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.datatreeview1          = new global::Gtk.DataBindings.DataTreeView();
     this.datatreeview1.CanFocus = true;
     this.datatreeview1.Name     = "datatreeview1";
     this.datatreeview1.CursorPointsEveryType       = false;
     this.datatreeview1.InheritedDataSource         = false;
     this.datatreeview1.InheritedBoundaryDataSource = false;
     this.datatreeview1.InheritedDataSource         = false;
     this.datatreeview1.InheritedBoundaryDataSource = false;
     this.datatreeview1.ColumnMappings = "{System.Data.DataRowView} ID[Id]; Title[Naslovcek]";
     this.GtkScrolledWindow.Add(this.datatreeview1);
     this.datavbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.GtkScrolledWindow]));
     w2.Position = 0;
     // Container child datavbox2.Gtk.Box+BoxChild
     this.datacomboboxentry1      = new global::Gtk.DataBindings.DataComboBoxEntry();
     this.datacomboboxentry1.Name = "datacomboboxentry1";
     this.datacomboboxentry1.InheritedDataSource         = false;
     this.datacomboboxentry1.ColumnMappings              = "{System.Data.DataRowView} ID[Id]; Title[Naslovcek]";
     this.datacomboboxentry1.InheritedBoundaryDataSource = false;
     this.datacomboboxentry1.CursorPointsEveryType       = false;
     this.datacomboboxentry1.InheritedDataSource         = false;
     this.datacomboboxentry1.InheritedBoundaryDataSource = false;
     this.datavbox2.Add(this.datacomboboxentry1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.datacomboboxentry1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child datavbox2.Gtk.Box+BoxChild
     this.datacombobox1      = new global::Gtk.DataBindings.DataComboBox();
     this.datacombobox1.Name = "datacombobox1";
     this.datacombobox1.InheritedDataSource         = false;
     this.datacombobox1.ColumnMappings              = "{System.Data.DataRowView} ID[Id]; Title[Naslovcek]";
     this.datacombobox1.InheritedBoundaryDataSource = false;
     this.datacombobox1.CursorPointsEveryType       = false;
     this.datacombobox1.InheritedDataSource         = false;
     this.datacombobox1.InheritedBoundaryDataSource = false;
     this.datavbox2.Add(this.datacombobox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.datacombobox1]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child datavbox2.Gtk.Box+BoxChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 6;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.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("Add new item");
     this.datahbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     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("Remove an item");
     this.datahbox1.Add(this.button2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button2]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.datavbox2.Add(this.datahbox1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.datahbox1]));
     w7.Position = 3;
     w7.Expand   = false;
     w7.Fill     = false;
     this.Add(this.datavbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.datatreeview1.CellDescription += new global::Gtk.DataBindings.CellDescriptionEvent(this.OnDatatreeview1CellDescription);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
 }
Ejemplo n.º 5
0
 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.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name  = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("MainWindow");
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 5;
     this.vbox1.BorderWidth = ((uint)(8));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 8;
     // Container child hbox1.Gtk.Box+BoxChild
     this.addressview          = new global::Gtk.DataBindings.DataTreeView();
     this.addressview.CanFocus = true;
     this.addressview.Name     = "addressview";
     this.addressview.CursorPointsEveryType = true;
     this.addressview.InheritedDataSource   = false;
     this.addressview.Mappings = "";
     this.addressview.InheritedBoundaryDataSource = false;
     this.addressview.InheritedDataSource         = false;
     this.addressview.Mappings = "";
     this.addressview.InheritedBoundaryDataSource = false;
     this.addressview.ColumnMappings = "{sample5.Address} FullName[Name]<>; Phone[Phone]; Email[Email]";
     this.hbox1.Add(this.addressview);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.addressview]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbuttonbox1             = new global::Gtk.VButtonBox();
     this.vbuttonbox1.Name        = "vbuttonbox1";
     this.vbuttonbox1.Spacing     = 8;
     this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.newaddress              = new global::Gtk.Button();
     this.newaddress.CanFocus     = true;
     this.newaddress.Name         = "newaddress";
     this.newaddress.UseUnderline = true;
     // Container child newaddress.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-new", global::Gtk.IconSize.Menu);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w7 = new global::Gtk.Label();
     w7.LabelProp    = global::Mono.Unix.Catalog.GetString("Add address");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.newaddress.Add(w3);
     this.vbuttonbox1.Add(this.newaddress);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.newaddress]));
     w11.Expand = false;
     w11.Fill   = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.newgroup              = new global::Gtk.Button();
     this.newgroup.CanFocus     = true;
     this.newgroup.Name         = "newgroup";
     this.newgroup.UseUnderline = true;
     // Container child newgroup.Gtk.Container+ContainerChild
     global::Gtk.Alignment w12 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w13 = new global::Gtk.HBox();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w14 = new global::Gtk.Image();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dnd-multiple", global::Gtk.IconSize.Menu);
     w13.Add(w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w16 = new global::Gtk.Label();
     w16.LabelProp    = global::Mono.Unix.Catalog.GetString("Add group");
     w16.UseUnderline = true;
     w13.Add(w16);
     w12.Add(w13);
     this.newgroup.Add(w12);
     this.vbuttonbox1.Add(this.newgroup);
     global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.newgroup]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.delete              = new global::Gtk.Button();
     this.delete.CanFocus     = true;
     this.delete.Name         = "delete";
     this.delete.UseUnderline = true;
     // Container child delete.Gtk.Container+ContainerChild
     global::Gtk.Alignment w21 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w22 = new global::Gtk.HBox();
     w22.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w23 = new global::Gtk.Image();
     w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_delete", global::Gtk.IconSize.Menu);
     w22.Add(w23);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w25 = new global::Gtk.Label();
     w25.LabelProp    = global::Mono.Unix.Catalog.GetString("Delete");
     w25.UseUnderline = true;
     w22.Add(w25);
     w21.Add(w22);
     this.delete.Add(w21);
     this.vbuttonbox1.Add(this.delete);
     global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.delete]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.properties              = new global::Gtk.Button();
     this.properties.CanFocus     = true;
     this.properties.Name         = "properties";
     this.properties.UseStock     = true;
     this.properties.UseUnderline = true;
     this.properties.Label        = "gtk-properties";
     this.vbuttonbox1.Add(this.properties);
     global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.properties]));
     w30.Position = 3;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.button163              = new global::Gtk.Button();
     this.button163.CanFocus     = true;
     this.button163.Name         = "button163";
     this.button163.UseUnderline = true;
     this.button163.Label        = global::Mono.Unix.Catalog.GetString("button163");
     this.vbuttonbox1.Add(this.button163);
     global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.button163]));
     w31.Position = 4;
     w31.Expand   = false;
     w31.Fill     = false;
     this.hbox1.Add(this.vbuttonbox1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1]));
     w32.Position = 1;
     w32.Expand   = false;
     w32.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w33.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datavbox1                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox1.Name                        = "datavbox1";
     this.datavbox1.Spacing                     = 6;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "FullName";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "FullName";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.datalabel1);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datalabel1]));
     w34.Position = 0;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Name";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Name";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.datalabel2);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datalabel2]));
     w35.Position = 1;
     w35.Expand   = false;
     w35.Fill     = false;
     this.vbox1.Add(this.datavbox1);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datavbox1]));
     w36.Position = 1;
     w36.Expand   = false;
     w36.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox1 = new global::Gtk.HButtonBox();
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.close              = new global::Gtk.Button();
     this.close.CanFocus     = true;
     this.close.Name         = "close";
     this.close.UseUnderline = true;
     // Container child close.Gtk.Container+ContainerChild
     global::Gtk.Alignment w37 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w38 = new global::Gtk.HBox();
     w38.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w39 = new global::Gtk.Image();
     w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu);
     w38.Add(w39);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w41 = new global::Gtk.Label();
     w41.LabelProp    = global::Mono.Unix.Catalog.GetString("Close");
     w41.UseUnderline = true;
     w38.Add(w41);
     w37.Add(w38);
     this.close.Add(w37);
     this.hbuttonbox1.Add(this.close);
     global::Gtk.ButtonBox.ButtonBoxChild w45 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.close]));
     w45.Expand = false;
     w45.Fill   = false;
     this.vbox1.Add(this.hbuttonbox1);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1]));
     w46.Position = 2;
     w46.Expand   = false;
     w46.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 720;
     this.DefaultHeight = 392;
     this.Show();
     this.DeleteEvent        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.newaddress.Clicked += new global::System.EventHandler(this.OnNewaddressClicked);
     this.newgroup.Clicked   += new global::System.EventHandler(this.OnNewgroupClicked);
     this.delete.Clicked     += new global::System.EventHandler(this.OnDeleteClicked);
     this.properties.Clicked += new global::System.EventHandler(this.OnPropertiesClicked);
     this.button163.Clicked  += new global::System.EventHandler(this.OnButton163Clicked);
     this.close.Clicked      += new global::System.EventHandler(this.OnCloseClicked);
 }
Ejemplo n.º 6
0
 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.jkjhkAction            = new global::Gtk.Action("jkjhkAction", global::Mono.Unix.Catalog.GetString("jkjhk"), null, null);
     this.jkjhkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("jkjhk");
     w1.Add(this.jkjhkAction, 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)(8));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.datavbox1                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox1.Name                        = "datavbox1";
     this.datavbox1.Spacing                     = 6;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.dataspinbutton2          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton2.CanFocus = true;
     this.dataspinbutton2.Name     = "dataspinbutton2";
     this.dataspinbutton2.Adjustment.PageIncrement = 10;
     this.dataspinbutton2.ClimbRate                   = 1;
     this.dataspinbutton2.Numeric                     = true;
     this.dataspinbutton2.Value                       = 1;
     this.dataspinbutton2.InheritedDataSource         = true;
     this.dataspinbutton2.Mappings                    = "IntValue";
     this.dataspinbutton2.InheritedBoundaryDataSource = false;
     this.dataspinbutton2.InheritedDataSource         = true;
     this.dataspinbutton2.Mappings                    = "IntValue";
     this.dataspinbutton2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.dataspinbutton2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataspinbutton2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "StrValue";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "StrValue";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.dataentry2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry2]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("ConfigFile supports file monitoring, so in this example you can go to ~/.config/config_sample1 or config_sample1 in your Application Data on Windows and manually edit config.xml. Controls will auto update on save");
     this.label1.Wrap      = true;
     this.datavbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.datavbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1593;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.dataspinbutton2.LeaveNotifyEvent += new global::Gtk.LeaveNotifyEventHandler(this.OnDataspinbutton2LeaveNotifyEvent);
 }
Ejemplo n.º 7
0
	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.MainBox = new global::Gtk.DataBindings.DataVBox ();
		this.MainBox.Name = "MainBox";
		this.MainBox.Spacing = 6;
		this.MainBox.BorderWidth = ((uint)(8));
		this.MainBox.InheritedDataSource = false;
		this.MainBox.InheritedBoundaryDataSource = false;
		this.MainBox.InheritedDataSource = false;
		this.MainBox.InheritedBoundaryDataSource = false;
		// Container child MainBox.Gtk.Box+BoxChild
		this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
		this.datatable1.Name = "datatable1";
		this.datatable1.RowSpacing = ((uint)(6));
		this.datatable1.ColumnSpacing = ((uint)(6));
		this.datatable1.InheritedDataSource = true;
		this.datatable1.InheritedBoundaryDataSource = false;
		this.datatable1.InheritedDataSource = true;
		this.datatable1.InheritedBoundaryDataSource = false;
		// Container child datatable1.Gtk.Table+TableChild
		this.dataentry1 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry1.CanFocus = true;
		this.dataentry1.Name = "dataentry1";
		this.dataentry1.IsEditable = true;
		this.dataentry1.InvisibleChar = '•';
		this.dataentry1.InheritedDataSource = true;
		this.dataentry1.Mappings = "Name";
		this.dataentry1.InheritedBoundaryDataSource = false;
		this.dataentry1.InheritedDataSource = true;
		this.dataentry1.Mappings = "Name";
		this.dataentry1.InheritedBoundaryDataSource = false;
		this.datatable1.Add (this.dataentry1);
		global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1]));
		w1.LeftAttach = ((uint)(1));
		w1.RightAttach = ((uint)(2));
		w1.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.dataentry2 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry2.CanFocus = true;
		this.dataentry2.Name = "dataentry2";
		this.dataentry2.IsEditable = true;
		this.dataentry2.InvisibleChar = '•';
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "LastName";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "LastName";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.datatable1.Add (this.dataentry2);
		global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2]));
		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 datatable1.Gtk.Table+TableChild
		this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
		this.dataspinbutton1.CanFocus = true;
		this.dataspinbutton1.Name = "dataspinbutton1";
		this.dataspinbutton1.Adjustment.PageIncrement = 10;
		this.dataspinbutton1.ClimbRate = 1;
		this.dataspinbutton1.Numeric = true;
		this.dataspinbutton1.InheritedDataSource = true;
		this.dataspinbutton1.Mappings = "Age";
		this.dataspinbutton1.InheritedBoundaryDataSource = false;
		this.dataspinbutton1.InheritedDataSource = true;
		this.dataspinbutton1.Mappings = "Age";
		this.dataspinbutton1.InheritedBoundaryDataSource = false;
		this.datatable1.Add (this.dataspinbutton1);
		global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataspinbutton1]));
		w3.TopAttach = ((uint)(2));
		w3.BottomAttach = ((uint)(3));
		w3.LeftAttach = ((uint)(1));
		w3.RightAttach = ((uint)(2));
		w3.XOptions = ((global::Gtk.AttachOptions)(4));
		w3.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.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 ("Name");
		this.datatable1.Add (this.label1);
		global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
		w4.XOptions = ((global::Gtk.AttachOptions)(4));
		w4.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.label2 = new global::Gtk.Label ();
		this.label2.Name = "label2";
		this.label2.Xalign = 0F;
		this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("LastName");
		this.datatable1.Add (this.label2);
		global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2]));
		w5.TopAttach = ((uint)(1));
		w5.BottomAttach = ((uint)(2));
		w5.XOptions = ((global::Gtk.AttachOptions)(4));
		w5.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.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 ("Age");
		this.datatable1.Add (this.label3);
		global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
		w6.TopAttach = ((uint)(2));
		w6.BottomAttach = ((uint)(3));
		w6.XOptions = ((global::Gtk.AttachOptions)(4));
		w6.YOptions = ((global::Gtk.AttachOptions)(4));
		this.MainBox.Add (this.datatable1);
		global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable1]));
		w7.Position = 0;
		w7.Expand = false;
		w7.Fill = false;
		// Container child MainBox.Gtk.Box+BoxChild
		this.datatable2 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
		this.datatable2.Name = "datatable2";
		this.datatable2.RowSpacing = ((uint)(6));
		this.datatable2.ColumnSpacing = ((uint)(6));
		this.datatable2.InheritedDataSource = true;
		this.datatable2.InheritedBoundaryDataSource = false;
		this.datatable2.InheritedDataSource = true;
		this.datatable2.InheritedBoundaryDataSource = false;
		// Container child datatable2.Gtk.Table+TableChild
		this.datalabel1 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel1.Name = "datalabel1";
		this.datalabel1.Xalign = 0F;
		this.datalabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1");
		this.datalabel1.InheritedDataSource = true;
		this.datalabel1.Mappings = "Name";
		this.datalabel1.InheritedBoundaryDataSource = false;
		this.datalabel1.Important = false;
		this.datalabel1.InheritedDataSource = true;
		this.datalabel1.Mappings = "Name";
		this.datalabel1.InheritedBoundaryDataSource = false;
		this.datatable2.Add (this.datalabel1);
		global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel1]));
		w8.LeftAttach = ((uint)(1));
		w8.RightAttach = ((uint)(2));
		w8.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.datalabel2 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel2.Name = "datalabel2";
		this.datalabel2.Xalign = 0F;
		this.datalabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2");
		this.datalabel2.InheritedDataSource = true;
		this.datalabel2.Mappings = "LastName";
		this.datalabel2.InheritedBoundaryDataSource = false;
		this.datalabel2.Important = false;
		this.datalabel2.InheritedDataSource = true;
		this.datalabel2.Mappings = "LastName";
		this.datalabel2.InheritedBoundaryDataSource = false;
		this.datatable2.Add (this.datalabel2);
		global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel2]));
		w9.TopAttach = ((uint)(1));
		w9.BottomAttach = ((uint)(2));
		w9.LeftAttach = ((uint)(1));
		w9.RightAttach = ((uint)(2));
		w9.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.datalabel3 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel3.Name = "datalabel3";
		this.datalabel3.Xalign = 0F;
		this.datalabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel3");
		this.datalabel3.InheritedDataSource = true;
		this.datalabel3.Mappings = "Age";
		this.datalabel3.InheritedBoundaryDataSource = false;
		this.datalabel3.Important = false;
		this.datalabel3.InheritedDataSource = true;
		this.datalabel3.Mappings = "Age";
		this.datalabel3.InheritedBoundaryDataSource = false;
		this.datatable2.Add (this.datalabel3);
		global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel3]));
		w10.TopAttach = ((uint)(2));
		w10.BottomAttach = ((uint)(3));
		w10.LeftAttach = ((uint)(1));
		w10.RightAttach = ((uint)(2));
		w10.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.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 ("Name in object");
		this.datatable2.Add (this.label4);
		global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label4]));
		w11.XOptions = ((global::Gtk.AttachOptions)(4));
		w11.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.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 ("LastName in object");
		this.datatable2.Add (this.label5);
		global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label5]));
		w12.TopAttach = ((uint)(1));
		w12.BottomAttach = ((uint)(2));
		w12.XOptions = ((global::Gtk.AttachOptions)(4));
		w12.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.label6 = new global::Gtk.Label ();
		this.label6.Name = "label6";
		this.label6.Xalign = 0F;
		this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Age in object");
		this.datatable2.Add (this.label6);
		global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label6]));
		w13.TopAttach = ((uint)(2));
		w13.BottomAttach = ((uint)(3));
		w13.XOptions = ((global::Gtk.AttachOptions)(4));
		w13.YOptions = ((global::Gtk.AttachOptions)(4));
		this.MainBox.Add (this.datatable2);
		global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable2]));
		w14.Position = 1;
		w14.Expand = false;
		w14.Fill = false;
		// Container child MainBox.Gtk.Box+BoxChild
		this.datahbox1 = new global::Gtk.DataBindings.DataHBox ();
		this.datahbox1.Name = "datahbox1";
		this.datahbox1.Spacing = 6;
		this.datahbox1.InheritedDataSource = false;
		this.datahbox1.InheritedBoundaryDataSource = false;
		this.datahbox1.InheritedDataSource = false;
		this.datahbox1.InheritedBoundaryDataSource = false;
		// Container child datahbox1.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 ("button1");
		this.datahbox1.Add (this.button1);
		global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1]));
		w15.Position = 2;
		w15.Expand = false;
		w15.Fill = false;
		this.MainBox.Add (this.datahbox1);
		global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datahbox1]));
		w16.Position = 2;
		w16.Expand = false;
		w16.Fill = false;
		this.Add (this.MainBox);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 400;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
	}
Ejemplo n.º 8
0
	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.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add");
		w1.Add (this.addAction, null);
		this.removeAction = new global::Gtk.Action ("removeAction", null, null, "gtk-remove");
		w1.Add (this.removeAction, null);
		this.propertiesAction = new global::Gtk.Action ("propertiesAction", null, null, "gtk-properties");
		w1.Add (this.propertiesAction, null);
		this.noAction = new global::Gtk.Action ("noAction", null, null, "gtk-no");
		w1.Add (this.noAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.Name = "MainWindow";
		this.Title = "MainWindow";
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		this.Resizable = false;
		this.AllowGrow = false;
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.datavbox1 = new global::Gtk.DataBindings.DataVBox ();
		this.datavbox1.Name = "datavbox1";
		this.datavbox1.Spacing = 6;
		this.datavbox1.InheritedDataSource = false;
		this.datavbox1.InheritedBoundaryDataSource = false;
		this.datavbox1.InheritedDataSource = false;
		this.datavbox1.InheritedBoundaryDataSource = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/><toolitem name='propertiesAction' action='propertiesAction'/></toolbar></ui>");
		this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
		this.toolbar1.Name = "toolbar1";
		this.toolbar1.ShowArrow = false;
		this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
		this.toolbar1.IconSize = ((global::Gtk.IconSize)(3));
		this.datavbox1.Add (this.toolbar1);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.toolbar1]));
		w2.Position = 0;
		w2.Expand = false;
		w2.Fill = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.Timers = new global::Gtk.DataBindings.DataTreeView ();
		this.Timers.CanFocus = true;
		this.Timers.Name = "Timers";
		this.Timers.CursorPointsEveryType = false;
		this.Timers.InheritedDataSource = false;
		this.Timers.Mappings = "";
		this.Timers.InheritedBoundaryDataSource = false;
		this.Timers.InheritedDataSource = false;
		this.Timers.Mappings = "";
		this.Timers.InheritedBoundaryDataSource = false;
		this.Timers.ColumnMappings = "{stopwatch.Timer} Active[Name::Status>>; Name<>]<>; StringValue[Elapsed]>>; MaxTimeStringValue[Max Time]>>;";
		this.datavbox1.Add (this.Timers);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.Timers]));
		w3.Position = 1;
		w3.Expand = false;
		w3.Fill = false;
		this.Add (this.datavbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 400;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated);
		this.removeAction.Activated += new global::System.EventHandler (this.OnRemoveActionActivated);
		this.propertiesAction.Activated += new global::System.EventHandler (this.OnPropertiesActionActivated);
	}
Ejemplo n.º 9
0
	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.datavbox2 = new global::Gtk.DataBindings.DataVBox ();
		this.datavbox2.Name = "datavbox2";
		this.datavbox2.Spacing = 6;
		this.datavbox2.InheritedDataSource = false;
		this.datavbox2.InheritedBoundaryDataSource = false;
		this.datavbox2.InheritedDataSource = false;
		this.datavbox2.InheritedBoundaryDataSource = false;
		// Container child datavbox2.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.datatreeview1 = new global::Gtk.DataBindings.DataTreeView ();
		this.datatreeview1.CanFocus = true;
		this.datatreeview1.Name = "datatreeview1";
		this.datatreeview1.CursorPointsEveryType = false;
		this.datatreeview1.InheritedDataSource = false;
		this.datatreeview1.InheritedBoundaryDataSource = false;
		this.datatreeview1.InheritedDataSource = false;
		this.datatreeview1.InheritedBoundaryDataSource = false;
		this.datatreeview1.ColumnMappings = "{System.Data.DataRowView} ID[Id]; Title[Naslovcek]";
		this.GtkScrolledWindow.Add (this.datatreeview1);
		this.datavbox2.Add (this.GtkScrolledWindow);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.GtkScrolledWindow]));
		w2.Position = 0;
		// Container child datavbox2.Gtk.Box+BoxChild
		this.datacomboboxentry1 = new global::Gtk.DataBindings.DataComboBoxEntry ();
		this.datacomboboxentry1.Name = "datacomboboxentry1";
		this.datacomboboxentry1.InheritedDataSource = false;
		this.datacomboboxentry1.ColumnMappings = "{System.Data.DataRowView} ID[Id]; Title[Naslovcek]";
		this.datacomboboxentry1.InheritedBoundaryDataSource = false;
		this.datacomboboxentry1.CursorPointsEveryType = false;
		this.datacomboboxentry1.InheritedDataSource = false;
		this.datacomboboxentry1.InheritedBoundaryDataSource = false;
		this.datavbox2.Add (this.datacomboboxentry1);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.datacomboboxentry1]));
		w3.Position = 1;
		w3.Expand = false;
		w3.Fill = false;
		// Container child datavbox2.Gtk.Box+BoxChild
		this.datacombobox1 = new global::Gtk.DataBindings.DataComboBox ();
		this.datacombobox1.Name = "datacombobox1";
		this.datacombobox1.InheritedDataSource = false;
		this.datacombobox1.ColumnMappings = "{System.Data.DataRowView} ID[Id]; Title[Naslovcek]";
		this.datacombobox1.InheritedBoundaryDataSource = false;
		this.datacombobox1.CursorPointsEveryType = false;
		this.datacombobox1.InheritedDataSource = false;
		this.datacombobox1.InheritedBoundaryDataSource = false;
		this.datavbox2.Add (this.datacombobox1);
		global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.datacombobox1]));
		w4.Position = 2;
		w4.Expand = false;
		w4.Fill = false;
		// Container child datavbox2.Gtk.Box+BoxChild
		this.datahbox1 = new global::Gtk.DataBindings.DataHBox ();
		this.datahbox1.Name = "datahbox1";
		this.datahbox1.Spacing = 6;
		this.datahbox1.InheritedDataSource = false;
		this.datahbox1.InheritedBoundaryDataSource = false;
		this.datahbox1.InheritedDataSource = false;
		this.datahbox1.InheritedBoundaryDataSource = false;
		// Container child datahbox1.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 ("Add new item");
		this.datahbox1.Add (this.button1);
		global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1]));
		w5.Position = 0;
		w5.Expand = false;
		w5.Fill = false;
		// Container child datahbox1.Gtk.Box+BoxChild
		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 ("Remove an item");
		this.datahbox1.Add (this.button2);
		global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button2]));
		w6.Position = 1;
		w6.Expand = false;
		w6.Fill = false;
		this.datavbox2.Add (this.datahbox1);
		global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datavbox2 [this.datahbox1]));
		w7.Position = 3;
		w7.Expand = false;
		w7.Fill = false;
		this.Add (this.datavbox2);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 400;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.datatreeview1.CellDescription += new global::Gtk.DataBindings.CellDescriptionEvent (this.OnDatatreeview1CellDescription);
		this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
	}
Ejemplo n.º 10
0
 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.MainBox                             = new global::Gtk.DataBindings.DataVBox();
     this.MainBox.Name                        = "MainBox";
     this.MainBox.Spacing                     = 6;
     this.MainBox.BorderWidth                 = ((uint)(8));
     this.MainBox.InheritedDataSource         = false;
     this.MainBox.InheritedBoundaryDataSource = false;
     this.MainBox.InheritedDataSource         = false;
     this.MainBox.InheritedBoundaryDataSource = false;
     // Container child MainBox.Gtk.Box+BoxChild
     this.datatable1                             = new global::Gtk.DataBindings.DataTable(((uint)(3)), ((uint)(2)), false);
     this.datatable1.Name                        = "datatable1";
     this.datatable1.RowSpacing                  = ((uint)(6));
     this.datatable1.ColumnSpacing               = ((uint)(6));
     this.datatable1.InheritedDataSource         = true;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource         = true;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry1);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1]));
     w1.LeftAttach  = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "LastName";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "LastName";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry2);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2]));
     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 datatable1.Gtk.Table+TableChild
     this.dataspinbutton1          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton1.CanFocus = true;
     this.dataspinbutton1.Name     = "dataspinbutton1";
     this.dataspinbutton1.Adjustment.PageIncrement = 10;
     this.dataspinbutton1.ClimbRate                   = 1;
     this.dataspinbutton1.Numeric                     = true;
     this.dataspinbutton1.InheritedDataSource         = true;
     this.dataspinbutton1.Mappings                    = "Age";
     this.dataspinbutton1.InheritedBoundaryDataSource = false;
     this.dataspinbutton1.InheritedDataSource         = true;
     this.dataspinbutton1.Mappings                    = "Age";
     this.dataspinbutton1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataspinbutton1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataspinbutton1]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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("Name");
     this.datatable1.Add(this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("LastName");
     this.datatable1.Add(this.label2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.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("Age");
     this.datatable1.Add(this.label3);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.MainBox.Add(this.datatable1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable1]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child MainBox.Gtk.Box+BoxChild
     this.datatable2                             = new global::Gtk.DataBindings.DataTable(((uint)(3)), ((uint)(2)), false);
     this.datatable2.Name                        = "datatable2";
     this.datatable2.RowSpacing                  = ((uint)(6));
     this.datatable2.ColumnSpacing               = ((uint)(6));
     this.datatable2.InheritedDataSource         = true;
     this.datatable2.InheritedBoundaryDataSource = false;
     this.datatable2.InheritedDataSource         = true;
     this.datatable2.InheritedBoundaryDataSource = false;
     // Container child datatable2.Gtk.Table+TableChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.Xalign                      = 0F;
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Name";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Name";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datatable2.Add(this.datalabel1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel1]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.Xalign                      = 0F;
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel2");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "LastName";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "LastName";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datatable2.Add(this.datalabel2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel2]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.datalabel3                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel3.Name                        = "datalabel3";
     this.datalabel3.Xalign                      = 0F;
     this.datalabel3.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel3");
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Age";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datalabel3.Important                   = false;
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Age";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datatable2.Add(this.datalabel3);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel3]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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("Name in object");
     this.datatable2.Add(this.label4);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label4]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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("LastName in object");
     this.datatable2.Add(this.label5);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label5]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Age in object");
     this.datatable2.Add(this.label6);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label6]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.MainBox.Add(this.datatable2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable2]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child MainBox.Gtk.Box+BoxChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 6;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.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("button1");
     this.datahbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1]));
     w15.Position = 2;
     w15.Expand   = false;
     w15.Fill     = false;
     this.MainBox.Add(this.datahbox1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datahbox1]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.Add(this.MainBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
 }
Ejemplo n.º 11
0
 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.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datavbox1                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox1.Name                        = "datavbox1";
     this.datavbox1.Spacing                     = 6;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.Editable                    = false;
     this.datavbox1.Add(this.dataentry1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel2");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Percent";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Percent";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.datalabel2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datalabel2]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Money";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Money";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.datalabel1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datalabel1]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox1.Add(this.datavbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datavbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 6;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.datatitlelabel1                             = new global::Gtk.DataBindings.DataTitleLabel();
     this.datatitlelabel1.Name                        = "datatitlelabel1";
     this.datatitlelabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datatitlelabel1");
     this.datatitlelabel1.InheritedDataSource         = true;
     this.datatitlelabel1.Mappings                    = "Name";
     this.datatitlelabel1.InheritedBoundaryDataSource = false;
     this.datatitlelabel1.Important                   = false;
     this.datatitlelabel1.InheritedDataSource         = true;
     this.datatitlelabel1.Mappings                    = "Name";
     this.datatitlelabel1.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.datatitlelabel1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.datatitlelabel1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataautowidget1      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget1.Name = "dataautowidget1";
     this.dataautowidget1.InheritedDataSource         = true;
     this.dataautowidget1.InheritedBoundaryDataSource = false;
     this.dataautowidget1.Mappings                    = "Name";
     this.dataautowidget1.Editable                    = true;
     this.dataautowidget1.InheritedDataSource         = true;
     this.dataautowidget1.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataautowidget1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataautowidget1]));
     w6.Position = 1;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataautowidget2      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget2.Name = "dataautowidget2";
     this.dataautowidget2.InheritedDataSource         = true;
     this.dataautowidget2.InheritedBoundaryDataSource = false;
     this.dataautowidget2.Mappings                    = "Name";
     this.dataautowidget2.Editable                    = false;
     this.dataautowidget2.InheritedDataSource         = true;
     this.dataautowidget2.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataautowidget2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataautowidget2]));
     w7.Position = 2;
     this.vbox1.Add(this.datahbox1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datahbox1]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datahbox2                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox2.Name                        = "datahbox2";
     this.datahbox2.Spacing                     = 6;
     this.datahbox2.InheritedDataSource         = false;
     this.datahbox2.InheritedBoundaryDataSource = false;
     this.datahbox2.InheritedDataSource         = false;
     this.datahbox2.InheritedBoundaryDataSource = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.datatitlelabel2                             = new global::Gtk.DataBindings.DataTitleLabel();
     this.datatitlelabel2.Name                        = "datatitlelabel2";
     this.datatitlelabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datatitlelabel1");
     this.datatitlelabel2.InheritedDataSource         = true;
     this.datatitlelabel2.Mappings                    = "Birth";
     this.datatitlelabel2.InheritedBoundaryDataSource = false;
     this.datatitlelabel2.Important                   = false;
     this.datatitlelabel2.InheritedDataSource         = true;
     this.datatitlelabel2.Mappings                    = "Birth";
     this.datatitlelabel2.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.datatitlelabel2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.datatitlelabel2]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataautowidget3      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget3.Name = "dataautowidget3";
     this.dataautowidget3.InheritedDataSource         = true;
     this.dataautowidget3.InheritedBoundaryDataSource = false;
     this.dataautowidget3.Mappings                    = "Birth";
     this.dataautowidget3.Editable                    = true;
     this.dataautowidget3.InheritedDataSource         = true;
     this.dataautowidget3.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.dataautowidget3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataautowidget3]));
     w10.Position = 1;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataautowidget4      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget4.Name = "dataautowidget4";
     this.dataautowidget4.InheritedDataSource         = true;
     this.dataautowidget4.InheritedBoundaryDataSource = false;
     this.dataautowidget4.Mappings                    = "Birth";
     this.dataautowidget4.Editable                    = false;
     this.dataautowidget4.InheritedDataSource         = true;
     this.dataautowidget4.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.dataautowidget4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataautowidget4]));
     w11.Position = 2;
     this.vbox1.Add(this.datahbox2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datahbox2]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.eventbox1      = new global::Gtk.EventBox();
     this.eventbox1.Name = "eventbox1";
     // Container child eventbox1.Gtk.Container+ContainerChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label2");
     this.eventbox1.Add(this.label2);
     this.vbox1.Add(this.eventbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.eventbox1]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span color=\"red\" background=\"#0000ff\">bla</span>");
     this.label1.UseMarkup = true;
     this.vbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1]));
     w15.Position = 5;
     w15.Expand   = false;
     w15.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 906;
     this.DefaultHeight = 211;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Ejemplo n.º 12
0
 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.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w1.Add(this.addAction, null);
     this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove");
     w1.Add(this.removeAction, null);
     this.propertiesAction = new global::Gtk.Action("propertiesAction", null, null, "gtk-properties");
     w1.Add(this.propertiesAction, null);
     this.noAction = new global::Gtk.Action("noAction", null, null, "gtk-no");
     w1.Add(this.noAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = "MainWindow";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.datavbox1                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox1.Name                        = "datavbox1";
     this.datavbox1.Spacing                     = 6;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/><toolitem name='propertiesAction' action='propertiesAction'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(3));
     this.datavbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.Timers          = new global::Gtk.DataBindings.DataTreeView();
     this.Timers.CanFocus = true;
     this.Timers.Name     = "Timers";
     this.Timers.CursorPointsEveryType = false;
     this.Timers.InheritedDataSource   = false;
     this.Timers.Mappings = "";
     this.Timers.InheritedBoundaryDataSource = false;
     this.Timers.InheritedDataSource         = false;
     this.Timers.Mappings = "";
     this.Timers.InheritedBoundaryDataSource = false;
     this.Timers.ColumnMappings = "{stopwatch.Timer} Active[Name::Status>>; Name<>]<>; StringValue[Elapsed]>>; MaxTimeStringValue[Max Time]>>;";
     this.datavbox1.Add(this.Timers);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.Timers]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.Add(this.datavbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent                += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.addAction.Activated        += new global::System.EventHandler(this.OnAddActionActivated);
     this.removeAction.Activated     += new global::System.EventHandler(this.OnRemoveActionActivated);
     this.propertiesAction.Activated += new global::System.EventHandler(this.OnPropertiesActionActivated);
 }
Ejemplo n.º 13
0
 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.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.buttonOpen              = new global::Gtk.Button();
     this.buttonOpen.CanFocus     = true;
     this.buttonOpen.Name         = "buttonOpen";
     this.buttonOpen.UseStock     = true;
     this.buttonOpen.UseUnderline = true;
     this.buttonOpen.Label        = "gtk-open";
     this.hbox1.Add(this.buttonOpen);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpen]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     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;
     w2.Padding  = ((uint)(2));
     // 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 w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.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.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 378;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.hpaned2          = new global::Gtk.HPaned();
     this.hpaned2.CanFocus = true;
     this.hpaned2.Name     = "hpaned2";
     this.hpaned2.Position = 210;
     // Container child hpaned2.Gtk.Paned+PanedChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // 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("Assemblies");
     this.vbox3.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.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.AssemblyListTree          = new global::Gtk.DataBindings.DataTreeView();
     this.AssemblyListTree.CanFocus = true;
     this.AssemblyListTree.Name     = "AssemblyListTree";
     this.AssemblyListTree.CursorPointsEveryType       = false;
     this.AssemblyListTree.InheritedDataSource         = false;
     this.AssemblyListTree.InheritedBoundaryDataSource = false;
     this.AssemblyListTree.InheritedDataSource         = false;
     this.AssemblyListTree.InheritedBoundaryDataSource = false;
     this.AssemblyListTree.ColumnMappings = "{System.Data.Bindings.AssemblyDescription} Name[Assembly]";
     this.GtkScrolledWindow.Add(this.AssemblyListTree);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w6.Position = 1;
     this.hpaned2.Add(this.vbox3);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.vbox3]));
     w7.Resize = false;
     // Container child hpaned2.Gtk.Paned+PanedChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.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("Types");
     this.vbox4.Add(this.label2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox4.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.TypeTree          = new global::Gtk.DataBindings.DataTreeView();
     this.TypeTree.CanFocus = true;
     this.TypeTree.Name     = "TypeTree";
     this.TypeTree.CursorPointsEveryType       = false;
     this.TypeTree.InheritedDataSource         = false;
     this.TypeTree.InheritedBoundaryDataSource = false;
     this.TypeTree.InheritedDataSource         = false;
     this.TypeTree.InheritedBoundaryDataSource = false;
     this.TypeTree.ColumnMappings = "{System.Data.Bindings.IDevelopmentInformation} Name[Name]";
     this.GtkScrolledWindow1.Add(this.TypeTree);
     this.vbox4.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1]));
     w10.Position = 1;
     this.hpaned2.Add(this.vbox4);
     this.hpaned1.Add(this.hpaned2);
     global::Gtk.Paned.PanedChild w12 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hpaned2]));
     w12.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.InfoLabel           = new global::Gtk.Label();
     this.InfoLabel.Name      = "InfoLabel";
     this.InfoLabel.Xalign    = 0F;
     this.InfoLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Development informations");
     this.vbox5.Add(this.InfoLabel);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.InfoLabel]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox5.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.InfoTree          = new global::Gtk.DataBindings.DataTreeView();
     this.InfoTree.CanFocus = true;
     this.InfoTree.Name     = "InfoTree";
     this.InfoTree.CursorPointsEveryType       = false;
     this.InfoTree.InheritedDataSource         = false;
     this.InfoTree.InheritedBoundaryDataSource = false;
     this.InfoTree.InheritedDataSource         = false;
     this.InfoTree.InheritedBoundaryDataSource = false;
     this.InfoTree.ColumnMappings = "{System.Data.Bindings.DevelopmentInformationItem} Name[Name]";
     this.GtkScrolledWindow2.Add(this.InfoTree);
     this.vbox5.Add(this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow2]));
     w15.Position = 1;
     this.hpaned1.Add(this.vbox5);
     this.hbox5.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hpaned1]));
     w17.Position = 0;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5]));
     w18.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.DescriptionBox                             = new global::Gtk.DataBindings.DataVBox();
     this.DescriptionBox.Name                        = "DescriptionBox";
     this.DescriptionBox.Spacing                     = 6;
     this.DescriptionBox.InheritedDataSource         = false;
     this.DescriptionBox.InheritedBoundaryDataSource = false;
     this.DescriptionBox.InheritedDataSource         = false;
     this.DescriptionBox.InheritedBoundaryDataSource = false;
     // Container child DescriptionBox.Gtk.Box+BoxChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 12;
     this.datahbox1.InheritedDataSource         = true;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = true;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Status";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Status";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.datalabel1);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.datalabel1]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.datahbox2                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox2.Name                        = "datahbox2";
     this.datahbox2.Spacing                     = 6;
     this.datahbox2.InheritedDataSource         = true;
     this.datahbox2.InheritedBoundaryDataSource = false;
     this.datahbox2.InheritedDataSource         = true;
     this.datahbox2.InheritedBoundaryDataSource = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataimage1      = new global::Gtk.DataBindings.DataImage();
     this.dataimage1.Name = "dataimage1";
     this.dataimage1.InheritedDataSource         = true;
     this.dataimage1.Mappings                    = "Status";
     this.dataimage1.InheritedBoundaryDataSource = false;
     this.dataimage1.InheritedBoundaryDataSource = false;
     this.dataimage1.InheritedDataSource         = true;
     this.dataimage1.Mappings                    = "Status";
     this.datahbox2.Add(this.dataimage1);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataimage1]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel2");
     this.datalabel2.UseMarkup                   = true;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Name";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = true;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Name";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.datalabel2);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.datalabel2]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     this.datahbox1.Add(this.datahbox2);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.datahbox2]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.DescriptionBox.Add(this.datahbox1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.DescriptionBox [this.datahbox1]));
     w23.Position = 0;
     // Container child DescriptionBox.Gtk.Box+BoxChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.DescriptionBox.Add(this.hseparator2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.DescriptionBox [this.hseparator2]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child DescriptionBox.Gtk.Box+BoxChild
     this.datalabel3                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel3.Name                        = "datalabel3";
     this.datalabel3.Xalign                      = 0F;
     this.datalabel3.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel3");
     this.datalabel3.Wrap                        = true;
     this.datalabel3.Selectable                  = true;
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Description";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datalabel3.Important                   = false;
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Description";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.DescriptionBox.Add(this.datalabel3);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.DescriptionBox [this.datalabel3]));
     w25.Position = 2;
     this.vbox1.Add(this.DescriptionBox);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.DescriptionBox]));
     w26.Position = 3;
     w26.Expand   = false;
     w26.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 903;
     this.DefaultHeight = 510;
     this.DescriptionBox.Hide();
     this.Show();
     this.DeleteEvent                        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.buttonOpen.Clicked                 += new global::System.EventHandler(this.OnButtonOpenClicked);
     this.AssemblyListTree.CursorChanged     += new global::System.EventHandler(this.OnAssemblyListTreeCursorChanged);
     this.AssemblyListTree.IsVisibleInFilter += new global::System.Data.Bindings.IsVisibleInFilterEvent(this.OnAssemblyListTreeIsVisibleInFilter);
     this.AssemblyListTree.CellDescription   += new global::Gtk.DataBindings.CellDescriptionEvent(this.OnAssemblyListTreeCellDescription);
     this.TypeTree.CursorChanged             += new global::System.EventHandler(this.OnTypeTreeCursorChanged);
     this.TypeTree.CellDescription           += new global::Gtk.DataBindings.CellDescriptionEvent(this.OnTypeTreeCellDescription);
     this.InfoTree.CellDescription           += new global::Gtk.DataBindings.CellDescriptionEvent(this.OnInfoTreeCellDescription);
     this.InfoTree.CursorChanged             += new global::System.EventHandler(this.OnInfoTreeCursorChanged);
 }
Ejemplo n.º 14
0
	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.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.buttonOpen = new global::Gtk.Button ();
		this.buttonOpen.CanFocus = true;
		this.buttonOpen.Name = "buttonOpen";
		this.buttonOpen.UseStock = true;
		this.buttonOpen.UseUnderline = true;
		this.buttonOpen.Label = "gtk-open";
		this.hbox1.Add (this.buttonOpen);
		global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpen]));
		w1.Position = 0;
		w1.Expand = false;
		w1.Fill = false;
		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;
		w2.Padding = ((uint)(2));
		// 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 w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1]));
		w3.Position = 1;
		w3.Expand = false;
		w3.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.hpaned1 = new global::Gtk.HPaned ();
		this.hpaned1.CanFocus = true;
		this.hpaned1.Name = "hpaned1";
		this.hpaned1.Position = 378;
		// Container child hpaned1.Gtk.Paned+PanedChild
		this.hpaned2 = new global::Gtk.HPaned ();
		this.hpaned2.CanFocus = true;
		this.hpaned2.Name = "hpaned2";
		this.hpaned2.Position = 210;
		// Container child hpaned2.Gtk.Paned+PanedChild
		this.vbox3 = new global::Gtk.VBox ();
		this.vbox3.Name = "vbox3";
		this.vbox3.Spacing = 6;
		// 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 ("Assemblies");
		this.vbox3.Add (this.label1);
		global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1]));
		w4.Position = 0;
		w4.Expand = false;
		w4.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.AssemblyListTree = new global::Gtk.DataBindings.DataTreeView ();
		this.AssemblyListTree.CanFocus = true;
		this.AssemblyListTree.Name = "AssemblyListTree";
		this.AssemblyListTree.CursorPointsEveryType = false;
		this.AssemblyListTree.InheritedDataSource = false;
		this.AssemblyListTree.InheritedBoundaryDataSource = false;
		this.AssemblyListTree.InheritedDataSource = false;
		this.AssemblyListTree.InheritedBoundaryDataSource = false;
		this.AssemblyListTree.ColumnMappings = "{System.Data.Bindings.AssemblyDescription} Name[Assembly]";
		this.GtkScrolledWindow.Add (this.AssemblyListTree);
		this.vbox3.Add (this.GtkScrolledWindow);
		global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
		w6.Position = 1;
		this.hpaned2.Add (this.vbox3);
		global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.vbox3]));
		w7.Resize = false;
		// Container child hpaned2.Gtk.Paned+PanedChild
		this.vbox4 = new global::Gtk.VBox ();
		this.vbox4.Name = "vbox4";
		this.vbox4.Spacing = 6;
		// Container child vbox4.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 ("Types");
		this.vbox4.Add (this.label2);
		global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2]));
		w8.Position = 0;
		w8.Expand = false;
		w8.Fill = false;
		// Container child vbox4.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.TypeTree = new global::Gtk.DataBindings.DataTreeView ();
		this.TypeTree.CanFocus = true;
		this.TypeTree.Name = "TypeTree";
		this.TypeTree.CursorPointsEveryType = false;
		this.TypeTree.InheritedDataSource = false;
		this.TypeTree.InheritedBoundaryDataSource = false;
		this.TypeTree.InheritedDataSource = false;
		this.TypeTree.InheritedBoundaryDataSource = false;
		this.TypeTree.ColumnMappings = "{System.Data.Bindings.IDevelopmentInformation} Name[Name]";
		this.GtkScrolledWindow1.Add (this.TypeTree);
		this.vbox4.Add (this.GtkScrolledWindow1);
		global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1]));
		w10.Position = 1;
		this.hpaned2.Add (this.vbox4);
		this.hpaned1.Add (this.hpaned2);
		global::Gtk.Paned.PanedChild w12 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hpaned2]));
		w12.Resize = false;
		// Container child hpaned1.Gtk.Paned+PanedChild
		this.vbox5 = new global::Gtk.VBox ();
		this.vbox5.Name = "vbox5";
		this.vbox5.Spacing = 6;
		// Container child vbox5.Gtk.Box+BoxChild
		this.InfoLabel = new global::Gtk.Label ();
		this.InfoLabel.Name = "InfoLabel";
		this.InfoLabel.Xalign = 0F;
		this.InfoLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Development informations");
		this.vbox5.Add (this.InfoLabel);
		global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.InfoLabel]));
		w13.Position = 0;
		w13.Expand = false;
		w13.Fill = false;
		// Container child vbox5.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.InfoTree = new global::Gtk.DataBindings.DataTreeView ();
		this.InfoTree.CanFocus = true;
		this.InfoTree.Name = "InfoTree";
		this.InfoTree.CursorPointsEveryType = false;
		this.InfoTree.InheritedDataSource = false;
		this.InfoTree.InheritedBoundaryDataSource = false;
		this.InfoTree.InheritedDataSource = false;
		this.InfoTree.InheritedBoundaryDataSource = false;
		this.InfoTree.ColumnMappings = "{System.Data.Bindings.DevelopmentInformationItem} Name[Name]";
		this.GtkScrolledWindow2.Add (this.InfoTree);
		this.vbox5.Add (this.GtkScrolledWindow2);
		global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow2]));
		w15.Position = 1;
		this.hpaned1.Add (this.vbox5);
		this.hbox5.Add (this.hpaned1);
		global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hpaned1]));
		w17.Position = 0;
		this.vbox1.Add (this.hbox5);
		global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5]));
		w18.Position = 2;
		// Container child vbox1.Gtk.Box+BoxChild
		this.DescriptionBox = new global::Gtk.DataBindings.DataVBox ();
		this.DescriptionBox.Name = "DescriptionBox";
		this.DescriptionBox.Spacing = 6;
		this.DescriptionBox.InheritedDataSource = false;
		this.DescriptionBox.InheritedBoundaryDataSource = false;
		this.DescriptionBox.InheritedDataSource = false;
		this.DescriptionBox.InheritedBoundaryDataSource = false;
		// Container child DescriptionBox.Gtk.Box+BoxChild
		this.datahbox1 = new global::Gtk.DataBindings.DataHBox ();
		this.datahbox1.Name = "datahbox1";
		this.datahbox1.Spacing = 12;
		this.datahbox1.InheritedDataSource = true;
		this.datahbox1.InheritedBoundaryDataSource = false;
		this.datahbox1.InheritedDataSource = true;
		this.datahbox1.InheritedBoundaryDataSource = false;
		// Container child datahbox1.Gtk.Box+BoxChild
		this.datalabel1 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel1.Name = "datalabel1";
		this.datalabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1");
		this.datalabel1.InheritedDataSource = true;
		this.datalabel1.Mappings = "Status";
		this.datalabel1.InheritedBoundaryDataSource = false;
		this.datalabel1.Important = false;
		this.datalabel1.InheritedDataSource = true;
		this.datalabel1.Mappings = "Status";
		this.datalabel1.InheritedBoundaryDataSource = false;
		this.datahbox1.Add (this.datalabel1);
		global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.datalabel1]));
		w19.Position = 0;
		w19.Expand = false;
		w19.Fill = false;
		// Container child datahbox1.Gtk.Box+BoxChild
		this.datahbox2 = new global::Gtk.DataBindings.DataHBox ();
		this.datahbox2.Name = "datahbox2";
		this.datahbox2.Spacing = 6;
		this.datahbox2.InheritedDataSource = true;
		this.datahbox2.InheritedBoundaryDataSource = false;
		this.datahbox2.InheritedDataSource = true;
		this.datahbox2.InheritedBoundaryDataSource = false;
		// Container child datahbox2.Gtk.Box+BoxChild
		this.dataimage1 = new global::Gtk.DataBindings.DataImage ();
		this.dataimage1.Name = "dataimage1";
		this.dataimage1.InheritedDataSource = true;
		this.dataimage1.Mappings = "Status";
		this.dataimage1.InheritedBoundaryDataSource = false;
		this.dataimage1.InheritedBoundaryDataSource = false;
		this.dataimage1.InheritedDataSource = true;
		this.dataimage1.Mappings = "Status";
		this.datahbox2.Add (this.dataimage1);
		global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataimage1]));
		w20.Position = 0;
		w20.Expand = false;
		w20.Fill = false;
		// Container child datahbox2.Gtk.Box+BoxChild
		this.datalabel2 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel2.Name = "datalabel2";
		this.datalabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2");
		this.datalabel2.UseMarkup = true;
		this.datalabel2.InheritedDataSource = true;
		this.datalabel2.Mappings = "Name";
		this.datalabel2.InheritedBoundaryDataSource = false;
		this.datalabel2.Important = true;
		this.datalabel2.InheritedDataSource = true;
		this.datalabel2.Mappings = "Name";
		this.datalabel2.InheritedBoundaryDataSource = false;
		this.datahbox2.Add (this.datalabel2);
		global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.datalabel2]));
		w21.Position = 1;
		w21.Expand = false;
		w21.Fill = false;
		this.datahbox1.Add (this.datahbox2);
		global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.datahbox2]));
		w22.Position = 1;
		w22.Expand = false;
		w22.Fill = false;
		this.DescriptionBox.Add (this.datahbox1);
		global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.DescriptionBox [this.datahbox1]));
		w23.Position = 0;
		// Container child DescriptionBox.Gtk.Box+BoxChild
		this.hseparator2 = new global::Gtk.HSeparator ();
		this.hseparator2.Name = "hseparator2";
		this.DescriptionBox.Add (this.hseparator2);
		global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.DescriptionBox [this.hseparator2]));
		w24.Position = 1;
		w24.Expand = false;
		w24.Fill = false;
		// Container child DescriptionBox.Gtk.Box+BoxChild
		this.datalabel3 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel3.Name = "datalabel3";
		this.datalabel3.Xalign = 0F;
		this.datalabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel3");
		this.datalabel3.Wrap = true;
		this.datalabel3.Selectable = true;
		this.datalabel3.InheritedDataSource = true;
		this.datalabel3.Mappings = "Description";
		this.datalabel3.InheritedBoundaryDataSource = false;
		this.datalabel3.Important = false;
		this.datalabel3.InheritedDataSource = true;
		this.datalabel3.Mappings = "Description";
		this.datalabel3.InheritedBoundaryDataSource = false;
		this.DescriptionBox.Add (this.datalabel3);
		global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.DescriptionBox [this.datalabel3]));
		w25.Position = 2;
		this.vbox1.Add (this.DescriptionBox);
		global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.DescriptionBox]));
		w26.Position = 3;
		w26.Expand = false;
		w26.Fill = false;
		this.Add (this.vbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 903;
		this.DefaultHeight = 510;
		this.DescriptionBox.Hide ();
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked);
		this.AssemblyListTree.CursorChanged += new global::System.EventHandler (this.OnAssemblyListTreeCursorChanged);
		this.AssemblyListTree.IsVisibleInFilter += new global::System.Data.Bindings.IsVisibleInFilterEvent (this.OnAssemblyListTreeIsVisibleInFilter);
		this.AssemblyListTree.CellDescription += new global::Gtk.DataBindings.CellDescriptionEvent (this.OnAssemblyListTreeCellDescription);
		this.TypeTree.CursorChanged += new global::System.EventHandler (this.OnTypeTreeCursorChanged);
		this.TypeTree.CellDescription += new global::Gtk.DataBindings.CellDescriptionEvent (this.OnTypeTreeCellDescription);
		this.InfoTree.CellDescription += new global::Gtk.DataBindings.CellDescriptionEvent (this.OnInfoTreeCellDescription);
		this.InfoTree.CursorChanged += new global::System.EventHandler (this.OnInfoTreeCursorChanged);
	}