Пример #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Component.ProjectListWidget
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.Component.ProjectListWidget";
     // Container child LongoMatch.Gui.Component.ProjectListWidget.Gtk.Container+ContainerChild
     this.vbox2      = new global::Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.focusimage      = new global::VAS.UI.Helpers.ImageView();
     this.focusimage.Name = "focusimage";
     this.hbox1.Add(this.focusimage);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.focusimage]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.filterEntry = new global::Gtk.Entry();
     this.filterEntry.WidthRequest  = 100;
     this.filterEntry.CanFocus      = true;
     this.filterEntry.Name          = "filterEntry";
     this.filterEntry.IsEditable    = true;
     this.filterEntry.InvisibleChar = '●';
     this.hbox1.Add(this.filterEntry);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.filterEntry]));
     w2.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.sortcombobox = global::Gtk.ComboBox.NewText();
     this.sortcombobox.AppendText(global::VAS.Core.Catalog.GetString("Sort by name"));
     this.sortcombobox.AppendText(global::VAS.Core.Catalog.GetString("Sort by date"));
     this.sortcombobox.AppendText(global::VAS.Core.Catalog.GetString("Sort by modification date"));
     this.sortcombobox.AppendText(global::VAS.Core.Catalog.GetString("Sort by season"));
     this.sortcombobox.AppendText(global::VAS.Core.Catalog.GetString("Sort by competition"));
     this.sortcombobox.WidthRequest = 150;
     this.sortcombobox.Name         = "sortcombobox";
     this.sortcombobox.Active       = 0;
     this.hbox1.Add(this.sortcombobox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.sortcombobox]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     w4.Padding  = ((uint)(5));
     // Container child vbox2.Gtk.Box+BoxChild
     this.limitationWidget        = new global::LongoMatch.Gui.Component.LMLimitationWidget();
     this.limitationWidget.Events = ((global::Gdk.EventMask)(256));
     this.limitationWidget.Name   = "limitationWidget";
     this.vbox2.Add(this.limitationWidget);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.limitationWidget]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox2.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1]));
     w6.Position = 2;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.filterEntry.Changed += new global::System.EventHandler(this.OnFilterentryChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Panel.TeamsTemplatesPanel
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.Panel.TeamsTemplatesPanel";
     // Container child LongoMatch.Gui.Panel.TeamsTemplatesPanel.Gtk.Container+ContainerChild
     this.teameditorvbox         = new global::Gtk.VBox();
     this.teameditorvbox.Name    = "teameditorvbox";
     this.teameditorvbox.Spacing = 6;
     // Container child teameditorvbox.Gtk.Box+BoxChild
     this.headereventbox      = new global::Gtk.EventBox();
     this.headereventbox.Name = "headereventbox";
     // Container child headereventbox.Gtk.Container+ContainerChild
     this.panelheader1        = new global::LongoMatch.Gui.Panel.PanelHeader();
     this.panelheader1.Events = ((global::Gdk.EventMask)(256));
     this.panelheader1.Name   = "panelheader1";
     this.headereventbox.Add(this.panelheader1);
     this.teameditorvbox.Add(this.headereventbox);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.teameditorvbox [this.headereventbox]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child teameditorvbox.Gtk.Box+BoxChild
     this.contentalignment              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.contentalignment.Name         = "contentalignment";
     this.contentalignment.LeftPadding  = ((uint)(12));
     this.contentalignment.RightPadding = ((uint)(12));
     // Container child contentalignment.Gtk.Container+ContainerChild
     this.contentvbox      = new global::Gtk.VBox();
     this.contentvbox.Name = "contentvbox";
     // Container child contentvbox.Gtk.Box+BoxChild
     this.teameditorbuttonbar         = new global::Gtk.HBox();
     this.teameditorbuttonbar.Name    = "teameditorbuttonbar";
     this.teameditorbuttonbar.Spacing = 24;
     // Container child teameditorbuttonbar.Gtk.Box+BoxChild
     this.templateimagealignment              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.templateimagealignment.Name         = "templateimagealignment";
     this.templateimagealignment.LeftPadding  = ((uint)(12));
     this.templateimagealignment.RightPadding = ((uint)(24));
     // Container child templateimagealignment.Gtk.Container+ContainerChild
     this.teamimage        = new global::VAS.UI.Helpers.ImageView();
     this.teamimage.Name   = "teamimage";
     this.teamimage.Yalign = 1F;
     this.templateimagealignment.Add(this.teamimage);
     this.teameditorbuttonbar.Add(this.templateimagealignment);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.teameditorbuttonbar [this.templateimagealignment]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child teameditorbuttonbar.Gtk.Box+BoxChild
     this.editteamsvbox             = new global::Gtk.VBox();
     this.editteamsvbox.Name        = "editteamsvbox";
     this.editteamsvbox.Spacing     = 2;
     this.editteamsvbox.BorderWidth = ((uint)(6));
     // Container child editteamsvbox.Gtk.Box+BoxChild
     this.editteamslabel           = new global::Gtk.Label();
     this.editteamslabel.Name      = "editteamslabel";
     this.editteamslabel.Xalign    = 0F;
     this.editteamslabel.LabelProp = global::VAS.Core.Catalog.GetString("Manage teams");
     this.editteamslabel.UseMarkup = true;
     this.editteamsvbox.Add(this.editteamslabel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.editteamsvbox [this.editteamslabel]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child editteamsvbox.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.newteambutton          = new global::Gtk.Button();
     this.newteambutton.CanFocus = true;
     this.newteambutton.Name     = "newteambutton";
     // Container child newteambutton.Gtk.Container+ContainerChild
     this.newteamimage      = new global::VAS.UI.Helpers.ImageView();
     this.newteamimage.Name = "newteamimage";
     this.newteamimage.Xpad = 5;
     this.newteamimage.Ypad = 5;
     this.newteambutton.Add(this.newteamimage);
     this.hbox8.Add(this.newteambutton);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.newteambutton]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.importteambutton          = new global::Gtk.Button();
     this.importteambutton.CanFocus = true;
     this.importteambutton.Name     = "importteambutton";
     // Container child importteambutton.Gtk.Container+ContainerChild
     this.importteamimage      = new global::VAS.UI.Helpers.ImageView();
     this.importteamimage.Name = "importteamimage";
     this.importteamimage.Xpad = 5;
     this.importteamimage.Ypad = 5;
     this.importteambutton.Add(this.importteamimage);
     this.hbox8.Add(this.importteambutton);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.importteambutton]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.saveteambutton          = new global::Gtk.Button();
     this.saveteambutton.CanFocus = true;
     this.saveteambutton.Name     = "saveteambutton";
     // Container child saveteambutton.Gtk.Container+ContainerChild
     this.saveteamimage      = new global::VAS.UI.Helpers.ImageView();
     this.saveteamimage.Name = "saveteamimage";
     this.saveteamimage.Xpad = 5;
     this.saveteamimage.Ypad = 5;
     this.saveteambutton.Add(this.saveteamimage);
     this.hbox8.Add(this.saveteambutton);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.saveteambutton]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.exportteambutton          = new global::Gtk.Button();
     this.exportteambutton.CanFocus = true;
     this.exportteambutton.Name     = "exportteambutton";
     // Container child exportteambutton.Gtk.Container+ContainerChild
     this.exportteamimage      = new global::VAS.UI.Helpers.ImageView();
     this.exportteamimage.Name = "exportteamimage";
     this.exportteamimage.Xpad = 5;
     this.exportteamimage.Ypad = 5;
     this.exportteambutton.Add(this.exportteamimage);
     this.hbox8.Add(this.exportteambutton);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.exportteambutton]));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.deleteteambutton          = new global::Gtk.Button();
     this.deleteteambutton.CanFocus = true;
     this.deleteteambutton.Name     = "deleteteambutton";
     // Container child deleteteambutton.Gtk.Container+ContainerChild
     this.deleteteamimage      = new global::VAS.UI.Helpers.ImageView();
     this.deleteteamimage.Name = "deleteteamimage";
     this.deleteteamimage.Xpad = 5;
     this.deleteteamimage.Ypad = 5;
     this.deleteteambutton.Add(this.deleteteamimage);
     this.hbox8.Add(this.deleteteambutton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.deleteteambutton]));
     w15.Position = 4;
     w15.Expand   = false;
     w15.Fill     = false;
     this.editteamsvbox.Add(this.hbox8);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.editteamsvbox [this.hbox8]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.teameditorbuttonbar.Add(this.editteamsvbox);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.teameditorbuttonbar [this.editteamsvbox]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child teameditorbuttonbar.Gtk.Box+BoxChild
     this.vseparatorimage      = new global::VAS.UI.Helpers.ImageView();
     this.vseparatorimage.Name = "vseparatorimage";
     this.teameditorbuttonbar.Add(this.vseparatorimage);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.teameditorbuttonbar [this.vseparatorimage]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child teameditorbuttonbar.Gtk.Box+BoxChild
     this.editplayersvbox             = new global::Gtk.VBox();
     this.editplayersvbox.Name        = "editplayersvbox";
     this.editplayersvbox.Spacing     = 2;
     this.editplayersvbox.BorderWidth = ((uint)(6));
     // Container child editplayersvbox.Gtk.Box+BoxChild
     this.editplayerslabel           = new global::Gtk.Label();
     this.editplayerslabel.Name      = "editplayerslabel";
     this.editplayerslabel.Xalign    = 0F;
     this.editplayerslabel.LabelProp = global::VAS.Core.Catalog.GetString("Manage players");
     this.editplayerslabel.UseMarkup = true;
     this.editplayersvbox.Add(this.editplayerslabel);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.editplayersvbox [this.editplayerslabel]));
     w19.Position = 0;
     w19.Fill     = false;
     // Container child editplayersvbox.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.newplayerbutton1          = new global::Gtk.Button();
     this.newplayerbutton1.CanFocus = true;
     this.newplayerbutton1.Name     = "newplayerbutton1";
     // Container child newplayerbutton1.Gtk.Container+ContainerChild
     this.newplayerimage      = new global::VAS.UI.Helpers.ImageView();
     this.newplayerimage.Name = "newplayerimage";
     this.newplayerimage.Xpad = 5;
     this.newplayerimage.Ypad = 5;
     this.newplayerbutton1.Add(this.newplayerimage);
     this.hbox7.Add(this.newplayerbutton1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.newplayerbutton1]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.deleteplayerbutton          = new global::Gtk.Button();
     this.deleteplayerbutton.CanFocus = true;
     this.deleteplayerbutton.Name     = "deleteplayerbutton";
     // Container child deleteplayerbutton.Gtk.Container+ContainerChild
     this.deleteplayerimage      = new global::VAS.UI.Helpers.ImageView();
     this.deleteplayerimage.Name = "deleteplayerimage";
     this.deleteplayerimage.Xpad = 5;
     this.deleteplayerimage.Ypad = 5;
     this.deleteplayerbutton.Add(this.deleteplayerimage);
     this.hbox7.Add(this.deleteplayerbutton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.deleteplayerbutton]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     this.editplayersvbox.Add(this.hbox7);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.editplayersvbox [this.hbox7]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.teameditorbuttonbar.Add(this.editplayersvbox);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.teameditorbuttonbar [this.editplayersvbox]));
     w25.Position = 3;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child teameditorbuttonbar.Gtk.Box+BoxChild
     this.playerheaderalignment              = new global::Gtk.Alignment(1F, 1F, 0F, 0F);
     this.playerheaderalignment.Name         = "playerheaderalignment";
     this.playerheaderalignment.RightPadding = ((uint)(12));
     // Container child playerheaderalignment.Gtk.Container+ContainerChild
     this.playerheaderimage      = new global::VAS.UI.Helpers.ImageView();
     this.playerheaderimage.Name = "playerheaderimage";
     this.playerheaderimage.Ypad = 14;
     this.playerheaderalignment.Add(this.playerheaderimage);
     this.teameditorbuttonbar.Add(this.playerheaderalignment);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.teameditorbuttonbar [this.playerheaderalignment]));
     w27.Position = 4;
     this.contentvbox.Add(this.teameditorbuttonbar);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.contentvbox [this.teameditorbuttonbar]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child contentvbox.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 15;
     // Container child hbox1.Gtk.Box+BoxChild
     this.teamsvbox = new global::Gtk.VBox();
     this.teamsvbox.WidthRequest = 280;
     this.teamsvbox.Name         = "teamsvbox";
     this.teamsvbox.Spacing      = 6;
     // Container child teamsvbox.Gtk.Box+BoxChild
     this.limitationAlignment      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.limitationAlignment.Name = "limitationAlignment";
     // Container child limitationAlignment.Gtk.Container+ContainerChild
     this.limitationWidget        = new global::LongoMatch.Gui.Component.LMLimitationWidget();
     this.limitationWidget.Events = ((global::Gdk.EventMask)(256));
     this.limitationWidget.Name   = "limitationWidget";
     this.limitationAlignment.Add(this.limitationWidget);
     this.teamsvbox.Add(this.limitationAlignment);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.teamsvbox [this.limitationAlignment]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child teamsvbox.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.teamseditortreeview          = new global::Gtk.TreeView();
     this.teamseditortreeview.CanFocus = true;
     this.teamseditortreeview.Name     = "teamseditortreeview";
     this.GtkScrolledWindow1.Add(this.teamseditortreeview);
     this.teamsvbox.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.teamsvbox [this.GtkScrolledWindow1]));
     w32.Position = 1;
     this.hbox1.Add(this.teamsvbox);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.teamsvbox]));
     w33.Position = 0;
     w33.Expand   = false;
     w33.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.teamtemplateeditor1        = new global::LongoMatch.Gui.Component.TeamTemplateEditor();
     this.teamtemplateeditor1.Events = ((global::Gdk.EventMask)(256));
     this.teamtemplateeditor1.Name   = "teamtemplateeditor1";
     this.teamtemplateeditor1.Edited = false;
     this.hbox1.Add(this.teamtemplateeditor1);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.teamtemplateeditor1]));
     w34.Position = 1;
     this.contentvbox.Add(this.hbox1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.contentvbox [this.hbox1]));
     w35.Position = 1;
     this.contentalignment.Add(this.contentvbox);
     this.teameditorvbox.Add(this.contentalignment);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.teameditorvbox [this.contentalignment]));
     w37.Position = 1;
     this.Add(this.teameditorvbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Component.EventsListWidget
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.Component.EventsListWidget";
     // Container child LongoMatch.Gui.Component.EventsListWidget.Gtk.Container+ContainerChild
     this.vbox1      = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.limitWidgetAlignment              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.limitWidgetAlignment.Name         = "limitWidgetAlignment";
     this.limitWidgetAlignment.LeftPadding  = ((uint)(2));
     this.limitWidgetAlignment.RightPadding = ((uint)(17));
     // Container child limitWidgetAlignment.Gtk.Container+ContainerChild
     this.limitationWidget        = new global::LongoMatch.Gui.Component.LMLimitationWidget();
     this.limitationWidget.Events = ((global::Gdk.EventMask)(256));
     this.limitationWidget.Name   = "limitationWidget";
     this.limitWidgetAlignment.Add(this.limitationWidget);
     this.vbox1.Add(this.limitWidgetAlignment);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.limitWidgetAlignment]));
     w2.Position = 0;
     w2.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.playsnotebook             = new global::Gtk.Notebook();
     this.playsnotebook.CanFocus    = true;
     this.playsnotebook.Name        = "playsnotebook";
     this.playsnotebook.CurrentPage = 0;
     this.playsnotebook.TabPos      = ((global::Gtk.PositionType)(3));
     // Container child playsnotebook.Gtk.Notebook+NotebookChild
     this.eventsScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.eventsScrolledWindow.CanFocus   = true;
     this.eventsScrolledWindow.Name       = "eventsScrolledWindow";
     this.eventsScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     this.playsnotebook.Add(this.eventsScrolledWindow);
     // Notebook tab
     this.playsList1           = new global::Gtk.Label();
     this.playsList1.Name      = "playsList1";
     this.playsList1.LabelProp = global::VAS.Core.Catalog.GetString("Events");
     this.playsnotebook.SetTabLabel(this.eventsScrolledWindow, this.playsList1);
     this.playsList1.ShowAll();
     // Container child playsnotebook.Gtk.Notebook+NotebookChild
     this.homescrolledwindow            = new global::Gtk.ScrolledWindow();
     this.homescrolledwindow.CanFocus   = true;
     this.homescrolledwindow.Name       = "homescrolledwindow";
     this.homescrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
     this.playsnotebook.Add(this.homescrolledwindow);
     global::Gtk.Notebook.NotebookChild w4 = ((global::Gtk.Notebook.NotebookChild)(this.playsnotebook[this.homescrolledwindow]));
     w4.Position = 1;
     // Notebook tab
     this.localPlaysList      = new global::Gtk.Label();
     this.localPlaysList.Name = "localPlaysList";
     this.playsnotebook.SetTabLabel(this.homescrolledwindow, this.localPlaysList);
     this.localPlaysList.ShowAll();
     // Container child playsnotebook.Gtk.Notebook+NotebookChild
     this.awayscrolledwindow            = new global::Gtk.ScrolledWindow();
     this.awayscrolledwindow.CanFocus   = true;
     this.awayscrolledwindow.Name       = "awayscrolledwindow";
     this.awayscrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1));
     this.playsnotebook.Add(this.awayscrolledwindow);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.playsnotebook[this.awayscrolledwindow]));
     w5.Position = 2;
     // Notebook tab
     this.visitorPlaysList      = new global::Gtk.Label();
     this.visitorPlaysList.Name = "visitorPlaysList";
     this.playsnotebook.SetTabLabel(this.awayscrolledwindow, this.visitorPlaysList);
     this.visitorPlaysList.ShowAll();
     this.vbox1.Add(this.playsnotebook);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.playsnotebook]));
     w6.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Panel.SportsTemplatesPanel
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.Panel.SportsTemplatesPanel";
     // Container child LongoMatch.Gui.Panel.SportsTemplatesPanel.Gtk.Container+ContainerChild
     this.dashboardeditorvbox         = new global::Gtk.VBox();
     this.dashboardeditorvbox.Name    = "dashboardeditorvbox";
     this.dashboardeditorvbox.Spacing = 6;
     // Container child dashboardeditorvbox.Gtk.Box+BoxChild
     this.headereventbox      = new global::Gtk.EventBox();
     this.headereventbox.Name = "headereventbox";
     // Container child headereventbox.Gtk.Container+ContainerChild
     this.panelheader1        = new global::LongoMatch.Gui.Panel.PanelHeader();
     this.panelheader1.Events = ((global::Gdk.EventMask)(256));
     this.panelheader1.Name   = "panelheader1";
     this.headereventbox.Add(this.panelheader1);
     this.dashboardeditorvbox.Add(this.headereventbox);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorvbox [this.headereventbox]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child dashboardeditorvbox.Gtk.Box+BoxChild
     this.contentalignment              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.contentalignment.Name         = "contentalignment";
     this.contentalignment.LeftPadding  = ((uint)(12));
     this.contentalignment.RightPadding = ((uint)(12));
     // Container child contentalignment.Gtk.Container+ContainerChild
     this.contentvbox      = new global::Gtk.VBox();
     this.contentvbox.Name = "contentvbox";
     // Container child contentvbox.Gtk.Box+BoxChild
     this.dashboardeditorbuttonbar         = new global::Gtk.HBox();
     this.dashboardeditorbuttonbar.Name    = "dashboardeditorbuttonbar";
     this.dashboardeditorbuttonbar.Spacing = 24;
     // Container child dashboardeditorbuttonbar.Gtk.Box+BoxChild
     this.templateimagealignment              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.templateimagealignment.Name         = "templateimagealignment";
     this.templateimagealignment.LeftPadding  = ((uint)(12));
     this.templateimagealignment.RightPadding = ((uint)(24));
     // Container child templateimagealignment.Gtk.Container+ContainerChild
     this.templateimage        = new global::VAS.UI.Helpers.ImageView();
     this.templateimage.Name   = "templateimage";
     this.templateimage.Yalign = 1F;
     this.templateimagealignment.Add(this.templateimage);
     this.dashboardeditorbuttonbar.Add(this.templateimagealignment);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorbuttonbar [this.templateimagealignment]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dashboardeditorbuttonbar.Gtk.Box+BoxChild
     this.vbox3             = new global::Gtk.VBox();
     this.vbox3.Name        = "vbox3";
     this.vbox3.Spacing     = 2;
     this.vbox3.BorderWidth = ((uint)(6));
     // Container child vbox3.Gtk.Box+BoxChild
     this.editdashboardslabel           = new global::Gtk.Label();
     this.editdashboardslabel.Name      = "editdashboardslabel";
     this.editdashboardslabel.Xalign    = 0F;
     this.editdashboardslabel.LabelProp = global::VAS.Core.Catalog.GetString("Manage dashboards");
     this.editdashboardslabel.UseMarkup = true;
     this.vbox3.Add(this.editdashboardslabel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.editdashboardslabel]));
     w5.Position = 0;
     w5.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.newtemplatebutton          = new global::Gtk.Button();
     this.newtemplatebutton.CanFocus = true;
     this.newtemplatebutton.Name     = "newtemplatebutton";
     // Container child newtemplatebutton.Gtk.Container+ContainerChild
     this.newtemplateimage      = new global::VAS.UI.Helpers.ImageView();
     this.newtemplateimage.Name = "newtemplateimage";
     this.newtemplateimage.Xpad = 5;
     this.newtemplateimage.Ypad = 5;
     this.newtemplatebutton.Add(this.newtemplateimage);
     this.hbox3.Add(this.newtemplatebutton);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.newtemplatebutton]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.importtemplatebutton          = new global::Gtk.Button();
     this.importtemplatebutton.CanFocus = true;
     this.importtemplatebutton.Name     = "importtemplatebutton";
     // Container child importtemplatebutton.Gtk.Container+ContainerChild
     this.importtemplateimage      = new global::VAS.UI.Helpers.ImageView();
     this.importtemplateimage.Name = "importtemplateimage";
     this.importtemplateimage.Xpad = 5;
     this.importtemplateimage.Ypad = 5;
     this.importtemplatebutton.Add(this.importtemplateimage);
     this.hbox3.Add(this.importtemplatebutton);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.importtemplatebutton]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.savetemplatebutton          = new global::Gtk.Button();
     this.savetemplatebutton.CanFocus = true;
     this.savetemplatebutton.Name     = "savetemplatebutton";
     // Container child savetemplatebutton.Gtk.Container+ContainerChild
     this.savetemplateimage      = new global::VAS.UI.Helpers.ImageView();
     this.savetemplateimage.Name = "savetemplateimage";
     this.savetemplateimage.Xpad = 5;
     this.savetemplateimage.Ypad = 5;
     this.savetemplatebutton.Add(this.savetemplateimage);
     this.hbox3.Add(this.savetemplatebutton);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.savetemplatebutton]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.exporttemplatebutton          = new global::Gtk.Button();
     this.exporttemplatebutton.CanFocus = true;
     this.exporttemplatebutton.Name     = "exporttemplatebutton";
     // Container child exporttemplatebutton.Gtk.Container+ContainerChild
     this.exporttemplateimage      = new global::VAS.UI.Helpers.ImageView();
     this.exporttemplateimage.Name = "exporttemplateimage";
     this.exporttemplateimage.Xpad = 5;
     this.exporttemplateimage.Ypad = 5;
     this.exporttemplatebutton.Add(this.exporttemplateimage);
     this.hbox3.Add(this.exporttemplatebutton);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.exporttemplatebutton]));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.deletetemplatebutton          = new global::Gtk.Button();
     this.deletetemplatebutton.CanFocus = true;
     this.deletetemplatebutton.Name     = "deletetemplatebutton";
     // Container child deletetemplatebutton.Gtk.Container+ContainerChild
     this.deletetemplateimage      = new global::VAS.UI.Helpers.ImageView();
     this.deletetemplateimage.Name = "deletetemplateimage";
     this.deletetemplateimage.Xpad = 5;
     this.deletetemplateimage.Ypad = 5;
     this.deletetemplatebutton.Add(this.deletetemplateimage);
     this.hbox3.Add(this.deletetemplatebutton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.deletetemplatebutton]));
     w15.Position = 4;
     w15.Expand   = false;
     w15.Fill     = false;
     this.vbox3.Add(this.hbox3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.dashboardeditorbuttonbar.Add(this.vbox3);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorbuttonbar [this.vbox3]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child dashboardeditorbuttonbar.Gtk.Box+BoxChild
     this.vseparatorimage      = new global::VAS.UI.Helpers.ImageView();
     this.vseparatorimage.Name = "vseparatorimage";
     this.dashboardeditorbuttonbar.Add(this.vseparatorimage);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorbuttonbar [this.vseparatorimage]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child dashboardeditorbuttonbar.Gtk.Box+BoxChild
     this.vbox17             = new global::Gtk.VBox();
     this.vbox17.Name        = "vbox17";
     this.vbox17.Spacing     = 2;
     this.vbox17.BorderWidth = ((uint)(6));
     // Container child vbox17.Gtk.Box+BoxChild
     this.editbuttonslabel           = new global::Gtk.Label();
     this.editbuttonslabel.Name      = "editbuttonslabel";
     this.editbuttonslabel.Xalign    = 0F;
     this.editbuttonslabel.LabelProp = global::VAS.Core.Catalog.GetString("Manage dashboard buttons");
     this.editbuttonslabel.UseMarkup = true;
     this.vbox17.Add(this.editbuttonslabel);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox17 [this.editbuttonslabel]));
     w19.Position = 0;
     w19.Fill     = false;
     // Container child vbox17.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.addcategorybutton          = new global::Gtk.Button();
     this.addcategorybutton.CanFocus = true;
     this.addcategorybutton.Name     = "addcategorybutton";
     // Container child addcategorybutton.Gtk.Container+ContainerChild
     this.addcategoryimage      = new global::VAS.UI.Helpers.ImageView();
     this.addcategoryimage.Name = "addcategoryimage";
     this.addcategoryimage.Xpad = 5;
     this.addcategoryimage.Ypad = 5;
     this.addcategorybutton.Add(this.addcategoryimage);
     this.hbox4.Add(this.addcategorybutton);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.addcategorybutton]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.addtagbutton1          = new global::Gtk.Button();
     this.addtagbutton1.CanFocus = true;
     this.addtagbutton1.Name     = "addtagbutton1";
     // Container child addtagbutton1.Gtk.Container+ContainerChild
     this.addtagimage      = new global::VAS.UI.Helpers.ImageView();
     this.addtagimage.Name = "addtagimage";
     this.addtagimage.Xpad = 5;
     this.addtagimage.Ypad = 5;
     this.addtagbutton1.Add(this.addtagimage);
     this.hbox4.Add(this.addtagbutton1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.addtagbutton1]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.scorebutton          = new global::Gtk.Button();
     this.scorebutton.CanFocus = true;
     this.scorebutton.Name     = "scorebutton";
     // Container child scorebutton.Gtk.Container+ContainerChild
     this.scoreimage      = new global::VAS.UI.Helpers.ImageView();
     this.scoreimage.Name = "scoreimage";
     this.scoreimage.Xpad = 5;
     this.scoreimage.Ypad = 5;
     this.scorebutton.Add(this.scoreimage);
     this.hbox4.Add(this.scorebutton);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.scorebutton]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.cardbutton          = new global::Gtk.Button();
     this.cardbutton.CanFocus = true;
     this.cardbutton.Name     = "cardbutton";
     // Container child cardbutton.Gtk.Container+ContainerChild
     this.cardimage      = new global::VAS.UI.Helpers.ImageView();
     this.cardimage.Name = "cardimage";
     this.cardimage.Xpad = 5;
     this.cardimage.Ypad = 5;
     this.cardbutton.Add(this.cardimage);
     this.hbox4.Add(this.cardbutton);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.cardbutton]));
     w27.Position = 3;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.timerbutton          = new global::Gtk.Button();
     this.timerbutton.CanFocus = true;
     this.timerbutton.Name     = "timerbutton";
     // Container child timerbutton.Gtk.Container+ContainerChild
     this.timerimage      = new global::VAS.UI.Helpers.ImageView();
     this.timerimage.Name = "timerimage";
     this.timerimage.Xpad = 5;
     this.timerimage.Ypad = 5;
     this.timerbutton.Add(this.timerimage);
     this.hbox4.Add(this.timerbutton);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.timerbutton]));
     w29.Position = 4;
     w29.Expand   = false;
     w29.Fill     = false;
     this.vbox17.Add(this.hbox4);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox17 [this.hbox4]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     this.dashboardeditorbuttonbar.Add(this.vbox17);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorbuttonbar [this.vbox17]));
     w31.Position = 3;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child dashboardeditorbuttonbar.Gtk.Box+BoxChild
     this.categoryheaderimagealignment               = new global::Gtk.Alignment(1F, 1F, 0F, 0F);
     this.categoryheaderimagealignment.Name          = "categoryheaderimagealignment";
     this.categoryheaderimagealignment.RightPadding  = ((uint)(24));
     this.categoryheaderimagealignment.BottomPadding = ((uint)(14));
     // Container child categoryheaderimagealignment.Gtk.Container+ContainerChild
     this.categoryheaderimage        = new global::VAS.UI.Helpers.ImageView();
     this.categoryheaderimage.Name   = "categoryheaderimage";
     this.categoryheaderimage.Yalign = 1F;
     this.categoryheaderimagealignment.Add(this.categoryheaderimage);
     this.dashboardeditorbuttonbar.Add(this.categoryheaderimagealignment);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorbuttonbar [this.categoryheaderimagealignment]));
     w33.Position = 4;
     this.contentvbox.Add(this.dashboardeditorbuttonbar);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.contentvbox [this.dashboardeditorbuttonbar]));
     w34.Position = 0;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child contentvbox.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 15;
     // Container child hbox1.Gtk.Box+BoxChild
     this.templatesvbox = new global::Gtk.VBox();
     this.templatesvbox.WidthRequest = 320;
     this.templatesvbox.Name         = "templatesvbox";
     this.templatesvbox.Spacing      = 6;
     // Container child templatesvbox.Gtk.Box+BoxChild
     this.limitationAlignment      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.limitationAlignment.Name = "limitationAlignment";
     // Container child limitationAlignment.Gtk.Container+ContainerChild
     this.limitationWidget        = new global::LongoMatch.Gui.Component.LMLimitationWidget();
     this.limitationWidget.Events = ((global::Gdk.EventMask)(256));
     this.limitationWidget.Name   = "limitationWidget";
     this.limitationAlignment.Add(this.limitationWidget);
     this.templatesvbox.Add(this.limitationAlignment);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.templatesvbox [this.limitationAlignment]));
     w36.Position = 0;
     w36.Expand   = false;
     w36.Fill     = false;
     // Container child templatesvbox.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.dashboardseditortreeview          = new global::Gtk.TreeView();
     this.dashboardseditortreeview.CanFocus = true;
     this.dashboardseditortreeview.Name     = "dashboardseditortreeview";
     this.GtkScrolledWindow1.Add(this.dashboardseditortreeview);
     this.templatesvbox.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.templatesvbox [this.GtkScrolledWindow1]));
     w38.Position = 1;
     this.hbox1.Add(this.templatesvbox);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.templatesvbox]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.dashboardwidget        = new global::LongoMatch.Gui.Component.DashboardWidget();
     this.dashboardwidget.Events = ((global::Gdk.EventMask)(256));
     this.dashboardwidget.Name   = "dashboardwidget";
     this.vbox4.Add(this.dashboardwidget);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.dashboardwidget]));
     w40.Position = 0;
     this.hbox1.Add(this.vbox4);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
     w41.Position = 1;
     this.contentvbox.Add(this.hbox1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.contentvbox [this.hbox1]));
     w42.Position = 1;
     this.contentalignment.Add(this.contentvbox);
     this.dashboardeditorvbox.Add(this.contentalignment);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.dashboardeditorvbox [this.contentalignment]));
     w44.Position = 1;
     this.Add(this.dashboardeditorvbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }