Пример #1
0
        private void BuildAddView()
        {
            //ViewBox.Remove(TreeModView);

            // ------------------INICIALIZACION---------------------

            // Entrys.
            EntryName    = new Gtk.Entry("");
            EntryMeters  = new Gtk.Entry("");
            EntryMinutes = new Gtk.Entry("");

            // Entrys Properties.
            EntryName.Alignment    = 0.5f;
            EntryMeters.Alignment  = 0.5f;
            EntryMinutes.Alignment = 0.5f;

            // Labels.
            var NameLabel    = new Gtk.Label("Name:");
            var MetersLabel  = new Gtk.Label("Meters:");
            var MinutesLabel = new Gtk.Label("Minutes:");

            // Buttons.
            var SaveButton = new Gtk.Button("ADD");

            SaveButton.Clicked += (o, args) => OnAdd();

            // VBoxs.
            var ItemNameBlock    = new Gtk.HBox(false, 5);
            var ItemMetersBlock  = new Gtk.HBox(false, 5);
            var ItemMinutesBlock = new Gtk.HBox(false, 5);

            // HBoxs.
            var NewItemSpace    = new Gtk.VBox(false, 5);
            var ButtonSaveSpace = new Gtk.HBox(false, 5);

            // -------------------COMPOSICION------------------------

            // Fill vboxs.
            ItemNameBlock.Add(NameLabel);
            ItemNameBlock.Add(EntryName);

            ItemMetersBlock.Add(MetersLabel);
            ItemMetersBlock.Add(EntryMeters);

            ItemMinutesBlock.Add(MinutesLabel);
            ItemMinutesBlock.Add(EntryMinutes);

            // Fill hboxs.
            NewItemSpace.Add(ItemNameBlock);
            NewItemSpace.Add(ItemMetersBlock);
            NewItemSpace.Add(ItemMinutesBlock);
            ButtonSaveSpace.Add(SaveButton);

            // Compose main vBox.
            TreeAddView.PackStart(NewItemSpace, true, true, 5);
            TreeAddView.PackStart(ButtonSaveSpace, true, true, 5);

            // Add main box to the window
            ViewBox.Add(TreeAddView);
        }
Пример #2
0
        public void Create(RadioMenuItem controller)
        {
            if (controller != null)
            {
                Control         = new Gtk.RadioMenuItem((Gtk.RadioMenuItem)controller.ControlObject);
                this.controller = (RadioMenuItemHandler)controller.Handler;
            }
            else
            {
                this.controller = this;
                Control         = new Gtk.RadioMenuItem(string.Empty);
                foreach (Gtk.Widget w in Control.Children)
                {
                    Control.Remove(w);
                }
            }

            var hbox = new Gtk.HBox(false, 4);

            label              = new Gtk.AccelLabel(string.Empty);
            label.Xalign       = 0;
            label.UseUnderline = true;
            label.AccelWidget  = Control;
            hbox.Add(label);
            accelLabel         = new Gtk.Label();
            accelLabel.Xalign  = 1;
            accelLabel.Visible = false;
            hbox.Add(accelLabel);
            Control.Add(hbox);
        }
Пример #3
0
        private void CreateContent(Gtk.Image img)
        {
            if (button.Child != null)
            {
                button.Remove(button.Child);
            }


            Gtk.Box content = new Gtk.HBox();
            button.Add(content);
            content.Show();

            if (img != null)
            {
                content.Add(img);
            }


            if (label != null)
            {
                label = new Gtk.Label(label.Text);  //for some stupid reason we have to re-create it (why??)
                label.Show();
                content.Add(label);
            }
        }
Пример #4
0
        /// <summary>
        /// Construye la vista sobre la que se basa la aplicación
        /// </summary>
        /// <returns>Void</returns>
        private void Build()
        {
            // ----------------------TAMANHO-----------------------

            //SetGeometryHints(
            //	this, new Gdk.Geometry() { MinWidth = 400, MinHeight = 400 }, Gdk.WindowHints.MinSize);

            // ----------------------EVENTOS-----------------------

            DeleteEvent += (o, args) => OnClose();

            // ----------------------VISTAS------------------------

            var Layout  = new Gtk.HBox(false, 5);
            var MainBox = new Gtk.VBox(false, 5);

            MainBox.Add(new Gtk.HSeparator());
            MainBox.Add(CalendarView());
            MainBox.Add(new Gtk.HSeparator());
            MainBox.Add(MeasureView());
            MainBox.Add(new Gtk.HSeparator());
            MainBox.Add(ExercisesListView());
            MainBox.Add(new Gtk.HSeparator());
            MainBox.Add(ExercisesAddView());
            MainBox.Add(new Gtk.HSeparator());
            MainBox.Add(GraphicView());
            MainBox.Add(new Gtk.HSeparator());

            Layout.Add(new Gtk.VSeparator());
            Layout.Add(MainBox);
            Layout.Add(new Gtk.VSeparator());

            this.Add(Layout);
        }
Пример #5
0
        /// <summary>
        /// Genera la vista que añade medidas nuevas que cotendrán los parametros: <see cref="MesureWeight"></see> y <see cref="MesureSize"></see>
        /// </summary>
        /// <returns>Muestra la vista que permite añadir una medida</returns>
        private Gtk.HBox MeasureView()
        {
            var ViewBox = new Gtk.HBox(false, 5);

            // ------------------INICIALIZACION---------------------

            // Entrys.
            MeasureWeight = new Gtk.Entry("");
            MeasureSize   = new Gtk.Entry("");

            // Entrys Properties.
            MeasureWeight.Alignment = 0.5f;
            MeasureSize.Alignment   = 0.5f;

            // Labels.
            var WeightLabel = new Gtk.Label("Weight:");
            var SizeLabel   = new Gtk.Label("Size:");

            // Buttons.
            var SaveButton = new Gtk.Button("SAVE");

            SaveButton.Clicked += (o, args) => MeasureAdd();

            // -------------------COMPOSICION------------------------

            // Compose main Box.
            ViewBox.Add(WeightLabel);
            ViewBox.Add(MeasureWeight);
            ViewBox.Add(SizeLabel);
            ViewBox.Add(MeasureSize);
            ViewBox.Add(SaveButton);

            // Add main box to the window.
            return(ViewBox);
        }
Пример #6
0
        public void Create(RadioMenuItem controller)
        {
            if (controller != null)
            {
                Control = new Gtk.RadioMenuItem((Gtk.RadioMenuItem)controller.ControlObject);
            }
            else
            {
                Control = new Gtk.RadioMenuItem(string.Empty);
                foreach (Gtk.Widget w in Control.Children)
                {
                    Control.Remove(w);
                }
            }

            Control.Sensitive = enabled;
            var hbox = new Gtk.HBox(false, 4);

            hbox.Add(label);
            hbox.Add(accelLabel);
            Control.Add(hbox);
            Control.Activated += Connector.HandleActivated;
            Control.ShowAll();

            label.AccelWidget = Control;
        }
Пример #7
0
        public EngineManagerDialog(EngineManager engineManager)
        {
            Trace.Call(engineManager);

            if (engineManager == null) {
                throw new ArgumentNullException("engineManager");
            }

            _EngineManager = engineManager;

            Modal = true;
            Title = "Smuxi - " + _("Engine Manager");
            SetPosition(Gtk.WindowPosition.CenterAlways);

            Gtk.HBox connect_hbox = new Gtk.HBox();
            Gtk.Image connect_image = new Gtk.Image(
                new Gdk.Pixbuf(null, "connect-button.svg", 22, 22));
            connect_hbox.Add(connect_image);
            connect_hbox.Add(new Gtk.Label(_("_Connect")));
            AddActionWidget(new Gtk.Button(connect_hbox), 1);

            AddActionWidget(new Gtk.Button(Gtk.Stock.New), 3);

            Gtk.Button edit_button = new Gtk.Button(Gtk.Stock.Edit);
            _EditButton = edit_button;
            AddActionWidget(edit_button, 2);

            _DeleteButton = new Gtk.Button(Gtk.Stock.Delete);
            AddActionWidget(_DeleteButton, 4);
            AddActionWidget(new Gtk.Button(Gtk.Stock.Quit), 5);
            Response += new Gtk.ResponseHandler(_OnResponse);

            Gtk.VBox vbox = new Gtk.VBox();
            Gtk.Label label = new Gtk.Label("<b>" +
                                            _("Select which Smuxi engine you want to connect to") +
                                            "</b>");
            label.UseMarkup = true;
            vbox.PackStart(label, false, false, 5);

            Gtk.HBox hbox = new Gtk.HBox();
            hbox.PackStart(new Gtk.Label(_("Engine:")), false, false, 5);

            _ListStore = new Gtk.ListStore(typeof(string));
            _ComboBox = new Gtk.ComboBox();
            Gtk.CellRendererText cell = new Gtk.CellRendererText();
            _ComboBox.PackStart(cell, false);
            _ComboBox.AddAttribute(cell, "text", 0);
            _ComboBox.Changed += new EventHandler(_OnComboBoxChanged);
            _ComboBox.Model = _ListStore;
            _InitEngineList();

            hbox.PackStart(_ComboBox, true, true, 10);

            vbox.PackStart(hbox, false, false, 10);

            VBox.Add(vbox);

            ShowAll();
        }
Пример #8
0
        public void createGui()
        {
            basedir_section = new Section("cuesheets-basedir", "CueSheet Music Directory:", 20);
            source_page.Add(basedir_section);

            string dir = _source.getCueSheetDir();

            Gtk.Label             lbl = new Gtk.Label("CueSheet Music Directory:");
            Gtk.FileChooserButton btn = new Gtk.FileChooserButton("CueSheet Music Directory:", Gtk.FileChooserAction.SelectFolder);
            if (dir != null)
            {
                btn.SelectFilename(dir);
            }
            Gtk.HBox box = new Gtk.HBox();
            box.Add(lbl);
            box.Add(btn);
            box.ShowAll();
            btn.CurrentFolderChanged += delegate(object sender, EventArgs args) {
                string dir1 = btn.Filename;
                Hyena.Log.Information("Folder changed to = " + dir1);
            };
            btn.FileSet += delegate(object sender, EventArgs args) {
                string dir1 = btn.Filename;
                Hyena.Log.Information("Base directory changed to = " + dir1);
                _source.setCueSheetDir(dir1);
            };

            Console.WriteLine(_source);

            Gtk.VBox vb = new Gtk.VBox();
            vb.PackStart(box, false, false, 0);

            Gtk.Image  icn_about = new Gtk.Image(Gtk.Stock.About, Gtk.IconSize.Button);
            Gtk.Button about     = new Gtk.Button(icn_about);
            about.Clicked += new EventHandler(handleAbout);
            Gtk.HBox  hb     = new Gtk.HBox();
            Gtk.Label _about = new Gtk.Label("About the CueSheet extension");
            hb.PackEnd(about, false, false, 0);
            hb.PackEnd(_about, false, false, 5);
            vb.PackStart(hb, false, false, 0);
            Gtk.HBox   hb1      = new Gtk.HBox();
            Gtk.Label  _info    = new Gtk.Label("How to use the Cuesheet extension (opens browser)");
            Gtk.Image  icn_info = new Gtk.Image(Gtk.Stock.Info, Gtk.IconSize.Button);
            Gtk.Button btn_info = new Gtk.Button(icn_info);
            btn_info.Clicked += new EventHandler(handleInfo);
            hb1.PackEnd(btn_info, false, false, 0);
            hb1.PackEnd(_info, false, false, 5);
            vb.PackStart(hb1, false, false, 0);

            Gtk.HBox hbX = new Gtk.HBox();
            vb.PackEnd(hbX, true, true, 0);

            vb.ShowAll();

            source_page.DisplayWidget = vb;
        }
        public void createGui()
        {
            basedir_section=new Section("cuesheets-basedir","CueSheet Music Directory:",20);
            source_page.Add (basedir_section);

            string dir=_source.getCueSheetDir();
            Gtk.Label lbl=new Gtk.Label("CueSheet Music Directory:");
            Gtk.FileChooserButton btn=new Gtk.FileChooserButton("CueSheet Music Directory:",Gtk.FileChooserAction.SelectFolder);
            if (dir!=null) {
                btn.SelectFilename (dir);
            }
            Gtk.HBox box=new Gtk.HBox();
            box.Add (lbl);
            box.Add (btn);
            box.ShowAll ();
            btn.CurrentFolderChanged+=delegate(object sender,EventArgs args) {
                string dir1=btn.Filename;
                Hyena.Log.Information ("Folder changed to = "+dir1);
            };
            btn.FileSet+=delegate(object sender,EventArgs args) {
                string dir1=btn.Filename;
                Hyena.Log.Information ("Base directory changed to = "+dir1);
                _source.setCueSheetDir(dir1);
            };

            Console.WriteLine (_source);

            Gtk.VBox vb=new Gtk.VBox();
            vb.PackStart (box,false,false,0);

            Gtk.Image icn_about=new Gtk.Image(Gtk.Stock.About,Gtk.IconSize.Button);
            Gtk.Button about=new Gtk.Button(icn_about);
            about.Clicked+=new EventHandler(handleAbout);
            Gtk.HBox hb=new Gtk.HBox();
            Gtk.Label _about=new Gtk.Label("About the CueSheet extension");
            hb.PackEnd (about,false,false,0);
            hb.PackEnd (_about,false,false,5);
            vb.PackStart (hb,false,false,0);
            Gtk.HBox hb1=new Gtk.HBox();
            Gtk.Label _info=new Gtk.Label("How to use the Cuesheet extension (opens browser)");
            Gtk.Image icn_info=new Gtk.Image(Gtk.Stock.Info,Gtk.IconSize.Button);
            Gtk.Button btn_info=new Gtk.Button(icn_info);
            btn_info.Clicked+=new EventHandler(handleInfo);
            hb1.PackEnd(btn_info,false,false,0);
            hb1.PackEnd(_info,false,false,5);
            vb.PackStart (hb1,false,false,0);

            Gtk.HBox hbX=new Gtk.HBox();
            vb.PackEnd (hbX,true,true,0);

            vb.ShowAll ();

            source_page.DisplayWidget = vb;
        }
Пример #10
0
        private void OnViewBoxes()
        {
            var dlg = new Gtk.Dialog( "Boxes", this, Gtk.DialogFlags.Modal );

            var hbBox1 = new Gtk.HBox( false, 5 );
            hbBox1.Add( new Gtk.Label( "This is hbox 1" ) );
            var hbBox2 = new Gtk.HBox( false, 5 );
            hbBox2.Add( new Gtk.Label( "This is hbox 2" ) );
            var hbBox3 = new Gtk.HBox( false, 5 );
            hbBox3.Add( new Gtk.Label( "This is hbox 3" ) );

            dlg.VBox.PackStart( hbBox1, true, true, 5 );
            dlg.VBox.PackStart( hbBox2, true, true, 5 );
            dlg.VBox.PackStart( hbBox3, true, true, 5 );

            dlg.SetGeometryHints(
                dlg,
                new Gdk.Geometry() {
                    MinHeight = 200,
                    MinWidth = 320
                },
                Gdk.WindowHints.MinSize
            );

            dlg.AddButton( "Ok", Gtk.ResponseType.Ok );
            dlg.ShowAll();
            dlg.Run();
            dlg.Destroy();
        }
Пример #11
0
        /// <summary>
        /// Genera la vista que muestra el gráfico en la aplicación actualizando el <see cref="DrawingArea"></see>
        /// </summary>
        /// <returns>La vista que contiene el gráfico a mostrar</returns>
        private Gtk.HBox GraphicView()
        {
            var RightBox   = new Gtk.VBox(false, 5);
            var ViewBox    = new Gtk.HBox(false, 5);
            var Scrollable = new Gtk.ScrolledWindow();

            // ------------------INICIALIZACION---------------------

            var WeightButton = new Gtk.Button("WEIGHT");

            WeightButton.Clicked += (o, args) => GraphicWeight();

            var SizeButton = new Gtk.Button("SIZE");

            SizeButton.Clicked += (o, args) => GraphicSize();

            var TimeButton = new Gtk.Button("TIME");

            TimeButton.Clicked += (o, args) => GraphicTime();

            var DistButton = new Gtk.Button("DIST");

            DistButton.Clicked += (o, args) => GraphicDist();


            // -------------------COMPOSICION------------------------

            DrawingArea = new Gtk.DrawingArea();
            Scrollable.AddWithViewport(DrawingArea);

            // Fill Boxs.
            RightBox.Add(WeightButton);
            RightBox.Add(SizeButton);
            RightBox.Add(TimeButton);
            RightBox.Add(DistButton);

            // Compose main Box.
            ViewBox.Add(Scrollable);
            ViewBox.Add(RightBox);

            // Add main box to the window.
            return(ViewBox);
        }
Пример #12
0
        public void do_init()
        {
            this.Title = "Subdivision Test";

            MainCanvas a = new MainCanvas();

            Gtk.Box box = new Gtk.HBox(true, 0);
            box.Add(a);
            this.Add(box);
            this.Resize(500, 500);
            this.ShowAll();
        }
Пример #13
0
        private void Build()
        {
            // EVENTS
            this.DeleteEvent += (o, args) => this.OnClose();


            // BOTONES
            var OkButton = new Gtk.Button("OK");

            OkButton.Clicked += (sender, e) => this.OK();

            var CancelButton = new Gtk.Button("Cancel");

            CancelButton.Clicked += (sender, e) => this.OnClose();

            // WIDGETS
            this.EntryName           = new Gtk.Entry("");
            this.EntryName.Alignment = 0.5f;

            var SectionTitle = new Gtk.Label("<b>Your Name? </b>");

            SectionTitle.UseMarkup = true;


            // BOXS
            var vbMain       = new Gtk.VBox(false, 5);
            var NameBlock    = new Gtk.HBox(false, 5);
            var ButtonsBlock = new Gtk.HBox(false, 5);

            NameBlock.Add(SectionTitle);
            NameBlock.Add(this.EntryName);

            ButtonsBlock.Add(CancelButton);
            ButtonsBlock.Add(OkButton);

            vbMain.PackStart(NameBlock, false, false, 5);
            vbMain.PackStart(ButtonsBlock, false, false, 5);

            this.Add(vbMain);
        }
Пример #14
0
        /// <summary>
        /// Genera la vista que añade ejercicios nuevos que cotendrán los parametros: <see cref="ExerciseDist"></see> y <see cref="ExerciseMin"></see>
        /// </summary>
        /// <returns>Muestra la vista que permite añadir un ejercicio</returns>
        private Gtk.HBox ExercisesAddView()
        {
            var ViewBox = new Gtk.HBox(false, 5);

            // ------------------INICIALIZACION---------------------

            // Entrys.
            ExerciseDist = new Gtk.Entry("");
            ExerciseMins = new Gtk.Entry("");

            // Entrys Properties.
            ExerciseDist.Alignment = 0.5f;
            ExerciseMins.Alignment = 0.5f;

            // Labels.
            var DistLabel = new Gtk.Label("Dist:");
            var MinsLabel = new Gtk.Label("Mins:");

            // Buttons.
            var SaveButton = new Gtk.Button("SAVE");

            SaveButton.Clicked += (o, args) => ExerciseAdd();

            // -------------------COMPOSICION------------------------

            // Fill vboxs.
            ViewBox.Add(DistLabel);
            ViewBox.Add(ExerciseDist);
            ViewBox.Add(MinsLabel);
            ViewBox.Add(ExerciseMins);

            // Compose main vBox.
            ViewBox.Add(SaveButton);

            // Add main box to the window
            return(ViewBox);
        }
Пример #15
0
        /// <summary>
        /// Calcula la vista que mostrará la lista de ejercicios (<see cref="ExerciseTreeView"></see>).
        /// </summary>
        /// <returns>La vista en la que se muestra una lista de los ejercicios (<see cref="ExerciseTreeView"></see>).</returns>
        private Gtk.VBox ExercisesListView()
        {
            var ViewBox = new Gtk.VBox(false, 5);

            // ------------------INICIALIZACION---------------------

            // Tree.
            ExercisesTreeview = new Gtk.TreeView();
            ExercisesTreeview.HeightRequest = 150;

            // Tree model.
            ExercisesTreeview.Model =
                new Gtk.ListStore(typeof(string), typeof(string), typeof(string));

            // Tree events
            ExercisesTreeview.ButtonPressEvent += new Gtk.ButtonPressEventHandler(OnRightExercise);

            // Tree columns.
            var DistRender = new Gtk.CellRendererText();

            DistRender.Editable = true;
            DistRender.Edited  += ExercisesDistEdit;

            var MinsRender = new Gtk.CellRendererText();

            MinsRender.Editable = true;
            MinsRender.Edited  += ExercisesMinsEdit;

            // Boxes Creation.
            var TreeScroll = new Gtk.ScrolledWindow();
            var TreeSpace  = new Gtk.HBox(false, 5);

            // -------------------COMPOSICION------------------------

            // Tree Columns Append.
            ExercisesTreeview.AppendColumn("Dist", DistRender, "text", 0);
            ExercisesTreeview.AppendColumn("Mins", MinsRender, "text", 1);
            ExercisesTreeview.AppendColumn("Date", new Gtk.CellRendererText(), "text", 2);

            // Fill Boxes.
            TreeScroll.Add(ExercisesTreeview);
            TreeSpace.Add(TreeScroll);

            ViewBox.Add(TreeSpace);

            return(ViewBox);
        }
Пример #16
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
     this.XBMControlAction            = new Gtk.Action("XBMControlAction", Mono.Unix.Catalog.GetString("XBMControl"), null, null);
     this.XBMControlAction.ShortLabel = Mono.Unix.Catalog.GetString("XBMControl");
     w1.Add(this.XBMControlAction, null);
     this.QuitAction            = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-disconnect");
     this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.QuitAction, null);
     this.XBMCAction            = new Gtk.Action("XBMCAction", Mono.Unix.Catalog.GetString("XBMC"), null, null);
     this.XBMCAction.ShortLabel = Mono.Unix.Catalog.GetString("XBMC");
     w1.Add(this.XBMCAction, null);
     this.PlaylistAction            = new Gtk.Action("PlaylistAction", Mono.Unix.Catalog.GetString("Playlist"), null, null);
     this.PlaylistAction.ShortLabel = Mono.Unix.Catalog.GetString("Playlist");
     w1.Add(this.PlaylistAction, null);
     this.HelpAction            = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.UpdateMusicLibraryAction            = new Gtk.Action("UpdateMusicLibraryAction", Mono.Unix.Catalog.GetString("Update music library"), null, null);
     this.UpdateMusicLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Update music library");
     w1.Add(this.UpdateMusicLibraryAction, null);
     this.UpdateVideoLibraryAction            = new Gtk.Action("UpdateVideoLibraryAction", Mono.Unix.Catalog.GetString("Update video library"), null, null);
     this.UpdateVideoLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Update video library");
     w1.Add(this.UpdateVideoLibraryAction, null);
     this.UpdateLibraryAction            = new Gtk.Action("UpdateLibraryAction", Mono.Unix.Catalog.GetString("Update Library"), null, null);
     this.UpdateLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Library");
     w1.Add(this.UpdateLibraryAction, null);
     this.MusicAction            = new Gtk.Action("MusicAction", Mono.Unix.Catalog.GetString("Music"), null, "gtk-harddisk");
     this.MusicAction.ShortLabel = Mono.Unix.Catalog.GetString("Update music library");
     w1.Add(this.MusicAction, null);
     this.VideoAction            = new Gtk.Action("VideoAction", Mono.Unix.Catalog.GetString("Video"), null, "gtk-harddisk");
     this.VideoAction.ShortLabel = Mono.Unix.Catalog.GetString("Update video library");
     w1.Add(this.VideoAction, null);
     this.RestartAction            = new Gtk.Action("RestartAction", Mono.Unix.Catalog.GetString("Restart"), null, "gtk-refresh");
     this.RestartAction.ShortLabel = Mono.Unix.Catalog.GetString("Restart");
     w1.Add(this.RestartAction, null);
     this.RebootAction            = new Gtk.Action("RebootAction", Mono.Unix.Catalog.GetString("Reboot"), null, "gtk-refresh");
     this.RebootAction.ShortLabel = Mono.Unix.Catalog.GetString("Reboot");
     w1.Add(this.RebootAction, null);
     this.ShutdownAction            = new Gtk.Action("ShutdownAction", Mono.Unix.Catalog.GetString("Shutdown"), null, "gtk-quit");
     this.ShutdownAction.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown");
     w1.Add(this.ShutdownAction, null);
     this.ConfigurationAction            = new Gtk.Action("ConfigurationAction", Mono.Unix.Catalog.GetString("Configuration"), null, "gtk-edit");
     this.ConfigurationAction.ShortLabel = Mono.Unix.Catalog.GetString("_Preferences");
     w1.Add(this.ConfigurationAction, null);
     this.clearAction = new Gtk.Action("clearAction", null, Mono.Unix.Catalog.GetString("Clear playlist"), "gtk-clear");
     w1.Add(this.clearAction, null);
     this.openAction = new Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.saveAction = new Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.saveAsAction = new Gtk.Action("saveAsAction", null, null, "gtk-save-as");
     w1.Add(this.saveAsAction, null);
     this.aRefreshPlaylist = new Gtk.Action("aRefreshPlaylist", null, null, "gtk-refresh");
     w1.Add(this.aRefreshPlaylist, null);
     this.aRemoveSelected = new Gtk.Action("aRemoveSelected", null, Mono.Unix.Catalog.GetString("Remove selected item"), "gtk-remove");
     w1.Add(this.aRemoveSelected, null);
     this.aPlaySelected = new Gtk.Action("aPlaySelected", null, Mono.Unix.Catalog.GetString("Play selected item"), "gtk-media-play");
     w1.Add(this.aPlaySelected, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.WidthRequest   = 900;
     this.HeightRequest  = 600;
     this.Name           = "MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("XBMControl Evo");
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.DefaultWidth   = 800;
     this.DefaultHeight  = 600;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='XBMControlAction' action='XBMControlAction'><menuitem name='ConfigurationAction' action='ConfigurationAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='XBMCAction' action='XBMCAction'><menu name='UpdateLibraryAction' action='UpdateLibraryAction'><menuitem name='MusicAction' action='MusicAction'/><menuitem name='VideoAction' action='VideoAction'/></menu><menuitem name='RestartAction' action='RestartAction'/><menuitem name='RebootAction' action='RebootAction'/><menuitem name='ShutdownAction' action='ShutdownAction'/></menu><menu name='PlaylistAction' action='PlaylistAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 300;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.nbBrowser = new Gtk.Notebook();
     this.nbBrowser.WidthRequest = 300;
     this.nbBrowser.CanFocus     = true;
     this.nbBrowser.Name         = "nbBrowser";
     this.nbBrowser.CurrentPage  = 0;
     // Container child nbBrowser.Gtk.Notebook+NotebookChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cbShareType = Gtk.ComboBox.NewText();
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Music"));
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Video"));
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Pictures"));
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Files"));
     this.cbShareType.Name   = "cbShareType";
     this.cbShareType.Active = 0;
     this.vbox3.Add(this.cbShareType);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox3[this.cbShareType]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.tvShareBrowser          = new Gtk.TreeView();
     this.tvShareBrowser.CanFocus = true;
     this.tvShareBrowser.Name     = "tvShareBrowser";
     this.GtkScrolledWindow.Add(this.tvShareBrowser);
     this.vbox3.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
     w5.Position = 1;
     this.nbBrowser.Add(this.vbox3);
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Shares");
     this.nbBrowser.SetTabLabel(this.vbox3, this.label2);
     this.label2.ShowAll();
     this.hpaned1.Add(this.nbBrowser);
     Gtk.Paned.PanedChild w7 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.nbBrowser]));
     w7.Resize = false;
     w7.Shrink = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.nbDataContainer             = new Gtk.Notebook();
     this.nbDataContainer.CanFocus    = true;
     this.nbDataContainer.Name        = "nbDataContainer";
     this.nbDataContainer.CurrentPage = 0;
     this.nbDataContainer.ShowBorder  = false;
     this.nbDataContainer.Scrollable  = true;
     // Container child nbDataContainer.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     Gtk.Viewport w8 = new Gtk.Viewport();
     w8.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.fixedNowPlaying           = new Gtk.Fixed();
     this.fixedNowPlaying.Name      = "fixedNowPlaying";
     this.fixedNowPlaying.HasWindow = false;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.imgNowPlaying = new Gtk.Image();
     this.imgNowPlaying.WidthRequest  = 300;
     this.imgNowPlaying.HeightRequest = 300;
     this.imgNowPlaying.Name          = "imgNowPlaying";
     this.fixedNowPlaying.Add(this.imgNowPlaying);
     Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.imgNowPlaying]));
     w9.X = 20;
     w9.Y = 145;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lArtist = new Gtk.Label();
     this.lArtist.WidthRequest = 555;
     this.lArtist.Name         = "lArtist";
     this.fixedNowPlaying.Add(this.lArtist);
     Gtk.Fixed.FixedChild w10 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lArtist]));
     w10.X = 10;
     w10.Y = 10;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lSong = new Gtk.Label();
     this.lSong.WidthRequest = 555;
     this.lSong.Name         = "lSong";
     this.fixedNowPlaying.Add(this.lSong);
     Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lSong]));
     w11.X = 10;
     w11.Y = 34;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lAlbum = new Gtk.Label();
     this.lAlbum.WidthRequest = 555;
     this.lAlbum.Name         = "lAlbum";
     this.fixedNowPlaying.Add(this.lAlbum);
     Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lAlbum]));
     w12.X = 10;
     w12.Y = 70;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lGenre = new Gtk.Label();
     this.lGenre.WidthRequest = 155;
     this.lGenre.Name         = "lGenre";
     this.fixedNowPlaying.Add(this.lGenre);
     Gtk.Fixed.FixedChild w13 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lGenre]));
     w13.X = 410;
     w13.Y = 98;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lProgress = new Gtk.Label();
     this.lProgress.WidthRequest = 150;
     this.lProgress.Name         = "lProgress";
     this.fixedNowPlaying.Add(this.lProgress);
     Gtk.Fixed.FixedChild w14 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lProgress]));
     w14.X = 353;
     w14.Y = 430;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lDuration = new Gtk.Label();
     this.lDuration.WidthRequest = 60;
     this.lDuration.Name         = "lDuration";
     this.fixedNowPlaying.Add(this.lDuration);
     Gtk.Fixed.FixedChild w15 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lDuration]));
     w15.X = 502;
     w15.Y = 430;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lYear = new Gtk.Label();
     this.lYear.WidthRequest = 155;
     this.lYear.Name         = "lYear";
     this.fixedNowPlaying.Add(this.lYear);
     Gtk.Fixed.FixedChild w16 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lYear]));
     w16.X = 410;
     w16.Y = 84;
     w8.Add(this.fixedNowPlaying);
     this.GtkScrolledWindow1.Add(w8);
     this.nbDataContainer.Add(this.GtkScrolledWindow1);
     // Notebook tab
     this.labelMediaInfo           = new Gtk.Label();
     this.labelMediaInfo.Name      = "labelMediaInfo";
     this.labelMediaInfo.LabelProp = Mono.Unix.Catalog.GetString("Playing Now");
     this.nbDataContainer.SetTabLabel(this.GtkScrolledWindow1, this.labelMediaInfo);
     this.labelMediaInfo.ShowAll();
     // Container child nbDataContainer.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.cbPlaylistType = Gtk.ComboBox.NewText();
     this.cbPlaylistType.AppendText(Mono.Unix.Catalog.GetString("Music"));
     this.cbPlaylistType.AppendText(Mono.Unix.Catalog.GetString("Video"));
     this.cbPlaylistType.Name   = "cbPlaylistType";
     this.cbPlaylistType.Active = 0;
     this.vbox2.Add(this.cbPlaylistType);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox2[this.cbPlaylistType]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.tvPlaylist          = new Gtk.TreeView();
     this.tvPlaylist.CanFocus = true;
     this.tvPlaylist.Name     = "tvPlaylist";
     this.GtkScrolledWindow2.Add(this.tvPlaylist);
     this.vbox2.Add(this.GtkScrolledWindow2);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow2]));
     w22.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='aRefreshPlaylist' action='aRefreshPlaylist'/><toolitem name='aRemoveSelected' action='aRemoveSelected'/><toolitem name='aPlaySelected' action='aPlaySelected'/></toolbar></ui>");
     this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.TooltipMarkup = "Refresh playlist";
     this.toolbar1.Name          = "toolbar1";
     this.toolbar1.ShowArrow     = false;
     this.toolbar1.ToolbarStyle  = ((Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize      = ((Gtk.IconSize)(3));
     this.vbox2.Add(this.toolbar1);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox2[this.toolbar1]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.nbDataContainer.Add(this.vbox2);
     Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.nbDataContainer[this.vbox2]));
     w24.Position = 1;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Playlist");
     this.nbDataContainer.SetTabLabel(this.vbox2, this.label3);
     this.label3.ShowAll();
     // Notebook tab
     Gtk.Label w25 = new Gtk.Label();
     w25.Visible = true;
     this.nbDataContainer.Add(w25);
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Configuration");
     this.nbDataContainer.SetTabLabel(w25, this.label4);
     this.label4.ShowAll();
     this.hpaned1.Add(this.nbDataContainer);
     Gtk.Paned.PanedChild w26 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.nbDataContainer]));
     w26.Resize = false;
     w26.Shrink = false;
     this.vbox1.Add(this.hpaned1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1]));
     w27.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.fixed1 = new Gtk.Fixed();
     this.fixed1.HeightRequest = 60;
     this.fixed1.Name          = "fixed1";
     this.fixed1.HasWindow     = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.hsVolume = new Gtk.HScale(null);
     this.hsVolume.TooltipMarkup            = "Volume";
     this.hsVolume.WidthRequest             = 120;
     this.hsVolume.CanFocus                 = true;
     this.hsVolume.Name                     = "hsVolume";
     this.hsVolume.Adjustment.Upper         = 100;
     this.hsVolume.Adjustment.PageIncrement = 10;
     this.hsVolume.Adjustment.StepIncrement = 1;
     this.hsVolume.Adjustment.Value         = 51.8987341772152;
     this.hsVolume.DrawValue                = false;
     this.hsVolume.Digits                   = 0;
     this.hsVolume.ValuePos                 = ((Gtk.PositionType)(2));
     this.fixed1.Add(this.hsVolume);
     Gtk.Fixed.FixedChild w28 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hsVolume]));
     w28.X = 730;
     w28.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.hsProgress = new Gtk.HScale(null);
     this.hsProgress.TooltipMarkup            = "Progress";
     this.hsProgress.WidthRequest             = 420;
     this.hsProgress.CanFocus                 = true;
     this.hsProgress.Name                     = "hsProgress";
     this.hsProgress.Adjustment.Upper         = 100;
     this.hsProgress.Adjustment.PageIncrement = 10;
     this.hsProgress.Adjustment.StepIncrement = 1;
     this.hsProgress.DrawValue                = false;
     this.hsProgress.Digits                   = 0;
     this.hsProgress.ValuePos                 = ((Gtk.PositionType)(2));
     this.fixed1.Add(this.hsProgress);
     Gtk.Fixed.FixedChild w29 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hsProgress]));
     w29.X = 300;
     w29.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.tbMute = new Gtk.ToggleButton();
     this.tbMute.TooltipMarkup = "Toggle Mute";
     this.tbMute.WidthRequest  = 32;
     this.tbMute.HeightRequest = 32;
     this.tbMute.CanFocus      = true;
     this.tbMute.Name          = "tbMute";
     this.tbMute.UseUnderline  = true;
     // Container child tbMute.Gtk.Container+ContainerChild
     Gtk.Alignment w30 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w31 = new Gtk.HBox();
     w31.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w32 = new Gtk.Image();
     w32.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_volume-mute", Gtk.IconSize.Button, 20);
     w31.Add(w32);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w34 = new Gtk.Label();
     w31.Add(w34);
     w30.Add(w31);
     this.tbMute.Add(w30);
     this.fixed1.Add(this.tbMute);
     Gtk.Fixed.FixedChild w38 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbMute]));
     w38.X = 850;
     w38.Y = 8;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bPrevious = new Gtk.Button();
     this.bPrevious.TooltipMarkup = "Previous";
     this.bPrevious.WidthRequest  = 35;
     this.bPrevious.HeightRequest = 35;
     this.bPrevious.CanFocus      = true;
     this.bPrevious.Name          = "bPrevious";
     this.bPrevious.UseUnderline  = true;
     // Container child bPrevious.Gtk.Container+ContainerChild
     Gtk.Alignment w39 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w40 = new Gtk.HBox();
     w40.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w41 = new Gtk.Image();
     w41.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", Gtk.IconSize.LargeToolbar, 24);
     w40.Add(w41);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w43 = new Gtk.Label();
     w40.Add(w43);
     w39.Add(w40);
     this.bPrevious.Add(w39);
     this.fixed1.Add(this.bPrevious);
     Gtk.Fixed.FixedChild w47 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bPrevious]));
     w47.X = 14;
     w47.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.tbPlay = new Gtk.ToggleButton();
     this.tbPlay.TooltipMarkup = "Play";
     this.tbPlay.WidthRequest  = 35;
     this.tbPlay.HeightRequest = 35;
     this.tbPlay.CanFocus      = true;
     this.tbPlay.Name          = "tbPlay";
     this.tbPlay.UseUnderline  = true;
     // Container child tbPlay.Gtk.Container+ContainerChild
     Gtk.Alignment w48 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w49 = new Gtk.HBox();
     w49.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w50 = new Gtk.Image();
     w50.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-play", Gtk.IconSize.LargeToolbar, 24);
     w49.Add(w50);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w52 = new Gtk.Label();
     w49.Add(w52);
     w48.Add(w49);
     this.tbPlay.Add(w48);
     this.fixed1.Add(this.tbPlay);
     Gtk.Fixed.FixedChild w56 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbPlay]));
     w56.X = 46;
     w56.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.tbStop = new Gtk.ToggleButton();
     this.tbStop.TooltipMarkup = "Stop";
     this.tbStop.WidthRequest  = 35;
     this.tbStop.HeightRequest = 35;
     this.tbStop.CanFocus      = true;
     this.tbStop.Name          = "tbStop";
     this.tbStop.UseUnderline  = true;
     // Container child tbStop.Gtk.Container+ContainerChild
     Gtk.Alignment w57 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w58 = new Gtk.HBox();
     w58.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w59 = new Gtk.Image();
     w59.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-stop", Gtk.IconSize.LargeToolbar, 24);
     w58.Add(w59);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w61 = new Gtk.Label();
     w58.Add(w61);
     w57.Add(w58);
     this.tbStop.Add(w57);
     this.fixed1.Add(this.tbStop);
     Gtk.Fixed.FixedChild w65 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbStop]));
     w65.X = 78;
     w65.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bNext = new Gtk.Button();
     this.bNext.TooltipMarkup = "Next";
     this.bNext.WidthRequest  = 35;
     this.bNext.HeightRequest = 35;
     this.bNext.CanFocus      = true;
     this.bNext.Name          = "bNext";
     this.bNext.UseUnderline  = true;
     // Container child bNext.Gtk.Container+ContainerChild
     Gtk.Alignment w66 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w67 = new Gtk.HBox();
     w67.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w68 = new Gtk.Image();
     w68.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-next", Gtk.IconSize.LargeToolbar, 24);
     w67.Add(w68);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w70 = new Gtk.Label();
     w67.Add(w70);
     w66.Add(w67);
     this.bNext.Add(w66);
     this.fixed1.Add(this.bNext);
     Gtk.Fixed.FixedChild w74 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bNext]));
     w74.X = 110;
     w74.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bRepeat = new Gtk.Button();
     this.bRepeat.TooltipMarkup = "Toggle Repeat Modes";
     this.bRepeat.WidthRequest  = 28;
     this.bRepeat.HeightRequest = 28;
     this.bRepeat.CanFocus      = true;
     this.bRepeat.Name          = "bRepeat";
     this.bRepeat.UseUnderline  = true;
     // Container child bRepeat.Gtk.Container+ContainerChild
     Gtk.Alignment w75 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w76 = new Gtk.HBox();
     w76.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w77 = new Gtk.Image();
     w77.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-redo", Gtk.IconSize.Menu, 16);
     w76.Add(w77);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w79 = new Gtk.Label();
     w76.Add(w79);
     w75.Add(w76);
     this.bRepeat.Add(w75);
     this.fixed1.Add(this.bRepeat);
     Gtk.Fixed.FixedChild w83 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bRepeat]));
     w83.X = 160;
     w83.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bShuffle = new Gtk.Button();
     this.bShuffle.TooltipMarkup = "Toggle Shuffel Mode";
     this.bShuffle.WidthRequest  = 28;
     this.bShuffle.HeightRequest = 28;
     this.bShuffle.CanFocus      = true;
     this.bShuffle.Name          = "bShuffle";
     this.bShuffle.UseUnderline  = true;
     // Container child bShuffle.Gtk.Container+ContainerChild
     Gtk.Alignment w84 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w85 = new Gtk.HBox();
     w85.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w86 = new Gtk.Image();
     w86.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_chart-toggle-legend", Gtk.IconSize.Menu, 16);
     w85.Add(w86);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w88 = new Gtk.Label();
     w85.Add(w88);
     w84.Add(w85);
     this.bShuffle.Add(w84);
     this.fixed1.Add(this.bShuffle);
     Gtk.Fixed.FixedChild w92 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bShuffle]));
     w92.X = 185;
     w92.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bPartyMode = new Gtk.Button();
     this.bPartyMode.TooltipMarkup = "Toggle Party Mode";
     this.bPartyMode.WidthRequest  = 28;
     this.bPartyMode.HeightRequest = 28;
     this.bPartyMode.CanFocus      = true;
     this.bPartyMode.Name          = "bPartyMode";
     this.bPartyMode.UseUnderline  = true;
     // Container child bPartyMode.Gtk.Container+ContainerChild
     Gtk.Alignment w93 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w94 = new Gtk.HBox();
     w94.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w95 = new Gtk.Image();
     w95.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_filters", Gtk.IconSize.Menu, 16);
     w94.Add(w95);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w97 = new Gtk.Label();
     w94.Add(w97);
     w93.Add(w94);
     this.bPartyMode.Add(w93);
     this.fixed1.Add(this.bPartyMode);
     Gtk.Fixed.FixedChild w101 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bPartyMode]));
     w101.X = 210;
     w101.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.imgLoading = new Gtk.Image();
     this.imgLoading.TooltipMarkup = "Loading data...";
     this.imgLoading.Name          = "imgLoading";
     this.imgLoading.Pixbuf        = Stetic.IconLoader.LoadIcon(this, "gtk-jump-to", Gtk.IconSize.LargeToolbar, 24);
     this.fixed1.Add(this.imgLoading);
     Gtk.Fixed.FixedChild w102 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.imgLoading]));
     w102.X = 255;
     w102.Y = 13;
     this.vbox1.Add(this.fixed1);
     Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.vbox1[this.fixed1]));
     w103.Position = 2;
     w103.Expand   = false;
     w103.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent                       += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.QuitAction.Activated              += new System.EventHandler(this.OnExit);
     this.MusicAction.Activated             += new System.EventHandler(this.click_UpdateMusicLibrary);
     this.VideoAction.Activated             += new System.EventHandler(this.click_UpdateVideoLibrary);
     this.clearAction.Activated             += new System.EventHandler(this.aClearPlaylist_click);
     this.aRefreshPlaylist.Activated        += new System.EventHandler(this.aRefreshPlaylist_activated);
     this.aRemoveSelected.Activated         += new System.EventHandler(this.aRemoveSelected_activated);
     this.aPlaySelected.Activated           += new System.EventHandler(this.aPlaySelected_activated);
     this.cbShareType.Changed               += new System.EventHandler(this.cbShareBrowser_changed);
     this.tvShareBrowser.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.tvShareBrowser_release);
     this.cbPlaylistType.Changed            += new System.EventHandler(this.cbPlaylistType_changed);
     this.tvPlaylist.ButtonReleaseEvent     += new Gtk.ButtonReleaseEventHandler(this.tvPlaylist_buttonRelease);
     this.hsVolume.ValueChanged             += new System.EventHandler(this.hsVolume_valueChanged);
     this.hsProgress.ChangeValue            += new Gtk.ChangeValueHandler(this.hsProgress_changeValue);
     this.tbMute.Released                   += new System.EventHandler(this.tbMute_released);
     this.bPrevious.Released                += new System.EventHandler(this.bPrevious_released);
     this.tbPlay.Released                   += new System.EventHandler(this.tbPlay_released);
     this.tbStop.Released                   += new System.EventHandler(this.tbStop_released);
     this.bNext.Released                    += new System.EventHandler(this.bNext_released);
     this.bRepeat.Activated                 += new System.EventHandler(this.bRepeat_click);
     this.bShuffle.Released                 += new System.EventHandler(this.bShuffle_release);
     this.bPartyMode.Released               += new System.EventHandler(this.bPartyMode_released);
 }
Пример #17
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget sermon2.LopConf
     Stetic.BinContainer.Attach(this);
     this.Name = "sermon2.LopConf";
     // Container child sermon2.LopConf.Gtk.Container+ContainerChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.table1               = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.escValueLabel           = new Gtk.Label();
     this.escValueLabel.Name      = "escValueLabel";
     this.escValueLabel.LabelProp = Mono.Unix.Catalog.GetString("escape code");
     this.table1.Add(this.escValueLabel);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.escValueLabel]));
     w1.TopAttach    = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.XOptions     = ((Gtk.AttachOptions)(4));
     w1.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.removeButton              = new Gtk.Button();
     this.removeButton.CanFocus     = true;
     this.removeButton.Name         = "removeButton";
     this.removeButton.UseUnderline = true;
     // Container child removeButton.Gtk.Container+ContainerChild
     Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w3 = new Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w4 = new Gtk.Image();
     w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w6 = new Gtk.Label();
     w6.LabelProp    = Mono.Unix.Catalog.GetString("remove");
     w6.UseUnderline = true;
     w3.Add(w6);
     w2.Add(w3);
     this.removeButton.Add(w2);
     this.table1.Add(this.removeButton);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.removeButton]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.LeftAttach   = ((uint)(2));
     w10.RightAttach  = ((uint)(3));
     w10.XOptions     = ((Gtk.AttachOptions)(4));
     w10.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.resetValueLabel           = new Gtk.Label();
     this.resetValueLabel.Name      = "resetValueLabel";
     this.resetValueLabel.LabelProp = Mono.Unix.Catalog.GetString("reset code");
     this.table1.Add(this.resetValueLabel);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.resetValueLabel]));
     w11.XOptions = ((Gtk.AttachOptions)(4));
     w11.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1          = new Gtk.SpinButton(0, 255, 1);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name     = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10;
     this.spinbutton1.ClimbRate = 1;
     this.spinbutton1.Numeric   = true;
     this.spinbutton1.Value     = 66;
     this.spinbutton1.Wrap      = true;
     this.table1.Add(this.spinbutton1);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
     w12.LeftAttach  = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions    = ((Gtk.AttachOptions)(4));
     w12.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton2          = new Gtk.SpinButton(0, 255, 1);
     this.spinbutton2.CanFocus = true;
     this.spinbutton2.Name     = "spinbutton2";
     this.spinbutton2.Adjustment.PageIncrement = 10;
     this.spinbutton2.ClimbRate = 1;
     this.spinbutton2.Numeric   = true;
     this.spinbutton2.Value     = 35;
     this.spinbutton2.Wrap      = true;
     this.table1.Add(this.spinbutton2);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton2]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((Gtk.AttachOptions)(4));
     w13.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.violationCheckButton               = new Gtk.CheckButton();
     this.violationCheckButton.CanFocus      = true;
     this.violationCheckButton.Name          = "violationCheckButton";
     this.violationCheckButton.Label         = Mono.Unix.Catalog.GetString("report violations");
     this.violationCheckButton.DrawIndicator = true;
     this.violationCheckButton.UseUnderline  = true;
     this.table1.Add(this.violationCheckButton);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.violationCheckButton]));
     w14.LeftAttach  = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions    = ((Gtk.AttachOptions)(4));
     w14.YOptions    = ((Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table1);
     this.frame1.Add(this.GtkAlignment);
     this.frameLabel           = new Gtk.Label();
     this.frameLabel.Name      = "frameLabel";
     this.frameLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>");
     this.frameLabel.UseMarkup = true;
     this.frame1.LabelWidget   = this.frameLabel;
     this.Add(this.frame1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.removeButton.Released += new System.EventHandler(this.OnRemoveButtonReleased);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget HollyLibrary.ColorPickerDialog
     this.Name = "HollyLibrary.ColorPickerDialog";
     this.Title = "ColorPickerDialog";
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Resizable = false;
     this.AllowGrow = false;
     this.Decorated = false;
     this.DestroyWithParent = true;
     this.SkipPagerHint = true;
     this.SkipTaskbarHint = true;
     // Container child HollyLibrary.ColorPickerDialog.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     this.vbox1.BorderWidth = ((uint)(5));
     // Container child vbox1.Gtk.Box+BoxChild
     this.TblColors = new Gtk.Table(((uint)(5)), ((uint)(8)), true);
     this.TblColors.Name = "TblColors";
     this.TblColors.RowSpacing = ((uint)(1));
     this.TblColors.ColumnSpacing = ((uint)(1));
     this.vbox1.Add(this.TblColors);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.TblColors]));
     w1.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.BtnMoreColors = new Gtk.Button();
     this.BtnMoreColors.CanFocus = true;
     this.BtnMoreColors.Name = "BtnMoreColors";
     this.BtnMoreColors.UseUnderline = true;
     // Container child BtnMoreColors.Gtk.Container+ContainerChild
     Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w3 = new Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w4 = new Gtk.Image();
     w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-color-picker", Gtk.IconSize.Menu, 16);
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w6 = new Gtk.Label();
     w6.LabelProp = "More";
     w6.UseUnderline = true;
     w3.Add(w6);
     w2.Add(w3);
     this.BtnMoreColors.Add(w2);
     this.vbox1.Add(this.BtnMoreColors);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.BtnMoreColors]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 230;
     this.DefaultHeight = 160;
     this.Show();
     this.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnButtonPressEvent);
     this.BtnMoreColors.Clicked += new System.EventHandler(this.OnBtnMoreColorsClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget omvviewerlight.Searches
     Stetic.BinContainer.Attach(this);
     this.Name = "omvviewerlight.Searches";
     // Container child omvviewerlight.Searches.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("FInd");
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entry1 = new Gtk.Entry();
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.IsEditable = true;
     this.entry1.InvisibleChar = '●';
     this.hbox1.Add(this.entry1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.entry1]));
     w2.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1 = new Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = MainClass.GetResource("status_search_btn.png");
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.LabelProp = Mono.Unix.Catalog.GetString("Search");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.button1.Add(w3);
     this.hbox1.Add(this.button1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label_info = new Gtk.Label();
     this.label_info.Name = "label_info";
     this.label_info.LabelProp = Mono.Unix.Catalog.GetString("Type in a name and press search to begin");
     this.hbox2.Add(this.label_info);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.label_info]));
     w13.Position = 0;
     w13.Expand = false;
     w13.Fill = false;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1 = new Gtk.TreeView();
     this.treeview1.CanFocus = true;
     this.treeview1.Name = "treeview1";
     this.GtkScrolledWindow.Add(this.treeview1);
     this.vbox1.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w16.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button2 = new Gtk.Button();
     this.button2.CanFocus = true;
     this.button2.Name = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label = Mono.Unix.Catalog.GetString("IM");
     this.hbox3.Add(this.button2);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox3[this.button2]));
     w17.Position = 0;
     w17.Expand = false;
     w17.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button_profile = new Gtk.Button();
     this.button_profile.CanFocus = true;
     this.button_profile.Name = "button_profile";
     this.button_profile.UseUnderline = true;
     this.button_profile.Label = Mono.Unix.Catalog.GetString("Profile");
     this.hbox3.Add(this.button_profile);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.button_profile]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button_pay = new Gtk.Button();
     this.button_pay.CanFocus = true;
     this.button_pay.Name = "button_pay";
     this.button_pay.UseUnderline = true;
     // Container child button_pay.Gtk.Container+ContainerChild
     Gtk.Alignment w19 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w20 = new Gtk.HBox();
     w20.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w21 = new Gtk.Image();
     w21.Pixbuf = MainClass.GetResource("status_money.png");
     w20.Add(w21);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w23 = new Gtk.Label();
     w23.LabelProp = Mono.Unix.Catalog.GetString("Pay");
     w23.UseUnderline = true;
     w20.Add(w23);
     w19.Add(w20);
     this.button_pay.Add(w19);
     this.hbox3.Add(this.button_pay);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox3[this.button_pay]));
     w27.Position = 2;
     w27.Expand = false;
     w27.Fill = false;
     this.vbox1.Add(this.hbox3);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w28.Position = 3;
     w28.Expand = false;
     w28.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.button1.Clicked += new System.EventHandler(this.OnButton1Clicked);
     this.button2.Clicked += new System.EventHandler(this.OnButton2Clicked);
     this.button_profile.Clicked += new System.EventHandler(this.OnButtonProfileClicked);
     this.button_pay.Clicked += new System.EventHandler(this.OnButtonPayClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Monsoon.CreateTorrentDialog
     this.Name = "Monsoon.CreateTorrentDialog";
     this.Title = Mono.Unix.Catalog.GetString("Create a torrent");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Internal child Monsoon.CreateTorrentDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new Gtk.Frame();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox5 = new Gtk.VBox();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.selectFileHbox = new Gtk.HBox();
     this.selectFileHbox.Name = "selectFileHbox";
     this.selectFileHbox.Spacing = 6;
     // Container child selectFileHbox.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Path:");
     this.selectFileHbox.Add(this.label1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.selectFileHbox[this.label1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     this.vbox5.Add(this.selectFileHbox);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox5[this.selectFileHbox]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.table1 = new Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.fileRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Single File"));
     this.fileRadioButton.CanFocus = true;
     this.fileRadioButton.Name = "fileRadioButton";
     this.fileRadioButton.Active = true;
     this.fileRadioButton.DrawIndicator = true;
     this.fileRadioButton.UseUnderline = true;
     this.fileRadioButton.Group = new GLib.SList(System.IntPtr.Zero);
     this.table1.Add(this.fileRadioButton);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.fileRadioButton]));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.folderRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Folder"));
     this.folderRadioButton.CanFocus = true;
     this.folderRadioButton.Name = "folderRadioButton";
     this.folderRadioButton.DrawIndicator = true;
     this.folderRadioButton.UseUnderline = true;
     this.folderRadioButton.Group = this.fileRadioButton.Group;
     this.table1.Add(this.folderRadioButton);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.folderRadioButton]));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     this.vbox5.Add(this.table1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox5[this.table1]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     this.GtkAlignment2.Add(this.vbox5);
     this.frame1.Add(this.GtkAlignment2);
     this.GtkLabel2 = new Gtk.Label();
     this.GtkLabel2.Name = "GtkLabel2";
     this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Select source</b>");
     this.GtkLabel2.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel2;
     this.vbox2.Add(this.frame1);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame2 = new Gtk.Frame();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.trackerEntry = new Gtk.Entry();
     this.trackerEntry.CanFocus = true;
     this.trackerEntry.Name = "trackerEntry";
     this.trackerEntry.IsEditable = true;
     this.trackerEntry.InvisibleChar = '●';
     this.vbox3.Add(this.trackerEntry);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.trackerEntry]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.scrolledwindow1 = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.trackerTreeView = new Gtk.TreeView();
     this.trackerTreeView.CanFocus = true;
     this.trackerTreeView.Name = "trackerTreeView";
     this.scrolledwindow1.Add(this.trackerTreeView);
     this.vbox3.Add(this.scrolledwindow1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow1]));
     w12.Position = 1;
     this.hbox2.Add(this.vbox3);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbox3]));
     w13.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox4 = new Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.addTrackerButton = new Gtk.Button();
     this.addTrackerButton.Sensitive = false;
     this.addTrackerButton.CanFocus = true;
     this.addTrackerButton.Name = "addTrackerButton";
     this.addTrackerButton.UseUnderline = true;
     // Container child addTrackerButton.Gtk.Container+ContainerChild
     Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w15 = new Gtk.HBox();
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w16 = new Gtk.Image();
     w16.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w18 = new Gtk.Label();
     w18.LabelProp = Mono.Unix.Catalog.GetString("Add");
     w18.UseUnderline = true;
     w15.Add(w18);
     w14.Add(w15);
     this.addTrackerButton.Add(w14);
     this.vbox4.Add(this.addTrackerButton);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox4[this.addTrackerButton]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.removeTrackerButton = new Gtk.Button();
     this.removeTrackerButton.Sensitive = false;
     this.removeTrackerButton.CanFocus = true;
     this.removeTrackerButton.Name = "removeTrackerButton";
     this.removeTrackerButton.UseUnderline = true;
     // Container child removeTrackerButton.Gtk.Container+ContainerChild
     Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w24 = new Gtk.HBox();
     w24.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w25 = new Gtk.Image();
     w25.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Menu, 16);
     w24.Add(w25);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w27 = new Gtk.Label();
     w27.LabelProp = Mono.Unix.Catalog.GetString("Remove");
     w27.UseUnderline = true;
     w24.Add(w27);
     w23.Add(w24);
     this.removeTrackerButton.Add(w23);
     this.vbox4.Add(this.removeTrackerButton);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.removeTrackerButton]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     this.hbox2.Add(this.vbox4);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbox4]));
     w32.Position = 1;
     w32.Expand = false;
     w32.Fill = false;
     this.GtkAlignment3.Add(this.hbox2);
     this.frame2.Add(this.GtkAlignment3);
     this.GtkLabel5 = new Gtk.Label();
     this.GtkLabel5.Name = "GtkLabel5";
     this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Set a tracker</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel5;
     this.vbox2.Add(this.frame2);
     Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
     w35.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame3 = new Gtk.Frame();
     this.frame3.Name = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.vbox6 = new Gtk.VBox();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Comment:");
     this.hbox4.Add(this.label3);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3]));
     w36.Position = 0;
     w36.Expand = false;
     w36.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.commentEntry = new Gtk.Entry();
     this.commentEntry.CanFocus = true;
     this.commentEntry.Name = "commentEntry";
     this.commentEntry.IsEditable = true;
     this.commentEntry.InvisibleChar = '●';
     this.hbox4.Add(this.commentEntry);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox4[this.commentEntry]));
     w37.Position = 1;
     this.vbox6.Add(this.hbox4);
     Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox4]));
     w38.Position = 0;
     w38.Expand = false;
     w38.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox5 = new Gtk.HBox();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.startSeedingCheckBox = new Gtk.CheckButton();
     this.startSeedingCheckBox.CanFocus = true;
     this.startSeedingCheckBox.Name = "startSeedingCheckBox";
     this.startSeedingCheckBox.Label = Mono.Unix.Catalog.GetString("Start seeding");
     this.startSeedingCheckBox.Active = true;
     this.startSeedingCheckBox.DrawIndicator = true;
     this.startSeedingCheckBox.UseUnderline = true;
     this.hbox5.Add(this.startSeedingCheckBox);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox5[this.startSeedingCheckBox]));
     w39.Position = 0;
     this.vbox6.Add(this.hbox5);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox5]));
     w40.Position = 1;
     w40.Expand = false;
     w40.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox6 = new Gtk.HBox();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.hiddenFilesCheckBox = new Gtk.CheckButton();
     this.hiddenFilesCheckBox.CanFocus = true;
     this.hiddenFilesCheckBox.Name = "hiddenFilesCheckBox";
     this.hiddenFilesCheckBox.Label = Mono.Unix.Catalog.GetString("Ignore hidden files");
     this.hiddenFilesCheckBox.Active = true;
     this.hiddenFilesCheckBox.DrawIndicator = true;
     this.hiddenFilesCheckBox.UseUnderline = true;
     this.hbox6.Add(this.hiddenFilesCheckBox);
     Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hbox6[this.hiddenFilesCheckBox]));
     w41.Position = 0;
     this.vbox6.Add(this.hbox6);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox6]));
     w42.Position = 2;
     w42.Expand = false;
     w42.Fill = false;
     this.GtkAlignment4.Add(this.vbox6);
     this.frame3.Add(this.GtkAlignment4);
     this.GtkLabel8 = new Gtk.Label();
     this.GtkLabel8.Name = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Miscellaneous</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame3.LabelWidget = this.GtkLabel8;
     this.vbox2.Add(this.frame3);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame3]));
     w45.Position = 2;
     w45.Expand = false;
     w45.Fill = false;
     w1.Add(this.vbox2);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
     w46.Position = 0;
     // Internal child Monsoon.CreateTorrentDialog.ActionArea
     Gtk.HButtonBox w47 = this.ActionArea;
     w47.Name = "GtkDialog_ActionArea";
     w47.Spacing = 6;
     w47.BorderWidth = ((uint)(5));
     w47.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new Gtk.Button();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     Gtk.ButtonBox.ButtonBoxChild w48 = ((Gtk.ButtonBox.ButtonBoxChild)(w47[this.buttonCancel]));
     w48.Expand = false;
     w48.Fill = false;
     // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.Sensitive = false;
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w49 = ((Gtk.ButtonBox.ButtonBoxChild)(w47[this.buttonOk]));
     w49.Position = 1;
     w49.Expand = false;
     w49.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 403;
     this.DefaultHeight = 438;
     this.Show();
     this.folderRadioButton.Toggled += new System.EventHandler(this.OnFolderRadioButtonToggled);
     this.fileRadioButton.Toggled += new System.EventHandler(this.OnFileRadioButtonToggled);
     this.trackerEntry.Changed += new System.EventHandler(this.OnTrackerEntryChanged);
     this.addTrackerButton.Clicked += new System.EventHandler(this.OnAddTrackerButtonClicked);
     this.removeTrackerButton.Clicked += new System.EventHandler(this.OnRemoveTrackerButtonClicked);
     this.buttonOk.Clicked += new System.EventHandler(this.OnCreateButtonClicked);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.DeleteIndividualDialog
     this.Name = "Gedcom.UI.GTK.DeleteIndividualDialog";
     this.Title = "";
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(6));
     this.HasSeparator = false;
     // Internal child Gedcom.UI.GTK.DeleteIndividualDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.Spacing = 12;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 12;
     this.hbox1.BorderWidth = ((uint)(6));
     // Container child hbox1.Gtk.Box+BoxChild
     this.image126 = new Gtk.Image();
     this.image126.Name = "image126";
     this.image126.Yalign = 0F;
     this.image126.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Dialog, 48);
     this.hbox1.Add(this.image126);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image126]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.AlertTextLabel = new Gtk.Label();
     this.AlertTextLabel.Name = "AlertTextLabel";
     this.AlertTextLabel.Xalign = 0F;
     this.AlertTextLabel.Yalign = 0F;
     this.AlertTextLabel.LabelProp = Mono.Unix.Catalog.GetString("<span weight=\"bold\" size=\"larger\">Really delete {0} from your database?</span>\n\nDeleting {0} will remove the person, and potentially any family groups that will be left without a single spouse or any children.  Any media items, sources, notes etc. specific to this individual will also be removed.");
     this.AlertTextLabel.UseMarkup = true;
     this.AlertTextLabel.Wrap = true;
     this.AlertTextLabel.Selectable = true;
     this.hbox1.Add(this.AlertTextLabel);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.AlertTextLabel]));
     w3.Position = 1;
     w1.Add(this.hbox1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Internal child Gedcom.UI.GTK.DeleteIndividualDialog.ActionArea
     Gtk.HButtonBox w5 = this.ActionArea;
     w5.Name = "dialog1_ActionArea";
     w5.Spacing = 6;
     w5.BorderWidth = ((uint)(5));
     w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new Gtk.Button();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
     w6.Expand = false;
     w6.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     // Container child buttonOk.Gtk.Container+ContainerChild
     Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w8 = new Gtk.HBox();
     w8.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w9 = new Gtk.Image();
     w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Button, 20);
     w8.Add(w9);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w11 = new Gtk.Label();
     w11.LabelProp = Mono.Unix.Catalog.GetString("Delete the individual");
     w11.UseUnderline = true;
     w8.Add(w11);
     w7.Add(w8);
     this.buttonOk.Add(w7);
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 505;
     this.DefaultHeight = 216;
     this.buttonCancel.HasDefault = true;
     this.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget HollyLibrary.ColorPickerDialog
     this.Name              = "HollyLibrary.ColorPickerDialog";
     this.Title             = "ColorPickerDialog";
     this.WindowPosition    = ((Gtk.WindowPosition)(4));
     this.Resizable         = false;
     this.AllowGrow         = false;
     this.Decorated         = false;
     this.DestroyWithParent = true;
     this.SkipPagerHint     = true;
     this.SkipTaskbarHint   = true;
     // Container child HollyLibrary.ColorPickerDialog.Gtk.Container+ContainerChild
     this.vbox1             = new Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 6;
     this.vbox1.BorderWidth = ((uint)(5));
     // Container child vbox1.Gtk.Box+BoxChild
     this.TblColors               = new Gtk.Table(((uint)(5)), ((uint)(8)), true);
     this.TblColors.Name          = "TblColors";
     this.TblColors.RowSpacing    = ((uint)(1));
     this.TblColors.ColumnSpacing = ((uint)(1));
     this.vbox1.Add(this.TblColors);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.TblColors]));
     w1.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.BtnMoreColors              = new Gtk.Button();
     this.BtnMoreColors.CanFocus     = true;
     this.BtnMoreColors.Name         = "BtnMoreColors";
     this.BtnMoreColors.UseUnderline = true;
     // Container child BtnMoreColors.Gtk.Container+ContainerChild
     Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w3 = new Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w4 = new Gtk.Image();
     w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-color-picker", Gtk.IconSize.Menu, 16);
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w6 = new Gtk.Label();
     w6.LabelProp    = "More";
     w6.UseUnderline = true;
     w3.Add(w6);
     w2.Add(w3);
     this.BtnMoreColors.Add(w2);
     this.vbox1.Add(this.BtnMoreColors);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.BtnMoreColors]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 230;
     this.DefaultHeight = 160;
     this.Show();
     this.ButtonPressEvent      += new Gtk.ButtonPressEventHandler(this.OnButtonPressEvent);
     this.BtnMoreColors.Clicked += new System.EventHandler(this.OnBtnMoreColorsClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget SimpleDownloader.MainWindow
     this.Name = "SimpleDownloader.MainWindow";
     this.Title = Mono.Unix.Catalog.GetString("Simple Downloader");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child SimpleDownloader.MainWindow.Gtk.Container+ContainerChild
     this.vbox4 = new Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table2 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.downloadPath = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Datei auswählen"), ((Gtk.FileChooserAction)(0)));
     this.downloadPath.Name = "downloadPath";
     this.table2.Add(this.downloadPath);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table2[this.downloadPath]));
     w1.TopAttach = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.downloadUrl = new Gtk.Entry();
     this.downloadUrl.CanFocus = true;
     this.downloadUrl.Name = "downloadUrl";
     this.downloadUrl.IsEditable = true;
     this.downloadUrl.InvisibleChar = '●';
     this.table2.Add(this.downloadUrl);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table2[this.downloadUrl]));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Download URL:");
     this.table2.Add(this.label5);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table2[this.label5]));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Download Path:");
     this.table2.Add(this.label6);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.label6]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     this.vbox4.Add(this.table2);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox4[this.table2]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     this.hbox3.Add(this.alignment1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.alignment1]));
     w6.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.stopButton = new Gtk.Button();
     this.stopButton.CanFocus = true;
     this.stopButton.Name = "stopButton";
     this.stopButton.UseUnderline = true;
     this.stopButton.Label = Mono.Unix.Catalog.GetString("Stop");
     this.hbox3.Add(this.stopButton);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.stopButton]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.downloadButton = new Gtk.Button();
     this.downloadButton.CanFocus = true;
     this.downloadButton.Name = "downloadButton";
     this.downloadButton.UseUnderline = true;
     // Container child downloadButton.Gtk.Container+ContainerChild
     Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w9 = new Gtk.HBox();
     w9.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w10 = new Gtk.Image();
     w10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "down", Gtk.IconSize.Menu, 16);
     w9.Add(w10);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w12 = new Gtk.Label();
     w12.LabelProp = Mono.Unix.Catalog.GetString("Download");
     w12.UseUnderline = true;
     w9.Add(w12);
     w8.Add(w9);
     this.downloadButton.Add(w8);
     this.hbox3.Add(this.downloadButton);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox3[this.downloadButton]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.vbox4.Add(this.hbox3);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.downloadProgressBar = new Gtk.ProgressBar();
     this.downloadProgressBar.Name = "downloadProgressBar";
     this.vbox4.Add(this.downloadProgressBar);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox4[this.downloadProgressBar]));
     w18.Position = 2;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.progressLabel = new Gtk.Label();
     this.progressLabel.Name = "progressLabel";
     this.progressLabel.LabelProp = Mono.Unix.Catalog.GetString("Waiting for download");
     this.vbox4.Add(this.progressLabel);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox4[this.progressLabel]));
     w19.Position = 3;
     w19.Expand = false;
     w19.Fill = false;
     this.Add(this.vbox4);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 458;
     this.DefaultHeight = 172;
     this.Show();
     this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.stopButton.Clicked += new System.EventHandler(this.OnStopButtonClicked);
     this.downloadButton.Clicked += new System.EventHandler(this.OnDownloadButtonClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget OpenGridServices.Manager.ConnectToGridServerDialog
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "OpenGridServices.Manager.ConnectToGridServerDialog";
     this.Title = Mono.Unix.Catalog.GetString("Connect to Grid server");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.HasSeparator = false;
     // Internal child OpenGridServices.Manager.ConnectToGridServerDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Events = ((Gdk.EventMask)(256));
     w1.Name = "dialog_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog_VBox.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Grid server URL: ");
     this.label1.Justify = ((Gtk.Justification)(1));
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entry1 = new Gtk.Entry();
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.Text = Mono.Unix.Catalog.GetString("http://gridserver:8001");
     this.entry1.IsEditable = true;
     this.entry1.MaxLength = 255;
     this.entry1.InvisibleChar = '•';
     this.hbox1.Add(this.entry1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.entry1]));
     w3.Position = 1;
     this.vbox3.Add(this.hbox1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Username:"******"entry2";
     this.entry2.IsEditable = true;
     this.entry2.InvisibleChar = '•';
     this.hbox2.Add(this.entry2);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.entry2]));
     w6.Position = 1;
     this.vbox3.Add(this.hbox2);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Password:"******"entry3";
     this.entry3.IsEditable = true;
     this.entry3.InvisibleChar = '•';
     this.hbox3.Add(this.entry3);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.entry3]));
     w9.Position = 1;
     this.vbox3.Add(this.hbox3);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     this.vbox2.Add(this.vbox3);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     w1.Add(this.vbox2);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
     w12.Position = 0;
     // Internal child OpenGridServices.Manager.ConnectToGridServerDialog.ActionArea
     Gtk.HButtonBox w13 = this.ActionArea;
     w13.Events = ((Gdk.EventMask)(256));
     w13.Name = "OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea";
     w13.Spacing = 6;
     w13.BorderWidth = ((uint)(5));
     w13.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button2 = new Gtk.Button();
     this.button2.CanDefault = true;
     this.button2.CanFocus = true;
     this.button2.Name = "button2";
     this.button2.UseUnderline = true;
     // Container child button2.Gtk.Container+ContainerChild
     Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w14.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w15 = new Gtk.HBox();
     w15.Name = "GtkHBox";
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w16 = new Gtk.Image();
     w16.Name = "image1";
     w16.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-apply", 16, 0);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w18 = new Gtk.Label();
     w18.Name = "GtkLabel";
     w18.LabelProp = Mono.Unix.Catalog.GetString("Connect");
     w18.UseUnderline = true;
     w15.Add(w18);
     w14.Add(w15);
     this.button2.Add(w14);
     this.AddActionWidget(this.button2, -5);
     Gtk.ButtonBox.ButtonBoxChild w22 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.button2]));
     w22.Expand = false;
     w22.Fill = false;
     // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button8 = new Gtk.Button();
     this.button8.CanDefault = true;
     this.button8.CanFocus = true;
     this.button8.Name = "button8";
     this.button8.UseUnderline = true;
     // Container child button8.Gtk.Container+ContainerChild
     Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w23.Name = "GtkAlignment1";
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w24 = new Gtk.HBox();
     w24.Name = "GtkHBox1";
     w24.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w25 = new Gtk.Image();
     w25.Name = "image2";
     w25.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
     w24.Add(w25);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w27 = new Gtk.Label();
     w27.Name = "GtkLabel1";
     w27.LabelProp = Mono.Unix.Catalog.GetString("Cancel");
     w27.UseUnderline = true;
     w24.Add(w27);
     w23.Add(w24);
     this.button8.Add(w23);
     this.AddActionWidget(this.button8, -6);
     Gtk.ButtonBox.ButtonBoxChild w31 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.button8]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     if (this.Child != null)
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 476;
     this.DefaultHeight = 137;
     this.Show();
     this.Response += new Gtk.ResponseHandler(this.OnResponse);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.MapSelectionWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.MapSelectionWidget";
     // Container child ocmgtk.MapSelectionWidget.Gtk.Container+ContainerChild
     this.table6               = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table6.Name          = "table6";
     this.table6.RowSpacing    = ((uint)(6));
     this.table6.ColumnSpacing = ((uint)(6));
     this.table6.BorderWidth   = ((uint)(6));
     // Container child table6.Gtk.Table+TableChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image17        = new Gtk.Image();
     this.image17.Name   = "image17";
     this.image17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Button, 20);
     this.hbox1.Add(this.image17);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.image17]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("The highest map in the list will be the default map when OCM starts.");
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w2.Position = 1;
     this.table6.Add(this.hbox1);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table6[this.hbox1]));
     w3.RightAttach = ((uint)(2));
     w3.XOptions    = ((Gtk.AttachOptions)(4));
     w3.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.scrolledwindow1            = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.mapView          = new Gtk.TreeView();
     this.mapView.CanFocus = true;
     this.mapView.Name     = "mapView";
     this.scrolledwindow1.Add(this.mapView);
     this.table6.Add(this.scrolledwindow1);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow1]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.table7               = new Gtk.Table(((uint)(11)), ((uint)(1)), false);
     this.table7.Name          = "table7";
     this.table7.RowSpacing    = ((uint)(6));
     this.table7.ColumnSpacing = ((uint)(6));
     // Container child table7.Gtk.Table+TableChild
     this.activateButton              = new Gtk.Button();
     this.activateButton.Sensitive    = false;
     this.activateButton.CanFocus     = true;
     this.activateButton.Name         = "activateButton";
     this.activateButton.UseUnderline = true;
     // Container child activateButton.Gtk.Container+ContainerChild
     Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w7 = new Gtk.HBox();
     w7.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w8 = new Gtk.Image();
     w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16);
     w7.Add(w8);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w10.LabelProp    = Mono.Unix.Catalog.GetString("Enable Map");
     w10.UseUnderline = true;
     w7.Add(w10);
     w6.Add(w7);
     this.activateButton.Add(w6);
     this.table7.Add(this.activateButton);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table7[this.activateButton]));
     w14.TopAttach    = ((uint)(4));
     w14.BottomAttach = ((uint)(5));
     w14.XOptions     = ((Gtk.AttachOptions)(4));
     w14.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.deactivateButton              = new Gtk.Button();
     this.deactivateButton.Sensitive    = false;
     this.deactivateButton.CanFocus     = true;
     this.deactivateButton.Name         = "deactivateButton";
     this.deactivateButton.UseUnderline = true;
     // Container child deactivateButton.Gtk.Container+ContainerChild
     Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w16 = new Gtk.HBox();
     w16.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w17 = new Gtk.Image();
     w17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
     w16.Add(w17);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w19 = new Gtk.Label();
     w19.LabelProp    = Mono.Unix.Catalog.GetString("Disable Map");
     w19.UseUnderline = true;
     w16.Add(w19);
     w15.Add(w16);
     this.deactivateButton.Add(w15);
     this.table7.Add(this.deactivateButton);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table7[this.deactivateButton]));
     w23.TopAttach    = ((uint)(5));
     w23.BottomAttach = ((uint)(6));
     w23.XOptions     = ((Gtk.AttachOptions)(4));
     w23.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.deleteButton              = new Gtk.Button();
     this.deleteButton.Sensitive    = false;
     this.deleteButton.CanFocus     = true;
     this.deleteButton.Name         = "deleteButton";
     this.deleteButton.UseUnderline = true;
     // Container child deleteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w25 = new Gtk.HBox();
     w25.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w26 = new Gtk.Image();
     w26.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     w25.Add(w26);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w28 = new Gtk.Label();
     w28.LabelProp    = Mono.Unix.Catalog.GetString("Delete Map");
     w28.UseUnderline = true;
     w25.Add(w28);
     w24.Add(w25);
     this.deleteButton.Add(w24);
     this.table7.Add(this.deleteButton);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table7[this.deleteButton]));
     w32.TopAttach    = ((uint)(6));
     w32.BottomAttach = ((uint)(7));
     w32.XOptions     = ((Gtk.AttachOptions)(4));
     w32.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.downButton              = new Gtk.Button();
     this.downButton.Sensitive    = false;
     this.downButton.CanFocus     = true;
     this.downButton.Name         = "downButton";
     this.downButton.UseUnderline = true;
     // Container child downButton.Gtk.Container+ContainerChild
     Gtk.Alignment w33 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w34 = new Gtk.HBox();
     w34.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w35 = new Gtk.Image();
     w35.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-down", Gtk.IconSize.Menu, 16);
     w34.Add(w35);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w37 = new Gtk.Label();
     w37.LabelProp    = Mono.Unix.Catalog.GetString("Move Down");
     w37.UseUnderline = true;
     w34.Add(w37);
     w33.Add(w34);
     this.downButton.Add(w33);
     this.table7.Add(this.downButton);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table7[this.downButton]));
     w41.TopAttach    = ((uint)(2));
     w41.BottomAttach = ((uint)(3));
     w41.XOptions     = ((Gtk.AttachOptions)(4));
     w41.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hseparator1      = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.table7.Add(this.hseparator1);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table7[this.hseparator1]));
     w42.TopAttach    = ((uint)(3));
     w42.BottomAttach = ((uint)(4));
     w42.XOptions     = ((Gtk.AttachOptions)(4));
     w42.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hseparator2      = new Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.table7.Add(this.hseparator2);
     Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table7[this.hseparator2]));
     w43.XOptions = ((Gtk.AttachOptions)(4));
     w43.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hseparator3      = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.table7.Add(this.hseparator3);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table7[this.hseparator3]));
     w44.TopAttach    = ((uint)(7));
     w44.BottomAttach = ((uint)(8));
     w44.XOptions     = ((Gtk.AttachOptions)(4));
     w44.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.openButton              = new Gtk.Button();
     this.openButton.CanFocus     = true;
     this.openButton.Name         = "openButton";
     this.openButton.UseUnderline = true;
     // Container child openButton.Gtk.Container+ContainerChild
     Gtk.Alignment w45 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w46 = new Gtk.HBox();
     w46.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w47 = new Gtk.Image();
     w47.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-open", Gtk.IconSize.Menu, 16);
     w46.Add(w47);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w49 = new Gtk.Label();
     w49.LabelProp    = Mono.Unix.Catalog.GetString("Import Map File");
     w49.UseUnderline = true;
     w46.Add(w49);
     w45.Add(w46);
     this.openButton.Add(w45);
     this.table7.Add(this.openButton);
     Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table7[this.openButton]));
     w53.TopAttach    = ((uint)(9));
     w53.BottomAttach = ((uint)(11));
     w53.XOptions     = ((Gtk.AttachOptions)(4));
     w53.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.restoreButton              = new Gtk.Button();
     this.restoreButton.CanFocus     = true;
     this.restoreButton.Name         = "restoreButton";
     this.restoreButton.UseUnderline = true;
     // Container child restoreButton.Gtk.Container+ContainerChild
     Gtk.Alignment w54 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w55 = new Gtk.HBox();
     w55.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w56 = new Gtk.Image();
     w56.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16);
     w55.Add(w56);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w58 = new Gtk.Label();
     w58.LabelProp    = Mono.Unix.Catalog.GetString("Restore Defaults");
     w58.UseUnderline = true;
     w55.Add(w58);
     w54.Add(w55);
     this.restoreButton.Add(w54);
     this.table7.Add(this.restoreButton);
     Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table7[this.restoreButton]));
     w62.TopAttach    = ((uint)(8));
     w62.BottomAttach = ((uint)(9));
     w62.XOptions     = ((Gtk.AttachOptions)(4));
     w62.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.upButton              = new Gtk.Button();
     this.upButton.Sensitive    = false;
     this.upButton.CanFocus     = true;
     this.upButton.Name         = "upButton";
     this.upButton.UseUnderline = true;
     // Container child upButton.Gtk.Container+ContainerChild
     Gtk.Alignment w63 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w64 = new Gtk.HBox();
     w64.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w65 = new Gtk.Image();
     w65.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-up", Gtk.IconSize.Menu, 16);
     w64.Add(w65);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w67 = new Gtk.Label();
     w67.LabelProp    = Mono.Unix.Catalog.GetString("Move Up");
     w67.UseUnderline = true;
     w64.Add(w67);
     w63.Add(w64);
     this.upButton.Add(w63);
     this.table7.Add(this.upButton);
     Gtk.Table.TableChild w71 = ((Gtk.Table.TableChild)(this.table7[this.upButton]));
     w71.TopAttach    = ((uint)(1));
     w71.BottomAttach = ((uint)(2));
     w71.XOptions     = ((Gtk.AttachOptions)(4));
     w71.YOptions     = ((Gtk.AttachOptions)(4));
     this.table6.Add(this.table7);
     Gtk.Table.TableChild w72 = ((Gtk.Table.TableChild)(this.table6[this.table7]));
     w72.TopAttach    = ((uint)(1));
     w72.BottomAttach = ((uint)(2));
     w72.LeftAttach   = ((uint)(1));
     w72.RightAttach  = ((uint)(2));
     w72.XOptions     = ((Gtk.AttachOptions)(4));
     w72.YOptions     = ((Gtk.AttachOptions)(4));
     this.Add(this.table6);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.upButton.Clicked         += new System.EventHandler(this.OnUpButtonClicked);
     this.restoreButton.Clicked    += new System.EventHandler(this.OnRestoreButtonClicked);
     this.openButton.Clicked       += new System.EventHandler(this.OnOpenButtonClicked);
     this.downButton.Clicked       += new System.EventHandler(this.OnDownButtonClicked);
     this.deleteButton.Clicked     += new System.EventHandler(this.OnDeleteButtonClicked);
     this.deactivateButton.Clicked += new System.EventHandler(this.OnDeactivateButtonClicked);
     this.activateButton.Clicked   += new System.EventHandler(this.OnActivateButtonClicked);
 }
Пример #26
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Pinta.ResizeCanvasDialog
     this.Name = "Pinta.ResizeCanvasDialog";
     this.Title = Mono.Unix.Catalog.GetString("Resize Canvas");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Modal = true;
     this.DefaultWidth = 300;
     this.DefaultHeight = 200;
     // Internal child Pinta.ResizeCanvasDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(12));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.percentageRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By percentage:"));
     this.percentageRadio.CanFocus = true;
     this.percentageRadio.Name = "percentageRadio";
     this.percentageRadio.DrawIndicator = true;
     this.percentageRadio.UseUnderline = true;
     this.percentageRadio.Group = new GLib.SList(System.IntPtr.Zero);
     this.hbox1.Add(this.percentageRadio);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageRadio]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.percentageSpinner = new Gtk.SpinButton(1, 1000, 1);
     this.percentageSpinner.CanFocus = true;
     this.percentageSpinner.Name = "percentageSpinner";
     this.percentageSpinner.Adjustment.PageIncrement = 10;
     this.percentageSpinner.ClimbRate = 1;
     this.percentageSpinner.Numeric = true;
     this.percentageSpinner.Value = 100;
     this.hbox1.Add(this.percentageSpinner);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageSpinner]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("%");
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w4.Position = 2;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox2.Add(this.hbox1);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.absoluteRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By absolute size:"));
     this.absoluteRadio.CanFocus = true;
     this.absoluteRadio.Name = "absoluteRadio";
     this.absoluteRadio.DrawIndicator = true;
     this.absoluteRadio.UseUnderline = true;
     this.absoluteRadio.Group = this.percentageRadio.Group;
     this.hbox2.Add(this.absoluteRadio);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.absoluteRadio]));
     w6.Position = 0;
     this.vbox2.Add(this.hbox2);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Width:");
     this.hbox3.Add(this.label2);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.widthSpinner = new Gtk.SpinButton(1, 10000, 1);
     this.widthSpinner.Sensitive = false;
     this.widthSpinner.CanFocus = true;
     this.widthSpinner.Name = "widthSpinner";
     this.widthSpinner.Adjustment.PageIncrement = 10;
     this.widthSpinner.ClimbRate = 1;
     this.widthSpinner.Numeric = true;
     this.hbox3.Add(this.widthSpinner);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.widthSpinner]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("pixels");
     this.hbox3.Add(this.label4);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     this.vbox2.Add(this.hbox3);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Height:");
     this.hbox4.Add(this.label3);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.heightSpinner = new Gtk.SpinButton(1, 10000, 1);
     this.heightSpinner.Sensitive = false;
     this.heightSpinner.CanFocus = true;
     this.heightSpinner.Name = "heightSpinner";
     this.heightSpinner.Adjustment.PageIncrement = 10;
     this.heightSpinner.ClimbRate = 1;
     this.heightSpinner.Numeric = true;
     this.hbox4.Add(this.heightSpinner);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.heightSpinner]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("pixels");
     this.hbox4.Add(this.label5);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.label5]));
     w14.Position = 2;
     w14.Expand = false;
     w14.Fill = false;
     this.vbox2.Add(this.hbox4);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox4]));
     w15.Position = 3;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.aspectCheckbox = new Gtk.CheckButton();
     this.aspectCheckbox.Sensitive = false;
     this.aspectCheckbox.CanFocus = true;
     this.aspectCheckbox.Name = "aspectCheckbox";
     this.aspectCheckbox.Label = Mono.Unix.Catalog.GetString("Maintain aspect ratio");
     this.aspectCheckbox.Active = true;
     this.aspectCheckbox.DrawIndicator = true;
     this.aspectCheckbox.UseUnderline = true;
     this.vbox2.Add(this.aspectCheckbox);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.aspectCheckbox]));
     w16.Position = 4;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox5 = new Gtk.HBox();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     this.hbox5.Add(this.alignment1);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment1]));
     w17.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.table1 = new Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.CenterButton = new Gtk.Button();
     this.CenterButton.WidthRequest = 30;
     this.CenterButton.HeightRequest = 30;
     this.CenterButton.CanFocus = true;
     this.CenterButton.Name = "CenterButton";
     this.CenterButton.UseUnderline = true;
     // Container child CenterButton.Gtk.Container+ContainerChild
     Gtk.Alignment w18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w19 = new Gtk.HBox();
     w19.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w20 = new Gtk.Image();
     w19.Add(w20);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w22 = new Gtk.Label();
     w19.Add(w22);
     w18.Add(w19);
     this.CenterButton.Add(w18);
     this.table1.Add(this.CenterButton);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.CenterButton]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.EButton = new Gtk.Button();
     this.EButton.WidthRequest = 30;
     this.EButton.HeightRequest = 30;
     this.EButton.CanFocus = true;
     this.EButton.Name = "EButton";
     this.EButton.UseUnderline = true;
     // Container child EButton.Gtk.Container+ContainerChild
     Gtk.Alignment w27 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w28 = new Gtk.HBox();
     w28.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w29 = new Gtk.Image();
     w28.Add(w29);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w31 = new Gtk.Label();
     w28.Add(w31);
     w27.Add(w28);
     this.EButton.Add(w27);
     this.table1.Add(this.EButton);
     Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table1[this.EButton]));
     w35.TopAttach = ((uint)(1));
     w35.BottomAttach = ((uint)(2));
     w35.LeftAttach = ((uint)(2));
     w35.RightAttach = ((uint)(3));
     w35.XOptions = ((Gtk.AttachOptions)(4));
     w35.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NButton = new Gtk.Button();
     this.NButton.WidthRequest = 30;
     this.NButton.HeightRequest = 30;
     this.NButton.CanFocus = true;
     this.NButton.Name = "NButton";
     this.NButton.UseUnderline = true;
     // Container child NButton.Gtk.Container+ContainerChild
     Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w37 = new Gtk.HBox();
     w37.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w38 = new Gtk.Image();
     w37.Add(w38);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w40 = new Gtk.Label();
     w37.Add(w40);
     w36.Add(w37);
     this.NButton.Add(w36);
     this.table1.Add(this.NButton);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table1[this.NButton]));
     w44.LeftAttach = ((uint)(1));
     w44.RightAttach = ((uint)(2));
     w44.XOptions = ((Gtk.AttachOptions)(4));
     w44.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NEButton = new Gtk.Button();
     this.NEButton.WidthRequest = 30;
     this.NEButton.HeightRequest = 30;
     this.NEButton.CanFocus = true;
     this.NEButton.Name = "NEButton";
     this.NEButton.UseUnderline = true;
     // Container child NEButton.Gtk.Container+ContainerChild
     Gtk.Alignment w45 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w46 = new Gtk.HBox();
     w46.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w47 = new Gtk.Image();
     w46.Add(w47);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w49 = new Gtk.Label();
     w46.Add(w49);
     w45.Add(w46);
     this.NEButton.Add(w45);
     this.table1.Add(this.NEButton);
     Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table1[this.NEButton]));
     w53.LeftAttach = ((uint)(2));
     w53.RightAttach = ((uint)(3));
     w53.XOptions = ((Gtk.AttachOptions)(4));
     w53.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NWButton = new Gtk.Button();
     this.NWButton.WidthRequest = 30;
     this.NWButton.HeightRequest = 30;
     this.NWButton.CanFocus = true;
     this.NWButton.Name = "NWButton";
     this.NWButton.UseUnderline = true;
     // Container child NWButton.Gtk.Container+ContainerChild
     Gtk.Alignment w54 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w55 = new Gtk.HBox();
     w55.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w56 = new Gtk.Image();
     w55.Add(w56);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w58 = new Gtk.Label();
     w55.Add(w58);
     w54.Add(w55);
     this.NWButton.Add(w54);
     this.table1.Add(this.NWButton);
     Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table1[this.NWButton]));
     w62.XOptions = ((Gtk.AttachOptions)(4));
     w62.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SButton = new Gtk.Button();
     this.SButton.WidthRequest = 30;
     this.SButton.HeightRequest = 30;
     this.SButton.CanFocus = true;
     this.SButton.Name = "SButton";
     this.SButton.UseUnderline = true;
     // Container child SButton.Gtk.Container+ContainerChild
     Gtk.Alignment w63 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w64 = new Gtk.HBox();
     w64.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w65 = new Gtk.Image();
     w64.Add(w65);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w67 = new Gtk.Label();
     w64.Add(w67);
     w63.Add(w64);
     this.SButton.Add(w63);
     this.table1.Add(this.SButton);
     Gtk.Table.TableChild w71 = ((Gtk.Table.TableChild)(this.table1[this.SButton]));
     w71.TopAttach = ((uint)(2));
     w71.BottomAttach = ((uint)(3));
     w71.LeftAttach = ((uint)(1));
     w71.RightAttach = ((uint)(2));
     w71.XOptions = ((Gtk.AttachOptions)(4));
     w71.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SEButton = new Gtk.Button();
     this.SEButton.WidthRequest = 30;
     this.SEButton.HeightRequest = 30;
     this.SEButton.CanFocus = true;
     this.SEButton.Name = "SEButton";
     this.SEButton.UseUnderline = true;
     // Container child SEButton.Gtk.Container+ContainerChild
     Gtk.Alignment w72 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w73 = new Gtk.HBox();
     w73.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w74 = new Gtk.Image();
     w73.Add(w74);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w76 = new Gtk.Label();
     w73.Add(w76);
     w72.Add(w73);
     this.SEButton.Add(w72);
     this.table1.Add(this.SEButton);
     Gtk.Table.TableChild w80 = ((Gtk.Table.TableChild)(this.table1[this.SEButton]));
     w80.TopAttach = ((uint)(2));
     w80.BottomAttach = ((uint)(3));
     w80.LeftAttach = ((uint)(2));
     w80.RightAttach = ((uint)(3));
     w80.XOptions = ((Gtk.AttachOptions)(4));
     w80.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SWButton = new Gtk.Button();
     this.SWButton.WidthRequest = 30;
     this.SWButton.HeightRequest = 30;
     this.SWButton.CanFocus = true;
     this.SWButton.Name = "SWButton";
     this.SWButton.UseUnderline = true;
     // Container child SWButton.Gtk.Container+ContainerChild
     Gtk.Alignment w81 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w82 = new Gtk.HBox();
     w82.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w83 = new Gtk.Image();
     w82.Add(w83);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w85 = new Gtk.Label();
     w82.Add(w85);
     w81.Add(w82);
     this.SWButton.Add(w81);
     this.table1.Add(this.SWButton);
     Gtk.Table.TableChild w89 = ((Gtk.Table.TableChild)(this.table1[this.SWButton]));
     w89.TopAttach = ((uint)(2));
     w89.BottomAttach = ((uint)(3));
     w89.XOptions = ((Gtk.AttachOptions)(4));
     w89.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.WButton = new Gtk.Button();
     this.WButton.WidthRequest = 30;
     this.WButton.HeightRequest = 30;
     this.WButton.CanFocus = true;
     this.WButton.Name = "WButton";
     this.WButton.UseUnderline = true;
     // Container child WButton.Gtk.Container+ContainerChild
     Gtk.Alignment w90 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w91 = new Gtk.HBox();
     w91.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w92 = new Gtk.Image();
     w91.Add(w92);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w94 = new Gtk.Label();
     w91.Add(w94);
     w90.Add(w91);
     this.WButton.Add(w90);
     this.table1.Add(this.WButton);
     Gtk.Table.TableChild w98 = ((Gtk.Table.TableChild)(this.table1[this.WButton]));
     w98.TopAttach = ((uint)(1));
     w98.BottomAttach = ((uint)(2));
     w98.XOptions = ((Gtk.AttachOptions)(4));
     w98.YOptions = ((Gtk.AttachOptions)(4));
     this.hbox5.Add(this.table1);
     Gtk.Box.BoxChild w99 = ((Gtk.Box.BoxChild)(this.hbox5[this.table1]));
     w99.Position = 1;
     w99.Expand = false;
     w99.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     this.hbox5.Add(this.alignment2);
     Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment2]));
     w100.Position = 2;
     this.vbox2.Add(this.hbox5);
     Gtk.Box.BoxChild w101 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox5]));
     w101.PackType = ((Gtk.PackType)(1));
     w101.Position = 5;
     w101.Expand = false;
     w101.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Anchor:");
     this.vbox2.Add(this.label6);
     Gtk.Box.BoxChild w102 = ((Gtk.Box.BoxChild)(this.vbox2[this.label6]));
     w102.PackType = ((Gtk.PackType)(1));
     w102.Position = 6;
     w102.Expand = false;
     w102.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox2.Add(this.hseparator1);
     Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.vbox2[this.hseparator1]));
     w103.PackType = ((Gtk.PackType)(1));
     w103.Position = 7;
     w103.Expand = false;
     w103.Fill = false;
     w1.Add(this.vbox2);
     Gtk.Box.BoxChild w104 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
     w104.Position = 0;
     w104.Expand = false;
     w104.Fill = false;
     // Internal child Pinta.ResizeCanvasDialog.ActionArea
     Gtk.HButtonBox w105 = this.ActionArea;
     w105.Name = "dialog1_ActionArea";
     w105.Spacing = 10;
     w105.BorderWidth = ((uint)(5));
     w105.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new Gtk.Button();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     Gtk.ButtonBox.ButtonBoxChild w106 = ((Gtk.ButtonBox.ButtonBoxChild)(w105[this.buttonCancel]));
     w106.Expand = false;
     w106.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w107 = ((Gtk.ButtonBox.ButtonBoxChild)(w105[this.buttonOk]));
     w107.Position = 1;
     w107.Expand = false;
     w107.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget omvviewerlight.CloseMinimiseDlg
     this.Name = "omvviewerlight.CloseMinimiseDlg";
     this.Title = Mono.Unix.Catalog.GetString("Close application?");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Resizable = false;
     this.AllowGrow = false;
     this.DestroyWithParent = true;
     this.HasSeparator = false;
     // Internal child omvviewerlight.CloseMinimiseDlg.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.HeightRequest = 62;
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Do you wish to Quit the application?\nor Minimise to the system tray area?");
     this.vbox2.Add(this.label2);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.checkbutton1 = new Gtk.CheckButton();
     this.checkbutton1.CanFocus = true;
     this.checkbutton1.Name = "checkbutton1";
     this.checkbutton1.Label = Mono.Unix.Catalog.GetString("Remember this choice");
     this.checkbutton1.DrawIndicator = true;
     this.checkbutton1.UseUnderline = true;
     this.vbox2.Add(this.checkbutton1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.checkbutton1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     w1.Add(this.vbox2);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Internal child omvviewerlight.CloseMinimiseDlg.ActionArea
     Gtk.HButtonBox w5 = this.ActionArea;
     w5.Name = "dialog1_ActionArea";
     w5.Spacing = 6;
     w5.BorderWidth = ((uint)(5));
     w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(1));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button9 = new Gtk.Button();
     this.button9.CanFocus = true;
     this.button9.Name = "button9";
     this.button9.UseStock = true;
     this.button9.UseUnderline = true;
     this.button9.Label = "gtk-quit";
     this.AddActionWidget(this.button9, -7);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.button9]));
     w6.Expand = false;
     w6.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new Gtk.Button();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     // Container child buttonCancel.Gtk.Container+ContainerChild
     Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w8 = new Gtk.HBox();
     w8.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w9 = new Gtk.Image();
     w8.Add(w9);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w11 = new Gtk.Label();
     w11.LabelProp = Mono.Unix.Catalog.GetString("_Minimise");
     w11.UseUnderline = true;
     w8.Add(w11);
     w7.Add(w8);
     this.buttonCancel.Add(w7);
     this.AddActionWidget(this.buttonCancel, -3);
     Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-cancel";
     this.AddActionWidget(this.buttonOk, -6);
     Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 483;
     this.DefaultHeight = 181;
     this.Show();
     this.checkbutton1.Clicked += new System.EventHandler(this.OnCheckbutton1Clicked);
     this.button9.Clicked += new System.EventHandler(this.OnButton9Clicked);
     this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Pinta.Gui.Widgets.PointPickerWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "Pinta.Gui.Widgets.PointPickerWidget";
     // Container child Pinta.Gui.Widgets.PointPickerWidget.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label           = new Gtk.Label();
     this.label.Name      = "label";
     this.label.LabelProp = Mono.Unix.Catalog.GetString("label");
     this.hbox1.Add(this.label);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hseparator1      = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.hbox1.Add(this.hseparator1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator1]));
     w2.Position = 1;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.pointpickergraphic1      = new Pinta.Gui.Widgets.PointPickerGraphic();
     this.pointpickergraphic1.Name = "pointpickergraphic1";
     this.hbox2.Add(this.pointpickergraphic1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.pointpickergraphic1]));
     w4.Position = 0;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.table1               = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1              = new Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w6 = new Gtk.HBox();
     w6.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w7 = new Gtk.Image();
     w7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w6.Add(w7);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w9 = new Gtk.Label();
     w6.Add(w9);
     w5.Add(w6);
     this.button1.Add(w5);
     this.table1.Add(this.button1);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.button1]));
     w13.LeftAttach  = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions    = ((Gtk.AttachOptions)(4));
     w13.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.button2              = new Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     // Container child button2.Gtk.Container+ContainerChild
     Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w15 = new Gtk.HBox();
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w16 = new Gtk.Image();
     w16.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w18 = new Gtk.Label();
     w15.Add(w18);
     w14.Add(w15);
     this.button2.Add(w14);
     this.table1.Add(this.button2);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.button2]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(2));
     w22.RightAttach  = ((uint)(3));
     w22.XOptions     = ((Gtk.AttachOptions)(4));
     w22.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = "X:";
     this.table1.Add(this.label2);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = "Y:";
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w24.TopAttach    = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.XOptions     = ((Gtk.AttachOptions)(4));
     w24.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinX          = new Gtk.SpinButton(0, 100, 1);
     this.spinX.CanFocus = true;
     this.spinX.Name     = "spinX";
     this.spinX.Adjustment.PageIncrement = 10;
     this.spinX.ClimbRate = 1;
     this.spinX.Numeric   = true;
     this.table1.Add(this.spinX);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.spinX]));
     w25.LeftAttach  = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions    = ((Gtk.AttachOptions)(4));
     w25.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinY          = new Gtk.SpinButton(0, 100, 1);
     this.spinY.CanFocus = true;
     this.spinY.Name     = "spinY";
     this.spinY.Adjustment.PageIncrement = 10;
     this.spinY.ClimbRate = 1;
     this.spinY.Numeric   = true;
     this.table1.Add(this.spinY);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.spinY]));
     w26.TopAttach    = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach   = ((uint)(1));
     w26.RightAttach  = ((uint)(2));
     w26.XOptions     = ((Gtk.AttachOptions)(4));
     w26.YOptions     = ((Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox2[this.table1]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MonoTwitts.Ui.StatusViewItem
     Stetic.BinContainer.Attach(this);
     this.Name = "MonoTwitts.Ui.StatusViewItem";
     // Container child MonoTwitts.Ui.StatusViewItem.Gtk.Container+ContainerChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.image = new Gtk.Image();
     this.image.Name = "image";
     this.image.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_smiley-10", Gtk.IconSize.Dialog, 48);
     this.hbox2.Add(this.image);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.image]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 20;
     // Container child hbox3.Gtk.Box+BoxChild
     this.username = new Gtk.Button();
     this.username.CanDefault = true;
     this.username.CanFocus = true;
     this.username.Name = "username";
     this.username.Relief = ((Gtk.ReliefStyle)(2));
     this.username.Label = Mono.Unix.Catalog.GetString("$username");
     this.hbox3.Add(this.username);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox3[this.username]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Homogeneous = true;
     // Container child hbox4.Gtk.Box+BoxChild
     this.favorite = new Gtk.Button();
     this.favorite.CanFocus = true;
     this.favorite.Name = "favorite";
     this.favorite.Relief = ((Gtk.ReliefStyle)(2));
     // Container child favorite.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-about", Gtk.IconSize.Menu, 16);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.LabelProp = "";
     w4.Add(w7);
     w3.Add(w4);
     this.favorite.Add(w3);
     this.hbox4.Add(this.favorite);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox4[this.favorite]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.direct = new Gtk.Button();
     this.direct.CanFocus = true;
     this.direct.Name = "direct";
     this.direct.Relief = ((Gtk.ReliefStyle)(2));
     // Container child direct.Gtk.Container+ContainerChild
     Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w13 = new Gtk.HBox();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w14 = new Gtk.Image();
     w14.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_draw-callouts", Gtk.IconSize.Menu, 16);
     w13.Add(w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w16 = new Gtk.Label();
     w16.LabelProp = "";
     w13.Add(w16);
     w12.Add(w13);
     this.direct.Add(w12);
     this.hbox4.Add(this.direct);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox4[this.direct]));
     w20.Position = 1;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.reply = new Gtk.Button();
     this.reply.CanFocus = true;
     this.reply.Name = "reply";
     this.reply.Relief = ((Gtk.ReliefStyle)(2));
     // Container child reply.Gtk.Container+ContainerChild
     Gtk.Alignment w21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w22 = new Gtk.HBox();
     w22.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w23 = new Gtk.Image();
     w23.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-undo", Gtk.IconSize.Menu, 16);
     w22.Add(w23);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w25 = new Gtk.Label();
     w25.LabelProp = "";
     w22.Add(w25);
     w21.Add(w22);
     this.reply.Add(w21);
     this.hbox4.Add(this.reply);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox4[this.reply]));
     w29.Position = 2;
     w29.Expand = false;
     w29.Fill = false;
     this.hbox3.Add(this.hbox4);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox3[this.hbox4]));
     w30.PackType = ((Gtk.PackType)(1));
     w30.Position = 1;
     w30.Expand = false;
     this.vbox2.Add(this.hbox3);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w31.Position = 0;
     w31.Expand = false;
     w31.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.text = new Gtk.Label();
     this.text.Name = "text";
     this.text.Xalign = 0F;
     this.text.LabelProp = Mono.Unix.Catalog.GetString("$text");
     this.text.UseMarkup = true;
     this.text.Wrap = true;
     this.text.Selectable = true;
     this.text.Ellipsize = ((Pango.EllipsizeMode)(2));
     this.vbox2.Add(this.text);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox2[this.text]));
     w32.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     this.alignment1.LeftPadding = ((uint)(100));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.dateTime = new Gtk.Label();
     this.dateTime.Name = "dateTime";
     this.dateTime.LabelProp = Mono.Unix.Catalog.GetString("<i>$dateTime</i>");
     this.dateTime.UseMarkup = true;
     this.dateTime.Justify = ((Gtk.Justification)(1));
     this.dateTime.Ellipsize = ((Pango.EllipsizeMode)(3));
     this.alignment1.Add(this.dateTime);
     this.vbox2.Add(this.alignment1);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
     w34.PackType = ((Gtk.PackType)(1));
     w34.Position = 2;
     w34.Expand = false;
     w34.Fill = false;
     this.hbox2.Add(this.vbox2);
     Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbox2]));
     w35.Position = 1;
     this.Add(this.hbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.username.Clicked += new System.EventHandler(this.OnUsernameClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.MapSelectionWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.MapSelectionWidget";
     // Container child ocmgtk.MapSelectionWidget.Gtk.Container+ContainerChild
     this.table6 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table6.Name = "table6";
     this.table6.RowSpacing = ((uint)(6));
     this.table6.ColumnSpacing = ((uint)(6));
     this.table6.BorderWidth = ((uint)(6));
     // Container child table6.Gtk.Table+TableChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image17 = new Gtk.Image();
     this.image17.Name = "image17";
     this.image17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Button, 20);
     this.hbox1.Add(this.image17);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.image17]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("The highest map in the list will be the default map when OCM starts.");
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w2.Position = 1;
     this.table6.Add(this.hbox1);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table6[this.hbox1]));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.scrolledwindow1 = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.mapView = new Gtk.TreeView();
     this.mapView.CanFocus = true;
     this.mapView.Name = "mapView";
     this.scrolledwindow1.Add(this.mapView);
     this.table6.Add(this.scrolledwindow1);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow1]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.table7 = new Gtk.Table(((uint)(11)), ((uint)(1)), false);
     this.table7.Name = "table7";
     this.table7.RowSpacing = ((uint)(6));
     this.table7.ColumnSpacing = ((uint)(6));
     // Container child table7.Gtk.Table+TableChild
     this.activateButton = new Gtk.Button();
     this.activateButton.Sensitive = false;
     this.activateButton.CanFocus = true;
     this.activateButton.Name = "activateButton";
     this.activateButton.UseUnderline = true;
     // Container child activateButton.Gtk.Container+ContainerChild
     Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w7 = new Gtk.HBox();
     w7.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w8 = new Gtk.Image();
     w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16);
     w7.Add(w8);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w10.LabelProp = Mono.Unix.Catalog.GetString("Enable Map");
     w10.UseUnderline = true;
     w7.Add(w10);
     w6.Add(w7);
     this.activateButton.Add(w6);
     this.table7.Add(this.activateButton);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table7[this.activateButton]));
     w14.TopAttach = ((uint)(4));
     w14.BottomAttach = ((uint)(5));
     w14.XOptions = ((Gtk.AttachOptions)(4));
     w14.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.deactivateButton = new Gtk.Button();
     this.deactivateButton.Sensitive = false;
     this.deactivateButton.CanFocus = true;
     this.deactivateButton.Name = "deactivateButton";
     this.deactivateButton.UseUnderline = true;
     // Container child deactivateButton.Gtk.Container+ContainerChild
     Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w16 = new Gtk.HBox();
     w16.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w17 = new Gtk.Image();
     w17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
     w16.Add(w17);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w19 = new Gtk.Label();
     w19.LabelProp = Mono.Unix.Catalog.GetString("Disable Map");
     w19.UseUnderline = true;
     w16.Add(w19);
     w15.Add(w16);
     this.deactivateButton.Add(w15);
     this.table7.Add(this.deactivateButton);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table7[this.deactivateButton]));
     w23.TopAttach = ((uint)(5));
     w23.BottomAttach = ((uint)(6));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.deleteButton = new Gtk.Button();
     this.deleteButton.Sensitive = false;
     this.deleteButton.CanFocus = true;
     this.deleteButton.Name = "deleteButton";
     this.deleteButton.UseUnderline = true;
     // Container child deleteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w25 = new Gtk.HBox();
     w25.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w26 = new Gtk.Image();
     w26.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     w25.Add(w26);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w28 = new Gtk.Label();
     w28.LabelProp = Mono.Unix.Catalog.GetString("Delete Map");
     w28.UseUnderline = true;
     w25.Add(w28);
     w24.Add(w25);
     this.deleteButton.Add(w24);
     this.table7.Add(this.deleteButton);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table7[this.deleteButton]));
     w32.TopAttach = ((uint)(6));
     w32.BottomAttach = ((uint)(7));
     w32.XOptions = ((Gtk.AttachOptions)(4));
     w32.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.downButton = new Gtk.Button();
     this.downButton.Sensitive = false;
     this.downButton.CanFocus = true;
     this.downButton.Name = "downButton";
     this.downButton.UseUnderline = true;
     // Container child downButton.Gtk.Container+ContainerChild
     Gtk.Alignment w33 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w34 = new Gtk.HBox();
     w34.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w35 = new Gtk.Image();
     w35.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-down", Gtk.IconSize.Menu, 16);
     w34.Add(w35);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w37 = new Gtk.Label();
     w37.LabelProp = Mono.Unix.Catalog.GetString("Move Down");
     w37.UseUnderline = true;
     w34.Add(w37);
     w33.Add(w34);
     this.downButton.Add(w33);
     this.table7.Add(this.downButton);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table7[this.downButton]));
     w41.TopAttach = ((uint)(2));
     w41.BottomAttach = ((uint)(3));
     w41.XOptions = ((Gtk.AttachOptions)(4));
     w41.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.table7.Add(this.hseparator1);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table7[this.hseparator1]));
     w42.TopAttach = ((uint)(3));
     w42.BottomAttach = ((uint)(4));
     w42.XOptions = ((Gtk.AttachOptions)(4));
     w42.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hseparator2 = new Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.table7.Add(this.hseparator2);
     Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table7[this.hseparator2]));
     w43.XOptions = ((Gtk.AttachOptions)(4));
     w43.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hseparator3 = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.table7.Add(this.hseparator3);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table7[this.hseparator3]));
     w44.TopAttach = ((uint)(7));
     w44.BottomAttach = ((uint)(8));
     w44.XOptions = ((Gtk.AttachOptions)(4));
     w44.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.openButton = new Gtk.Button();
     this.openButton.CanFocus = true;
     this.openButton.Name = "openButton";
     this.openButton.UseUnderline = true;
     // Container child openButton.Gtk.Container+ContainerChild
     Gtk.Alignment w45 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w46 = new Gtk.HBox();
     w46.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w47 = new Gtk.Image();
     w47.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-open", Gtk.IconSize.Menu, 16);
     w46.Add(w47);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w49 = new Gtk.Label();
     w49.LabelProp = Mono.Unix.Catalog.GetString("Import Map File");
     w49.UseUnderline = true;
     w46.Add(w49);
     w45.Add(w46);
     this.openButton.Add(w45);
     this.table7.Add(this.openButton);
     Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table7[this.openButton]));
     w53.TopAttach = ((uint)(9));
     w53.BottomAttach = ((uint)(11));
     w53.XOptions = ((Gtk.AttachOptions)(4));
     w53.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.restoreButton = new Gtk.Button();
     this.restoreButton.CanFocus = true;
     this.restoreButton.Name = "restoreButton";
     this.restoreButton.UseUnderline = true;
     // Container child restoreButton.Gtk.Container+ContainerChild
     Gtk.Alignment w54 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w55 = new Gtk.HBox();
     w55.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w56 = new Gtk.Image();
     w56.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16);
     w55.Add(w56);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w58 = new Gtk.Label();
     w58.LabelProp = Mono.Unix.Catalog.GetString("Restore Defaults");
     w58.UseUnderline = true;
     w55.Add(w58);
     w54.Add(w55);
     this.restoreButton.Add(w54);
     this.table7.Add(this.restoreButton);
     Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table7[this.restoreButton]));
     w62.TopAttach = ((uint)(8));
     w62.BottomAttach = ((uint)(9));
     w62.XOptions = ((Gtk.AttachOptions)(4));
     w62.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.upButton = new Gtk.Button();
     this.upButton.Sensitive = false;
     this.upButton.CanFocus = true;
     this.upButton.Name = "upButton";
     this.upButton.UseUnderline = true;
     // Container child upButton.Gtk.Container+ContainerChild
     Gtk.Alignment w63 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w64 = new Gtk.HBox();
     w64.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w65 = new Gtk.Image();
     w65.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-up", Gtk.IconSize.Menu, 16);
     w64.Add(w65);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w67 = new Gtk.Label();
     w67.LabelProp = Mono.Unix.Catalog.GetString("Move Up");
     w67.UseUnderline = true;
     w64.Add(w67);
     w63.Add(w64);
     this.upButton.Add(w63);
     this.table7.Add(this.upButton);
     Gtk.Table.TableChild w71 = ((Gtk.Table.TableChild)(this.table7[this.upButton]));
     w71.TopAttach = ((uint)(1));
     w71.BottomAttach = ((uint)(2));
     w71.XOptions = ((Gtk.AttachOptions)(4));
     w71.YOptions = ((Gtk.AttachOptions)(4));
     this.table6.Add(this.table7);
     Gtk.Table.TableChild w72 = ((Gtk.Table.TableChild)(this.table6[this.table7]));
     w72.TopAttach = ((uint)(1));
     w72.BottomAttach = ((uint)(2));
     w72.LeftAttach = ((uint)(1));
     w72.RightAttach = ((uint)(2));
     w72.XOptions = ((Gtk.AttachOptions)(4));
     w72.YOptions = ((Gtk.AttachOptions)(4));
     this.Add(this.table6);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.upButton.Clicked += new System.EventHandler(this.OnUpButtonClicked);
     this.restoreButton.Clicked += new System.EventHandler(this.OnRestoreButtonClicked);
     this.openButton.Clicked += new System.EventHandler(this.OnOpenButtonClicked);
     this.downButton.Clicked += new System.EventHandler(this.OnDownButtonClicked);
     this.deleteButton.Clicked += new System.EventHandler(this.OnDeleteButtonClicked);
     this.deactivateButton.Clicked += new System.EventHandler(this.OnDeactivateButtonClicked);
     this.activateButton.Clicked += new System.EventHandler(this.OnActivateButtonClicked);
 }
Пример #31
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget serialmon.about
     this.Name           = "serialmon.about";
     this.Title          = Mono.Unix.Catalog.GetString("about");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child serialmon.about.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 2;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("serialmon (v0.001): \n      a mono program by <b>Daniel Otte</b> ([email protected]) [GPLv3 or later]");
     this.label4.UseMarkup = true;
     this.vbox2.Add(this.label4);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label4]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.image8        = new Gtk.Image();
     this.image8.Name   = "image8";
     this.image8.Pixbuf = Gdk.Pixbuf.LoadFromResource("logo_small.png");
     this.vbox2.Add(this.image8);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.image8]));
     w2.Position = 1;
     w2.Expand   = false;
     this.notebook1.Add(this.vbox2);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString(":about");
     this.notebook1.SetTabLabel(this.vbox2, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.alignment1      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1             = new Gtk.TextView();
     this.textview1.Buffer.Text = "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<http://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<http://www.gnu.org/philosophy/why-not-lgpl.html>.\n";
     this.textview1.CanFocus    = true;
     this.textview1.Name        = "textview1";
     this.textview1.Editable    = false;
     this.textview1.WrapMode    = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add(this.textview1);
     this.alignment1.Add(this.GtkScrolledWindow);
     this.notebook1.Add(this.alignment1);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment1]));
     w6.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString(":License");
     this.notebook1.SetTabLabel(this.alignment1, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.alignment2      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("This program is a project by <b>Das Labor</b>\n  visit us at http://www.das-labor.org");
     this.label5.UseMarkup = true;
     this.vbox3.Add(this.label5);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.label5]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.image7        = new Gtk.Image();
     this.image7.Name   = "image7";
     this.image7.Pixbuf = Gdk.Pixbuf.LoadFromResource("Labor.png");
     this.vbox3.Add(this.image7);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.image7]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.alignment2.Add(this.vbox3);
     this.notebook1.Add(this.alignment2);
     Gtk.Notebook.NotebookChild w10 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment2]));
     w10.Position = 2;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString(":Labor");
     this.notebook1.SetTabLabel(this.alignment2, this.label3);
     this.label3.ShowAll();
     this.vbox1.Add(this.notebook1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w11.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1              = new Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w13 = new Gtk.HBox();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w14 = new Gtk.Image();
     w14.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
     w13.Add(w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w16 = new Gtk.Label();
     w16.LabelProp    = Mono.Unix.Catalog.GetString("close");
     w16.UseUnderline = true;
     w13.Add(w16);
     w12.Add(w13);
     this.button1.Add(w12);
     this.hbox1.Add(this.button1);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 485;
     this.DefaultHeight = 506;
     this.Show();
     this.button1.Released += new System.EventHandler(this.OnButton1Released);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget omvviewerlight.LoginControl
     Stetic.BinContainer.Attach(this);
     this.Name = "omvviewerlight.LoginControl";
     // Container child omvviewerlight.LoginControl.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Homogeneous = true;
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("First name");
     this.vbox2.Add(this.label1);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Last Name");
     this.vbox2.Add(this.label2);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label2]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Password");
     this.vbox2.Add(this.label3);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.label3]));
     w3.Position = 2;
     w3.Expand = false;
     w3.Fill = false;
     this.hbox1.Add(this.vbox2);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.entry_first = new Gtk.Entry();
     this.entry_first.CanFocus = true;
     this.entry_first.Name = "entry_first";
     this.entry_first.IsEditable = true;
     this.entry_first.InvisibleChar = '●';
     this.vbox3.Add(this.entry_first);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.entry_first]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.entry_last = new Gtk.Entry();
     this.entry_last.CanFocus = true;
     this.entry_last.Name = "entry_last";
     this.entry_last.IsEditable = true;
     this.entry_last.InvisibleChar = '●';
     this.vbox3.Add(this.entry_last);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox3[this.entry_last]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.entry_pass = new Gtk.Entry();
     this.entry_pass.CanFocus = true;
     this.entry_pass.Name = "entry_pass";
     this.entry_pass.IsEditable = true;
     this.entry_pass.InvisibleChar = '●';
     this.vbox3.Add(this.entry_pass);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.entry_pass]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.hbox1.Add(this.vbox3);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
     w8.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button_login = new Gtk.Button();
     this.button_login.WidthRequest = 100;
     this.button_login.HeightRequest = 50;
     this.button_login.CanFocus = true;
     this.button_login.Name = "button_login";
     this.button_login.UseUnderline = true;
     // Container child button_login.Gtk.Container+ContainerChild
     Gtk.Alignment w9 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w10 = new Gtk.HBox();
     w10.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w11 = new Gtk.Image();
     w11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-connect", Gtk.IconSize.Menu, 16);
     w10.Add(w11);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w13 = new Gtk.Label();
     w13.LabelProp = Mono.Unix.Catalog.GetString("Login");
     w13.UseUnderline = true;
     w10.Add(w13);
     w9.Add(w10);
     this.button_login.Add(w9);
     this.hbox1.Add(this.button_login);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox1[this.button_login]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox5 = new Gtk.VBox();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.checkbutton_rememberpass = new Gtk.CheckButton();
     this.checkbutton_rememberpass.CanFocus = true;
     this.checkbutton_rememberpass.Name = "checkbutton_rememberpass";
     this.checkbutton_rememberpass.Label = Mono.Unix.Catalog.GetString("Remember password");
     this.checkbutton_rememberpass.DrawIndicator = true;
     this.checkbutton_rememberpass.UseUnderline = true;
     this.hbox2.Add(this.checkbutton_rememberpass);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox2[this.checkbutton_rememberpass]));
     w19.Position = 0;
     this.vbox5.Add(this.hbox2);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox2]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox5 = new Gtk.HBox();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Login to");
     this.hbox5.Add(this.label6);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox5[this.label6]));
     w21.Position = 0;
     w21.Expand = false;
     w21.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 5;
     // Container child hbox4.Gtk.Box+BoxChild
     this.radiobutton1 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Home"));
     this.radiobutton1.CanFocus = true;
     this.radiobutton1.Name = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline = true;
     this.radiobutton1.Group = new GLib.SList(System.IntPtr.Zero);
     this.hbox4.Add(this.radiobutton1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox4[this.radiobutton1]));
     w22.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.radiobutton2 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Last"));
     this.radiobutton2.CanFocus = true;
     this.radiobutton2.Name = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline = true;
     this.radiobutton2.Group = this.radiobutton1.Group;
     this.hbox4.Add(this.radiobutton2);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox4[this.radiobutton2]));
     w23.Position = 1;
     // Container child hbox4.Gtk.Box+BoxChild
     this.radiobutton3 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Location"));
     this.radiobutton3.CanFocus = true;
     this.radiobutton3.Name = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline = true;
     this.radiobutton3.Group = this.radiobutton1.Group;
     this.hbox4.Add(this.radiobutton3);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox4[this.radiobutton3]));
     w24.Position = 2;
     // Container child hbox4.Gtk.Box+BoxChild
     this.entry_location = new Gtk.Entry();
     this.entry_location.CanFocus = true;
     this.entry_location.Name = "entry_location";
     this.entry_location.IsEditable = true;
     this.entry_location.InvisibleChar = '●';
     this.hbox4.Add(this.entry_location);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox4[this.entry_location]));
     w25.Position = 3;
     this.hbox5.Add(this.hbox4);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox5[this.hbox4]));
     w26.Position = 1;
     w26.Expand = false;
     w26.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.progressbar2 = new Gtk.ProgressBar();
     this.progressbar2.Name = "progressbar2";
     this.hbox5.Add(this.progressbar2);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox5[this.progressbar2]));
     w27.PackType = ((Gtk.PackType)(1));
     w27.Position = 2;
     this.vbox5.Add(this.hbox5);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox6 = new Gtk.HBox();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Connect to grid ");
     this.hbox6.Add(this.label4);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox6[this.label4]));
     w29.Position = 0;
     w29.Expand = false;
     w29.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.combobox_grid = Gtk.ComboBox.NewText();
     this.combobox_grid.WidthRequest = 140;
     this.combobox_grid.Name = "combobox_grid";
     this.hbox6.Add(this.combobox_grid);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox6[this.combobox_grid]));
     w30.Position = 1;
     w30.Expand = false;
     w30.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("URI");
     this.hbox6.Add(this.label5);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox6[this.label5]));
     w31.Position = 2;
     w31.Expand = false;
     w31.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.entry_loginuri = new Gtk.Entry();
     this.entry_loginuri.CanFocus = true;
     this.entry_loginuri.Name = "entry_loginuri";
     this.entry_loginuri.IsEditable = true;
     this.entry_loginuri.InvisibleChar = '●';
     this.hbox6.Add(this.entry_loginuri);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox6[this.entry_loginuri]));
     w32.Position = 3;
     this.vbox5.Add(this.hbox6);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox6]));
     w33.Position = 2;
     w33.Expand = false;
     w33.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame1 = new Gtk.Frame();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.textview_loginmsg = new Gtk.TextView();
     this.textview_loginmsg.HeightRequest = 35;
     this.textview_loginmsg.CanFocus = true;
     this.textview_loginmsg.Name = "textview_loginmsg";
     this.textview_loginmsg.Editable = false;
     this.textview_loginmsg.WrapMode = ((Gtk.WrapMode)(2));
     this.GtkAlignment1.Add(this.textview_loginmsg);
     this.frame1.Add(this.GtkAlignment1);
     this.GtkLabel5 = new Gtk.Label();
     this.GtkLabel5.Name = "GtkLabel5";
     this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Login message</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel5;
     this.vbox5.Add(this.frame1);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame1]));
     w36.Position = 3;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame2 = new Gtk.Frame();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1 = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textview_log = new Gtk.TextView();
     this.textview_log.CanFocus = true;
     this.textview_log.Name = "textview_log";
     this.textview_log.Editable = false;
     this.textview_log.WrapMode = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow1.Add(this.textview_log);
     this.GtkAlignment2.Add(this.GtkScrolledWindow1);
     this.frame2.Add(this.GtkAlignment2);
     this.GtkLabel6 = new Gtk.Label();
     this.GtkLabel6.Name = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Debug log</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel6;
     this.vbox5.Add(this.frame2);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame2]));
     w40.Position = 4;
     this.vbox1.Add(this.vbox5);
     Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox5]));
     w41.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.button_login.Clicked += new System.EventHandler(this.OnButton1Clicked);
     this.checkbutton_rememberpass.Clicked += new System.EventHandler(this.OnCheckbuttonRememberpassClicked);
     this.combobox_grid.Changed += new System.EventHandler(this.OnComboboxGridChanged);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Monsoon.PreferencesDialog
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Monsoon.PreferencesDialog";
     this.Title = Mono.Unix.Catalog.GetString("Monsoon Preferences");
     // Internal child Monsoon.PreferencesDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Events = ((Gdk.EventMask)(256));
     w1.Name = "dialog_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog_VBox.Gtk.Box+BoxChild
     this.prefNotebook = new Gtk.Notebook();
     this.prefNotebook.CanFocus = true;
     this.prefNotebook.Name = "prefNotebook";
     this.prefNotebook.CurrentPage = 0;
     // Container child prefNotebook.Gtk.Notebook+NotebookChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.frame7 = new Gtk.Frame();
     this.frame7.Name = "frame7";
     this.frame7.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame7.Gtk.Container+ContainerChild
     this.GtkAlignment10 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment10.Name = "GtkAlignment10";
     this.GtkAlignment10.LeftPadding = ((uint)(12));
     // Container child GtkAlignment10.Gtk.Container+ContainerChild
     this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboToolbarStyle = Gtk.ComboBox.NewText();
     this.comboToolbarStyle.Name = "comboToolbarStyle";
     this.table1.Add(this.comboToolbarStyle);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.comboToolbarStyle]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblToolbarStyle = new Gtk.Label();
     this.lblToolbarStyle.Name = "lblToolbarStyle";
     this.lblToolbarStyle.Xalign = 0F;
     this.lblToolbarStyle.LabelProp = Mono.Unix.Catalog.GetString("label1");
     this.table1.Add(this.lblToolbarStyle);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.lblToolbarStyle]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.loadDialogCheckButton = new Gtk.CheckButton();
     this.loadDialogCheckButton.CanFocus = true;
     this.loadDialogCheckButton.Name = "loadDialogCheckButton";
     this.loadDialogCheckButton.Label = Mono.Unix.Catalog.GetString("Enable Load Torrent confirmation dialog");
     this.loadDialogCheckButton.DrawIndicator = true;
     this.loadDialogCheckButton.UseUnderline = true;
     this.table1.Add(this.loadDialogCheckButton);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.loadDialogCheckButton]));
     w4.RightAttach = ((uint)(2));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment10.Add(this.table1);
     this.frame7.Add(this.GtkAlignment10);
     this.GtkLabel13 = new Gtk.Label();
     this.GtkLabel13.Name = "GtkLabel13";
     this.GtkLabel13.LabelProp = Mono.Unix.Catalog.GetString("<b>Display Options</b>");
     this.GtkLabel13.UseMarkup = true;
     this.frame7.LabelWidget = this.GtkLabel13;
     this.vbox3.Add(this.frame7);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame7]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.frame8 = new Gtk.Frame();
     this.frame8.Name = "frame8";
     this.frame8.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame8.Gtk.Container+ContainerChild
     this.GtkAlignment11 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment11.Name = "GtkAlignment11";
     this.GtkAlignment11.LeftPadding = ((uint)(12));
     // Container child GtkAlignment11.Gtk.Container+ContainerChild
     this.table2 = new Gtk.Table(((uint)(3)), ((uint)(1)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.enableNotificationsCheckButton = new Gtk.CheckButton();
     this.enableNotificationsCheckButton.CanFocus = true;
     this.enableNotificationsCheckButton.Name = "enableNotificationsCheckButton";
     this.enableNotificationsCheckButton.Label = Mono.Unix.Catalog.GetString("Enable notifications on torrent completion");
     this.enableNotificationsCheckButton.DrawIndicator = true;
     this.enableNotificationsCheckButton.UseUnderline = true;
     this.table2.Add(this.enableNotificationsCheckButton);
     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table2[this.enableNotificationsCheckButton]));
     w8.TopAttach = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.enableTrayCheckButton = new Gtk.CheckButton();
     this.enableTrayCheckButton.CanFocus = true;
     this.enableTrayCheckButton.Name = "enableTrayCheckButton";
     this.enableTrayCheckButton.Label = Mono.Unix.Catalog.GetString("Enable icon");
     this.enableTrayCheckButton.DrawIndicator = true;
     this.enableTrayCheckButton.UseUnderline = true;
     this.table2.Add(this.enableTrayCheckButton);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table2[this.enableTrayCheckButton]));
     w9.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.minimizeTrayCheckButton = new Gtk.CheckButton();
     this.minimizeTrayCheckButton.CanFocus = true;
     this.minimizeTrayCheckButton.Name = "minimizeTrayCheckButton";
     this.minimizeTrayCheckButton.Label = Mono.Unix.Catalog.GetString("Minimize to notification area on close");
     this.minimizeTrayCheckButton.DrawIndicator = true;
     this.minimizeTrayCheckButton.UseUnderline = true;
     this.table2.Add(this.minimizeTrayCheckButton);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table2[this.minimizeTrayCheckButton]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment11.Add(this.table2);
     this.frame8.Add(this.GtkAlignment11);
     this.GtkLabel20 = new Gtk.Label();
     this.GtkLabel20.Name = "GtkLabel20";
     this.GtkLabel20.LabelProp = Mono.Unix.Catalog.GetString("<b>Notification Area Icon</b>");
     this.GtkLabel20.UseMarkup = true;
     this.frame8.LabelWidget = this.GtkLabel20;
     this.vbox3.Add(this.frame8);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame8]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     this.prefNotebook.Add(this.vbox3);
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("General");
     this.prefNotebook.SetTabLabel(this.vbox3, this.label2);
     this.label2.ShowAll();
     // Container child prefNotebook.Gtk.Notebook+NotebookChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.BorderWidth = ((uint)(5));
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new Gtk.Frame();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.table3 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.maxConnectionsLabel = new Gtk.Label();
     this.maxConnectionsLabel.Name = "maxConnectionsLabel";
     this.maxConnectionsLabel.Xalign = 0F;
     this.maxConnectionsLabel.LabelProp = Mono.Unix.Catalog.GetString("Maximum connections: ");
     this.table3.Add(this.maxConnectionsLabel);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table3[this.maxConnectionsLabel]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.XOptions = ((Gtk.AttachOptions)(4));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.maxConnectionsSpinButton = new Gtk.SpinButton(0, 1000, 1);
     this.maxConnectionsSpinButton.CanFocus = true;
     this.maxConnectionsSpinButton.Name = "maxConnectionsSpinButton";
     this.maxConnectionsSpinButton.Adjustment.PageIncrement = 10;
     this.maxConnectionsSpinButton.ClimbRate = 1;
     this.maxConnectionsSpinButton.Numeric = true;
     this.table3.Add(this.maxConnectionsSpinButton);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table3[this.maxConnectionsSpinButton]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((Gtk.AttachOptions)(4));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.portLabel = new Gtk.Label();
     this.portLabel.Name = "portLabel";
     this.portLabel.Xalign = 0F;
     this.portLabel.LabelProp = Mono.Unix.Catalog.GetString("Listen port: ");
     this.table3.Add(this.portLabel);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table3[this.portLabel]));
     w17.XOptions = ((Gtk.AttachOptions)(4));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.portSpinButton = new Gtk.SpinButton(0, 65535, 1);
     this.portSpinButton.CanFocus = true;
     this.portSpinButton.Name = "portSpinButton";
     this.portSpinButton.Adjustment.PageIncrement = 10;
     this.portSpinButton.ClimbRate = 1;
     this.portSpinButton.Numeric = true;
     this.table3.Add(this.portSpinButton);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table3[this.portSpinButton]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((Gtk.AttachOptions)(4));
     w18.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.upnpCheckBox = new Gtk.CheckButton();
     this.upnpCheckBox.CanFocus = true;
     this.upnpCheckBox.Name = "upnpCheckBox";
     this.upnpCheckBox.Label = Mono.Unix.Catalog.GetString("Enable UPnP");
     this.upnpCheckBox.DrawIndicator = true;
     this.upnpCheckBox.UseUnderline = true;
     this.table3.Add(this.upnpCheckBox);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table3[this.upnpCheckBox]));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment1.Add(this.table3);
     this.frame1.Add(this.GtkAlignment1);
     this.GtkLabel5 = new Gtk.Label();
     this.GtkLabel5.Name = "GtkLabel5";
     this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Ports</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel5;
     this.vbox2.Add(this.frame1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame2 = new Gtk.Frame();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.table4 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table4.Name = "table4";
     this.table4.RowSpacing = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.downloadSpeedLabel = new Gtk.Label();
     this.downloadSpeedLabel.Name = "downloadSpeedLabel";
     this.downloadSpeedLabel.Xalign = 0F;
     this.downloadSpeedLabel.LabelProp = Mono.Unix.Catalog.GetString("Maximum download speed: ");
     this.table4.Add(this.downloadSpeedLabel);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table4[this.downloadSpeedLabel]));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.maxDownloadSpeedSpinButton = new Gtk.SpinButton(0, 5000, 1);
     this.maxDownloadSpeedSpinButton.CanFocus = true;
     this.maxDownloadSpeedSpinButton.Name = "maxDownloadSpeedSpinButton";
     this.maxDownloadSpeedSpinButton.Adjustment.PageIncrement = 10;
     this.maxDownloadSpeedSpinButton.ClimbRate = 1;
     this.maxDownloadSpeedSpinButton.Numeric = true;
     this.table4.Add(this.maxDownloadSpeedSpinButton);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table4[this.maxDownloadSpeedSpinButton]));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.maxUploadSpeedSpinButton = new Gtk.SpinButton(0, 5000, 1);
     this.maxUploadSpeedSpinButton.CanFocus = true;
     this.maxUploadSpeedSpinButton.Name = "maxUploadSpeedSpinButton";
     this.maxUploadSpeedSpinButton.Adjustment.PageIncrement = 10;
     this.maxUploadSpeedSpinButton.ClimbRate = 1;
     this.maxUploadSpeedSpinButton.Numeric = true;
     this.table4.Add(this.maxUploadSpeedSpinButton);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table4[this.maxUploadSpeedSpinButton]));
     w25.TopAttach = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((Gtk.AttachOptions)(4));
     w25.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.uploadSpeedLabel = new Gtk.Label();
     this.uploadSpeedLabel.Name = "uploadSpeedLabel";
     this.uploadSpeedLabel.Xalign = 0F;
     this.uploadSpeedLabel.LabelProp = Mono.Unix.Catalog.GetString("Maximum upload speed: ");
     this.table4.Add(this.uploadSpeedLabel);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table4[this.uploadSpeedLabel]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment2.Add(this.table4);
     this.frame2.Add(this.GtkAlignment2);
     this.bandwidthPanelLabel = new Gtk.Label();
     this.bandwidthPanelLabel.Name = "bandwidthPanelLabel";
     this.bandwidthPanelLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Bandwidth</b>");
     this.bandwidthPanelLabel.UseMarkup = true;
     this.frame2.LabelWidget = this.bandwidthPanelLabel;
     this.vbox2.Add(this.frame2);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame9 = new Gtk.Frame();
     this.frame9.Name = "frame9";
     this.frame9.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame9.Gtk.Container+ContainerChild
     this.alignment1 = new Gtk.Alignment(0F, 0.5F, 1F, 0F);
     this.alignment1.Name = "alignment1";
     this.alignment1.LeftPadding = ((uint)(12));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Encryption");
     this.hbox3.Add(this.label9);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox3[this.label9]));
     w30.Position = 0;
     w30.Expand = false;
     w30.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.encryptionCombo = Gtk.ComboBox.NewText();
     this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("No Encryption"));
     this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("Allow Encryption"));
     this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("Prefer Encryption"));
     this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("Force Encryption"));
     this.encryptionCombo.Name = "encryptionCombo";
     this.encryptionCombo.Active = 1;
     this.hbox3.Add(this.encryptionCombo);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox3[this.encryptionCombo]));
     w31.PackType = ((Gtk.PackType)(1));
     w31.Position = 2;
     w31.Expand = false;
     w31.Fill = false;
     this.alignment1.Add(this.hbox3);
     this.frame9.Add(this.alignment1);
     this.GtkLabel18 = new Gtk.Label();
     this.GtkLabel18.Name = "GtkLabel18";
     this.GtkLabel18.LabelProp = Mono.Unix.Catalog.GetString("<b>Encryption</b>");
     this.GtkLabel18.UseMarkup = true;
     this.frame9.LabelWidget = this.GtkLabel18;
     this.vbox2.Add(this.frame9);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame9]));
     w34.Position = 2;
     w34.Expand = false;
     w34.Fill = false;
     this.prefNotebook.Add(this.vbox2);
     Gtk.Notebook.NotebookChild w35 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox2]));
     w35.Position = 1;
     // Notebook tab
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Connection");
     this.prefNotebook.SetTabLabel(this.vbox2, this.label3);
     this.label3.ShowAll();
     // Container child prefNotebook.Gtk.Notebook+NotebookChild
     this.vbox5 = new Gtk.VBox();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame4 = new Gtk.Frame();
     this.frame4.Name = "frame4";
     this.frame4.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame4.Gtk.Container+ContainerChild
     this.GtkAlignment5 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment5.Name = "GtkAlignment5";
     this.GtkAlignment5.LeftPadding = ((uint)(12));
     // Container child GtkAlignment5.Gtk.Container+ContainerChild
     this.vbox8 = new Gtk.VBox();
     this.vbox8.Name = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.startNewTorrentsCheckBox = new Gtk.CheckButton();
     this.startNewTorrentsCheckBox.CanFocus = true;
     this.startNewTorrentsCheckBox.Name = "startNewTorrentsCheckBox";
     this.startNewTorrentsCheckBox.Label = Mono.Unix.Catalog.GetString("Start added torrents automatically");
     this.startNewTorrentsCheckBox.Active = true;
     this.startNewTorrentsCheckBox.DrawIndicator = true;
     this.startNewTorrentsCheckBox.UseUnderline = true;
     this.vbox8.Add(this.startNewTorrentsCheckBox);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox8[this.startNewTorrentsCheckBox]));
     w36.Position = 0;
     w36.Expand = false;
     w36.Fill = false;
     this.GtkAlignment5.Add(this.vbox8);
     this.frame4.Add(this.GtkAlignment5);
     this.GtkLabel7 = new Gtk.Label();
     this.GtkLabel7.Name = "GtkLabel7";
     this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame4.LabelWidget = this.GtkLabel7;
     this.vbox5.Add(this.frame4);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame4]));
     w39.Position = 0;
     w39.Expand = false;
     w39.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.foldersFrame = new Gtk.Frame();
     this.foldersFrame.Name = "foldersFrame";
     this.foldersFrame.ShadowType = ((Gtk.ShadowType)(0));
     // Container child foldersFrame.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.foldersTable = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.foldersTable.Name = "foldersTable";
     this.foldersTable.RowSpacing = ((uint)(6));
     this.foldersTable.ColumnSpacing = ((uint)(6));
     // Container child foldersTable.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Default download location: ");
     this.foldersTable.Add(this.label1);
     Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.foldersTable[this.label1]));
     w40.XOptions = ((Gtk.AttachOptions)(4));
     w40.YOptions = ((Gtk.AttachOptions)(4));
     // Container child foldersTable.Gtk.Table+TableChild
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.Xalign = 0F;
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Torrent storage location:");
     this.foldersTable.Add(this.label7);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.foldersTable[this.label7]));
     w41.TopAttach = ((uint)(1));
     w41.BottomAttach = ((uint)(2));
     w41.XOptions = ((Gtk.AttachOptions)(4));
     w41.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment3.Add(this.foldersTable);
     this.foldersFrame.Add(this.GtkAlignment3);
     this.GtkLabel8 = new Gtk.Label();
     this.GtkLabel8.Name = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Folders</b>");
     this.GtkLabel8.UseMarkup = true;
     this.foldersFrame.LabelWidget = this.GtkLabel8;
     this.vbox5.Add(this.foldersFrame);
     Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.vbox5[this.foldersFrame]));
     w44.Position = 1;
     w44.Expand = false;
     w44.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame3 = new Gtk.Frame();
     this.frame3.Name = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.vbox7 = new Gtk.VBox();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.importTorrentsCheckBox = new Gtk.CheckButton();
     this.importTorrentsCheckBox.CanFocus = true;
     this.importTorrentsCheckBox.Name = "importTorrentsCheckBox";
     this.importTorrentsCheckBox.Label = Mono.Unix.Catalog.GetString("Import new torrents automatically");
     this.importTorrentsCheckBox.DrawIndicator = true;
     this.importTorrentsCheckBox.UseUnderline = true;
     this.vbox7.Add(this.importTorrentsCheckBox);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox7[this.importTorrentsCheckBox]));
     w45.Position = 0;
     w45.Expand = false;
     w45.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.removeOnImportCheckButton = new Gtk.CheckButton();
     this.removeOnImportCheckButton.CanFocus = true;
     this.removeOnImportCheckButton.Name = "removeOnImportCheckButton";
     this.removeOnImportCheckButton.Label = Mono.Unix.Catalog.GetString("Remove torrent file after imported");
     this.removeOnImportCheckButton.DrawIndicator = true;
     this.removeOnImportCheckButton.UseUnderline = true;
     this.vbox7.Add(this.removeOnImportCheckButton);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox7[this.removeOnImportCheckButton]));
     w46.Position = 1;
     w46.Expand = false;
     w46.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.importDirectoryHbox = new Gtk.HBox();
     this.importDirectoryHbox.Name = "importDirectoryHbox";
     this.importDirectoryHbox.Spacing = 6;
     // Container child importDirectoryHbox.Gtk.Box+BoxChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Import directory:");
     this.importDirectoryHbox.Add(this.label6);
     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.importDirectoryHbox[this.label6]));
     w47.Position = 0;
     w47.Expand = false;
     w47.Fill = false;
     this.vbox7.Add(this.importDirectoryHbox);
     Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox7[this.importDirectoryHbox]));
     w48.Position = 2;
     w48.Expand = false;
     w48.Fill = false;
     this.GtkAlignment4.Add(this.vbox7);
     this.frame3.Add(this.GtkAlignment4);
     this.GtkLabel11 = new Gtk.Label();
     this.GtkLabel11.Name = "GtkLabel11";
     this.GtkLabel11.LabelProp = Mono.Unix.Catalog.GetString("<b>Importing Torrents</b>");
     this.GtkLabel11.UseMarkup = true;
     this.frame3.LabelWidget = this.GtkLabel11;
     this.vbox5.Add(this.frame3);
     Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame3]));
     w51.Position = 2;
     w51.Expand = false;
     w51.Fill = false;
     this.prefNotebook.Add(this.vbox5);
     Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox5]));
     w52.Position = 2;
     // Notebook tab
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Downloads");
     this.prefNotebook.SetTabLabel(this.vbox5, this.label4);
     this.label4.ShowAll();
     // Container child prefNotebook.Gtk.Notebook+NotebookChild
     this.vbox4 = new Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.BorderWidth = ((uint)(3));
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame5 = new Gtk.Frame();
     this.frame5.Name = "frame5";
     // Container child frame5.Gtk.Container+ContainerChild
     this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.table5 = new Gtk.Table(((uint)(3)), ((uint)(3)), true);
     this.table5.Name = "table5";
     this.table5.RowSpacing = ((uint)(6));
     this.table5.ColumnSpacing = ((uint)(6));
     // Container child table5.Gtk.Table+TableChild
     this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     this.table5.Add(this.alignment2);
     Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table5[this.alignment2]));
     w53.LeftAttach = ((uint)(1));
     w53.RightAttach = ((uint)(2));
     w53.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.lblMaxActive = new Gtk.Label();
     this.lblMaxActive.Name = "lblMaxActive";
     this.lblMaxActive.Xalign = 0F;
     this.lblMaxActive.LabelProp = Mono.Unix.Catalog.GetString("label1");
     this.table5.Add(this.lblMaxActive);
     Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table5[this.lblMaxActive]));
     w54.XOptions = ((Gtk.AttachOptions)(4));
     w54.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.lblMaxDownload = new Gtk.Label();
     this.lblMaxDownload.Name = "lblMaxDownload";
     this.lblMaxDownload.Xalign = 0F;
     this.lblMaxDownload.LabelProp = Mono.Unix.Catalog.GetString("label2");
     this.table5.Add(this.lblMaxDownload);
     Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table5[this.lblMaxDownload]));
     w55.TopAttach = ((uint)(1));
     w55.BottomAttach = ((uint)(2));
     w55.XOptions = ((Gtk.AttachOptions)(4));
     w55.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.lblMaxSeed = new Gtk.Label();
     this.lblMaxSeed.Name = "lblMaxSeed";
     this.lblMaxSeed.Xalign = 0F;
     this.lblMaxSeed.LabelProp = Mono.Unix.Catalog.GetString("label3");
     this.table5.Add(this.lblMaxSeed);
     Gtk.Table.TableChild w56 = ((Gtk.Table.TableChild)(this.table5[this.lblMaxSeed]));
     w56.TopAttach = ((uint)(2));
     w56.BottomAttach = ((uint)(3));
     w56.XOptions = ((Gtk.AttachOptions)(4));
     w56.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.spinMaxActive = new Gtk.SpinButton(0, 100, 1);
     this.spinMaxActive.CanFocus = true;
     this.spinMaxActive.Name = "spinMaxActive";
     this.spinMaxActive.Adjustment.PageIncrement = 10;
     this.spinMaxActive.ClimbRate = 1;
     this.spinMaxActive.Numeric = true;
     this.table5.Add(this.spinMaxActive);
     Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table5[this.spinMaxActive]));
     w57.LeftAttach = ((uint)(2));
     w57.RightAttach = ((uint)(3));
     w57.XOptions = ((Gtk.AttachOptions)(4));
     w57.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.spinMaxDownload = new Gtk.SpinButton(0, 100, 1);
     this.spinMaxDownload.CanFocus = true;
     this.spinMaxDownload.Name = "spinMaxDownload";
     this.spinMaxDownload.Adjustment.PageIncrement = 10;
     this.spinMaxDownload.ClimbRate = 1;
     this.spinMaxDownload.Numeric = true;
     this.table5.Add(this.spinMaxDownload);
     Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table5[this.spinMaxDownload]));
     w58.TopAttach = ((uint)(1));
     w58.BottomAttach = ((uint)(2));
     w58.LeftAttach = ((uint)(2));
     w58.RightAttach = ((uint)(3));
     w58.XOptions = ((Gtk.AttachOptions)(4));
     w58.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.spinMaxSeed = new Gtk.SpinButton(0, 100, 1);
     this.spinMaxSeed.CanFocus = true;
     this.spinMaxSeed.Name = "spinMaxSeed";
     this.spinMaxSeed.Adjustment.PageIncrement = 10;
     this.spinMaxSeed.ClimbRate = 1;
     this.spinMaxSeed.Numeric = true;
     this.table5.Add(this.spinMaxSeed);
     Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table5[this.spinMaxSeed]));
     w59.TopAttach = ((uint)(2));
     w59.BottomAttach = ((uint)(3));
     w59.LeftAttach = ((uint)(2));
     w59.RightAttach = ((uint)(3));
     w59.XOptions = ((Gtk.AttachOptions)(4));
     w59.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table5);
     this.frame5.Add(this.GtkAlignment);
     this.labelActive = new Gtk.Label();
     this.labelActive.Name = "labelActive";
     this.labelActive.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>");
     this.labelActive.UseMarkup = true;
     this.frame5.LabelWidget = this.labelActive;
     this.vbox4.Add(this.frame5);
     Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame5]));
     w62.Position = 0;
     w62.Expand = false;
     w62.Fill = false;
     this.prefNotebook.Add(this.vbox4);
     Gtk.Notebook.NotebookChild w63 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox4]));
     w63.Position = 3;
     // Notebook tab
     this.queuePage = new Gtk.Label();
     this.queuePage.Name = "queuePage";
     this.queuePage.LabelProp = Mono.Unix.Catalog.GetString("Queue");
     this.prefNotebook.SetTabLabel(this.vbox4, this.queuePage);
     this.queuePage.ShowAll();
     // Container child prefNotebook.Gtk.Notebook+NotebookChild
     this.vbox9 = new Gtk.VBox();
     this.vbox9.Name = "vbox9";
     this.vbox9.Spacing = 6;
     // Container child vbox9.Gtk.Box+BoxChild
     this.frame10 = new Gtk.Frame();
     this.frame10.Name = "frame10";
     this.frame10.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame10.Gtk.Container+ContainerChild
     this.GtkAlignment6 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.iconHbox = new Gtk.HBox();
     this.iconHbox.Name = "iconHbox";
     this.iconHbox.Spacing = 6;
     // Container child iconHbox.Gtk.Box+BoxChild
     this.iconEntryBox = new Gtk.HBox();
     this.iconEntryBox.Name = "iconEntryBox";
     this.iconEntryBox.Spacing = 6;
     this.iconHbox.Add(this.iconEntryBox);
     Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(this.iconHbox[this.iconEntryBox]));
     w64.Position = 0;
     // Container child iconHbox.Gtk.Box+BoxChild
     this.vbox10 = new Gtk.VBox();
     this.vbox10.Name = "vbox10";
     this.vbox10.Spacing = 6;
     // Container child vbox10.Gtk.Box+BoxChild
     this.hbox6 = new Gtk.HBox();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.nameEntry = new Gtk.Entry();
     this.nameEntry.CanFocus = true;
     this.nameEntry.Name = "nameEntry";
     this.nameEntry.IsEditable = true;
     this.nameEntry.InvisibleChar = '●';
     this.hbox6.Add(this.nameEntry);
     Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.hbox6[this.nameEntry]));
     w65.PackType = ((Gtk.PackType)(1));
     w65.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label8 = new Gtk.Label();
     this.label8.Name = "label8";
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Name:");
     this.hbox6.Add(this.label8);
     Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox6[this.label8]));
     w66.PackType = ((Gtk.PackType)(1));
     w66.Position = 1;
     w66.Expand = false;
     w66.Fill = false;
     this.vbox10.Add(this.hbox6);
     Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.vbox10[this.hbox6]));
     w67.Position = 0;
     w67.Expand = false;
     w67.Fill = false;
     this.iconHbox.Add(this.vbox10);
     Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.iconHbox[this.vbox10]));
     w68.Position = 1;
     // Container child iconHbox.Gtk.Box+BoxChild
     this.vbox12 = new Gtk.VBox();
     this.vbox12.Name = "vbox12";
     this.vbox12.Spacing = 6;
     this.iconHbox.Add(this.vbox12);
     Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.iconHbox[this.vbox12]));
     w69.Position = 2;
     this.GtkAlignment6.Add(this.iconHbox);
     this.frame10.Add(this.GtkAlignment6);
     this.GtkLabel19 = new Gtk.Label();
     this.GtkLabel19.Name = "GtkLabel19";
     this.GtkLabel19.LabelProp = Mono.Unix.Catalog.GetString("<b>Create a label</b>");
     this.GtkLabel19.UseMarkup = true;
     this.frame10.LabelWidget = this.GtkLabel19;
     this.vbox9.Add(this.frame10);
     Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame10]));
     w72.Position = 0;
     w72.Expand = false;
     w72.Fill = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.frame6 = new Gtk.Frame();
     this.frame6.Name = "frame6";
     this.frame6.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame6.Gtk.Container+ContainerChild
     this.GtkAlignment7 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.hbox8 = new Gtk.HBox();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.labelScrolledWindow = new Gtk.ScrolledWindow();
     this.labelScrolledWindow.CanFocus = true;
     this.labelScrolledWindow.Name = "labelScrolledWindow";
     this.labelScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     this.hbox8.Add(this.labelScrolledWindow);
     Gtk.Box.BoxChild w73 = ((Gtk.Box.BoxChild)(this.hbox8[this.labelScrolledWindow]));
     w73.Position = 0;
     // Container child hbox8.Gtk.Box+BoxChild
     this.vbox11 = new Gtk.VBox();
     this.vbox11.Name = "vbox11";
     this.vbox11.Spacing = 6;
     // Container child vbox11.Gtk.Box+BoxChild
     this.addLabelButton = new Gtk.Button();
     this.addLabelButton.Sensitive = false;
     this.addLabelButton.CanFocus = true;
     this.addLabelButton.Name = "addLabelButton";
     this.addLabelButton.UseUnderline = true;
     // Container child addLabelButton.Gtk.Container+ContainerChild
     Gtk.Alignment w74 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     Gtk.HBox w75 = new Gtk.HBox();
     w75.Spacing = 2;
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Image w76 = new Gtk.Image();
     w76.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w75.Add(w76);
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Label w78 = new Gtk.Label();
     w78.LabelProp = Mono.Unix.Catalog.GetString("Add");
     w78.UseUnderline = true;
     w75.Add(w78);
     w74.Add(w75);
     this.addLabelButton.Add(w74);
     this.vbox11.Add(this.addLabelButton);
     Gtk.Box.BoxChild w82 = ((Gtk.Box.BoxChild)(this.vbox11[this.addLabelButton]));
     w82.Position = 0;
     w82.Expand = false;
     w82.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.removeLabelButton = new Gtk.Button();
     this.removeLabelButton.Sensitive = false;
     this.removeLabelButton.CanFocus = true;
     this.removeLabelButton.Name = "removeLabelButton";
     this.removeLabelButton.UseUnderline = true;
     // Container child removeLabelButton.Gtk.Container+ContainerChild
     Gtk.Alignment w83 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment9.Gtk.Container+ContainerChild
     Gtk.HBox w84 = new Gtk.HBox();
     w84.Spacing = 2;
     // Container child GtkHBox3.Gtk.Container+ContainerChild
     Gtk.Image w85 = new Gtk.Image();
     w85.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Menu, 16);
     w84.Add(w85);
     // Container child GtkHBox3.Gtk.Container+ContainerChild
     Gtk.Label w87 = new Gtk.Label();
     w87.LabelProp = Mono.Unix.Catalog.GetString("Remove");
     w87.UseUnderline = true;
     w84.Add(w87);
     w83.Add(w84);
     this.removeLabelButton.Add(w83);
     this.vbox11.Add(this.removeLabelButton);
     Gtk.Box.BoxChild w91 = ((Gtk.Box.BoxChild)(this.vbox11[this.removeLabelButton]));
     w91.Position = 1;
     w91.Expand = false;
     w91.Fill = false;
     this.hbox8.Add(this.vbox11);
     Gtk.Box.BoxChild w92 = ((Gtk.Box.BoxChild)(this.hbox8[this.vbox11]));
     w92.Position = 1;
     w92.Expand = false;
     w92.Fill = false;
     this.GtkAlignment7.Add(this.hbox8);
     this.frame6.Add(this.GtkAlignment7);
     this.GtkLabel21 = new Gtk.Label();
     this.GtkLabel21.Name = "GtkLabel21";
     this.GtkLabel21.LabelProp = Mono.Unix.Catalog.GetString("<b>Manage labels</b>");
     this.GtkLabel21.UseMarkup = true;
     this.frame6.LabelWidget = this.GtkLabel21;
     this.vbox9.Add(this.frame6);
     Gtk.Box.BoxChild w95 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame6]));
     w95.Position = 1;
     this.prefNotebook.Add(this.vbox9);
     Gtk.Notebook.NotebookChild w96 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox9]));
     w96.Position = 4;
     // Notebook tab
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Labels");
     this.prefNotebook.SetTabLabel(this.vbox9, this.label10);
     this.label10.ShowAll();
     w1.Add(this.prefNotebook);
     Gtk.Box.BoxChild w97 = ((Gtk.Box.BoxChild)(w1[this.prefNotebook]));
     w97.Position = 0;
     // Internal child Monsoon.PreferencesDialog.ActionArea
     Gtk.HButtonBox w98 = this.ActionArea;
     w98.Name = "GtkDialog_ActionArea";
     w98.Spacing = 6;
     w98.BorderWidth = ((uint)(5));
     w98.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button478 = new Gtk.Button();
     this.button478.CanDefault = true;
     this.button478.CanFocus = true;
     this.button478.Name = "button478";
     this.button478.UseStock = true;
     this.button478.UseUnderline = true;
     this.button478.Label = "gtk-close";
     this.AddActionWidget(this.button478, -7);
     Gtk.ButtonBox.ButtonBoxChild w99 = ((Gtk.ButtonBox.ButtonBoxChild)(w98[this.button478]));
     w99.Expand = false;
     w99.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 445;
     this.DefaultHeight = 423;
     this.Show();
     this.portSpinButton.ValueChanged += new System.EventHandler(this.OnPortSpinButtonValueChanged);
     this.maxConnectionsSpinButton.ValueChanged += new System.EventHandler(this.OnMaxConnectionsSpinButtonValueChanged);
     this.maxUploadSpeedSpinButton.ValueChanged += new System.EventHandler(this.OnMaxUploadSpeedSpinButtonValueChanged);
     this.maxDownloadSpeedSpinButton.ValueChanged += new System.EventHandler(this.OnMaxDownloadSpeedSpinButtonValueChanged);
     this.startNewTorrentsCheckBox.Clicked += new System.EventHandler(this.OnStartNewTorrentsCheckBoxClicked);
     this.importTorrentsCheckBox.Clicked += new System.EventHandler(this.OnImportTorrentsCheckBoxClicked);
     this.removeOnImportCheckButton.Clicked += new System.EventHandler(this.OnRemoveOnImportCheckButtonClicked);
     this.nameEntry.Changed += new System.EventHandler(this.OnNameEntryChanged);
     this.addLabelButton.Clicked += new System.EventHandler(this.OnAddLabelButtonClicked);
     this.removeLabelButton.Clicked += new System.EventHandler(this.OnRemoveLabelButtonClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget Mono.Addins.Gui.AddinManagerDialog
     this.Name          = "Mono.Addins.Gui.AddinManagerDialog";
     this.Title         = Mono.Unix.Catalog.GetString("MonoDevelop Add-in Manager");
     this.TypeHint      = ((Gdk.WindowTypeHint)(1));
     this.DefaultWidth  = 700;
     this.DefaultHeight = 550;
     // Internal child Mono.Addins.Gui.AddinManagerDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog-vbox8";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog-vbox8.Gtk.Box+BoxChild
     this.vbox93             = new Gtk.VBox();
     this.vbox93.Name        = "vbox93";
     this.vbox93.Spacing     = 6;
     this.vbox93.BorderWidth = ((uint)(12));
     // Container child vbox93.Gtk.Box+BoxChild
     this.hbox85         = new Gtk.HBox();
     this.hbox85.Name    = "hbox85";
     this.hbox85.Spacing = 12;
     // Container child hbox85.Gtk.Box+BoxChild
     this.imageInstall        = new Gtk.Image();
     this.imageInstall.Name   = "imageInstall";
     this.imageInstall.Yalign = 0F;
     this.imageInstall.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-warning", 48);
     this.hbox85.Add(this.imageInstall);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox85[this.imageInstall]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox85.Gtk.Box+BoxChild
     this.label144           = new Gtk.Label();
     this.label144.Name      = "label144";
     this.label144.LabelProp = Mono.Unix.Catalog.GetString("<big><b>MonoDevelop Add-in Manager</b></big>");
     this.label144.UseMarkup = true;
     this.hbox85.Add(this.label144);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox85[this.label144]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox93.Add(this.hbox85);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox93[this.hbox85]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox93.Gtk.Box+BoxChild
     this.hbox73         = new Gtk.HBox();
     this.hbox73.Name    = "hbox73";
     this.hbox73.Spacing = 12;
     // Container child hbox73.Gtk.Box+BoxChild
     this.label134           = new Gtk.Label();
     this.label134.Name      = "label134";
     this.label134.Xalign    = 0F;
     this.label134.LabelProp = Mono.Unix.Catalog.GetString("The following add-ins are currently installed:");
     this.hbox73.Add(this.label134);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox73[this.label134]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox93.Add(this.hbox73);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox93[this.hbox73]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox93.Gtk.Box+BoxChild
     this.hbox65         = new Gtk.HBox();
     this.hbox65.Name    = "hbox65";
     this.hbox65.Spacing = 12;
     // Container child hbox65.Gtk.Box+BoxChild
     this.hbox72         = new Gtk.HBox();
     this.hbox72.Name    = "hbox72";
     this.hbox72.Spacing = 12;
     // Container child hbox72.Gtk.Box+BoxChild
     this.scrolledwindow13                  = new Gtk.ScrolledWindow();
     this.scrolledwindow13.CanFocus         = true;
     this.scrolledwindow13.Name             = "scrolledwindow13";
     this.scrolledwindow13.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow13.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow13.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow13.Gtk.Container+ContainerChild
     this.addinTree          = new Gtk.TreeView();
     this.addinTree.CanFocus = true;
     this.addinTree.Name     = "addinTree";
     this.scrolledwindow13.Add(this.addinTree);
     this.hbox72.Add(this.scrolledwindow13);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox72[this.scrolledwindow13]));
     w8.Position = 0;
     // Container child hbox72.Gtk.Box+BoxChild
     this.vbox933         = new Gtk.VBox();
     this.vbox933.Name    = "vbox933";
     this.vbox933.Spacing = 5;
     // Container child vbox933.Gtk.Box+BoxChild
     this.btnInstall              = new Gtk.Button();
     this.btnInstall.CanFocus     = true;
     this.btnInstall.Name         = "btnInstall";
     this.btnInstall.UseUnderline = true;
     // Container child btnInstall.Gtk.Container+ContainerChild
     Gtk.Alignment w9 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w9.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w10 = new Gtk.HBox();
     w10.Name    = "GtkHBox";
     w10.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w11 = new Gtk.Image();
     w11.Name   = "image17";
     w11.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-add", 20);
     w10.Add(w11);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w13 = new Gtk.Label();
     w13.Name         = "GtkLabel";
     w13.LabelProp    = Mono.Unix.Catalog.GetString("_Install Add-ins...");
     w13.UseUnderline = true;
     w10.Add(w13);
     w9.Add(w10);
     this.btnInstall.Add(w9);
     this.vbox933.Add(this.btnInstall);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox933[this.btnInstall]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox933.Gtk.Box+BoxChild
     this.button3              = new Gtk.Button();
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label        = Mono.Unix.Catalog.GetString("_Repositories...");
     this.vbox933.Add(this.button3);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox933[this.button3]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox933.Gtk.Box+BoxChild
     this.hseparator4      = new Gtk.HSeparator();
     this.hseparator4.Name = "hseparator4";
     this.vbox933.Add(this.hseparator4);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox933[this.hseparator4]));
     w19.Position = 2;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox933.Gtk.Box+BoxChild
     this.btnUninstall              = new Gtk.Button();
     this.btnUninstall.CanFocus     = true;
     this.btnUninstall.Name         = "btnUninstall";
     this.btnUninstall.UseUnderline = true;
     // Container child btnUninstall.Gtk.Container+ContainerChild
     Gtk.Alignment w20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w20.Name = "GtkAlignment1";
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w21 = new Gtk.HBox();
     w21.Name    = "GtkHBox1";
     w21.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w22 = new Gtk.Image();
     w22.Name   = "image18";
     w22.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-remove", 20);
     w21.Add(w22);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w24 = new Gtk.Label();
     w24.Name         = "GtkLabel2";
     w24.LabelProp    = Mono.Unix.Catalog.GetString("_Uninstall...");
     w24.UseUnderline = true;
     w21.Add(w24);
     w20.Add(w21);
     this.btnUninstall.Add(w20);
     this.vbox933.Add(this.btnUninstall);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox933[this.btnUninstall]));
     w28.Position = 3;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox933.Gtk.Box+BoxChild
     this.btnEnable              = new Gtk.Button();
     this.btnEnable.CanFocus     = true;
     this.btnEnable.Name         = "btnEnable";
     this.btnEnable.UseUnderline = true;
     // Container child btnEnable.Gtk.Container+ContainerChild
     Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w29.Name = "GtkAlignment2";
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     Gtk.HBox w30 = new Gtk.HBox();
     w30.Name    = "GtkHBox2";
     w30.Spacing = 2;
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Image w31 = new Gtk.Image();
     w31.Name   = "image19";
     w31.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-yes", 20);
     w30.Add(w31);
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Label w33 = new Gtk.Label();
     w33.Name         = "GtkLabel3";
     w33.LabelProp    = Mono.Unix.Catalog.GetString("Enable");
     w33.UseUnderline = true;
     w30.Add(w33);
     w29.Add(w30);
     this.btnEnable.Add(w29);
     this.vbox933.Add(this.btnEnable);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox933[this.btnEnable]));
     w37.Position = 4;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child vbox933.Gtk.Box+BoxChild
     this.btnDisable              = new Gtk.Button();
     this.btnDisable.CanFocus     = true;
     this.btnDisable.Name         = "btnDisable";
     this.btnDisable.UseUnderline = true;
     // Container child btnDisable.Gtk.Container+ContainerChild
     Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w38.Name = "GtkAlignment3";
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     Gtk.HBox w39 = new Gtk.HBox();
     w39.Name    = "GtkHBox3";
     w39.Spacing = 2;
     // Container child GtkHBox3.Gtk.Container+ContainerChild
     Gtk.Image w40 = new Gtk.Image();
     w40.Name   = "image20";
     w40.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-no", 20);
     w39.Add(w40);
     // Container child GtkHBox3.Gtk.Container+ContainerChild
     Gtk.Label w42 = new Gtk.Label();
     w42.Name         = "GtkLabel4";
     w42.LabelProp    = Mono.Unix.Catalog.GetString("Disable");
     w42.UseUnderline = true;
     w39.Add(w42);
     w38.Add(w39);
     this.btnDisable.Add(w38);
     this.vbox933.Add(this.btnDisable);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox933[this.btnDisable]));
     w46.Position = 5;
     w46.Expand   = false;
     w46.Fill     = false;
     // Container child vbox933.Gtk.Box+BoxChild
     this.btnInfo              = new Gtk.Button();
     this.btnInfo.CanFocus     = true;
     this.btnInfo.Name         = "btnInfo";
     this.btnInfo.UseStock     = true;
     this.btnInfo.UseUnderline = true;
     this.btnInfo.Label        = "gtk-dialog-info";
     this.vbox933.Add(this.btnInfo);
     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.vbox933[this.btnInfo]));
     w47.Position = 6;
     w47.Expand   = false;
     w47.Fill     = false;
     this.hbox72.Add(this.vbox933);
     Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.hbox72[this.vbox933]));
     w48.Position = 1;
     w48.Expand   = false;
     w48.Fill     = false;
     this.hbox65.Add(this.hbox72);
     Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.hbox65[this.hbox72]));
     w49.Position = 0;
     this.vbox93.Add(this.hbox65);
     Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox93[this.hbox65]));
     w50.Position = 2;
     w1.Add(this.vbox93);
     Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(w1[this.vbox93]));
     w51.Position = 0;
     // Internal child Mono.Addins.Gui.AddinManagerDialog.ActionArea
     Gtk.HButtonBox w52 = this.ActionArea;
     w52.Name        = "dialog-action_area8";
     w52.Spacing     = 10;
     w52.BorderWidth = ((uint)(5));
     w52.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog-action_area8.Gtk.ButtonBox+ButtonBoxChild
     this.btnClose              = new Gtk.Button();
     this.btnClose.CanDefault   = true;
     this.btnClose.CanFocus     = true;
     this.btnClose.Name         = "btnClose";
     this.btnClose.UseStock     = true;
     this.btnClose.UseUnderline = true;
     this.btnClose.Label        = "gtk-close";
     this.AddActionWidget(this.btnClose, -7);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.addinTree.CursorChanged += new System.EventHandler(this.OnSelectionChanged);
     this.btnInstall.Clicked      += new System.EventHandler(this.OnInstall);
     this.button3.Clicked         += new System.EventHandler(this.OnManageRepos);
     this.btnUninstall.Clicked    += new System.EventHandler(this.OnUninstall);
     this.btnEnable.Clicked       += new System.EventHandler(this.OnEnable);
     this.btnDisable.Clicked      += new System.EventHandler(this.OnDisable);
     this.btnInfo.Clicked         += new System.EventHandler(this.OnShowInfo);
 }
Пример #35
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
     this.FileAction = new Gtk.Action("FileAction", Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.jumpToAction = new Gtk.Action("jumpToAction", Mono.Unix.Catalog.GetString("Restart"), null, "gtk-jump-to");
     this.jumpToAction.ShortLabel = Mono.Unix.Catalog.GetString("Restart");
     w1.Add(this.jumpToAction, null);
     this.quitAction = new Gtk.Action("quitAction", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = Mono.Unix.Catalog.GetString("Quit");
     w1.Add(this.quitAction, null);
     this.HelpAction = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, "none");
     this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("About...");
     w1.Add(this.HelpAction, null);
     this.saveAction = new Gtk.Action("saveAction", Mono.Unix.Catalog.GetString("Take snapshot"), null, "gtk-save");
     this.saveAction.ShortLabel = Mono.Unix.Catalog.GetString("Take snapshot");
     w1.Add(this.saveAction, null);
     this.helpAction = new Gtk.Action("helpAction", Mono.Unix.Catalog.GetString("About..."), null, "gtk-help");
     this.helpAction.ShortLabel = Mono.Unix.Catalog.GetString("About...");
     w1.Add(this.helpAction, null);
     this.OptionsAction = new Gtk.Action("OptionsAction", Mono.Unix.Catalog.GetString("Options"), null, null);
     this.OptionsAction.ShortLabel = Mono.Unix.Catalog.GetString("Options");
     w1.Add(this.OptionsAction, null);
     this.GraphicsAction = new Gtk.Action("GraphicsAction", Mono.Unix.Catalog.GetString("Graphics"), null, null);
     this.GraphicsAction.ShortLabel = Mono.Unix.Catalog.GetString("Graphics");
     w1.Add(this.GraphicsAction, null);
     this.AnimationDelayAction = new Gtk.Action("AnimationDelayAction", Mono.Unix.Catalog.GetString("Animation Delay"), null, null);
     this.AnimationDelayAction.ShortLabel = Mono.Unix.Catalog.GetString("Animation Delay");
     w1.Add(this.AnimationDelayAction, null);
     this.mediaPlayAction = new Gtk.Action("mediaPlayAction", Mono.Unix.Catalog.GetString("Frame Delay"), null, "gtk-media-play");
     this.mediaPlayAction.ShortLabel = Mono.Unix.Catalog.GetString("Frame Delay");
     w1.Add(this.mediaPlayAction, null);
     this.d500MsAction = new Gtk.RadioAction("d500MsAction", Mono.Unix.Catalog.GetString("500 ms"), null, null, 0);
     this.d500MsAction.Group = new GLib.SList(System.IntPtr.Zero);
     this.d500MsAction.ShortLabel = Mono.Unix.Catalog.GetString("500 ms");
     w1.Add(this.d500MsAction, null);
     this.d1000MsAction = new Gtk.RadioAction("d1000MsAction", Mono.Unix.Catalog.GetString("1000 ms"), null, null, 0);
     this.d1000MsAction.Group = this.d500MsAction.Group;
     this.d1000MsAction.ShortLabel = Mono.Unix.Catalog.GetString("1000 ms");
     w1.Add(this.d1000MsAction, null);
     this.d250MsAction = new Gtk.RadioAction("d250MsAction", Mono.Unix.Catalog.GetString("250 ms"), null, null, 0);
     this.d250MsAction.Group = this.d500MsAction.Group;
     this.d250MsAction.ShortLabel = Mono.Unix.Catalog.GetString("250 ms");
     w1.Add(this.d250MsAction, null);
     this.d100MsAction = new Gtk.RadioAction("d100MsAction", Mono.Unix.Catalog.GetString("100 ms"), null, null, 0);
     this.d100MsAction.Group = this.d500MsAction.Group;
     this.d100MsAction.ShortLabel = Mono.Unix.Catalog.GetString("100 ms");
     w1.Add(this.d100MsAction, null);
     this.DrawGridAction = new Gtk.ToggleAction("DrawGridAction", Mono.Unix.Catalog.GetString("Draw Grid"), null, null);
     this.DrawGridAction.ShortLabel = Mono.Unix.Catalog.GetString("Draw Grid");
     w1.Add(this.DrawGridAction, null);
     this.ANSIOnlyAction = new Gtk.ToggleAction("ANSIOnlyAction", Mono.Unix.Catalog.GetString("ANSI Only"), null, null);
     this.ANSIOnlyAction.Active = true;
     this.ANSIOnlyAction.ShortLabel = Mono.Unix.Catalog.GetString("ANSI Only");
     w1.Add(this.ANSIOnlyAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = Mono.Unix.Catalog.GetString("GVisHuff - Adaptive Huffman Animator");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.MainLayout = new Gtk.VBox();
     this.MainLayout.Name = "MainLayout";
     this.MainLayout.Spacing = 6;
     // Container child MainLayout.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='MainMenu'><menu name='FileAction' action='FileAction'><menuitem name='jumpToAction' action='jumpToAction'/><menuitem name='saveAction' action='saveAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='OptionsAction' action='OptionsAction'><menu name='mediaPlayAction' action='mediaPlayAction'><menuitem name='d100MsAction' action='d100MsAction'/><menuitem name='d250MsAction' action='d250MsAction'/><menuitem name='d500MsAction' action='d500MsAction'/><menuitem name='d1000MsAction' action='d1000MsAction'/></menu><menuitem name='DrawGridAction' action='DrawGridAction'/><menuitem name='ANSIOnlyAction' action='ANSIOnlyAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/></menu></menubar></ui>");
     this.MainMenu = ((Gtk.MenuBar)(this.UIManager.GetWidget("/MainMenu")));
     this.MainMenu.Name = "MainMenu";
     this.MainLayout.Add(this.MainMenu);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.MainLayout[this.MainMenu]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child MainLayout.Gtk.Box+BoxChild
     this.SenderHBox = new Gtk.HBox();
     this.SenderHBox.Name = "SenderHBox";
     this.SenderHBox.Homogeneous = true;
     this.SenderHBox.Spacing = 6;
     // Container child SenderHBox.Gtk.Box+BoxChild
     this.SenderVBox = new Gtk.VBox();
     this.SenderVBox.Name = "SenderVBox";
     this.SenderVBox.Spacing = 6;
     // Container child SenderVBox.Gtk.Box+BoxChild
     this.MsgEncHBox = new Gtk.HBox();
     this.MsgEncHBox.Name = "MsgEncHBox";
     this.MsgEncHBox.Spacing = 6;
     // Container child MsgEncHBox.Gtk.Box+BoxChild
     this.SenderEntry = new Gtk.Entry();
     this.SenderEntry.CanFocus = true;
     this.SenderEntry.Name = "SenderEntry";
     this.SenderEntry.IsEditable = false;
     this.SenderEntry.InvisibleChar = '●';
     this.MsgEncHBox.Add(this.SenderEntry);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.MsgEncHBox[this.SenderEntry]));
     w3.Position = 0;
     // Container child MsgEncHBox.Gtk.Box+BoxChild
     this.SendButton = new Gtk.Button();
     this.SendButton.CanFocus = true;
     this.SendButton.Name = "SendButton";
     this.SendButton.UseUnderline = true;
     // Container child SendButton.Gtk.Container+ContainerChild
     Gtk.Alignment w4 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w5 = new Gtk.HBox();
     w5.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w6 = new Gtk.Image();
     w6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-play", Gtk.IconSize.Menu, 16);
     w5.Add(w6);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w8 = new Gtk.Label();
     w8.LabelProp = Mono.Unix.Catalog.GetString("Send Message");
     w8.UseUnderline = true;
     w5.Add(w8);
     w4.Add(w5);
     this.SendButton.Add(w4);
     this.MsgEncHBox.Add(this.SendButton);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.MsgEncHBox[this.SendButton]));
     w12.Position = 1;
     w12.Expand = false;
     w12.Fill = false;
     this.SenderVBox.Add(this.MsgEncHBox);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.SenderVBox[this.MsgEncHBox]));
     w13.Position = 0;
     w13.Expand = false;
     w13.Fill = false;
     // Container child SenderVBox.Gtk.Box+BoxChild
     this.SenderScrWnd = new Gtk.ScrolledWindow();
     this.SenderScrWnd.CanFocus = true;
     this.SenderScrWnd.Name = "SenderScrWnd";
     this.SenderScrWnd.ShadowType = ((Gtk.ShadowType)(1));
     // Container child SenderScrWnd.Gtk.Container+ContainerChild
     Gtk.Viewport w14 = new Gtk.Viewport();
     w14.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.SenderTreeDrawer = new Gtk.DrawingArea();
     this.SenderTreeDrawer.Name = "SenderTreeDrawer";
     w14.Add(this.SenderTreeDrawer);
     this.SenderScrWnd.Add(w14);
     this.SenderVBox.Add(this.SenderScrWnd);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.SenderVBox[this.SenderScrWnd]));
     w17.Position = 1;
     this.SenderHBox.Add(this.SenderVBox);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.SenderHBox[this.SenderVBox]));
     w18.Position = 0;
     // Container child SenderHBox.Gtk.Box+BoxChild
     this.ReceiverVBox = new Gtk.VBox();
     this.ReceiverVBox.Name = "ReceiverVBox";
     this.ReceiverVBox.Spacing = 6;
     // Container child ReceiverVBox.Gtk.Box+BoxChild
     this.DecHBox = new Gtk.HBox();
     this.DecHBox.Name = "DecHBox";
     this.DecHBox.Spacing = 6;
     // Container child DecHBox.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Decoded message:");
     this.DecHBox.Add(this.label3);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.DecHBox[this.label3]));
     w19.Position = 0;
     w19.Expand = false;
     w19.Fill = false;
     // Container child DecHBox.Gtk.Box+BoxChild
     this.DecEntry = new Gtk.Entry();
     this.DecEntry.CanFocus = true;
     this.DecEntry.Name = "DecEntry";
     this.DecEntry.IsEditable = false;
     this.DecEntry.InvisibleChar = '●';
     this.DecHBox.Add(this.DecEntry);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.DecHBox[this.DecEntry]));
     w20.Position = 1;
     this.ReceiverVBox.Add(this.DecHBox);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.ReceiverVBox[this.DecHBox]));
     w21.Position = 0;
     w21.Expand = false;
     w21.Fill = false;
     // Container child ReceiverVBox.Gtk.Box+BoxChild
     this.ReceiverScrWnd = new Gtk.ScrolledWindow();
     this.ReceiverScrWnd.CanFocus = true;
     this.ReceiverScrWnd.Name = "ReceiverScrWnd";
     this.ReceiverScrWnd.ShadowType = ((Gtk.ShadowType)(1));
     // Container child ReceiverScrWnd.Gtk.Container+ContainerChild
     Gtk.Viewport w22 = new Gtk.Viewport();
     w22.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.ReceiverTreeDrawer = new Gtk.DrawingArea();
     this.ReceiverTreeDrawer.Name = "ReceiverTreeDrawer";
     w22.Add(this.ReceiverTreeDrawer);
     this.ReceiverScrWnd.Add(w22);
     this.ReceiverVBox.Add(this.ReceiverScrWnd);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.ReceiverVBox[this.ReceiverScrWnd]));
     w25.Position = 1;
     this.SenderHBox.Add(this.ReceiverVBox);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.SenderHBox[this.ReceiverVBox]));
     w26.Position = 1;
     this.MainLayout.Add(this.SenderHBox);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.MainLayout[this.SenderHBox]));
     w27.Position = 1;
     // Container child MainLayout.Gtk.Box+BoxChild
     this.BinHBox = new Gtk.HBox();
     this.BinHBox.Name = "BinHBox";
     this.BinHBox.Spacing = 6;
     // Container child BinHBox.Gtk.Box+BoxChild
     this.BinLabel = new Gtk.Label();
     this.BinLabel.Name = "BinLabel";
     this.BinLabel.LabelProp = Mono.Unix.Catalog.GetString("Data transferred");
     this.BinHBox.Add(this.BinLabel);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.BinHBox[this.BinLabel]));
     w28.Position = 0;
     w28.Expand = false;
     w28.Fill = false;
     // Container child BinHBox.Gtk.Box+BoxChild
     this.BinEntry = new Gtk.Entry();
     this.BinEntry.CanFocus = true;
     this.BinEntry.Name = "BinEntry";
     this.BinEntry.IsEditable = false;
     this.BinEntry.InvisibleChar = '●';
     this.BinHBox.Add(this.BinEntry);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.BinHBox[this.BinEntry]));
     w29.Position = 1;
     this.MainLayout.Add(this.BinHBox);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.MainLayout[this.BinHBox]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     // Container child MainLayout.Gtk.Box+BoxChild
     this.HotkeyHintLabel = new Gtk.Label();
     this.HotkeyHintLabel.Name = "HotkeyHintLabel";
     this.HotkeyHintLabel.LabelProp = Mono.Unix.Catalog.GetString("<Ctl-S> to capture the screen, <Ctl-Q> to quit");
     this.MainLayout.Add(this.HotkeyHintLabel);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.MainLayout[this.HotkeyHintLabel]));
     w31.PackType = ((Gtk.PackType)(1));
     w31.Position = 3;
     w31.Expand = false;
     w31.Fill = false;
     this.Add(this.MainLayout);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 697;
     this.DefaultHeight = 538;
     this.Show();
     this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.jumpToAction.Activated += new System.EventHandler(this.OnRedoActionActivated);
     this.quitAction.Activated += new System.EventHandler(this.OnQuitActionActivated);
     this.saveAction.Activated += new System.EventHandler(this.OnSaveAsActionActivated);
     this.helpAction.Activated += new System.EventHandler(this.OnAboutActionActivated);
     this.d500MsAction.Activated += new System.EventHandler(this.On500MsActionActivated);
     this.d1000MsAction.Activated += new System.EventHandler(this.On1000MsActionActivated);
     this.d250MsAction.Activated += new System.EventHandler(this.On250MsActionActivated);
     this.d100MsAction.Activated += new System.EventHandler(this.On100MsActionActivated);
     this.DrawGridAction.Toggled += new System.EventHandler(this.OnDrawGridActionToggled);
     this.ANSIOnlyAction.Toggled += new System.EventHandler(this.OnANSIOnlyActionToggled);
     this.SenderEntry.KeyReleaseEvent += new Gtk.KeyReleaseEventHandler(this.OnSenderEntryKeyReleaseEvent);
     this.SendButton.Clicked += new System.EventHandler(this.OnSendButtonClicked);
     this.SenderTreeDrawer.ExposeEvent += new Gtk.ExposeEventHandler(this.OnSenderTreeDrawerExposeEvent);
     this.ReceiverTreeDrawer.ExposeEvent += new Gtk.ExposeEventHandler(this.OnReceiverTreeDrawerExposeEvent);
 }
 public static void Build(object obj, string id)
 {
     System.Collections.Hashtable bindings = new System.Collections.Hashtable();
     if ((id == "SharpTranslator.ReversibleCombos")) {
         Gtk.Bin cobj = ((Gtk.Bin)(obj));
         // Widget SharpTranslator.ReversibleCombos
         BinContainer.Attach(cobj);
         cobj.Events = ((Gdk.EventMask)(256));
         cobj.Name = "SharpTranslator.ReversibleCombos";
         // Container child SharpTranslator.ReversibleCombos.Gtk.Container+ContainerChild
         Gtk.HBox w1 = new Gtk.HBox();
         w1.Spacing = 5;
         w1.BorderWidth = ((uint)(5));
         w1.Events = ((Gdk.EventMask)(0));
         w1.Name = "hbox1";
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.Label w2 = new Gtk.Label();
         w2.LabelProp = "Source:";
         w2.Events = ((Gdk.EventMask)(0));
         w2.Name = "labelSource";
         bindings["labelSource"] = w2;
         w1.Add(w2);
         Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2]));
         w3.Position = 0;
         w3.Expand = false;
         w3.Fill = false;
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.ComboBox w4 = Gtk.ComboBox.NewText();
         w4.Events = ((Gdk.EventMask)(0));
         w4.Name = "comboSource";
         bindings["comboSource"] = w4;
         w1.Add(w4);
         Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4]));
         w5.Position = 1;
         w5.Expand = false;
         w5.Fill = false;
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.VSeparator w6 = new Gtk.VSeparator();
         w6.Events = ((Gdk.EventMask)(0));
         w6.Name = "vseparator1";
         bindings["vseparator1"] = w6;
         w1.Add(w6);
         Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w6]));
         w7.Position = 2;
         w7.Expand = false;
         w7.Fill = false;
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.CheckButton w8 = new Gtk.CheckButton();
         w8.Label = "reverse";
         w8.DrawIndicator = true;
         w8.BorderWidth = ((uint)(5));
         w8.CanFocus = true;
         w8.Events = ((Gdk.EventMask)(0));
         w8.Name = "checkbuttonReverse";
         bindings["checkbuttonReverse"] = w8;
         w1.Add(w8);
         Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[w8]));
         w9.Position = 3;
         w9.Expand = false;
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.VSeparator w10 = new Gtk.VSeparator();
         w10.Events = ((Gdk.EventMask)(0));
         w10.Name = "vseparator2";
         bindings["vseparator2"] = w10;
         w1.Add(w10);
         Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[w10]));
         w11.Position = 4;
         w11.Expand = false;
         w11.Fill = false;
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.Label w12 = new Gtk.Label();
         w12.LabelProp = "Target:";
         w12.Events = ((Gdk.EventMask)(0));
         w12.Name = "labelTarget";
         bindings["labelTarget"] = w12;
         w1.Add(w12);
         Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[w12]));
         w13.Position = 5;
         w13.Expand = false;
         w13.Fill = false;
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.ComboBox w14 = Gtk.ComboBox.NewText();
         w14.Events = ((Gdk.EventMask)(0));
         w14.Name = "comboTarget";
         bindings["comboTarget"] = w14;
         w1.Add(w14);
         Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[w14]));
         w15.Position = 6;
         w15.Expand = false;
         w15.Fill = false;
         bindings["hbox1"] = w1;
         cobj.Add(w1);
         bindings["SharpTranslator.ReversibleCombos"] = cobj;
         w2.Show();
         w4.Show();
         w6.Show();
         w8.Show();
         w10.Show();
         w12.Show();
         w14.Show();
         w1.Show();
         cobj.Show();
     }
     else {
         if ((id == "SharpTranslator.AboutDialog")) {
             Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
             // Widget SharpTranslator.AboutDialog
             cobj.Title = "AboutDialog";
             cobj.WindowPosition = ((Gtk.WindowPosition)(4));
             cobj.HasSeparator = false;
             cobj.Events = ((Gdk.EventMask)(256));
             cobj.Name = "SharpTranslator.AboutDialog";
             // Internal child SharpTranslator.AboutDialog.VBox
             Gtk.VBox w1 = cobj.VBox;
             w1.BorderWidth = ((uint)(2));
             w1.Events = ((Gdk.EventMask)(256));
             w1.Name = "dialog_VBox";
             // Container child dialog_VBox.Gtk.Box+BoxChild
             Gtk.TextView w2 = new Gtk.TextView();
             w2.Buffer.Text = "\n         SharpTranslator\n\n    Version 0.1.3  (October 2006)\n\n    License: GPL\n\n    Author: Carlos Ble <http://www.shidix.com/carlosble>\n\n    English-Spanish dictionary was taken from i2e:\n          (Alfredo Casademunt, Jose Luis Triviño)\n\n";
             w2.CanFocus = true;
             w2.Events = ((Gdk.EventMask)(0));
             w2.Name = "textview1";
             bindings["textview1"] = w2;
             w1.Add(w2);
             Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2]));
             w3.Position = 0;
             // Container child dialog_VBox.Gtk.Box+BoxChild
             Gtk.HSeparator w4 = new Gtk.HSeparator();
             w4.Events = ((Gdk.EventMask)(0));
             w4.Name = "hseparator1";
             bindings["hseparator1"] = w4;
             w1.Add(w4);
             Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4]));
             w5.Position = 1;
             w5.Expand = false;
             w5.Fill = false;
             bindings["dialog_VBox"] = w1;
             // Internal child SharpTranslator.AboutDialog.ActionArea
             Gtk.HButtonBox w6 = cobj.ActionArea;
             w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
             w6.Spacing = 10;
             w6.BorderWidth = ((uint)(5));
             w6.Events = ((Gdk.EventMask)(256));
             w6.Name = "SharpTranslator.AboutDialog_ActionArea";
             // Container child SharpTranslator.AboutDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
             Gtk.Button w7 = new Gtk.Button();
             w7.CanFocus = true;
             w7.Events = ((Gdk.EventMask)(0));
             w7.Name = "buttonClose";
             w7.CanDefault = true;
             // Container child buttonClose.Gtk.Container+ContainerChild
             Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
             w8.Events = ((Gdk.EventMask)(0));
             w8.Name = "GtkAlignment";
             // Container child GtkAlignment.Gtk.Container+ContainerChild
             Gtk.HBox w9 = new Gtk.HBox();
             w9.Spacing = 2;
             w9.Events = ((Gdk.EventMask)(0));
             w9.Name = "GtkHBox";
             // Container child GtkHBox.Gtk.Container+ContainerChild
             Gtk.Image w10 = new Gtk.Image();
             w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-close", 16, 0);
             w10.Events = ((Gdk.EventMask)(0));
             w10.Name = "image1";
             bindings["image1"] = w10;
             w9.Add(w10);
             // Container child GtkHBox.Gtk.Container+ContainerChild
             Gtk.Label w12 = new Gtk.Label();
             w12.LabelProp = "Close";
             w12.Events = ((Gdk.EventMask)(0));
             w12.Name = "GtkLabel";
             bindings["GtkLabel"] = w12;
             w9.Add(w12);
             bindings["GtkHBox"] = w9;
             w8.Add(w9);
             bindings["GtkAlignment"] = w8;
             w7.Add(w8);
             bindings["buttonClose"] = w7;
             cobj.AddActionWidget(w7, 0);
             Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[w7]));
             w16.Expand = false;
             w16.Fill = false;
             bindings["SharpTranslator.AboutDialog_ActionArea"] = w6;
             cobj.DefaultWidth = 487;
             cobj.DefaultHeight = 303;
             bindings["SharpTranslator.AboutDialog"] = cobj;
             w2.Show();
             w4.Show();
             w1.Show();
             w10.Show();
             w12.Show();
             w9.Show();
             w8.Show();
             w7.Show();
             w6.Show();
             cobj.Show();
             w7.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose")));
         }
         else {
             if ((id == "SharpTranslator.LearnWindow")) {
                 Gtk.Window cobj = ((Gtk.Window)(obj));
                 // Widget SharpTranslator.LearnWindow
                 cobj.Title = "LearnWindow";
                 cobj.WindowPosition = ((Gtk.WindowPosition)(1));
                 cobj.Resizable = false;
                 cobj.AllowGrow = false;
                 cobj.Events = ((Gdk.EventMask)(0));
                 cobj.Name = "SharpTranslator.LearnWindow";
                 // Container child SharpTranslator.LearnWindow.Gtk.Container+ContainerChild
                 Gtk.VBox w1 = new Gtk.VBox();
                 w1.Spacing = 5;
                 w1.BorderWidth = ((uint)(3));
                 w1.Events = ((Gdk.EventMask)(0));
                 w1.Name = "vbox1";
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HBox w2 = new Gtk.HBox();
                 w2.BorderWidth = ((uint)(3));
                 w2.Events = ((Gdk.EventMask)(0));
                 w2.Name = "hbox5";
                 // Container child hbox5.Gtk.Box+BoxChild
                 Gtk.Label w3 = new Gtk.Label();
                 w3.LabelProp = "Type of item:";
                 w3.Events = ((Gdk.EventMask)(0));
                 w3.Name = "label1";
                 bindings["label1"] = w3;
                 w2.Add(w3);
                 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3]));
                 w4.Position = 0;
                 w4.Expand = false;
                 w4.Fill = false;
                 // Container child hbox5.Gtk.Box+BoxChild
                 Gtk.HBox w5 = new Gtk.HBox();
                 w5.Events = ((Gdk.EventMask)(0));
                 w5.Name = "hbox4";
                 // Container child hbox4.Gtk.Box+BoxChild
                 Gtk.CheckButton w6 = new Gtk.CheckButton();
                 w6.Label = "Word";
                 w6.Active = true;
                 w6.DrawIndicator = true;
                 w6.CanFocus = true;
                 w6.Events = ((Gdk.EventMask)(0));
                 w6.Name = "checkbWord";
                 bindings["checkbWord"] = w6;
                 w5.Add(w6);
                 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w5[w6]));
                 w7.Position = 0;
                 // Container child hbox4.Gtk.Box+BoxChild
                 Gtk.CheckButton w8 = new Gtk.CheckButton();
                 w8.Label = "Expression";
                 w8.DrawIndicator = true;
                 w8.CanFocus = true;
                 w8.Events = ((Gdk.EventMask)(0));
                 w8.Name = "checkbExpression";
                 bindings["checkbExpression"] = w8;
                 w5.Add(w8);
                 Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w5[w8]));
                 w9.Position = 1;
                 bindings["hbox4"] = w5;
                 w2.Add(w5);
                 Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w2[w5]));
                 w10.Position = 1;
                 w10.Expand = false;
                 bindings["hbox5"] = w2;
                 w1.Add(w2);
                 Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[w2]));
                 w11.Position = 0;
                 w11.Expand = false;
                 w11.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 SharpTranslator.ReversibleCombos w12 = new SharpTranslator.ReversibleCombos();
                 w12.Events = ((Gdk.EventMask)(256));
                 w12.Name = "rCombos";
                 bindings["rCombos"] = w12;
                 w1.Add(w12);
                 Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[w12]));
                 w13.Position = 1;
                 w13.Expand = false;
                 w13.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HBox w14 = new Gtk.HBox();
                 w14.Spacing = 5;
                 w14.BorderWidth = ((uint)(3));
                 w14.Events = ((Gdk.EventMask)(0));
                 w14.Name = "hbox3";
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Label w15 = new Gtk.Label();
                 w15.LabelProp = "Text:";
                 w15.Events = ((Gdk.EventMask)(0));
                 w15.Name = "labelText";
                 bindings["labelText"] = w15;
                 w14.Add(w15);
                 Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w14[w15]));
                 w16.Position = 0;
                 w16.Expand = false;
                 w16.Fill = false;
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Entry w17 = new Gtk.Entry();
                 w17.IsEditable = true;
                 w17.InvisibleChar = '●';
                 w17.CanFocus = true;
                 w17.Events = ((Gdk.EventMask)(0));
                 w17.Name = "entryText";
                 bindings["entryText"] = w17;
                 w14.Add(w17);
                 Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(w14[w17]));
                 w18.Position = 1;
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Label w19 = new Gtk.Label();
                 w19.LabelProp = "Translation:";
                 w19.Events = ((Gdk.EventMask)(0));
                 w19.Name = "label3";
                 bindings["label3"] = w19;
                 w14.Add(w19);
                 Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(w14[w19]));
                 w20.Position = 2;
                 w20.Expand = false;
                 w20.Fill = false;
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Entry w21 = new Gtk.Entry();
                 w21.IsEditable = true;
                 w21.InvisibleChar = '●';
                 w21.CanFocus = true;
                 w21.Events = ((Gdk.EventMask)(0));
                 w21.Name = "entryTranslation";
                 bindings["entryTranslation"] = w21;
                 w14.Add(w21);
                 Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(w14[w21]));
                 w22.Position = 3;
                 bindings["hbox3"] = w14;
                 w1.Add(w14);
                 Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(w1[w14]));
                 w23.Position = 2;
                 w23.Expand = false;
                 w23.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HSeparator w24 = new Gtk.HSeparator();
                 w24.Events = ((Gdk.EventMask)(0));
                 w24.Name = "hseparator1";
                 bindings["hseparator1"] = w24;
                 w1.Add(w24);
                 Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(w1[w24]));
                 w25.Position = 3;
                 w25.Expand = false;
                 w25.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HButtonBox w26 = new Gtk.HButtonBox();
                 w26.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                 w26.Spacing = 3;
                 w26.BorderWidth = ((uint)(3));
                 w26.Events = ((Gdk.EventMask)(0));
                 w26.Name = "hbuttonbox1";
                 // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
                 Gtk.Button w27 = new Gtk.Button();
                 w27.CanFocus = true;
                 w27.Events = ((Gdk.EventMask)(0));
                 w27.Name = "buttonCancel";
                 // Container child buttonCancel.Gtk.Container+ContainerChild
                 Gtk.Alignment w28 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w28.Events = ((Gdk.EventMask)(0));
                 w28.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w29 = new Gtk.HBox();
                 w29.Spacing = 2;
                 w29.Events = ((Gdk.EventMask)(0));
                 w29.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w30 = new Gtk.Image();
                 w30.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
                 w30.Events = ((Gdk.EventMask)(0));
                 w30.Name = "image2";
                 bindings["image2"] = w30;
                 w29.Add(w30);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w32 = new Gtk.Label();
                 w32.LabelProp = "Cancel";
                 w32.Events = ((Gdk.EventMask)(0));
                 w32.Name = "GtkLabel";
                 bindings["GtkLabel"] = w32;
                 w29.Add(w32);
                 bindings["GtkHBox"] = w29;
                 w28.Add(w29);
                 bindings["GtkAlignment"] = w28;
                 w27.Add(w28);
                 bindings["buttonCancel"] = w27;
                 w26.Add(w27);
                 Gtk.ButtonBox.ButtonBoxChild w36 = ((Gtk.ButtonBox.ButtonBoxChild)(w26[w27]));
                 w36.Expand = false;
                 w36.Fill = false;
                 // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
                 Gtk.Button w37 = new Gtk.Button();
                 w37.CanFocus = true;
                 w37.Events = ((Gdk.EventMask)(0));
                 w37.Name = "buttonAccept";
                 // Container child buttonAccept.Gtk.Container+ContainerChild
                 Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w38.Events = ((Gdk.EventMask)(0));
                 w38.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w39 = new Gtk.HBox();
                 w39.Spacing = 2;
                 w39.Events = ((Gdk.EventMask)(0));
                 w39.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w40 = new Gtk.Image();
                 w40.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0);
                 w40.Events = ((Gdk.EventMask)(0));
                 w40.Name = "image3";
                 bindings["image3"] = w40;
                 w39.Add(w40);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w42 = new Gtk.Label();
                 w42.LabelProp = "Accept";
                 w42.Events = ((Gdk.EventMask)(0));
                 w42.Name = "GtkLabel";
                 bindings["GtkLabel"] = w42;
                 w39.Add(w42);
                 bindings["GtkHBox"] = w39;
                 w38.Add(w39);
                 bindings["GtkAlignment"] = w38;
                 w37.Add(w38);
                 bindings["buttonAccept"] = w37;
                 w26.Add(w37);
                 Gtk.ButtonBox.ButtonBoxChild w46 = ((Gtk.ButtonBox.ButtonBoxChild)(w26[w37]));
                 w46.Position = 1;
                 w46.Expand = false;
                 w46.Fill = false;
                 bindings["hbuttonbox1"] = w26;
                 w1.Add(w26);
                 Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(w1[w26]));
                 w47.Position = 4;
                 w47.Expand = false;
                 w47.Fill = false;
                 bindings["vbox1"] = w1;
                 cobj.Add(w1);
                 cobj.DefaultWidth = 586;
                 cobj.DefaultHeight = 194;
                 bindings["SharpTranslator.LearnWindow"] = cobj;
                 w3.Show();
                 w6.Show();
                 w8.Show();
                 w5.Show();
                 w2.Show();
                 w12.Show();
                 w15.Show();
                 w17.Show();
                 w19.Show();
                 w21.Show();
                 w14.Show();
                 w24.Show();
                 w30.Show();
                 w32.Show();
                 w29.Show();
                 w28.Show();
                 w27.Show();
                 w40.Show();
                 w42.Show();
                 w39.Show();
                 w38.Show();
                 w37.Show();
                 w26.Show();
                 w1.Show();
                 cobj.Show();
                 cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnClose")));
                 w37.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnAccept")));
             }
             else {
                 if ((id == "SharpTranslator.MainWindow")) {
                     Gtk.Window cobj = ((Gtk.Window)(obj));
                     // Widget SharpTranslator.MainWindow
                     cobj.Title = "SharpTranslator";
                     Gtk.UIManager w1 = new Gtk.UIManager();
                     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
                     Gtk.Action w3 = new Gtk.Action("File", "File", null, null);
                     w3.ShortLabel = "Archivo";
                     bindings["File"] = w3;
                     w2.Add(w3, null);
                     Gtk.Action w4 = new Gtk.Action("Edit", "Edit", null, null);
                     w4.ShortLabel = "Editar";
                     bindings["Edit"] = w4;
                     w2.Add(w4, null);
                     Gtk.Action w5 = new Gtk.Action("Learn", "Learn", null, "gtk-new");
                     w5.ShortLabel = "Learn";
                     bindings["Learn"] = w5;
                     w2.Add(w5, null);
                     Gtk.Action w6 = new Gtk.Action("floppy", null, null, "gtk-floppy");
                     bindings["floppy"] = w6;
                     w2.Add(w6, null);
                     Gtk.Action w7 = new Gtk.Action("LearnWords", "Learn words", null, "gtk-new");
                     w7.ShortLabel = "Learn ";
                     bindings["LearnWords"] = w7;
                     w2.Add(w7, null);
                     Gtk.Action w8 = new Gtk.Action("AddLanguage", "Add Language", null, "gtk-add");
                     w8.ShortLabel = "Exit";
                     bindings["AddLanguage"] = w8;
                     w2.Add(w8, null);
                     Gtk.Action w9 = new Gtk.Action("Cut", "Cut", null, "gtk-cut");
                     w9.ShortLabel = "Cut";
                     bindings["Cut"] = w9;
                     w2.Add(w9, null);
                     Gtk.Action w10 = new Gtk.Action("Copy", "Copy", null, "gtk-copy");
                     w10.ShortLabel = "Copy";
                     bindings["Copy"] = w10;
                     w2.Add(w10, null);
                     Gtk.Action w11 = new Gtk.Action("Paste", "Paste", null, "gtk-paste");
                     w11.ShortLabel = "Paste";
                     bindings["Paste"] = w11;
                     w2.Add(w11, null);
                     Gtk.Action w12 = new Gtk.Action("Help", "Help", null, null);
                     w12.ShortLabel = "Help";
                     bindings["Help"] = w12;
                     w2.Add(w12, null);
                     Gtk.Action w13 = new Gtk.Action("About", "About", null, "gnome-stock-about");
                     w13.ShortLabel = "About";
                     bindings["About"] = w13;
                     w2.Add(w13, null);
                     Gtk.Action w14 = new Gtk.Action("ImportDictionary", "Import Dictionary", null, "gnome-stock-book-blue");
                     w14.ShortLabel = "Import Dictionary";
                     bindings["ImportDictionary"] = w14;
                     w2.Add(w14, null);
                     Gtk.Action w15 = new Gtk.Action("Preferences", "Preferences", null, "gtk-preferences");
                     w15.ShortLabel = "Preferences";
                     bindings["Preferences"] = w15;
                     w2.Add(w15, null);
                     Gtk.Action w16 = new Gtk.Action("Close", "Close", null, "gtk-close");
                     w16.ShortLabel = "Close";
                     bindings["Close"] = w16;
                     w2.Add(w16, null);
                     w1.InsertActionGroup(w2, 0);
                     cobj.AddAccelGroup(w1.AccelGroup);
                     cobj.Icon = Gtk.IconTheme.Default.LoadIcon("gtk-properties", 16, 0);
                     cobj.WindowPosition = ((Gtk.WindowPosition)(1));
                     cobj.DefaultWidth = 60;
                     cobj.Events = ((Gdk.EventMask)(0));
                     cobj.Name = "SharpTranslator.MainWindow";
                     // Container child SharpTranslator.MainWindow.Gtk.Container+ContainerChild
                     Gtk.VBox w17 = new Gtk.VBox();
                     w17.Events = ((Gdk.EventMask)(0));
                     w17.Name = "vbox1";
                     // Container child vbox1.Gtk.Box+BoxChild
                     w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='LearnWords'/><menuitem action='AddLanguage'/><menuitem action='ImportDictionary'/><menuitem action='Close'/></menu><menu action='Edit'><menuitem action='Cut'/><menuitem action='Copy'/><menuitem action='Paste'/><menuitem action='Preferences'/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>");
                     Gtk.MenuBar w18 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
                     w18.Events = ((Gdk.EventMask)(0));
                     w18.Name = "menubar1";
                     bindings["menubar1"] = w18;
                     w17.Add(w18);
                     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(w17[w18]));
                     w19.Position = 0;
                     w19.Expand = false;
                     w19.Fill = false;
                     // Container child vbox1.Gtk.Box+BoxChild
                     w1.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem action='Learn'/></toolbar></ui>");
                     Gtk.Toolbar w20 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1")));
                     w20.ShowArrow = false;
                     w20.Tooltips = false;
                     w20.ToolbarStyle = ((Gtk.ToolbarStyle)(2));
                     w20.IconSize = ((Gtk.IconSize)(2));
                     w20.Events = ((Gdk.EventMask)(0));
                     w20.Name = "toolbar1";
                     bindings["toolbar1"] = w20;
                     w17.Add(w20);
                     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(w17[w20]));
                     w21.Position = 1;
                     w21.Expand = false;
                     w21.Fill = false;
                     // Container child vbox1.Gtk.Box+BoxChild
                     SharpTranslator.ReversibleCombos w22 = new SharpTranslator.ReversibleCombos();
                     w22.Events = ((Gdk.EventMask)(256));
                     w22.Name = "rCombos";
                     bindings["rCombos"] = w22;
                     w17.Add(w22);
                     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(w17[w22]));
                     w23.Position = 2;
                     w23.Expand = false;
                     w23.Fill = false;
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.ScrolledWindow w24 = new Gtk.ScrolledWindow();
                     w24.VscrollbarPolicy = ((Gtk.PolicyType)(1));
                     w24.HscrollbarPolicy = ((Gtk.PolicyType)(1));
                     w24.CanFocus = true;
                     w24.Events = ((Gdk.EventMask)(0));
                     w24.Name = "scrolledwindow1";
                     // Container child scrolledwindow1.Gtk.Container+ContainerChild
                     Gtk.TreeView w25 = new Gtk.TreeView();
                     w25.CanFocus = true;
                     w25.Events = ((Gdk.EventMask)(0));
                     w25.Name = "treeviewResults";
                     bindings["treeviewResults"] = w25;
                     w24.Add(w25);
                     bindings["scrolledwindow1"] = w24;
                     w17.Add(w24);
                     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w17[w24]));
                     w27.Position = 3;
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.HBox w28 = new Gtk.HBox();
                     w28.Spacing = 5;
                     w28.BorderWidth = ((uint)(3));
                     w28.Events = ((Gdk.EventMask)(0));
                     w28.Name = "hbox3";
                     // Container child hbox3.Gtk.Box+BoxChild
                     Gtk.Label w29 = new Gtk.Label();
                     w29.LabelProp = "Word:";
                     w29.Events = ((Gdk.EventMask)(0));
                     w29.Name = "labelWord";
                     bindings["labelWord"] = w29;
                     w28.Add(w29);
                     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w28[w29]));
                     w30.Position = 0;
                     w30.Expand = false;
                     w30.Fill = false;
                     // Container child hbox3.Gtk.Box+BoxChild
                     Gtk.Entry w31 = new Gtk.Entry();
                     w31.IsEditable = true;
                     w31.InvisibleChar = '●';
                     w31.CanFocus = true;
                     w31.Events = ((Gdk.EventMask)(0));
                     w31.Name = "entryKeyword";
                     w31.CanDefault = true;
                     bindings["entryKeyword"] = w31;
                     w28.Add(w31);
                     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w28[w31]));
                     w32.Position = 1;
                     // Container child hbox3.Gtk.Box+BoxChild
                     Gtk.Button w33 = new Gtk.Button();
                     Gtk.Tooltips w34 = new Gtk.Tooltips();
                     w34.SetTip(w33, "Search keyword", "Search keyword");
                     w33.CanFocus = true;
                     w33.Events = ((Gdk.EventMask)(0));
                     w33.Name = "buttonSearch";
                     // Container child buttonSearch.Gtk.Container+ContainerChild
                     Gtk.Alignment w35 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                     w35.Events = ((Gdk.EventMask)(0));
                     w35.Name = "GtkAlignment";
                     // Container child GtkAlignment.Gtk.Container+ContainerChild
                     Gtk.HBox w36 = new Gtk.HBox();
                     w36.Spacing = 2;
                     w36.Events = ((Gdk.EventMask)(0));
                     w36.Name = "GtkHBox";
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Image w37 = new Gtk.Image();
                     w37.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0);
                     w37.Events = ((Gdk.EventMask)(0));
                     w37.Name = "image4";
                     bindings["image4"] = w37;
                     w36.Add(w37);
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Label w39 = new Gtk.Label();
                     w39.LabelProp = "Search";
                     w39.Events = ((Gdk.EventMask)(0));
                     w39.Name = "GtkLabel";
                     bindings["GtkLabel"] = w39;
                     w36.Add(w39);
                     bindings["GtkHBox"] = w36;
                     w35.Add(w36);
                     bindings["GtkAlignment"] = w35;
                     w33.Add(w35);
                     bindings["buttonSearch"] = w33;
                     w28.Add(w33);
                     Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(w28[w33]));
                     w43.Position = 2;
                     w43.Expand = false;
                     w43.Fill = false;
                     bindings["hbox3"] = w28;
                     w17.Add(w28);
                     Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(w17[w28]));
                     w44.Position = 4;
                     w44.Expand = false;
                     w44.Fill = false;
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.HBox w45 = new Gtk.HBox();
                     w45.Spacing = 5;
                     w45.BorderWidth = ((uint)(3));
                     w45.Events = ((Gdk.EventMask)(0));
                     w45.Name = "hbox4";
                     // Container child hbox4.Gtk.Box+BoxChild
                     Gtk.Label w46 = new Gtk.Label();
                     w46.LabelProp = "Expression:";
                     w46.Events = ((Gdk.EventMask)(0));
                     w46.Name = "labelExpression";
                     bindings["labelExpression"] = w46;
                     w45.Add(w46);
                     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(w45[w46]));
                     w47.Position = 0;
                     w47.Expand = false;
                     w47.Fill = false;
                     // Container child hbox4.Gtk.Box+BoxChild
                     Gtk.Entry w48 = new Gtk.Entry();
                     w48.IsEditable = true;
                     w48.InvisibleChar = '●';
                     w48.CanFocus = true;
                     w48.Events = ((Gdk.EventMask)(0));
                     w48.Name = "entryExpression";
                     bindings["entryExpression"] = w48;
                     w45.Add(w48);
                     Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(w45[w48]));
                     w49.Position = 1;
                     // Container child hbox4.Gtk.Box+BoxChild
                     Gtk.Button w50 = new Gtk.Button();
                     w34.SetTip(w50, "Search keyword", "Search keyword");
                     w50.CanFocus = true;
                     w50.Events = ((Gdk.EventMask)(0));
                     w50.Name = "buttonSearchExpression";
                     // Container child buttonSearchExpression.Gtk.Container+ContainerChild
                     Gtk.Alignment w51 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                     w51.Events = ((Gdk.EventMask)(0));
                     w51.Name = "GtkAlignment";
                     // Container child GtkAlignment.Gtk.Container+ContainerChild
                     Gtk.HBox w52 = new Gtk.HBox();
                     w52.Spacing = 2;
                     w52.Events = ((Gdk.EventMask)(0));
                     w52.Name = "GtkHBox";
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Image w53 = new Gtk.Image();
                     w53.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0);
                     w53.Events = ((Gdk.EventMask)(0));
                     w53.Name = "image5";
                     bindings["image5"] = w53;
                     w52.Add(w53);
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Label w55 = new Gtk.Label();
                     w55.LabelProp = "Search";
                     w55.Events = ((Gdk.EventMask)(0));
                     w55.Name = "GtkLabel";
                     bindings["GtkLabel"] = w55;
                     w52.Add(w55);
                     bindings["GtkHBox"] = w52;
                     w51.Add(w52);
                     bindings["GtkAlignment"] = w51;
                     w50.Add(w51);
                     bindings["buttonSearchExpression"] = w50;
                     w45.Add(w50);
                     Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(w45[w50]));
                     w59.Position = 2;
                     w59.Expand = false;
                     w59.Fill = false;
                     // Container child hbox4.Gtk.Box+BoxChild
                     Gtk.Button w60 = new Gtk.Button();
                     w34.SetTip(w60, "Search keyword", "Search keyword");
                     w60.CanFocus = true;
                     w60.Events = ((Gdk.EventMask)(0));
                     w60.Name = "buttonShowAll";
                     w60.Label = "Show All";
                     bindings["buttonShowAll"] = w60;
                     w45.Add(w60);
                     Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(w45[w60]));
                     w61.Position = 3;
                     w61.Expand = false;
                     w61.Fill = false;
                     bindings["hbox4"] = w45;
                     w17.Add(w45);
                     Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(w17[w45]));
                     w62.Position = 5;
                     w62.Expand = false;
                     w62.Fill = false;
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.HSeparator w63 = new Gtk.HSeparator();
                     w63.Events = ((Gdk.EventMask)(0));
                     w63.Name = "hseparator1";
                     bindings["hseparator1"] = w63;
                     w17.Add(w63);
                     Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(w17[w63]));
                     w64.Position = 6;
                     w64.Expand = false;
                     w64.Fill = false;
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.HButtonBox w65 = new Gtk.HButtonBox();
                     w65.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                     w65.BorderWidth = ((uint)(3));
                     w65.Events = ((Gdk.EventMask)(0));
                     w65.Name = "hbuttonbox1";
                     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
                     Gtk.Button w66 = new Gtk.Button();
                     w66.CanFocus = true;
                     w66.Events = ((Gdk.EventMask)(0));
                     w66.Name = "buttonClose";
                     // Container child buttonClose.Gtk.Container+ContainerChild
                     Gtk.Alignment w67 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                     w67.Events = ((Gdk.EventMask)(0));
                     w67.Name = "GtkAlignment";
                     // Container child GtkAlignment.Gtk.Container+ContainerChild
                     Gtk.HBox w68 = new Gtk.HBox();
                     w68.Spacing = 2;
                     w68.Events = ((Gdk.EventMask)(0));
                     w68.Name = "GtkHBox";
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Image w69 = new Gtk.Image();
                     w69.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-close", 16, 0);
                     w69.Events = ((Gdk.EventMask)(0));
                     w69.Name = "image6";
                     bindings["image6"] = w69;
                     w68.Add(w69);
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Label w71 = new Gtk.Label();
                     w71.LabelProp = "Close";
                     w71.Events = ((Gdk.EventMask)(0));
                     w71.Name = "GtkLabel";
                     bindings["GtkLabel"] = w71;
                     w68.Add(w71);
                     bindings["GtkHBox"] = w68;
                     w67.Add(w68);
                     bindings["GtkAlignment"] = w67;
                     w66.Add(w67);
                     bindings["buttonClose"] = w66;
                     w65.Add(w66);
                     Gtk.ButtonBox.ButtonBoxChild w75 = ((Gtk.ButtonBox.ButtonBoxChild)(w65[w66]));
                     w75.Expand = false;
                     w75.Fill = false;
                     bindings["hbuttonbox1"] = w65;
                     w17.Add(w65);
                     Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(w17[w65]));
                     w76.Position = 7;
                     w76.Expand = false;
                     w76.Fill = false;
                     bindings["vbox1"] = w17;
                     cobj.Add(w17);
                     cobj.DefaultHeight = 480;
                     bindings["SharpTranslator.MainWindow"] = cobj;
                     w18.Show();
                     w20.Show();
                     w22.Show();
                     w25.Show();
                     w24.Show();
                     w29.Show();
                     w31.Show();
                     w37.Show();
                     w39.Show();
                     w36.Show();
                     w35.Show();
                     w33.Show();
                     w28.Show();
                     w46.Show();
                     w48.Show();
                     w53.Show();
                     w55.Show();
                     w52.Show();
                     w51.Show();
                     w50.Show();
                     w60.Show();
                     w45.Show();
                     w63.Show();
                     w69.Show();
                     w71.Show();
                     w68.Show();
                     w67.Show();
                     w66.Show();
                     w65.Show();
                     w17.Show();
                     cobj.Show();
                     cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent")));
                     w5.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnLearn")));
                     w7.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnLearn")));
                     w13.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnAbout")));
                     w16.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose")));
                     w31.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearch")));
                     w33.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearch")));
                     w48.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearchExpression")));
                     w50.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearchExpression")));
                     w60.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnShowAll")));
                     w66.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose")));
                 }
             }
         }
     }
     System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance));
     for (int n = 0; (n < fields.Length); n = (n + 1)) {
         System.Reflection.FieldInfo field = fields[n];
         object widget = bindings[field.Name];
         if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) {
             field.SetValue(obj, widget);
         }
     }
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Pinta.Gui.Widgets.AnglePickerWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "Pinta.Gui.Widgets.AnglePickerWidget";
     // Container child Pinta.Gui.Widgets.AnglePickerWidget.Gtk.Container+ContainerChild
     this.vbox = new Gtk.VBox();
     this.vbox.Name = "vbox";
     this.vbox.Spacing = 6;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label = new Gtk.Label();
     this.label.Name = "label";
     this.label.LabelProp = Mono.Unix.Catalog.GetString("label1");
     this.hbox1.Add(this.label);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hseparator = new Gtk.HSeparator();
     this.hseparator.Name = "hseparator";
     this.hbox1.Add(this.hseparator);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator]));
     w2.Position = 1;
     this.vbox.Add(this.hbox1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.anglepickergraphic1 = new Pinta.Gui.Widgets.AnglePickerGraphic();
     this.anglepickergraphic1.Name = "anglepickergraphic1";
     this.anglepickergraphic1.Value = 0;
     this.anglepickergraphic1.ValueDouble = 0;
     this.hbox2.Add(this.anglepickergraphic1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.anglepickergraphic1]));
     w4.Position = 0;
     w4.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.alignment1 = new Gtk.Alignment(0.5F, 0F, 1F, 0F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.spin = new Gtk.SpinButton(0, 360, 1);
     this.spin.CanFocus = true;
     this.spin.Name = "spin";
     this.spin.Adjustment.PageIncrement = 10;
     this.spin.ClimbRate = 1;
     this.spin.Numeric = true;
     this.alignment1.Add(this.spin);
     this.hbox2.Add(this.alignment1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment1]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.alignment2 = new Gtk.Alignment(0.5F, 0F, 1F, 0.1F);
     this.alignment2.Name = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.button = new Gtk.Button();
     this.button.WidthRequest = 28;
     this.button.HeightRequest = 24;
     this.button.CanFocus = true;
     this.button.Name = "button";
     this.button.UseUnderline = true;
     // Container child button.Gtk.Container+ContainerChild
     Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w8 = new Gtk.HBox();
     w8.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w9 = new Gtk.Image();
     w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w8.Add(w9);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w11 = new Gtk.Label();
     w8.Add(w11);
     w7.Add(w8);
     this.button.Add(w7);
     this.alignment2.Add(this.button);
     this.hbox2.Add(this.alignment2);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment2]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.vbox.Add(this.hbox2);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox2]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     this.Add(this.vbox);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #38
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget sermon2.MainWindow
     Gtk.UIManager   w1 = new Gtk.UIManager();
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.HelpAction            = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w2.Add(this.HelpAction, null);
     this.AboutAction            = new Gtk.Action("AboutAction", Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.AboutAction.ShortLabel = Mono.Unix.Catalog.GetString("About");
     w2.Add(this.AboutAction, null);
     w1.InsertActionGroup(w2, 0);
     this.AddAccelGroup(w1.AccelGroup);
     this.Name           = "sermon2.MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(3));
     // Container child sermon2.MainWindow.Gtk.Container+ContainerChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='HelpAction'><menuitem action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox2.Add(this.menubar1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.menubar1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 260;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.hpaned3          = new Gtk.HPaned();
     this.hpaned3.CanFocus = true;
     this.hpaned3.Name     = "hpaned3";
     this.hpaned3.Position = 76;
     // Container child hpaned3.Gtk.Paned+PanedChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.configTreeView                  = new Gtk.TreeView();
     this.configTreeView.CanFocus         = true;
     this.configTreeView.Name             = "configTreeView";
     this.configTreeView.HeadersClickable = true;
     this.GtkScrolledWindow.Add(this.configTreeView);
     this.hpaned3.Add(this.GtkScrolledWindow);
     Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.hpaned3[this.GtkScrolledWindow]));
     w5.Resize = false;
     // Container child hpaned3.Gtk.Paned+PanedChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.commonConfScrolledWindow             = new Gtk.ScrolledWindow();
     this.commonConfScrolledWindow.CanFocus    = true;
     this.commonConfScrolledWindow.Name        = "commonConfScrolledWindow";
     this.commonConfScrolledWindow.ShadowType  = ((Gtk.ShadowType)(1));
     this.commonConfScrolledWindow.BorderWidth = ((uint)(3));
     // Container child commonConfScrolledWindow.Gtk.Container+ContainerChild
     Gtk.Viewport w6 = new Gtk.Viewport();
     w6.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.alignment1      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     this.alignment1.Add(this.vbox5);
     this.vbox4.Add(this.alignment1);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox4[this.alignment1]));
     w8.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.alignment2      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     this.alignment2.Add(this.vbox6);
     this.vbox4.Add(this.alignment2);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox4[this.alignment2]));
     w10.Position = 1;
     w6.Add(this.vbox4);
     this.commonConfScrolledWindow.Add(w6);
     this.vbox3.Add(this.commonConfScrolledWindow);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.commonConfScrolledWindow]));
     w13.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.objectAddComboBox = Gtk.ComboBox.NewText();
     this.objectAddComboBox.AppendText(Mono.Unix.Catalog.GetString("serial port"));
     this.objectAddComboBox.AppendText(Mono.Unix.Catalog.GetString("tagger"));
     this.objectAddComboBox.AppendText(Mono.Unix.Catalog.GetString("lop"));
     this.objectAddComboBox.AppendText(Mono.Unix.Catalog.GetString("qport"));
     this.objectAddComboBox.AppendText(Mono.Unix.Catalog.GetString("streamview"));
     this.objectAddComboBox.AppendText(Mono.Unix.Catalog.GetString("lopview"));
     this.objectAddComboBox.Name   = "objectAddComboBox";
     this.objectAddComboBox.Active = 0;
     this.hbox3.Add(this.objectAddComboBox);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.objectAddComboBox]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.NewObjButton              = new Gtk.Button();
     this.NewObjButton.CanFocus     = true;
     this.NewObjButton.Name         = "NewObjButton";
     this.NewObjButton.UseUnderline = true;
     // Container child NewObjButton.Gtk.Container+ContainerChild
     Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w16 = new Gtk.HBox();
     w16.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w17 = new Gtk.Image();
     w17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w16.Add(w17);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w19 = new Gtk.Label();
     w19.LabelProp    = Mono.Unix.Catalog.GetString("new object");
     w19.UseUnderline = true;
     w16.Add(w19);
     w15.Add(w16);
     this.NewObjButton.Add(w15);
     this.hbox3.Add(this.NewObjButton);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox3[this.NewObjButton]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     this.vbox3.Add(this.hbox3);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.hpaned3.Add(this.vbox3);
     this.hpaned1.Add(this.hpaned3);
     Gtk.Paned.PanedChild w26 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.hpaned3]));
     w26.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.treeview1                  = new Gtk.TreeView();
     this.treeview1.CanFocus         = true;
     this.treeview1.Name             = "treeview1";
     this.treeview1.HeadersClickable = true;
     this.GtkScrolledWindow1.Add(this.treeview1);
     this.hpaned1.Add(this.GtkScrolledWindow1);
     this.hbox2.Add(this.hpaned1);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox2[this.hpaned1]));
     w29.Position = 0;
     this.notebook1.Add(this.hbox2);
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("objects");
     this.notebook1.SetTabLabel(this.hbox2, this.label4);
     this.label4.ShowAll();
     this.vbox2.Add(this.notebook1);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
     w31.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1              = new Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = Mono.Unix.Catalog.GetString("button1");
     this.hbox1.Add(this.button1);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button24              = new Gtk.Button();
     this.button24.CanFocus     = true;
     this.button24.Name         = "button24";
     this.button24.UseUnderline = true;
     this.button24.Label        = Mono.Unix.Catalog.GetString("button24");
     this.hbox1.Add(this.button24);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.hbox1[this.button24]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.vbox2.Add(this.hbox1);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w34.Position = 2;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar2         = new Gtk.Statusbar();
     this.statusbar2.Name    = "statusbar2";
     this.statusbar2.Spacing = 6;
     this.vbox2.Add(this.statusbar2);
     Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox2[this.statusbar2]));
     w35.Position = 3;
     w35.Expand   = false;
     w35.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 392;
     this.Show();
     this.DeleteEvent                    += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.AboutAction.Activated          += new System.EventHandler(this.OnAboutActionActivated);
     this.configTreeView.RowActivated    += new Gtk.RowActivatedHandler(this.OnConfigTreeViewRowActivated);
     this.configTreeView.SelectCursorRow += new Gtk.SelectCursorRowHandler(this.OnConfigTreeViewSelectCursorRow);
     this.configTreeView.SelectCursorRow += new Gtk.SelectCursorRowHandler(this.OnConfigTreeViewSelectCursorRow);
     this.configTreeView.ToggleCursorRow += new Gtk.ToggleCursorRowHandler(this.OnConfigTreeViewToggleCursorRow);
     this.configTreeView.CursorChanged   += new System.EventHandler(this.OnConfigTreeViewCursorChanged);
     this.NewObjButton.Released          += new System.EventHandler(this.OnNewObjButtonReleased);
     this.button1.Released               += new System.EventHandler(this.OnButton1Released);
     this.button24.Released              += new System.EventHandler(this.OnButton24Released);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Pinta.Gui.Widgets.HScaleSpinButtonWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "Pinta.Gui.Widgets.HScaleSpinButtonWidget";
     // Container child Pinta.Gui.Widgets.HScaleSpinButtonWidget.Gtk.Container+ContainerChild
     this.vbox = new Gtk.VBox();
     this.vbox.Name = "vbox";
     this.vbox.Spacing = 6;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label = new Gtk.Label();
     this.label.Name = "label";
     this.label.LabelProp = Mono.Unix.Catalog.GetString("label1");
     this.hbox1.Add(this.label);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hseparator = new Gtk.HSeparator();
     this.hseparator.Name = "hseparator";
     this.hbox1.Add(this.hseparator);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator]));
     w2.Position = 1;
     this.vbox.Add(this.hbox1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hscale = new Gtk.HScale(null);
     this.hscale.CanFocus = true;
     this.hscale.Name = "hscale";
     this.hscale.Adjustment.Upper = 100;
     this.hscale.Adjustment.PageIncrement = 10;
     this.hscale.Adjustment.StepIncrement = 1;
     this.hscale.DrawValue = false;
     this.hscale.Digits = 0;
     this.hscale.ValuePos = ((Gtk.PositionType)(2));
     this.hbox2.Add(this.hscale);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.hscale]));
     w4.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.spin = new Gtk.SpinButton(0, 100, 1);
     this.spin.CanFocus = true;
     this.spin.Name = "spin";
     this.spin.Adjustment.PageIncrement = 10;
     this.spin.ClimbRate = 1;
     this.spin.Numeric = true;
     this.hbox2.Add(this.spin);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.spin]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.button = new Gtk.Button();
     this.button.CanFocus = true;
     this.button.Name = "button";
     this.button.UseUnderline = true;
     // Container child button.Gtk.Container+ContainerChild
     Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w7 = new Gtk.HBox();
     w7.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w8 = new Gtk.Image();
     w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w7.Add(w8);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w7.Add(w10);
     w6.Add(w7);
     this.button.Add(w6);
     this.hbox2.Add(this.button);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.button]));
     w14.Position = 2;
     w14.Expand = false;
     w14.Fill = false;
     this.vbox.Add(this.hbox2);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox2]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     this.Add(this.vbox);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #40
0
 public static void Build(object obj, string id)
 {
     System.Collections.Hashtable bindings = new System.Collections.Hashtable();
     if ((id == "administrator.EditCreateUser")) {
         Gtk.Window cobj = ((Gtk.Window)(obj));
         // Widget administrator.EditCreateUser
         cobj.Title = "EditCreateUser";
         cobj.WindowPosition = ((Gtk.WindowPosition)(4));
         cobj.Events = ((Gdk.EventMask)(0));
         cobj.Name = "administrator.EditCreateUser";
         cobj.DefaultWidth = 400;
         cobj.DefaultHeight = 300;
         bindings["administrator.EditCreateUser"] = cobj;
         cobj.Show();
     }
     else {
         if ((id == "administrator.LoginWindow")) {
             Gtk.Window cobj = ((Gtk.Window)(obj));
             // Widget administrator.LoginWindow
             cobj.Title = "Boxerp Server Administrator";
             cobj.WindowPosition = ((Gtk.WindowPosition)(1));
             cobj.Modal = true;
             cobj.Resizable = false;
             cobj.AllowGrow = false;
             cobj.Events = ((Gdk.EventMask)(0));
             cobj.Name = "administrator.LoginWindow";
             // Container child administrator.LoginWindow.Gtk.Container+ContainerChild
             Gtk.VBox w1 = new Gtk.VBox();
             w1.BorderWidth = ((uint)(5));
             w1.Events = ((Gdk.EventMask)(0));
             w1.Name = "vbox1";
             // Container child vbox1.Gtk.Box+BoxChild
             Gtk.HBox w2 = new Gtk.HBox();
             w2.Events = ((Gdk.EventMask)(0));
             w2.Name = "hbox1";
             // Container child hbox1.Gtk.Box+BoxChild
             Gtk.Label w3 = new Gtk.Label();
             w3.LabelProp = "Login:"******"label1";
             w3.WidthRequest = 150;
             bindings["label1"] = w3;
             w2.Add(w3);
             Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3]));
             w4.Position = 0;
             // Container child hbox1.Gtk.Box+BoxChild
             Gtk.Entry w5 = new Gtk.Entry();
             w5.Text = "demo";
             w5.IsEditable = true;
             w5.MaxLength = 100;
             w5.InvisibleChar = '●';
             w5.CanFocus = true;
             w5.Events = ((Gdk.EventMask)(0));
             w5.Name = "entryLogin";
             w5.WidthRequest = 200;
             bindings["entryLogin"] = w5;
             w2.Add(w5);
             Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5]));
             w6.Position = 1;
             w6.Expand = false;
             w6.Fill = false;
             bindings["hbox1"] = w2;
             w1.Add(w2);
             Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2]));
             w7.Position = 0;
             w7.Expand = false;
             w7.Fill = false;
             // Container child vbox1.Gtk.Box+BoxChild
             Gtk.HBox w8 = new Gtk.HBox();
             w8.Events = ((Gdk.EventMask)(0));
             w8.Name = "hbox2";
             w8.WidthRequest = 150;
             // Container child hbox2.Gtk.Box+BoxChild
             Gtk.Label w9 = new Gtk.Label();
             w9.LabelProp = "Password:"******"label2";
             bindings["label2"] = w9;
             w8.Add(w9);
             Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w8[w9]));
             w10.Position = 0;
             w10.Fill = false;
             // Container child hbox2.Gtk.Box+BoxChild
             Gtk.Entry w11 = new Gtk.Entry();
             w11.Text = "pass";
             w11.IsEditable = true;
             w11.Visibility = false;
             w11.InvisibleChar = '●';
             w11.CanFocus = true;
             w11.Events = ((Gdk.EventMask)(0));
             w11.Name = "entryPassword";
             w11.WidthRequest = 200;
             bindings["entryPassword"] = w11;
             w8.Add(w11);
             Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w8[w11]));
             w12.Position = 1;
             w12.Expand = false;
             w12.Fill = false;
             bindings["hbox2"] = w8;
             w1.Add(w8);
             Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[w8]));
             w13.Position = 1;
             // Container child vbox1.Gtk.Box+BoxChild
             Gtk.HSeparator w14 = new Gtk.HSeparator();
             w14.Events = ((Gdk.EventMask)(0));
             w14.Name = "hseparator1";
             bindings["hseparator1"] = w14;
             w1.Add(w14);
             Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[w14]));
             w15.Position = 2;
             w15.Expand = false;
             w15.Fill = false;
             // Container child vbox1.Gtk.Box+BoxChild
             Gtk.HBox w16 = new Gtk.HBox();
             w16.Events = ((Gdk.EventMask)(0));
             w16.Name = "hbox3";
             // Container child hbox3.Gtk.Box+BoxChild
             Gtk.Button w17 = new Gtk.Button();
             w17.CanFocus = true;
             w17.Events = ((Gdk.EventMask)(0));
             w17.Name = "buttonConnect";
             // Container child buttonConnect.Gtk.Container+ContainerChild
             Gtk.Alignment w18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
             w18.Events = ((Gdk.EventMask)(0));
             w18.Name = "GtkAlignment";
             // Container child GtkAlignment.Gtk.Container+ContainerChild
             Gtk.HBox w19 = new Gtk.HBox();
             w19.Spacing = 2;
             w19.Events = ((Gdk.EventMask)(0));
             w19.Name = "GtkHBox";
             // Container child GtkHBox.Gtk.Container+ContainerChild
             Gtk.Image w20 = new Gtk.Image();
             w20.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-connect", 16, 0);
             w20.Events = ((Gdk.EventMask)(0));
             w20.Name = "image15";
             bindings["image15"] = w20;
             w19.Add(w20);
             // Container child GtkHBox.Gtk.Container+ContainerChild
             Gtk.Label w22 = new Gtk.Label();
             w22.LabelProp = "Connect";
             w22.Events = ((Gdk.EventMask)(0));
             w22.Name = "GtkLabel";
             bindings["GtkLabel"] = w22;
             w19.Add(w22);
             bindings["GtkHBox"] = w19;
             w18.Add(w19);
             bindings["GtkAlignment"] = w18;
             w17.Add(w18);
             bindings["buttonConnect"] = w17;
             w16.Add(w17);
             Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(w16[w17]));
             w26.PackType = ((Gtk.PackType)(1));
             w26.Position = 0;
             w26.Expand = false;
             w26.Fill = false;
             bindings["hbox3"] = w16;
             w1.Add(w16);
             Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w1[w16]));
             w27.Position = 3;
             w27.Expand = false;
             w27.Fill = false;
             bindings["vbox1"] = w1;
             cobj.Add(w1);
             cobj.DefaultWidth = 370;
             cobj.DefaultHeight = 129;
             bindings["administrator.LoginWindow"] = cobj;
             w3.Show();
             w5.Show();
             w2.Show();
             w9.Show();
             w11.Show();
             w8.Show();
             w14.Show();
             w20.Show();
             w22.Show();
             w19.Show();
             w18.Show();
             w17.Show();
             w16.Show();
             w1.Show();
             cobj.Show();
             cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent")));
             w5.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnConnect")));
             w11.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnConnect")));
             w17.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnConnect")));
         }
         else {
             if ((id == "administrator.MainWindow")) {
                 Gtk.Window cobj = ((Gtk.Window)(obj));
                 // Widget administrator.MainWindow
                 cobj.Title = "Boxerp Administrator";
                 Gtk.UIManager w1 = new Gtk.UIManager();
                 Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
                 Gtk.Action w3 = new Gtk.Action("File", "File", null, null);
                 w3.ShortLabel = "File";
                 bindings["File"] = w3;
                 w2.Add(w3, null);
                 Gtk.Action w4 = new Gtk.Action("Exit", "Exit", null, null);
                 w4.ShortLabel = "Exit";
                 bindings["Exit"] = w4;
                 w2.Add(w4, null);
                 Gtk.Action w5 = new Gtk.Action("Edit", "Edit", null, null);
                 w5.ShortLabel = "Edit";
                 bindings["Edit"] = w5;
                 w2.Add(w5, null);
                 Gtk.Action w6 = new Gtk.Action("Cut", "Cut", null, null);
                 w6.ShortLabel = "Cut";
                 bindings["Cut"] = w6;
                 w2.Add(w6, null);
                 Gtk.Action w7 = new Gtk.Action("Copy", "Copy", null, null);
                 w7.ShortLabel = "Copy";
                 bindings["Copy"] = w7;
                 w2.Add(w7, null);
                 Gtk.Action w8 = new Gtk.Action("Paste", "Paste", null, null);
                 w8.ShortLabel = "Paste";
                 bindings["Paste"] = w8;
                 w2.Add(w8, null);
                 Gtk.Action w9 = new Gtk.Action("Help", "Help", null, null);
                 w9.ShortLabel = "Help";
                 bindings["Help"] = w9;
                 w2.Add(w9, null);
                 Gtk.Action w10 = new Gtk.Action("About", "About", null, null);
                 w10.ShortLabel = "About";
                 bindings["About"] = w10;
                 w2.Add(w10, null);
                 w1.InsertActionGroup(w2, 0);
                 cobj.AddAccelGroup(w1.AccelGroup);
                 cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                 cobj.DefaultWidth = 800;
                 cobj.DefaultHeight = 600;
                 cobj.Events = ((Gdk.EventMask)(0));
                 cobj.Name = "administrator.MainWindow";
                 // Container child administrator.MainWindow.Gtk.Container+ContainerChild
                 Gtk.VBox w11 = new Gtk.VBox();
                 w11.Events = ((Gdk.EventMask)(0));
                 w11.Name = "vbox1";
                 // Container child vbox1.Gtk.Box+BoxChild
                 w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Exit'/></menu><menu action='Edit'><menuitem action='Cut'/><menuitem action='Copy'/><menuitem action='Paste'/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>");
                 Gtk.MenuBar w12 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
                 w12.Events = ((Gdk.EventMask)(0));
                 w12.Name = "menubar1";
                 bindings["menubar1"] = w12;
                 w11.Add(w12);
                 Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w11[w12]));
                 w13.Position = 0;
                 w13.Expand = false;
                 w13.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 w1.AddUiFromString("<ui><toolbar name='toolbar1'/></ui>");
                 Gtk.Toolbar w14 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1")));
                 w14.ShowArrow = false;
                 w14.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
                 w14.IconSize = ((Gtk.IconSize)(3));
                 w14.Events = ((Gdk.EventMask)(0));
                 w14.Name = "toolbar1";
                 bindings["toolbar1"] = w14;
                 w11.Add(w14);
                 Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w11[w14]));
                 w15.Position = 1;
                 w15.Expand = false;
                 w15.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.VBox w16 = new Gtk.VBox();
                 w16.BorderWidth = ((uint)(5));
                 w16.Events = ((Gdk.EventMask)(0));
                 w16.Name = "vbox2";
                 // Container child vbox2.Gtk.Box+BoxChild
                 Gtk.HBox w17 = new Gtk.HBox();
                 w17.Events = ((Gdk.EventMask)(0));
                 w17.Name = "hbox1";
                 // Container child hbox1.Gtk.Box+BoxChild
                 Gtk.Label w18 = new Gtk.Label();
                 w18.LabelProp = "<b>Enterprise:</b>";
                 w18.UseMarkup = true;
                 w18.Ypad = 6;
                 w18.Events = ((Gdk.EventMask)(256));
                 w18.Name = "labelEnterprise";
                 bindings["labelEnterprise"] = w18;
                 w17.Add(w18);
                 Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(w17[w18]));
                 w19.Position = 0;
                 w19.Expand = false;
                 w19.Fill = false;
                 // Container child hbox1.Gtk.Box+BoxChild
                 Gtk.Entry w20 = new Gtk.Entry();
                 w20.IsEditable = true;
                 w20.InvisibleChar = '●';
                 w20.CanFocus = true;
                 w20.Events = ((Gdk.EventMask)(0));
                 w20.Name = "entryEnterprise";
                 bindings["entryEnterprise"] = w20;
                 w17.Add(w20);
                 Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(w17[w20]));
                 w21.Position = 1;
                 w21.Expand = false;
                 w21.Fill = false;
                 // Container child hbox1.Gtk.Box+BoxChild
                 Gtk.Button w22 = new Gtk.Button();
                 Gtk.Tooltips w23 = new Gtk.Tooltips();
                 w23.SetTip(w22, "Añadir un Hecho", "Añadir un Hecho");
                 w22.CanFocus = true;
                 w22.Events = ((Gdk.EventMask)(0));
                 w22.Name = "buttonFindEnterprise";
                 w22.HasDefault = true;
                 // Container child buttonFindEnterprise.Gtk.Container+ContainerChild
                 Gtk.Alignment w24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w24.Events = ((Gdk.EventMask)(0));
                 w24.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w25 = new Gtk.HBox();
                 w25.Spacing = 2;
                 w25.Events = ((Gdk.EventMask)(0));
                 w25.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w26 = new Gtk.Image();
                 w26.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0);
                 w26.Events = ((Gdk.EventMask)(0));
                 w26.Name = "image1";
                 bindings["image1"] = w26;
                 w25.Add(w26);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w28 = new Gtk.Label();
                 w28.LabelProp = "";
                 w28.Events = ((Gdk.EventMask)(0));
                 w28.Name = "GtkLabel";
                 bindings["GtkLabel"] = w28;
                 w25.Add(w28);
                 bindings["GtkHBox"] = w25;
                 w24.Add(w25);
                 bindings["GtkAlignment"] = w24;
                 w22.Add(w24);
                 bindings["buttonFindEnterprise"] = w22;
                 w17.Add(w22);
                 Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w17[w22]));
                 w32.Position = 2;
                 w32.Expand = false;
                 w32.Fill = false;
                 bindings["hbox1"] = w17;
                 w16.Add(w17);
                 Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(w16[w17]));
                 w33.Position = 0;
                 w33.Expand = false;
                 w33.Fill = false;
                 // Container child vbox2.Gtk.Box+BoxChild
                 Gtk.ScrolledWindow w34 = new Gtk.ScrolledWindow();
                 w34.VscrollbarPolicy = ((Gtk.PolicyType)(1));
                 w34.HscrollbarPolicy = ((Gtk.PolicyType)(1));
                 w34.CanFocus = true;
                 w34.Events = ((Gdk.EventMask)(0));
                 w34.Name = "scrolledwindow1";
                 // Container child scrolledwindow1.Gtk.Container+ContainerChild
                 Gtk.Viewport w35 = new Gtk.Viewport();
                 w35.ShadowType = ((Gtk.ShadowType)(0));
                 w35.Events = ((Gdk.EventMask)(0));
                 w35.Name = "GtkViewport";
                 // Container child GtkViewport.Gtk.Container+ContainerChild
                 Boxerp.Client.GtkSharp.Lib.FilteredListView w36 = new Boxerp.Client.GtkSharp.Lib.FilteredListView();
                 w36.Events = ((Gdk.EventMask)(256));
                 w36.Name = "ftreeviewEnterprises";
                 bindings["ftreeviewEnterprises"] = w36;
                 w35.Add(w36);
                 bindings["GtkViewport"] = w35;
                 w34.Add(w35);
                 bindings["scrolledwindow1"] = w34;
                 w16.Add(w34);
                 Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(w16[w34]));
                 w39.Position = 1;
                 // Container child vbox2.Gtk.Box+BoxChild
                 Gtk.HBox w40 = new Gtk.HBox();
                 w40.Events = ((Gdk.EventMask)(0));
                 w40.Name = "hbox14";
                 // Container child hbox14.Gtk.Box+BoxChild
                 Gtk.Button w41 = new Gtk.Button();
                 w23.SetTip(w41, "Añadir un Hecho", "Añadir un Hecho");
                 w41.CanFocus = true;
                 w41.Events = ((Gdk.EventMask)(0));
                 w41.Name = "buttonNewEnterprise";
                 w41.HasDefault = true;
                 // Container child buttonNewEnterprise.Gtk.Container+ContainerChild
                 Gtk.Alignment w42 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w42.Events = ((Gdk.EventMask)(0));
                 w42.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w43 = new Gtk.HBox();
                 w43.Spacing = 2;
                 w43.Events = ((Gdk.EventMask)(0));
                 w43.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w44 = new Gtk.Image();
                 w44.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-new", 16, 0);
                 w44.Events = ((Gdk.EventMask)(0));
                 w44.Name = "image2";
                 bindings["image2"] = w44;
                 w43.Add(w44);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w46 = new Gtk.Label();
                 w46.LabelProp = "";
                 w46.Events = ((Gdk.EventMask)(0));
                 w46.Name = "GtkLabel";
                 bindings["GtkLabel"] = w46;
                 w43.Add(w46);
                 bindings["GtkHBox"] = w43;
                 w42.Add(w43);
                 bindings["GtkAlignment"] = w42;
                 w41.Add(w42);
                 bindings["buttonNewEnterprise"] = w41;
                 w40.Add(w41);
                 Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(w40[w41]));
                 w50.PackType = ((Gtk.PackType)(1));
                 w50.Position = 0;
                 w50.Expand = false;
                 w50.Fill = false;
                 // Container child hbox14.Gtk.Box+BoxChild
                 Gtk.Button w51 = new Gtk.Button();
                 w23.SetTip(w51, "Editar el Hecho", "Editar el Hecho");
                 w51.CanFocus = true;
                 w51.Events = ((Gdk.EventMask)(0));
                 w51.Name = "buttonEditEnterprise";
                 // Container child buttonEditEnterprise.Gtk.Container+ContainerChild
                 Gtk.Alignment w52 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w52.Events = ((Gdk.EventMask)(0));
                 w52.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w53 = new Gtk.HBox();
                 w53.Spacing = 2;
                 w53.Events = ((Gdk.EventMask)(0));
                 w53.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w54 = new Gtk.Image();
                 w54.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-edit", 16, 0);
                 w54.Events = ((Gdk.EventMask)(0));
                 w54.Name = "image3";
                 bindings["image3"] = w54;
                 w53.Add(w54);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w56 = new Gtk.Label();
                 w56.LabelProp = "";
                 w56.Events = ((Gdk.EventMask)(0));
                 w56.Name = "GtkLabel";
                 bindings["GtkLabel"] = w56;
                 w53.Add(w56);
                 bindings["GtkHBox"] = w53;
                 w52.Add(w53);
                 bindings["GtkAlignment"] = w52;
                 w51.Add(w52);
                 bindings["buttonEditEnterprise"] = w51;
                 w40.Add(w51);
                 Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(w40[w51]));
                 w60.PackType = ((Gtk.PackType)(1));
                 w60.Position = 1;
                 w60.Expand = false;
                 w60.Fill = false;
                 // Container child hbox14.Gtk.Box+BoxChild
                 Gtk.Button w61 = new Gtk.Button();
                 w23.SetTip(w61, "Quitar el Hecho", "Quitar el Hecho");
                 w61.CanFocus = true;
                 w61.Events = ((Gdk.EventMask)(0));
                 w61.Name = "buttonDelEnterprise";
                 // Container child buttonDelEnterprise.Gtk.Container+ContainerChild
                 Gtk.Alignment w62 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w62.Events = ((Gdk.EventMask)(0));
                 w62.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w63 = new Gtk.HBox();
                 w63.Spacing = 2;
                 w63.Events = ((Gdk.EventMask)(0));
                 w63.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w64 = new Gtk.Image();
                 w64.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-delete", 16, 0);
                 w64.Events = ((Gdk.EventMask)(0));
                 w64.Name = "image4";
                 bindings["image4"] = w64;
                 w63.Add(w64);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w66 = new Gtk.Label();
                 w66.LabelProp = "";
                 w66.Events = ((Gdk.EventMask)(0));
                 w66.Name = "GtkLabel";
                 bindings["GtkLabel"] = w66;
                 w63.Add(w66);
                 bindings["GtkHBox"] = w63;
                 w62.Add(w63);
                 bindings["GtkAlignment"] = w62;
                 w61.Add(w62);
                 bindings["buttonDelEnterprise"] = w61;
                 w40.Add(w61);
                 Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(w40[w61]));
                 w70.PackType = ((Gtk.PackType)(1));
                 w70.Position = 2;
                 w70.Expand = false;
                 w70.Fill = false;
                 bindings["hbox14"] = w40;
                 w16.Add(w40);
                 Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(w16[w40]));
                 w71.Position = 2;
                 w71.Expand = false;
                 w71.Fill = false;
                 bindings["vbox2"] = w16;
                 w11.Add(w16);
                 Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(w11[w16]));
                 w72.Position = 2;
                 w72.Expand = false;
                 w72.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HSeparator w73 = new Gtk.HSeparator();
                 w73.Events = ((Gdk.EventMask)(0));
                 w73.Name = "hseparator2";
                 bindings["hseparator2"] = w73;
                 w11.Add(w73);
                 Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(w11[w73]));
                 w74.Position = 3;
                 w74.Expand = false;
                 w74.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HBox w75 = new Gtk.HBox();
                 w75.Homogeneous = true;
                 w75.Events = ((Gdk.EventMask)(0));
                 w75.Name = "hbox2";
                 // Container child hbox2.Gtk.Box+BoxChild
                 Gtk.VBox w76 = new Gtk.VBox();
                 w76.BorderWidth = ((uint)(5));
                 w76.Events = ((Gdk.EventMask)(0));
                 w76.Name = "vbox3";
                 // Container child vbox3.Gtk.Box+BoxChild
                 Gtk.HBox w77 = new Gtk.HBox();
                 w77.Events = ((Gdk.EventMask)(0));
                 w77.Name = "hbox3";
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Label w78 = new Gtk.Label();
                 w78.LabelProp = "<b>User:</b>";
                 w78.UseMarkup = true;
                 w78.Ypad = 6;
                 w78.Events = ((Gdk.EventMask)(256));
                 w78.Name = "labelUser";
                 bindings["labelUser"] = w78;
                 w77.Add(w78);
                 Gtk.Box.BoxChild w79 = ((Gtk.Box.BoxChild)(w77[w78]));
                 w79.Position = 0;
                 w79.Expand = false;
                 w79.Fill = false;
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Entry w80 = new Gtk.Entry();
                 w80.IsEditable = true;
                 w80.InvisibleChar = '●';
                 w80.CanFocus = true;
                 w80.Events = ((Gdk.EventMask)(0));
                 w80.Name = "entryUser";
                 bindings["entryUser"] = w80;
                 w77.Add(w80);
                 Gtk.Box.BoxChild w81 = ((Gtk.Box.BoxChild)(w77[w80]));
                 w81.Position = 1;
                 w81.Expand = false;
                 w81.Fill = false;
                 // Container child hbox3.Gtk.Box+BoxChild
                 Gtk.Button w82 = new Gtk.Button();
                 w23.SetTip(w82, "Añadir un Hecho", "Añadir un Hecho");
                 w82.CanFocus = true;
                 w82.Events = ((Gdk.EventMask)(0));
                 w82.Name = "buttonFindUser";
                 w82.HasDefault = true;
                 // Container child buttonFindUser.Gtk.Container+ContainerChild
                 Gtk.Alignment w83 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w83.Events = ((Gdk.EventMask)(0));
                 w83.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w84 = new Gtk.HBox();
                 w84.Spacing = 2;
                 w84.Events = ((Gdk.EventMask)(0));
                 w84.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w85 = new Gtk.Image();
                 w85.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0);
                 w85.Events = ((Gdk.EventMask)(0));
                 w85.Name = "image5";
                 bindings["image5"] = w85;
                 w84.Add(w85);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w87 = new Gtk.Label();
                 w87.LabelProp = "";
                 w87.Events = ((Gdk.EventMask)(0));
                 w87.Name = "GtkLabel";
                 bindings["GtkLabel"] = w87;
                 w84.Add(w87);
                 bindings["GtkHBox"] = w84;
                 w83.Add(w84);
                 bindings["GtkAlignment"] = w83;
                 w82.Add(w83);
                 bindings["buttonFindUser"] = w82;
                 w77.Add(w82);
                 Gtk.Box.BoxChild w91 = ((Gtk.Box.BoxChild)(w77[w82]));
                 w91.Position = 2;
                 w91.Expand = false;
                 w91.Fill = false;
                 bindings["hbox3"] = w77;
                 w76.Add(w77);
                 Gtk.Box.BoxChild w92 = ((Gtk.Box.BoxChild)(w76[w77]));
                 w92.Position = 0;
                 w92.Expand = false;
                 w92.Fill = false;
                 // Container child vbox3.Gtk.Box+BoxChild
                 Gtk.ScrolledWindow w93 = new Gtk.ScrolledWindow();
                 w93.VscrollbarPolicy = ((Gtk.PolicyType)(1));
                 w93.HscrollbarPolicy = ((Gtk.PolicyType)(1));
                 w93.CanFocus = true;
                 w93.Events = ((Gdk.EventMask)(0));
                 w93.Name = "scrolledwindow2";
                 // Container child scrolledwindow2.Gtk.Container+ContainerChild
                 Gtk.Viewport w94 = new Gtk.Viewport();
                 w94.ShadowType = ((Gtk.ShadowType)(0));
                 w94.Events = ((Gdk.EventMask)(0));
                 w94.Name = "GtkViewport1";
                 // Container child GtkViewport1.Gtk.Container+ContainerChild
                 Boxerp.Client.GtkSharp.Lib.FilteredListView w95 = new Boxerp.Client.GtkSharp.Lib.FilteredListView();
                 w95.Events = ((Gdk.EventMask)(256));
                 w95.Name = "ftreeviewUsers";
                 bindings["ftreeviewUsers"] = w95;
                 w94.Add(w95);
                 bindings["GtkViewport1"] = w94;
                 w93.Add(w94);
                 bindings["scrolledwindow2"] = w93;
                 w76.Add(w93);
                 Gtk.Box.BoxChild w98 = ((Gtk.Box.BoxChild)(w76[w93]));
                 w98.Position = 1;
                 // Container child vbox3.Gtk.Box+BoxChild
                 Gtk.HBox w99 = new Gtk.HBox();
                 w99.Events = ((Gdk.EventMask)(0));
                 w99.Name = "hbox15";
                 // Container child hbox15.Gtk.Box+BoxChild
                 Gtk.Button w100 = new Gtk.Button();
                 w23.SetTip(w100, "Añadir un Hecho", "Añadir un Hecho");
                 w100.CanFocus = true;
                 w100.Events = ((Gdk.EventMask)(0));
                 w100.Name = "buttonNewUser";
                 w100.HasDefault = true;
                 // Container child buttonNewUser.Gtk.Container+ContainerChild
                 Gtk.Alignment w101 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w101.Events = ((Gdk.EventMask)(0));
                 w101.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w102 = new Gtk.HBox();
                 w102.Spacing = 2;
                 w102.Events = ((Gdk.EventMask)(0));
                 w102.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w103 = new Gtk.Image();
                 w103.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-new", 16, 0);
                 w103.Events = ((Gdk.EventMask)(0));
                 w103.Name = "image6";
                 bindings["image6"] = w103;
                 w102.Add(w103);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w105 = new Gtk.Label();
                 w105.LabelProp = "";
                 w105.Events = ((Gdk.EventMask)(0));
                 w105.Name = "GtkLabel";
                 bindings["GtkLabel"] = w105;
                 w102.Add(w105);
                 bindings["GtkHBox"] = w102;
                 w101.Add(w102);
                 bindings["GtkAlignment"] = w101;
                 w100.Add(w101);
                 bindings["buttonNewUser"] = w100;
                 w99.Add(w100);
                 Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(w99[w100]));
                 w109.PackType = ((Gtk.PackType)(1));
                 w109.Position = 0;
                 w109.Expand = false;
                 w109.Fill = false;
                 // Container child hbox15.Gtk.Box+BoxChild
                 Gtk.Button w110 = new Gtk.Button();
                 w23.SetTip(w110, "Editar el Hecho", "Editar el Hecho");
                 w110.CanFocus = true;
                 w110.Events = ((Gdk.EventMask)(0));
                 w110.Name = "buttonEditUser";
                 // Container child buttonEditUser.Gtk.Container+ContainerChild
                 Gtk.Alignment w111 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w111.Events = ((Gdk.EventMask)(0));
                 w111.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w112 = new Gtk.HBox();
                 w112.Spacing = 2;
                 w112.Events = ((Gdk.EventMask)(0));
                 w112.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w113 = new Gtk.Image();
                 w113.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-edit", 16, 0);
                 w113.Events = ((Gdk.EventMask)(0));
                 w113.Name = "image7";
                 bindings["image7"] = w113;
                 w112.Add(w113);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w115 = new Gtk.Label();
                 w115.LabelProp = "";
                 w115.Events = ((Gdk.EventMask)(0));
                 w115.Name = "GtkLabel";
                 bindings["GtkLabel"] = w115;
                 w112.Add(w115);
                 bindings["GtkHBox"] = w112;
                 w111.Add(w112);
                 bindings["GtkAlignment"] = w111;
                 w110.Add(w111);
                 bindings["buttonEditUser"] = w110;
                 w99.Add(w110);
                 Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(w99[w110]));
                 w119.PackType = ((Gtk.PackType)(1));
                 w119.Position = 1;
                 w119.Expand = false;
                 w119.Fill = false;
                 // Container child hbox15.Gtk.Box+BoxChild
                 Gtk.Button w120 = new Gtk.Button();
                 w23.SetTip(w120, "Quitar el Hecho", "Quitar el Hecho");
                 w120.CanFocus = true;
                 w120.Events = ((Gdk.EventMask)(0));
                 w120.Name = "buttonDelUser";
                 // Container child buttonDelUser.Gtk.Container+ContainerChild
                 Gtk.Alignment w121 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w121.Events = ((Gdk.EventMask)(0));
                 w121.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w122 = new Gtk.HBox();
                 w122.Spacing = 2;
                 w122.Events = ((Gdk.EventMask)(0));
                 w122.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w123 = new Gtk.Image();
                 w123.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-delete", 16, 0);
                 w123.Events = ((Gdk.EventMask)(0));
                 w123.Name = "image8";
                 bindings["image8"] = w123;
                 w122.Add(w123);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w125 = new Gtk.Label();
                 w125.LabelProp = "";
                 w125.Events = ((Gdk.EventMask)(0));
                 w125.Name = "GtkLabel";
                 bindings["GtkLabel"] = w125;
                 w122.Add(w125);
                 bindings["GtkHBox"] = w122;
                 w121.Add(w122);
                 bindings["GtkAlignment"] = w121;
                 w120.Add(w121);
                 bindings["buttonDelUser"] = w120;
                 w99.Add(w120);
                 Gtk.Box.BoxChild w129 = ((Gtk.Box.BoxChild)(w99[w120]));
                 w129.PackType = ((Gtk.PackType)(1));
                 w129.Position = 2;
                 w129.Expand = false;
                 w129.Fill = false;
                 bindings["hbox15"] = w99;
                 w76.Add(w99);
                 Gtk.Box.BoxChild w130 = ((Gtk.Box.BoxChild)(w76[w99]));
                 w130.Position = 2;
                 w130.Expand = false;
                 w130.Fill = false;
                 bindings["vbox3"] = w76;
                 w75.Add(w76);
                 Gtk.Box.BoxChild w131 = ((Gtk.Box.BoxChild)(w75[w76]));
                 w131.Position = 0;
                 // Container child hbox2.Gtk.Box+BoxChild
                 Gtk.VBox w132 = new Gtk.VBox();
                 w132.BorderWidth = ((uint)(5));
                 w132.Events = ((Gdk.EventMask)(0));
                 w132.Name = "vbox4";
                 // Container child vbox4.Gtk.Box+BoxChild
                 Gtk.HBox w133 = new Gtk.HBox();
                 w133.Events = ((Gdk.EventMask)(0));
                 w133.Name = "hbox4";
                 // Container child hbox4.Gtk.Box+BoxChild
                 Gtk.Label w134 = new Gtk.Label();
                 w134.LabelProp = "<b>Group:</b>";
                 w134.UseMarkup = true;
                 w134.Ypad = 6;
                 w134.Events = ((Gdk.EventMask)(256));
                 w134.Name = "labelGroup";
                 bindings["labelGroup"] = w134;
                 w133.Add(w134);
                 Gtk.Box.BoxChild w135 = ((Gtk.Box.BoxChild)(w133[w134]));
                 w135.Position = 0;
                 w135.Expand = false;
                 w135.Fill = false;
                 // Container child hbox4.Gtk.Box+BoxChild
                 Gtk.Entry w136 = new Gtk.Entry();
                 w136.IsEditable = true;
                 w136.InvisibleChar = '●';
                 w136.CanFocus = true;
                 w136.Events = ((Gdk.EventMask)(0));
                 w136.Name = "entryGroup";
                 bindings["entryGroup"] = w136;
                 w133.Add(w136);
                 Gtk.Box.BoxChild w137 = ((Gtk.Box.BoxChild)(w133[w136]));
                 w137.Position = 1;
                 w137.Expand = false;
                 w137.Fill = false;
                 // Container child hbox4.Gtk.Box+BoxChild
                 Gtk.Button w138 = new Gtk.Button();
                 w23.SetTip(w138, "Añadir un Hecho", "Añadir un Hecho");
                 w138.CanFocus = true;
                 w138.Events = ((Gdk.EventMask)(0));
                 w138.Name = "buttonFindGroup";
                 w138.HasDefault = true;
                 // Container child buttonFindGroup.Gtk.Container+ContainerChild
                 Gtk.Alignment w139 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w139.Events = ((Gdk.EventMask)(0));
                 w139.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w140 = new Gtk.HBox();
                 w140.Spacing = 2;
                 w140.Events = ((Gdk.EventMask)(0));
                 w140.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w141 = new Gtk.Image();
                 w141.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0);
                 w141.Events = ((Gdk.EventMask)(0));
                 w141.Name = "image9";
                 bindings["image9"] = w141;
                 w140.Add(w141);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w143 = new Gtk.Label();
                 w143.LabelProp = "";
                 w143.Events = ((Gdk.EventMask)(0));
                 w143.Name = "GtkLabel";
                 bindings["GtkLabel"] = w143;
                 w140.Add(w143);
                 bindings["GtkHBox"] = w140;
                 w139.Add(w140);
                 bindings["GtkAlignment"] = w139;
                 w138.Add(w139);
                 bindings["buttonFindGroup"] = w138;
                 w133.Add(w138);
                 Gtk.Box.BoxChild w147 = ((Gtk.Box.BoxChild)(w133[w138]));
                 w147.Position = 2;
                 w147.Expand = false;
                 w147.Fill = false;
                 bindings["hbox4"] = w133;
                 w132.Add(w133);
                 Gtk.Box.BoxChild w148 = ((Gtk.Box.BoxChild)(w132[w133]));
                 w148.Position = 0;
                 w148.Expand = false;
                 w148.Fill = false;
                 // Container child vbox4.Gtk.Box+BoxChild
                 Gtk.ScrolledWindow w149 = new Gtk.ScrolledWindow();
                 w149.VscrollbarPolicy = ((Gtk.PolicyType)(1));
                 w149.HscrollbarPolicy = ((Gtk.PolicyType)(1));
                 w149.CanFocus = true;
                 w149.Events = ((Gdk.EventMask)(0));
                 w149.Name = "scrolledwindow3";
                 // Container child scrolledwindow3.Gtk.Container+ContainerChild
                 Gtk.Viewport w150 = new Gtk.Viewport();
                 w150.ShadowType = ((Gtk.ShadowType)(0));
                 w150.Events = ((Gdk.EventMask)(0));
                 w150.Name = "GtkViewport2";
                 // Container child GtkViewport2.Gtk.Container+ContainerChild
                 Boxerp.Client.GtkSharp.Lib.FilteredListView w151 = new Boxerp.Client.GtkSharp.Lib.FilteredListView();
                 w151.Events = ((Gdk.EventMask)(256));
                 w151.Name = "ftreeviewGroups";
                 bindings["ftreeviewGroups"] = w151;
                 w150.Add(w151);
                 bindings["GtkViewport2"] = w150;
                 w149.Add(w150);
                 bindings["scrolledwindow3"] = w149;
                 w132.Add(w149);
                 Gtk.Box.BoxChild w154 = ((Gtk.Box.BoxChild)(w132[w149]));
                 w154.Position = 1;
                 // Container child vbox4.Gtk.Box+BoxChild
                 Gtk.HBox w155 = new Gtk.HBox();
                 w155.Events = ((Gdk.EventMask)(0));
                 w155.Name = "hbox16";
                 // Container child hbox16.Gtk.Box+BoxChild
                 Gtk.Button w156 = new Gtk.Button();
                 w23.SetTip(w156, "Añadir un Hecho", "Añadir un Hecho");
                 w156.CanFocus = true;
                 w156.Events = ((Gdk.EventMask)(0));
                 w156.Name = "buttonNewGroup";
                 w156.HasDefault = true;
                 // Container child buttonNewGroup.Gtk.Container+ContainerChild
                 Gtk.Alignment w157 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w157.Events = ((Gdk.EventMask)(0));
                 w157.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w158 = new Gtk.HBox();
                 w158.Spacing = 2;
                 w158.Events = ((Gdk.EventMask)(0));
                 w158.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w159 = new Gtk.Image();
                 w159.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-new", 16, 0);
                 w159.Events = ((Gdk.EventMask)(0));
                 w159.Name = "image10";
                 bindings["image10"] = w159;
                 w158.Add(w159);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w161 = new Gtk.Label();
                 w161.LabelProp = "";
                 w161.Events = ((Gdk.EventMask)(0));
                 w161.Name = "GtkLabel";
                 bindings["GtkLabel"] = w161;
                 w158.Add(w161);
                 bindings["GtkHBox"] = w158;
                 w157.Add(w158);
                 bindings["GtkAlignment"] = w157;
                 w156.Add(w157);
                 bindings["buttonNewGroup"] = w156;
                 w155.Add(w156);
                 Gtk.Box.BoxChild w165 = ((Gtk.Box.BoxChild)(w155[w156]));
                 w165.PackType = ((Gtk.PackType)(1));
                 w165.Position = 0;
                 w165.Expand = false;
                 w165.Fill = false;
                 // Container child hbox16.Gtk.Box+BoxChild
                 Gtk.Button w166 = new Gtk.Button();
                 w23.SetTip(w166, "Editar el Hecho", "Editar el Hecho");
                 w166.CanFocus = true;
                 w166.Events = ((Gdk.EventMask)(0));
                 w166.Name = "buttonEditGroup";
                 // Container child buttonEditGroup.Gtk.Container+ContainerChild
                 Gtk.Alignment w167 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w167.Events = ((Gdk.EventMask)(0));
                 w167.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w168 = new Gtk.HBox();
                 w168.Spacing = 2;
                 w168.Events = ((Gdk.EventMask)(0));
                 w168.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w169 = new Gtk.Image();
                 w169.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-edit", 16, 0);
                 w169.Events = ((Gdk.EventMask)(0));
                 w169.Name = "image11";
                 bindings["image11"] = w169;
                 w168.Add(w169);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w171 = new Gtk.Label();
                 w171.LabelProp = "";
                 w171.Events = ((Gdk.EventMask)(0));
                 w171.Name = "GtkLabel";
                 bindings["GtkLabel"] = w171;
                 w168.Add(w171);
                 bindings["GtkHBox"] = w168;
                 w167.Add(w168);
                 bindings["GtkAlignment"] = w167;
                 w166.Add(w167);
                 bindings["buttonEditGroup"] = w166;
                 w155.Add(w166);
                 Gtk.Box.BoxChild w175 = ((Gtk.Box.BoxChild)(w155[w166]));
                 w175.PackType = ((Gtk.PackType)(1));
                 w175.Position = 1;
                 w175.Expand = false;
                 w175.Fill = false;
                 // Container child hbox16.Gtk.Box+BoxChild
                 Gtk.Button w176 = new Gtk.Button();
                 w23.SetTip(w176, "Quitar el Hecho", "Quitar el Hecho");
                 w176.CanFocus = true;
                 w176.Events = ((Gdk.EventMask)(0));
                 w176.Name = "buttonDelGroup";
                 // Container child buttonDelGroup.Gtk.Container+ContainerChild
                 Gtk.Alignment w177 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w177.Events = ((Gdk.EventMask)(0));
                 w177.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w178 = new Gtk.HBox();
                 w178.Spacing = 2;
                 w178.Events = ((Gdk.EventMask)(0));
                 w178.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w179 = new Gtk.Image();
                 w179.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-delete", 16, 0);
                 w179.Events = ((Gdk.EventMask)(0));
                 w179.Name = "image12";
                 bindings["image12"] = w179;
                 w178.Add(w179);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w181 = new Gtk.Label();
                 w181.LabelProp = "";
                 w181.Events = ((Gdk.EventMask)(0));
                 w181.Name = "GtkLabel";
                 bindings["GtkLabel"] = w181;
                 w178.Add(w181);
                 bindings["GtkHBox"] = w178;
                 w177.Add(w178);
                 bindings["GtkAlignment"] = w177;
                 w176.Add(w177);
                 bindings["buttonDelGroup"] = w176;
                 w155.Add(w176);
                 Gtk.Box.BoxChild w185 = ((Gtk.Box.BoxChild)(w155[w176]));
                 w185.PackType = ((Gtk.PackType)(1));
                 w185.Position = 2;
                 w185.Expand = false;
                 w185.Fill = false;
                 bindings["hbox16"] = w155;
                 w132.Add(w155);
                 Gtk.Box.BoxChild w186 = ((Gtk.Box.BoxChild)(w132[w155]));
                 w186.Position = 2;
                 w186.Expand = false;
                 w186.Fill = false;
                 bindings["vbox4"] = w132;
                 w75.Add(w132);
                 Gtk.Box.BoxChild w187 = ((Gtk.Box.BoxChild)(w75[w132]));
                 w187.Position = 1;
                 bindings["hbox2"] = w75;
                 w11.Add(w75);
                 Gtk.Box.BoxChild w188 = ((Gtk.Box.BoxChild)(w11[w75]));
                 w188.Position = 4;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.HSeparator w189 = new Gtk.HSeparator();
                 w189.Events = ((Gdk.EventMask)(0));
                 w189.Name = "hseparator1";
                 bindings["hseparator1"] = w189;
                 w11.Add(w189);
                 Gtk.Box.BoxChild w190 = ((Gtk.Box.BoxChild)(w11[w189]));
                 w190.Position = 6;
                 w190.Expand = false;
                 w190.Fill = false;
                 // Container child vbox1.Gtk.Box+BoxChild
                 Gtk.Statusbar w191 = new Gtk.Statusbar();
                 w191.Events = ((Gdk.EventMask)(0));
                 w191.Name = "statusbar1";
                 bindings["statusbar1"] = w191;
                 w11.Add(w191);
                 Gtk.Box.BoxChild w192 = ((Gtk.Box.BoxChild)(w11[w191]));
                 w192.Position = 7;
                 w192.Expand = false;
                 w192.Fill = false;
                 bindings["vbox1"] = w11;
                 cobj.Add(w11);
                 bindings["administrator.MainWindow"] = cobj;
                 w12.Show();
                 w14.Show();
                 w18.Show();
                 w20.Show();
                 w26.Show();
                 w28.Show();
                 w25.Show();
                 w24.Show();
                 w22.Show();
                 w17.Show();
                 w36.Show();
                 w35.Show();
                 w34.Show();
                 w44.Show();
                 w46.Show();
                 w43.Show();
                 w42.Show();
                 w41.Show();
                 w54.Show();
                 w56.Show();
                 w53.Show();
                 w52.Show();
                 w51.Show();
                 w64.Show();
                 w66.Show();
                 w63.Show();
                 w62.Show();
                 w61.Show();
                 w40.Show();
                 w16.Show();
                 w73.Show();
                 w78.Show();
                 w80.Show();
                 w85.Show();
                 w87.Show();
                 w84.Show();
                 w83.Show();
                 w82.Show();
                 w77.Show();
                 w95.Show();
                 w94.Show();
                 w93.Show();
                 w103.Show();
                 w105.Show();
                 w102.Show();
                 w101.Show();
                 w100.Show();
                 w113.Show();
                 w115.Show();
                 w112.Show();
                 w111.Show();
                 w110.Show();
                 w123.Show();
                 w125.Show();
                 w122.Show();
                 w121.Show();
                 w120.Show();
                 w99.Show();
                 w76.Show();
                 w134.Show();
                 w136.Show();
                 w141.Show();
                 w143.Show();
                 w140.Show();
                 w139.Show();
                 w138.Show();
                 w133.Show();
                 w151.Show();
                 w150.Show();
                 w149.Show();
                 w159.Show();
                 w161.Show();
                 w158.Show();
                 w157.Show();
                 w156.Show();
                 w169.Show();
                 w171.Show();
                 w168.Show();
                 w167.Show();
                 w166.Show();
                 w179.Show();
                 w181.Show();
                 w178.Show();
                 w177.Show();
                 w176.Show();
                 w155.Show();
                 w132.Show();
                 w75.Show();
                 w189.Show();
                 w191.Show();
                 w11.Show();
                 cobj.Show();
                 cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent")));
                 w20.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindEnterprise")));
                 w22.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindEnterprise")));
                 w61.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnDelEnterpriseClicked")));
                 w51.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnEditEnterpriseClicked")));
                 w41.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewEnterpriseClicked")));
                 w80.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindUser")));
                 w82.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindUser")));
                 w120.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnDelUserClicked")));
                 w110.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnEditUserClicked")));
                 w100.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewUserClicked")));
                 w136.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindGroup")));
                 w138.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindGroup")));
                 w176.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnDelGroupClicked")));
                 w166.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnEditGroupClicked")));
                 w156.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewGroupClicked")));
             }
             else {
                 if ((id == "administrator.EditUserWindow")) {
                     Gtk.Window cobj = ((Gtk.Window)(obj));
                     // Widget administrator.EditUserWindow
                     cobj.Title = "User";
                     cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                     cobj.Events = ((Gdk.EventMask)(0));
                     cobj.Name = "administrator.EditUserWindow";
                     // Container child administrator.EditUserWindow.Gtk.Container+ContainerChild
                     Gtk.VBox w1 = new Gtk.VBox();
                     w1.Events = ((Gdk.EventMask)(0));
                     w1.Name = "vbox1";
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.Notebook w2 = new Gtk.Notebook();
                     w2.CanFocus = true;
                     w2.Events = ((Gdk.EventMask)(0));
                     w2.Name = "notebook1";
                     // Container child notebook1.Gtk.Notebook+NotebookChild
                     Gtk.VBox w3 = new Gtk.VBox();
                     w3.Events = ((Gdk.EventMask)(0));
                     w3.Name = "vbox2";
                     // Container child vbox2.Gtk.Box+BoxChild
                     Gtk.Table w4 = new Gtk.Table(((uint)(5)), ((uint)(2)), false);
                     w4.RowSpacing = ((uint)(1));
                     w4.ColumnSpacing = ((uint)(5));
                     w4.BorderWidth = ((uint)(5));
                     w4.Events = ((Gdk.EventMask)(0));
                     w4.Name = "table1";
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.CheckButton w5 = new Gtk.CheckButton();
                     w5.Label = "";
                     w5.DrawIndicator = true;
                     w5.CanFocus = true;
                     w5.Events = ((Gdk.EventMask)(0));
                     w5.Name = "checkActive";
                     bindings["checkActive"] = w5;
                     w4.Add(w5);
                     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(w4[w5]));
                     w6.BottomAttach = ((uint)(5));
                     w6.LeftAttach = ((uint)(1));
                     w6.RightAttach = ((uint)(2));
                     w6.TopAttach = ((uint)(4));
                     w6.YOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Label w7 = new Gtk.Label();
                     w7.LabelProp = "Active:";
                     w7.Events = ((Gdk.EventMask)(0));
                     w7.Name = "label4";
                     bindings["label4"] = w7;
                     w4.Add(w7);
                     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(w4[w7]));
                     w8.BottomAttach = ((uint)(5));
                     w8.TopAttach = ((uint)(4));
                     w8.YOptions = ((Gtk.AttachOptions)(4));
                     w8.XOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Entry w9 = new Gtk.Entry();
                     w9.IsEditable = true;
                     w9.Visibility = false;
                     w9.InvisibleChar = '●';
                     w9.CanFocus = true;
                     w9.Events = ((Gdk.EventMask)(0));
                     w9.Name = "entryPassword";
                     bindings["entryPassword"] = w9;
                     w4.Add(w9);
                     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(w4[w9]));
                     w10.BottomAttach = ((uint)(4));
                     w10.LeftAttach = ((uint)(1));
                     w10.RightAttach = ((uint)(2));
                     w10.TopAttach = ((uint)(3));
                     w10.YOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Entry w11 = new Gtk.Entry();
                     w11.IsEditable = true;
                     w11.InvisibleChar = '●';
                     w11.CanFocus = true;
                     w11.Events = ((Gdk.EventMask)(0));
                     w11.Name = "entryEmail";
                     bindings["entryEmail"] = w11;
                     w4.Add(w11);
                     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(w4[w11]));
                     w12.BottomAttach = ((uint)(3));
                     w12.LeftAttach = ((uint)(1));
                     w12.RightAttach = ((uint)(2));
                     w12.TopAttach = ((uint)(2));
                     w12.YOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Entry w13 = new Gtk.Entry();
                     w13.IsEditable = true;
                     w13.InvisibleChar = '●';
                     w13.CanFocus = true;
                     w13.Events = ((Gdk.EventMask)(0));
                     w13.Name = "entryRealName";
                     bindings["entryRealName"] = w13;
                     w4.Add(w13);
                     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(w4[w13]));
                     w14.BottomAttach = ((uint)(2));
                     w14.LeftAttach = ((uint)(1));
                     w14.RightAttach = ((uint)(2));
                     w14.TopAttach = ((uint)(1));
                     w14.YOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Label w15 = new Gtk.Label();
                     w15.LabelProp = "Password:"******"label14";
                     bindings["label14"] = w15;
                     w4.Add(w15);
                     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(w4[w15]));
                     w16.BottomAttach = ((uint)(4));
                     w16.TopAttach = ((uint)(3));
                     w16.YOptions = ((Gtk.AttachOptions)(4));
                     w16.XOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Label w17 = new Gtk.Label();
                     w17.LabelProp = "Email:";
                     w17.Events = ((Gdk.EventMask)(0));
                     w17.Name = "label13";
                     bindings["label13"] = w17;
                     w4.Add(w17);
                     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(w4[w17]));
                     w18.BottomAttach = ((uint)(3));
                     w18.TopAttach = ((uint)(2));
                     w18.YOptions = ((Gtk.AttachOptions)(4));
                     w18.XOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Label w19 = new Gtk.Label();
                     w19.LabelProp = "Real Name:";
                     w19.Events = ((Gdk.EventMask)(0));
                     w19.Name = "label12";
                     bindings["label12"] = w19;
                     w4.Add(w19);
                     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(w4[w19]));
                     w20.BottomAttach = ((uint)(2));
                     w20.TopAttach = ((uint)(1));
                     w20.YOptions = ((Gtk.AttachOptions)(4));
                     w20.XOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Label w21 = new Gtk.Label();
                     w21.LabelProp = "User Name:";
                     w21.Events = ((Gdk.EventMask)(0));
                     w21.Name = "label10";
                     bindings["label10"] = w21;
                     w4.Add(w21);
                     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(w4[w21]));
                     w22.YOptions = ((Gtk.AttachOptions)(4));
                     w22.XOptions = ((Gtk.AttachOptions)(4));
                     // Container child table1.Gtk.Table+TableChild
                     Gtk.Entry w23 = new Gtk.Entry();
                     w23.IsEditable = true;
                     w23.InvisibleChar = '●';
                     w23.CanFocus = true;
                     w23.Events = ((Gdk.EventMask)(0));
                     w23.Name = "entryUserName";
                     bindings["entryUserName"] = w23;
                     w4.Add(w23);
                     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(w4[w23]));
                     w24.LeftAttach = ((uint)(1));
                     w24.RightAttach = ((uint)(2));
                     w24.YOptions = ((Gtk.AttachOptions)(4));
                     bindings["table1"] = w4;
                     w3.Add(w4);
                     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(w3[w4]));
                     w25.Position = 0;
                     w25.Expand = false;
                     w25.Fill = false;
                     // Container child vbox2.Gtk.Box+BoxChild
                     Boxerp.Client.GtkSharp.Lib.DoubleListView w26 = new Boxerp.Client.GtkSharp.Lib.DoubleListView();
                     w26.Events = ((Gdk.EventMask)(256));
                     w26.Name = "dtreeview";
                     bindings["dtreeview"] = w26;
                     w3.Add(w26);
                     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w3[w26]));
                     w27.Position = 1;
                     bindings["vbox2"] = w3;
                     w2.Add(w3);
                     Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(w2[w3]));
                     w28.TabExpand = false;
                     // Notebook tab
                     Gtk.Label w29 = new Gtk.Label();
                     w29.LabelProp = "Properties";
                     w29.Events = ((Gdk.EventMask)(0));
                     w29.Name = "label1";
                     bindings["label1"] = w29;
                     w2.SetTabLabel(w3, w29);
                     // Container child notebook1.Gtk.Notebook+NotebookChild
                     Gtk.VBox w30 = new Gtk.VBox();
                     w30.Events = ((Gdk.EventMask)(0));
                     w30.Name = "vbox3";
                     bindings["vbox3"] = w30;
                     w2.Add(w30);
                     Gtk.Notebook.NotebookChild w31 = ((Gtk.Notebook.NotebookChild)(w2[w30]));
                     w31.Position = 1;
                     w31.TabExpand = false;
                     // Notebook tab
                     Gtk.Label w32 = new Gtk.Label();
                     w32.LabelProp = "Permissions";
                     w32.Events = ((Gdk.EventMask)(0));
                     w32.Name = "label1";
                     bindings["label1"] = w32;
                     w2.SetTabLabel(w30, w32);
                     bindings["notebook1"] = w2;
                     w1.Add(w2);
                     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(w1[w2]));
                     w33.Position = 0;
                     w33.Padding = ((uint)(5));
                     // Container child vbox1.Gtk.Box+BoxChild
                     Gtk.HButtonBox w34 = new Gtk.HButtonBox();
                     w34.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                     w34.Spacing = 2;
                     w34.BorderWidth = ((uint)(5));
                     w34.Events = ((Gdk.EventMask)(0));
                     w34.Name = "hbuttonbox1";
                     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
                     Gtk.Button w35 = new Gtk.Button();
                     w35.CanFocus = true;
                     w35.Events = ((Gdk.EventMask)(0));
                     w35.Name = "buttonCancel";
                     // Container child buttonCancel.Gtk.Container+ContainerChild
                     Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                     w36.Events = ((Gdk.EventMask)(0));
                     w36.Name = "GtkAlignment";
                     // Container child GtkAlignment.Gtk.Container+ContainerChild
                     Gtk.HBox w37 = new Gtk.HBox();
                     w37.Spacing = 2;
                     w37.Events = ((Gdk.EventMask)(0));
                     w37.Name = "GtkHBox";
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Image w38 = new Gtk.Image();
                     w38.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
                     w38.Events = ((Gdk.EventMask)(0));
                     w38.Name = "image13";
                     bindings["image13"] = w38;
                     w37.Add(w38);
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Label w40 = new Gtk.Label();
                     w40.LabelProp = "Cancel";
                     w40.Events = ((Gdk.EventMask)(0));
                     w40.Name = "GtkLabel";
                     bindings["GtkLabel"] = w40;
                     w37.Add(w40);
                     bindings["GtkHBox"] = w37;
                     w36.Add(w37);
                     bindings["GtkAlignment"] = w36;
                     w35.Add(w36);
                     bindings["buttonCancel"] = w35;
                     w34.Add(w35);
                     Gtk.ButtonBox.ButtonBoxChild w44 = ((Gtk.ButtonBox.ButtonBoxChild)(w34[w35]));
                     w44.Expand = false;
                     w44.Fill = false;
                     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
                     Gtk.Button w45 = new Gtk.Button();
                     w45.CanFocus = true;
                     w45.Events = ((Gdk.EventMask)(0));
                     w45.Name = "buttonOk";
                     // Container child buttonOk.Gtk.Container+ContainerChild
                     Gtk.Alignment w46 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                     w46.Events = ((Gdk.EventMask)(0));
                     w46.Name = "GtkAlignment";
                     // Container child GtkAlignment.Gtk.Container+ContainerChild
                     Gtk.HBox w47 = new Gtk.HBox();
                     w47.Spacing = 2;
                     w47.Events = ((Gdk.EventMask)(0));
                     w47.Name = "GtkHBox";
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Image w48 = new Gtk.Image();
                     w48.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0);
                     w48.Events = ((Gdk.EventMask)(0));
                     w48.Name = "image14";
                     bindings["image14"] = w48;
                     w47.Add(w48);
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Label w50 = new Gtk.Label();
                     w50.LabelProp = "Ok";
                     w50.Events = ((Gdk.EventMask)(0));
                     w50.Name = "GtkLabel";
                     bindings["GtkLabel"] = w50;
                     w47.Add(w50);
                     bindings["GtkHBox"] = w47;
                     w46.Add(w47);
                     bindings["GtkAlignment"] = w46;
                     w45.Add(w46);
                     bindings["buttonOk"] = w45;
                     w34.Add(w45);
                     Gtk.ButtonBox.ButtonBoxChild w54 = ((Gtk.ButtonBox.ButtonBoxChild)(w34[w45]));
                     w54.Position = 1;
                     w54.Expand = false;
                     w54.Fill = false;
                     bindings["hbuttonbox1"] = w34;
                     w1.Add(w34);
                     Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(w1[w34]));
                     w55.PackType = ((Gtk.PackType)(1));
                     w55.Position = 1;
                     w55.Expand = false;
                     w55.Fill = false;
                     bindings["vbox1"] = w1;
                     cobj.Add(w1);
                     cobj.DefaultWidth = 400;
                     cobj.DefaultHeight = 273;
                     bindings["administrator.EditUserWindow"] = cobj;
                     w5.Show();
                     w7.Show();
                     w9.Show();
                     w11.Show();
                     w13.Show();
                     w15.Show();
                     w17.Show();
                     w19.Show();
                     w21.Show();
                     w23.Show();
                     w4.Show();
                     w26.Show();
                     w3.Show();
                     w29.Show();
                     w30.Show();
                     w32.Show();
                     w2.Show();
                     w38.Show();
                     w40.Show();
                     w37.Show();
                     w36.Show();
                     w35.Show();
                     w48.Show();
                     w50.Show();
                     w47.Show();
                     w46.Show();
                     w45.Show();
                     w34.Show();
                     w1.Show();
                     cobj.Show();
                     cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnClose")));
                     w35.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCancelClicked")));
                     w45.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOkClicked")));
                 }
             }
         }
     }
     System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance));
     for (int n = 0; (n < fields.Length); n = (n + 1)) {
         System.Reflection.FieldInfo field = fields[n];
         object widget = bindings[field.Name];
         if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) {
             field.SetValue(obj, widget);
         }
     }
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget omvviewerlight.FriendsList
     Stetic.BinContainer.Attach(this);
     this.Name = "omvviewerlight.FriendsList";
     // Container child omvviewerlight.FriendsList.Gtk.Container+ContainerChild
     this.vbox7 = new Gtk.VBox();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview_friends = new Gtk.TreeView();
     this.treeview_friends.WidthRequest = 225;
     this.treeview_friends.CanFocus = true;
     this.treeview_friends.Name = "treeview_friends";
     this.treeview_friends.Reorderable = true;
     this.GtkScrolledWindow.Add(this.treeview_friends);
     this.vbox7.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox7[this.GtkScrolledWindow]));
     w2.Position = 0;
     // Container child vbox7.Gtk.Box+BoxChild
     this.vbox8 = new Gtk.VBox();
     this.vbox8.Name = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.vbox11 = new Gtk.VBox();
     this.vbox11.Name = "vbox11";
     this.vbox11.Spacing = 6;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Homogeneous = true;
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button_IM = new Gtk.Button();
     this.button_IM.CanFocus = true;
     this.button_IM.Name = "button_IM";
     this.button_IM.UseUnderline = true;
     // Container child button_IM.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = MainClass.GetResource("icn_voice-groupfocus.png");
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.LabelProp = Mono.Unix.Catalog.GetString("IM");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.button_IM.Add(w3);
     this.hbox1.Add(this.button_IM);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.button_IM]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button_teleport = new Gtk.Button();
     this.button_teleport.CanFocus = true;
     this.button_teleport.Name = "button_teleport";
     this.button_teleport.UseUnderline = true;
     // Container child button_teleport.Gtk.Container+ContainerChild
     Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w13 = new Gtk.HBox();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w14 = new Gtk.Image();
     w14.Pixbuf = MainClass.GetResource("icon_place.png");
     w13.Add(w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w16 = new Gtk.Label();
     w16.LabelProp = Mono.Unix.Catalog.GetString("Teleport");
     w16.UseUnderline = true;
     w13.Add(w16);
     w12.Add(w13);
     this.button_teleport.Add(w12);
     this.hbox1.Add(this.button_teleport);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox1[this.button_teleport]));
     w20.Position = 1;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button_pay = new Gtk.Button();
     this.button_pay.CanFocus = true;
     this.button_pay.Name = "button_pay";
     this.button_pay.UseUnderline = true;
     // Container child button_pay.Gtk.Container+ContainerChild
     Gtk.Alignment w21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w22 = new Gtk.HBox();
     w22.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w23 = new Gtk.Image();
     w23.Pixbuf = MainClass.GetResource("status_money.png");
     w22.Add(w23);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w25 = new Gtk.Label();
     w25.LabelProp = Mono.Unix.Catalog.GetString("Pay");
     w25.UseUnderline = true;
     w22.Add(w25);
     w21.Add(w22);
     this.button_pay.Add(w21);
     this.hbox1.Add(this.button_pay);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox1[this.button_pay]));
     w29.PackType = ((Gtk.PackType)(1));
     w29.Position = 2;
     w29.Expand = false;
     w29.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button_profile = new Gtk.Button();
     this.button_profile.CanFocus = true;
     this.button_profile.Name = "button_profile";
     this.button_profile.UseUnderline = true;
     this.button_profile.Label = Mono.Unix.Catalog.GetString("Profile");
     this.hbox1.Add(this.button_profile);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox1[this.button_profile]));
     w30.PackType = ((Gtk.PackType)(1));
     w30.Position = 3;
     w30.Expand = false;
     w30.Fill = false;
     this.vbox11.Add(this.hbox1);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox11[this.hbox1]));
     w31.Position = 0;
     w31.Expand = false;
     w31.Fill = false;
     this.vbox8.Add(this.vbox11);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox8[this.vbox11]));
     w32.Position = 0;
     w32.Expand = false;
     w32.Fill = false;
     this.vbox7.Add(this.vbox8);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox7[this.vbox8]));
     w33.Position = 1;
     w33.Expand = false;
     w33.Fill = false;
     this.Add(this.vbox7);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.treeview_friends.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnTreeviewFriendsButtonPressEvent);
     this.button_IM.Clicked += new System.EventHandler(this.OnButtonIMClicked);
     this.button_teleport.Clicked += new System.EventHandler(this.OnButtonTeleportClicked);
     this.button_profile.Clicked += new System.EventHandler(this.OnButtonProfileClicked);
     this.button_pay.Clicked += new System.EventHandler(this.OnButtonPayClicked);
 }
Пример #42
0
        private void BuildTimePickerWindow()
        {
            Title             = "TimePicker";
            TypeHint          = Gdk.WindowTypeHint.Normal;
            WindowPosition    = Gtk.WindowPosition.None;
            BorderWidth       = 1;
            Resizable         = false;
            AllowGrow         = false;
            Decorated         = false;
            DestroyWithParent = true;
            SkipPagerHint     = true;
            SkipTaskbarHint   = true;

            _timeBox             = new Gtk.HBox();
            _timeBox.Spacing     = 6;
            _timeBox.BorderWidth = 3;

            _labelHour           = new Gtk.Label();
            _labelHour.LabelProp = "H:";
            _timeBox.Add(_labelHour);

            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(_timeBox[_labelHour]));
            w2.Position = 0;
            w2.Expand   = false;
            w2.Fill     = false;

            _txtHour          = new Gtk.SpinButton(0D, 24D, 1D);
            _txtHour.CanFocus = true;
            _txtHour.Adjustment.PageIncrement = 1D;
            _txtHour.ClimbRate = 1D;
            _txtHour.Numeric   = true;
            _timeBox.Add(_txtHour);

            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(_timeBox[_txtHour]));
            w3.Position = 1;
            w3.Expand   = false;
            w3.Fill     = false;

            _labelMin           = new Gtk.Label();
            _labelMin.LabelProp = "M:";
            _timeBox.Add(_labelMin);
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(_timeBox[_labelMin]));

            w4.Position = 2;
            w4.Expand   = false;
            w4.Fill     = false;

            _txtMin          = new Gtk.SpinButton(0D, 60D, 1D);
            _txtMin.CanFocus = true;
            _txtMin.Adjustment.PageIncrement = 10D;
            _txtMin.ClimbRate = 1D;
            _txtMin.Numeric   = true;
            _timeBox.Add(_txtMin);

            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(_timeBox[_txtMin]));
            w5.Position = 3;
            w5.Expand   = false;
            w5.Fill     = false;

            _labelSec           = new Gtk.Label();
            _labelSec.LabelProp = "S:";
            _timeBox.Add(_labelSec);
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(_timeBox[_labelSec]));
            w6.Position = 4;
            w6.Expand   = false;
            w6.Fill     = false;

            _txtSec          = new Gtk.SpinButton(0D, 60D, 1D);
            _txtSec.CanFocus = true;
            _txtSec.Adjustment.PageIncrement = 10D;
            _txtSec.ClimbRate = 1D;
            _txtSec.Numeric   = true;
            _timeBox.Add(_txtSec);

            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(_timeBox[_txtSec]));
            w7.Position = 5;
            w7.Expand   = false;
            w7.Fill     = false;

            Add(_timeBox);

            if ((Child != null))
            {
                Child.ShowAll();
            }

            Show();

            ButtonPressEvent          += new Gtk.ButtonPressEventHandler(OnButtonPressEvent);
            _txtHour.ValueChanged     += new EventHandler(OnTxtHourValueChanged);
            _txtHour.ButtonPressEvent += new Gtk.ButtonPressEventHandler(OnTxtHourButtonPressEvent);
            _txtMin.ValueChanged      += new EventHandler(OnTxtMinValueChanged);
            _txtMin.ButtonPressEvent  += new Gtk.ButtonPressEventHandler(OnTxtMinButtonPressEvent);
            _txtSec.ValueChanged      += new EventHandler(OnTxtSecValueChanged);
            _txtSec.ButtonPressEvent  += new Gtk.ButtonPressEventHandler(OnTxtSecButtonPressEvent);
        }
Пример #43
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget Mp3.PreferencesWindow
     this.WidthRequest   = 390;
     this.HeightRequest  = 290;
     this.Name           = "Mp3.PreferencesWindow";
     this.Title          = Mono.Unix.Catalog.GetString("Preferences");
     this.Icon           = Stetic.IconLoader.LoadIcon("gtk-preferences", 16);
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child Mp3.PreferencesWindow.Gtk.Container+ContainerChild
     this.fixedLaytout           = new Gtk.Fixed();
     this.fixedLaytout.Name      = "fixedLaytout";
     this.fixedLaytout.HasWindow = false;
     // Container child fixedLaytout.Gtk.Fixed+FixedChild
     this.behaviorLabel           = new Gtk.Label();
     this.behaviorLabel.Name      = "behaviorLabel";
     this.behaviorLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Program Behavior</b>");
     this.behaviorLabel.UseMarkup = true;
     this.behaviorLabel.Wrap      = true;
     this.fixedLaytout.Add(this.behaviorLabel);
     Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.behaviorLabel]));
     w1.X = 31;
     w1.Y = 31;
     // Container child fixedLaytout.Gtk.Fixed+FixedChild
     this.optionsVertBox         = new Gtk.VBox();
     this.optionsVertBox.Name    = "optionsVertBox";
     this.optionsVertBox.Spacing = 6;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.behaviorButton1               = new Gtk.CheckButton();
     this.behaviorButton1.CanFocus      = true;
     this.behaviorButton1.Name          = "behaviorButton1";
     this.behaviorButton1.Label         = Mono.Unix.Catalog.GetString("Show above all other windows");
     this.behaviorButton1.DrawIndicator = true;
     this.behaviorButton1.UseUnderline  = true;
     this.optionsVertBox.Add(this.behaviorButton1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.behaviorButton2               = new Gtk.CheckButton();
     this.behaviorButton2.CanFocus      = true;
     this.behaviorButton2.Name          = "behaviorButton2";
     this.behaviorButton2.Label         = Mono.Unix.Catalog.GetString("Continue playing last song after restarting");
     this.behaviorButton2.DrawIndicator = true;
     this.behaviorButton2.UseUnderline  = true;
     this.optionsVertBox.Add(this.behaviorButton2);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton2]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.behaviorButton3               = new Gtk.CheckButton();
     this.behaviorButton3.CanFocus      = true;
     this.behaviorButton3.Name          = "behaviorButton3";
     this.behaviorButton3.Label         = Mono.Unix.Catalog.GetString("Minimize to tray");
     this.behaviorButton3.DrawIndicator = true;
     this.behaviorButton3.UseUnderline  = true;
     this.optionsVertBox.Add(this.behaviorButton3);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton3]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.behaviorButton4               = new Gtk.CheckButton();
     this.behaviorButton4.CanFocus      = true;
     this.behaviorButton4.Name          = "behaviorButton4";
     this.behaviorButton4.Label         = Mono.Unix.Catalog.GetString("Use custom library path");
     this.behaviorButton4.DrawIndicator = true;
     this.behaviorButton4.UseUnderline  = true;
     this.optionsVertBox.Add(this.behaviorButton4);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton4]));
     w5.Position = 3;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.customLibraryBox         = new Gtk.HBox();
     this.customLibraryBox.Name    = "customLibraryBox";
     this.customLibraryBox.Spacing = 6;
     // Container child customLibraryBox.Gtk.Box+BoxChild
     this.entry1               = new Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.customLibraryBox.Add(this.entry1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.customLibraryBox[this.entry1]));
     w6.Position = 1;
     // Container child customLibraryBox.Gtk.Box+BoxChild
     this.button23              = new Gtk.Button();
     this.button23.CanFocus     = true;
     this.button23.Name         = "button23";
     this.button23.UseUnderline = true;
     this.button23.Label        = Mono.Unix.Catalog.GetString("Browse");
     this.customLibraryBox.Add(this.button23);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.customLibraryBox[this.button23]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     this.optionsVertBox.Add(this.customLibraryBox);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.customLibraryBox]));
     w8.Position = 4;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.behaviorButton5               = new Gtk.CheckButton();
     this.behaviorButton5.CanFocus      = true;
     this.behaviorButton5.Name          = "behaviorButton5";
     this.behaviorButton5.Label         = Mono.Unix.Catalog.GetString("Search for albums without cover art");
     this.behaviorButton5.DrawIndicator = true;
     this.behaviorButton5.UseUnderline  = true;
     this.optionsVertBox.Add(this.behaviorButton5);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton5]));
     w9.Position = 5;
     // Container child optionsVertBox.Gtk.Box+BoxChild
     this.behaviorButton6               = new Gtk.CheckButton();
     this.behaviorButton6.CanFocus      = true;
     this.behaviorButton6.Name          = "behaviorButton6";
     this.behaviorButton6.Label         = Mono.Unix.Catalog.GetString("Search for song lyrics");
     this.behaviorButton6.DrawIndicator = true;
     this.behaviorButton6.UseUnderline  = true;
     this.optionsVertBox.Add(this.behaviorButton6);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton6]));
     w10.Position = 6;
     w10.Expand   = false;
     w10.Fill     = false;
     this.fixedLaytout.Add(this.optionsVertBox);
     Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.optionsVertBox]));
     w11.X = 28;
     w11.Y = 50;
     // Container child fixedLaytout.Gtk.Fixed+FixedChild
     this.preferencesLabel              = new Gtk.Label();
     this.preferencesLabel.Name         = "preferencesLabel";
     this.preferencesLabel.LabelProp    = Mono.Unix.Catalog.GetString("<b>Preferences</b>");
     this.preferencesLabel.UseMarkup    = true;
     this.preferencesLabel.UseUnderline = true;
     this.fixedLaytout.Add(this.preferencesLabel);
     Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.preferencesLabel]));
     w12.X = 18;
     w12.Y = 10;
     // Container child fixedLaytout.Gtk.Fixed+FixedChild
     this.buttonSelectionBox         = new Gtk.HBox();
     this.buttonSelectionBox.Name    = "buttonSelectionBox";
     this.buttonSelectionBox.Spacing = 6;
     // Container child buttonSelectionBox.Gtk.Box+BoxChild
     this.cancelButton              = new Gtk.Button();
     this.cancelButton.CanFocus     = true;
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.UseUnderline = true;
     // Container child cancelButton.Gtk.Container+ContainerChild
     Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w13.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w14 = new Gtk.HBox();
     w14.Name    = "GtkHBox";
     w14.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w15 = new Gtk.Image();
     w15.Name   = "image50";
     w15.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cancel", 16);
     w14.Add(w15);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w17 = new Gtk.Label();
     w17.Name         = "GtkLabel";
     w17.LabelProp    = Mono.Unix.Catalog.GetString("Cancel");
     w17.UseUnderline = true;
     w14.Add(w17);
     w13.Add(w14);
     this.cancelButton.Add(w13);
     this.buttonSelectionBox.Add(this.cancelButton);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.buttonSelectionBox[this.cancelButton]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child buttonSelectionBox.Gtk.Box+BoxChild
     this.okButton              = new Gtk.Button();
     this.okButton.CanFocus     = true;
     this.okButton.Name         = "okButton";
     this.okButton.UseUnderline = true;
     // Container child okButton.Gtk.Container+ContainerChild
     Gtk.Alignment w22 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w22.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w23 = new Gtk.HBox();
     w23.Name    = "GtkHBox";
     w23.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w24 = new Gtk.Image();
     w24.Name   = "image51";
     w24.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-apply", 16);
     w23.Add(w24);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w26 = new Gtk.Label();
     w26.Name         = "GtkLabel";
     w26.LabelProp    = Mono.Unix.Catalog.GetString("OK");
     w26.UseUnderline = true;
     w23.Add(w26);
     w22.Add(w23);
     this.okButton.Add(w22);
     this.buttonSelectionBox.Add(this.okButton);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.buttonSelectionBox[this.okButton]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     this.fixedLaytout.Add(this.buttonSelectionBox);
     Gtk.Fixed.FixedChild w31 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.buttonSelectionBox]));
     w31.X = 263;
     w31.Y = 259;
     this.Add(this.fixedLaytout);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 396;
     this.DefaultHeight = 321;
     this.Show();
     this.cancelButton.Activated += new System.EventHandler(this.OnButton22Activated);
 }
Пример #44
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Docky.ConfigurationWindow
     this.Name           = "Docky.ConfigurationWindow";
     this.Title          = Mono.Unix.Catalog.GetString("Docky Settings");
     this.Icon           = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Menu, 16);
     this.TypeHint       = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     this.BorderWidth    = ((uint)(2));
     // Container child Docky.ConfigurationWindow.Gtk.Container+ContainerChild
     this.vbox1      = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.config_notebook             = new Gtk.Notebook();
     this.config_notebook.CanFocus    = true;
     this.config_notebook.Name        = "config_notebook";
     this.config_notebook.CurrentPage = 1;
     this.config_notebook.Scrollable  = true;
     // Container child config_notebook.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name          = "alignment1";
     this.alignment1.LeftPadding   = ((uint)(7));
     this.alignment1.TopPadding    = ((uint)(7));
     this.alignment1.RightPadding  = ((uint)(7));
     this.alignment1.BottomPadding = ((uint)(7));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.start_with_computer_checkbutton               = new Gtk.CheckButton();
     this.start_with_computer_checkbutton.CanFocus      = true;
     this.start_with_computer_checkbutton.Name          = "start_with_computer_checkbutton";
     this.start_with_computer_checkbutton.Label         = Mono.Unix.Catalog.GetString("_Start When User Logs In");
     this.start_with_computer_checkbutton.DrawIndicator = true;
     this.start_with_computer_checkbutton.UseUnderline  = true;
     this.vbox3.Add(this.start_with_computer_checkbutton);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox3[this.start_with_computer_checkbutton]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label3              = new Gtk.Label();
     this.label3.CanFocus     = true;
     this.label3.Name         = "label3";
     this.label3.LabelProp    = Mono.Unix.Catalog.GetString("_Theme:");
     this.label3.UseUnderline = true;
     this.hbox4.Add(this.label3);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.theme_combo      = Gtk.ComboBox.NewText();
     this.theme_combo.Name = "theme_combo";
     this.hbox4.Add(this.theme_combo);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox4[this.theme_combo]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.install_theme_btn              = new Gtk.Button();
     this.install_theme_btn.CanFocus     = true;
     this.install_theme_btn.Name         = "install_theme_btn";
     this.install_theme_btn.UseUnderline = true;
     // Container child install_theme_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w4 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w5 = new Gtk.HBox();
     w5.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w6 = new Gtk.Image();
     w6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16);
     w5.Add(w6);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w8 = new Gtk.Label();
     w8.LabelProp    = Mono.Unix.Catalog.GetString("_Install");
     w8.UseUnderline = true;
     w5.Add(w8);
     w4.Add(w5);
     this.install_theme_btn.Add(w4);
     this.hbox4.Add(this.install_theme_btn);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.install_theme_btn]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox3.Add(this.hbox4);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.GtkAlignment.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel5           = new Gtk.Label();
     this.GtkLabel5.Name      = "GtkLabel5";
     this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>General Options</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel5;
     this.vbox6.Add(this.frame1);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame1]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame3            = new Gtk.Frame();
     this.frame3.Name       = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.config_alignment              = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.config_alignment.Name         = "config_alignment";
     this.config_alignment.LeftPadding  = ((uint)(12));
     this.config_alignment.RightPadding = ((uint)(10));
     this.frame3.Add(this.config_alignment);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Dock Configuration</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame3.LabelWidget  = this.GtkLabel6;
     this.vbox6.Add(this.frame3);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame3]));
     w18.Position = 1;
     this.alignment1.Add(this.vbox6);
     this.vbox2.Add(this.alignment1);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
     w20.Position = 0;
     this.config_notebook.Add(this.vbox2);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Docks");
     this.config_notebook.SetTabLabel(this.vbox2, this.label1);
     this.label1.ShowAll();
     // Container child config_notebook.Gtk.Notebook+NotebookChild
     this.alignment2               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name          = "alignment2";
     this.alignment2.LeftPadding   = ((uint)(7));
     this.alignment2.TopPadding    = ((uint)(7));
     this.alignment2.RightPadding  = ((uint)(7));
     this.alignment2.BottomPadding = ((uint)(7));
     this.alignment2.BorderWidth   = ((uint)(7));
     // Container child alignment2.Gtk.Container+ContainerChild
     this.vbox7         = new Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.docklet_show_cmb = Gtk.ComboBox.NewText();
     this.docklet_show_cmb.AppendText(Mono.Unix.Catalog.GetString("All"));
     this.docklet_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Enabled"));
     this.docklet_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Disabled"));
     this.docklet_show_cmb.Name   = "docklet_show_cmb";
     this.docklet_show_cmb.Active = 0;
     this.hbox1.Add(this.docklet_show_cmb);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.docklet_show_cmb]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     this.vbox7.Add(this.hbox1);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox1]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.docklet_alignment      = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.docklet_alignment.Name = "docklet_alignment";
     // Container child docklet_alignment.Gtk.Container+ContainerChild
     this.docklet_scroll                  = new Gtk.ScrolledWindow();
     this.docklet_scroll.CanFocus         = true;
     this.docklet_scroll.Name             = "docklet_scroll";
     this.docklet_scroll.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.docklet_alignment.Add(this.docklet_scroll);
     this.vbox7.Add(this.docklet_alignment);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox7[this.docklet_alignment]));
     w25.Position = 1;
     this.alignment2.Add(this.vbox7);
     this.config_notebook.Add(this.alignment2);
     Gtk.Notebook.NotebookChild w27 = ((Gtk.Notebook.NotebookChild)(this.config_notebook[this.alignment2]));
     w27.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Docklets");
     this.config_notebook.SetTabLabel(this.alignment2, this.label2);
     this.label2.ShowAll();
     // Container child config_notebook.Gtk.Notebook+NotebookChild
     this.helper_alignment               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.helper_alignment.Name          = "helper_alignment";
     this.helper_alignment.LeftPadding   = ((uint)(7));
     this.helper_alignment.TopPadding    = ((uint)(7));
     this.helper_alignment.RightPadding  = ((uint)(7));
     this.helper_alignment.BottomPadding = ((uint)(7));
     this.helper_alignment.BorderWidth   = ((uint)(7));
     // Container child helper_alignment.Gtk.Container+ContainerChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox5         = new Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.helper_show_cmb = Gtk.ComboBox.NewText();
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Usable"));
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Enabled"));
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Disabled"));
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("All"));
     this.helper_show_cmb.Name   = "helper_show_cmb";
     this.helper_show_cmb.Active = 0;
     this.hbox5.Add(this.helper_show_cmb);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.hbox5[this.helper_show_cmb]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.install_btn              = new Gtk.Button();
     this.install_btn.CanFocus     = true;
     this.install_btn.Name         = "install_btn";
     this.install_btn.UseUnderline = true;
     // Container child install_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w30 = new Gtk.HBox();
     w30.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w31 = new Gtk.Image();
     w31.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16);
     w30.Add(w31);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w33 = new Gtk.Label();
     w33.LabelProp    = Mono.Unix.Catalog.GetString("_Install");
     w33.UseUnderline = true;
     w30.Add(w33);
     w29.Add(w30);
     this.install_btn.Add(w29);
     this.hbox5.Add(this.install_btn);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox5[this.install_btn]));
     w37.PackType = ((Gtk.PackType)(1));
     w37.Position = 1;
     w37.Expand   = false;
     w37.Fill     = false;
     this.vbox5.Add(this.hbox5);
     Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5]));
     w38.Position = 0;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.helper_scroll                  = new Gtk.ScrolledWindow();
     this.helper_scroll.CanFocus         = true;
     this.helper_scroll.Name             = "helper_scroll";
     this.helper_scroll.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.vbox5.Add(this.helper_scroll);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox5[this.helper_scroll]));
     w39.Position = 1;
     this.helper_alignment.Add(this.vbox5);
     this.config_notebook.Add(this.helper_alignment);
     Gtk.Notebook.NotebookChild w41 = ((Gtk.Notebook.NotebookChild)(this.config_notebook[this.helper_alignment]));
     w41.Position = 2;
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Helpers");
     this.config_notebook.SetTabLabel(this.helper_alignment, this.label4);
     this.label4.ShowAll();
     this.vbox1.Add(this.config_notebook);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox1[this.config_notebook]));
     w42.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.help_button             = new Gtk.Button();
     this.help_button.CanFocus    = true;
     this.help_button.Name        = "help_button";
     this.help_button.BorderWidth = ((uint)(5));
     // Container child help_button.Gtk.Container+ContainerChild
     Gtk.Alignment w43 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w44 = new Gtk.HBox();
     w44.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w45 = new Gtk.Image();
     w45.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-help", Gtk.IconSize.Menu, 16);
     w44.Add(w45);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w47 = new Gtk.Label();
     w44.Add(w47);
     w43.Add(w44);
     this.help_button.Add(w43);
     this.hbox3.Add(this.help_button);
     Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.hbox3[this.help_button]));
     w51.Position = 0;
     w51.Expand   = false;
     w51.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.new_dock_button              = new Gtk.Button();
     this.new_dock_button.CanFocus     = true;
     this.new_dock_button.Name         = "new_dock_button";
     this.new_dock_button.UseUnderline = true;
     this.new_dock_button.BorderWidth  = ((uint)(5));
     // Container child new_dock_button.Gtk.Container+ContainerChild
     Gtk.Alignment w52 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w53 = new Gtk.HBox();
     w53.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w54 = new Gtk.Image();
     w54.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w53.Add(w54);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w56 = new Gtk.Label();
     w56.LabelProp    = Mono.Unix.Catalog.GetString("_New Dock");
     w56.UseUnderline = true;
     w53.Add(w56);
     w52.Add(w53);
     this.new_dock_button.Add(w52);
     this.hbox3.Add(this.new_dock_button);
     Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox3[this.new_dock_button]));
     w60.Position = 1;
     w60.Expand   = false;
     w60.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.delete_dock_button              = new Gtk.Button();
     this.delete_dock_button.CanFocus     = true;
     this.delete_dock_button.Name         = "delete_dock_button";
     this.delete_dock_button.UseUnderline = true;
     this.delete_dock_button.BorderWidth  = ((uint)(5));
     // Container child delete_dock_button.Gtk.Container+ContainerChild
     Gtk.Alignment w61 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w62 = new Gtk.HBox();
     w62.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w63 = new Gtk.Image();
     w63.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     w62.Add(w63);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w65 = new Gtk.Label();
     w65.LabelProp    = Mono.Unix.Catalog.GetString("_Delete Dock");
     w65.UseUnderline = true;
     w62.Add(w65);
     w61.Add(w62);
     this.delete_dock_button.Add(w61);
     this.hbox3.Add(this.delete_dock_button);
     Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.hbox3[this.delete_dock_button]));
     w69.Position = 2;
     w69.Expand   = false;
     w69.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.close_button = new Gtk.Button();
     this.close_button.WidthRequest = 100;
     this.close_button.CanFocus     = true;
     this.close_button.Name         = "close_button";
     this.close_button.UseStock     = true;
     this.close_button.UseUnderline = true;
     this.close_button.BorderWidth  = ((uint)(5));
     this.close_button.Label        = "gtk-close";
     this.hbox3.Add(this.close_button);
     Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox3[this.close_button]));
     w70.PackType = ((Gtk.PackType)(1));
     w70.Position = 3;
     w70.Expand   = false;
     w70.Fill     = false;
     this.hbox2.Add(this.hbox3);
     Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbox3]));
     w71.Position = 0;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w72.Position = 1;
     w72.Expand   = false;
     w72.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth          = 380;
     this.DefaultHeight         = 390;
     this.label3.MnemonicWidget = this.theme_combo;
     this.Show();
     this.config_notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnPageSwitch);
     this.start_with_computer_checkbutton.Toggled += new System.EventHandler(this.OnStartWithComputerCheckbuttonToggled);
     this.theme_combo.Changed        += new System.EventHandler(this.OnThemeComboChanged);
     this.install_theme_btn.Clicked  += new System.EventHandler(this.OnInstallThemeClicked);
     this.docklet_show_cmb.Changed   += new System.EventHandler(this.OnShowDockletChanged);
     this.helper_show_cmb.Changed    += new System.EventHandler(this.OnShowHelperChanged);
     this.install_btn.Clicked        += new System.EventHandler(this.OnInstallClicked);
     this.help_button.Clicked        += new System.EventHandler(this.OnHelpClicked);
     this.new_dock_button.Clicked    += new System.EventHandler(this.OnNewDockButtonClicked);
     this.delete_dock_button.Clicked += new System.EventHandler(this.OnDeleteDockButtonClicked);
     this.close_button.Clicked       += new System.EventHandler(this.OnCloseButtonClicked);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.IndividualView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.IndividualView";
     // Container child Gedcom.UI.GTK.Widgets.IndividualView.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 3;
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(5)), ((uint)(7)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(12));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.BornInEntry = new Gtk.Entry();
     this.BornInEntry.CanFocus = true;
     this.BornInEntry.Name = "BornInEntry";
     this.BornInEntry.IsEditable = true;
     this.BornInEntry.InvisibleChar = '●';
     this.table1.Add(this.BornInEntry);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.BornInEntry]));
     w1.TopAttach = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach = ((uint)(4));
     w1.RightAttach = ((uint)(7));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateBornEntry = new Gtk.Entry();
     this.DateBornEntry.CanFocus = true;
     this.DateBornEntry.Name = "DateBornEntry";
     this.DateBornEntry.IsEditable = true;
     this.DateBornEntry.InvisibleChar = '●';
     this.table1.Add(this.DateBornEntry);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.DateBornEntry]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateBornSourceButton = new Gtk.Button();
     this.DateBornSourceButton.CanFocus = true;
     this.DateBornSourceButton.Name = "DateBornSourceButton";
     // Container child DateBornSourceButton.Gtk.Container+ContainerChild
     this.image440 = new Gtk.Image();
     this.image440.Name = "image440";
     this.image440.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.DateBornSourceButton.Add(this.image440);
     this.DateBornSourceButton.Label = null;
     this.table1.Add(this.DateBornSourceButton);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.DateBornSourceButton]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateDiedEntry = new Gtk.Entry();
     this.DateDiedEntry.CanFocus = true;
     this.DateDiedEntry.Name = "DateDiedEntry";
     this.DateDiedEntry.IsEditable = true;
     this.DateDiedEntry.InvisibleChar = '●';
     this.table1.Add(this.DateDiedEntry);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.DateDiedEntry]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateDiedSourceButton = new Gtk.Button();
     this.DateDiedSourceButton.CanFocus = true;
     this.DateDiedSourceButton.Name = "DateDiedSourceButton";
     // Container child DateDiedSourceButton.Gtk.Container+ContainerChild
     this.image438 = new Gtk.Image();
     this.image438.Name = "image438";
     this.image438.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.DateDiedSourceButton.Add(this.image438);
     this.DateDiedSourceButton.Label = null;
     this.table1.Add(this.DateDiedSourceButton);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.DateDiedSourceButton]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions = ((Gtk.AttachOptions)(4));
     w7.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DeleteButton = new Gtk.Button();
     this.DeleteButton.CanFocus = true;
     this.DeleteButton.Name = "DeleteButton";
     // Container child DeleteButton.Gtk.Container+ContainerChild
     this.image415 = new Gtk.Image();
     this.image415.Name = "image415";
     this.image415.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     this.DeleteButton.Add(this.image415);
     this.DeleteButton.Label = null;
     this.table1.Add(this.DeleteButton);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.DeleteButton]));
     w9.LeftAttach = ((uint)(6));
     w9.RightAttach = ((uint)(7));
     w9.XOptions = ((Gtk.AttachOptions)(4));
     w9.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DiedInEntry = new Gtk.Entry();
     this.DiedInEntry.CanFocus = true;
     this.DiedInEntry.Name = "DiedInEntry";
     this.DiedInEntry.IsEditable = true;
     this.DiedInEntry.InvisibleChar = '●';
     this.table1.Add(this.DiedInEntry);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.DiedInEntry]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.LeftAttach = ((uint)(4));
     w10.RightAttach = ((uint)(7));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.FactView = new Gedcom.UI.GTK.Widgets.FactView();
     this.FactView.Events = ((Gdk.EventMask)(256));
     this.FactView.Name = "FactView";
     this.table1.Add(this.FactView);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.FactView]));
     w11.TopAttach = ((uint)(4));
     w11.BottomAttach = ((uint)(5));
     w11.RightAttach = ((uint)(7));
     w11.YOptions = ((Gtk.AttachOptions)(7));
     // Container child table1.Gtk.Table+TableChild
     this.hseparator3 = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.table1.Add(this.hseparator3);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.hseparator3]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.RightAttach = ((uint)(7));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.IndiScrapbookButton = new Gtk.Button();
     this.IndiScrapbookButton.CanFocus = true;
     this.IndiScrapbookButton.Name = "IndiScrapbookButton";
     // Container child IndiScrapbookButton.Gtk.Container+ContainerChild
     Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w14 = new Gtk.HBox();
     w14.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w15 = new Gtk.Image();
     w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20);
     w14.Add(w15);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w17 = new Gtk.Label();
     w17.LabelProp = "Scrapbook";
     w14.Add(w17);
     w13.Add(w14);
     this.IndiScrapbookButton.Add(w13);
     this.table1.Add(this.IndiScrapbookButton);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.IndiScrapbookButton]));
     w21.LeftAttach = ((uint)(5));
     w21.RightAttach = ((uint)(6));
     w21.XOptions = ((Gtk.AttachOptions)(4));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = "in:";
     this.table1.Add(this.label10);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.label10]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(3));
     w22.RightAttach = ((uint)(4));
     w22.XOptions = ((Gtk.AttachOptions)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11 = new Gtk.Label();
     this.label11.Name = "label11";
     this.label11.LabelProp = "in:";
     this.table1.Add(this.label11);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label11]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.LeftAttach = ((uint)(3));
     w23.RightAttach = ((uint)(4));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label18 = new Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 0F;
     this.label18.LabelProp = "Date Born:";
     this.table1.Add(this.label18);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label18]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19 = new Gtk.Label();
     this.label19.Name = "label19";
     this.label19.Xalign = 0F;
     this.label19.LabelProp = "Date Died:";
     this.table1.Add(this.label19);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.label19]));
     w25.TopAttach = ((uint)(2));
     w25.BottomAttach = ((uint)(3));
     w25.XOptions = ((Gtk.AttachOptions)(4));
     w25.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = "Sex:";
     this.table1.Add(this.label9);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.label9]));
     w26.LeftAttach = ((uint)(3));
     w26.RightAttach = ((uint)(4));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameButton = new Gtk.Button();
     this.NameButton.CanFocus = true;
     this.NameButton.Name = "NameButton";
     // Container child NameButton.Gtk.Container+ContainerChild
     this.SpouseNameLabel = new Gtk.Label();
     this.SpouseNameLabel.Name = "SpouseNameLabel";
     this.SpouseNameLabel.Xalign = 1F;
     this.SpouseNameLabel.LabelProp = "Name:";
     this.NameButton.Add(this.SpouseNameLabel);
     this.NameButton.Label = null;
     this.table1.Add(this.NameButton);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.NameButton]));
     w28.XOptions = ((Gtk.AttachOptions)(4));
     w28.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameEntry = new Gtk.Entry();
     this.NameEntry.CanFocus = true;
     this.NameEntry.Name = "NameEntry";
     this.NameEntry.IsEditable = true;
     this.NameEntry.InvisibleChar = '●';
     this.table1.Add(this.NameEntry);
     Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table1[this.NameEntry]));
     w29.LeftAttach = ((uint)(1));
     w29.RightAttach = ((uint)(2));
     w29.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameSourceButton = new Gtk.Button();
     this.NameSourceButton.CanFocus = true;
     this.NameSourceButton.Name = "NameSourceButton";
     // Container child NameSourceButton.Gtk.Container+ContainerChild
     this.image439 = new Gtk.Image();
     this.image439.Name = "image439";
     this.image439.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.NameSourceButton.Add(this.image439);
     this.NameSourceButton.Label = null;
     this.table1.Add(this.NameSourceButton);
     Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table1[this.NameSourceButton]));
     w31.LeftAttach = ((uint)(2));
     w31.RightAttach = ((uint)(3));
     w31.XOptions = ((Gtk.AttachOptions)(4));
     w31.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SexComboBox = Gtk.ComboBox.NewText();
     this.SexComboBox.AppendText("Undetermined");
     this.SexComboBox.AppendText("Male");
     this.SexComboBox.AppendText("Female");
     this.SexComboBox.AppendText("Both");
     this.SexComboBox.AppendText("Neuter");
     this.SexComboBox.Name = "SexComboBox";
     this.SexComboBox.Active = 0;
     this.table1.Add(this.SexComboBox);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table1[this.SexComboBox]));
     w32.LeftAttach = ((uint)(4));
     w32.RightAttach = ((uint)(5));
     w32.XOptions = ((Gtk.AttachOptions)(4));
     w32.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table1);
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "Facts";
     this.Notebook.SetTabLabel(this.table1, this.label2);
     this.label2.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table3 = new Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(12));
     this.table3.BorderWidth = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.hseparator4 = new Gtk.HSeparator();
     this.hseparator4.Name = "hseparator4";
     this.table3.Add(this.hseparator4);
     Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table3[this.hseparator4]));
     w34.TopAttach = ((uint)(1));
     w34.BottomAttach = ((uint)(2));
     w34.RightAttach = ((uint)(5));
     w34.XOptions = ((Gtk.AttachOptions)(4));
     w34.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.MarriageView = new Gedcom.UI.GTK.Widgets.MarriageView();
     this.MarriageView.Events = ((Gdk.EventMask)(256));
     this.MarriageView.Name = "MarriageView";
     this.table3.Add(this.MarriageView);
     Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table3[this.MarriageView]));
     w35.RightAttach = ((uint)(5));
     w35.XOptions = ((Gtk.AttachOptions)(4));
     w35.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.scrolledwindow8 = new Gtk.ScrolledWindow();
     this.scrolledwindow8.CanFocus = true;
     this.scrolledwindow8.Name = "scrolledwindow8";
     this.scrolledwindow8.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow8.Gtk.Container+ContainerChild
     Gtk.Viewport w36 = new Gtk.Viewport();
     w36.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.MarriageTreeView = new Gtk.TreeView();
     this.MarriageTreeView.CanFocus = true;
     this.MarriageTreeView.Name = "MarriageTreeView";
     w36.Add(this.MarriageTreeView);
     this.scrolledwindow8.Add(w36);
     this.table3.Add(this.scrolledwindow8);
     Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow8]));
     w39.TopAttach = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.RightAttach = ((uint)(5));
     w39.XOptions = ((Gtk.AttachOptions)(7));
     w39.YOptions = ((Gtk.AttachOptions)(7));
     this.Notebook.Add(this.table3);
     Gtk.Notebook.NotebookChild w40 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3]));
     w40.Position = 1;
     // Notebook tab
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = "Marriage";
     this.Notebook.SetTabLabel(this.table3, this.label6);
     this.label6.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.AddressView = new Gedcom.UI.GTK.Widgets.AddressView();
     this.AddressView.Events = ((Gdk.EventMask)(256));
     this.AddressView.Name = "AddressView";
     this.Notebook.Add(this.AddressView);
     Gtk.Notebook.NotebookChild w41 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.AddressView]));
     w41.Position = 2;
     // Notebook tab
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = "Addresses";
     this.Notebook.SetTabLabel(this.AddressView, this.label3);
     this.label3.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table6 = new Gtk.Table(((uint)(4)), ((uint)(5)), false);
     this.table6.Name = "table6";
     this.table6.RowSpacing = ((uint)(6));
     this.table6.ColumnSpacing = ((uint)(12));
     this.table6.BorderWidth = ((uint)(6));
     // Container child table6.Gtk.Table+TableChild
     this.HeightEntry = new Gtk.Entry();
     this.HeightEntry.CanFocus = true;
     this.HeightEntry.Name = "HeightEntry";
     this.HeightEntry.IsEditable = true;
     this.HeightEntry.InvisibleChar = '●';
     this.table6.Add(this.HeightEntry);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table6[this.HeightEntry]));
     w42.LeftAttach = ((uint)(1));
     w42.RightAttach = ((uint)(2));
     w42.XOptions = ((Gtk.AttachOptions)(4));
     w42.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label30 = new Gtk.Label();
     this.label30.Name = "label30";
     this.label30.Xalign = 0F;
     this.label30.LabelProp = "Height:";
     this.table6.Add(this.label30);
     Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table6[this.label30]));
     w43.XOptions = ((Gtk.AttachOptions)(4));
     w43.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label33 = new Gtk.Label();
     this.label33.Name = "label33";
     this.label33.Xalign = 0F;
     this.label33.LabelProp = "Weight:";
     this.table6.Add(this.label33);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table6[this.label33]));
     w44.TopAttach = ((uint)(1));
     w44.BottomAttach = ((uint)(2));
     w44.XOptions = ((Gtk.AttachOptions)(4));
     w44.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label34 = new Gtk.Label();
     this.label34.Name = "label34";
     this.label34.Xalign = 0F;
     this.label34.Yalign = 0F;
     this.label34.LabelProp = "Cause of Death:";
     this.table6.Add(this.label34);
     Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table6[this.label34]));
     w45.TopAttach = ((uint)(2));
     w45.BottomAttach = ((uint)(3));
     w45.XOptions = ((Gtk.AttachOptions)(4));
     w45.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label35 = new Gtk.Label();
     this.label35.Name = "label35";
     this.label35.Xalign = 0F;
     this.label35.Yalign = 0F;
     this.label35.LabelProp = "Medical Information:";
     this.table6.Add(this.label35);
     Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table6[this.label35]));
     w46.TopAttach = ((uint)(3));
     w46.BottomAttach = ((uint)(4));
     w46.XOptions = ((Gtk.AttachOptions)(4));
     w46.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.scrolledwindow5 = new Gtk.ScrolledWindow();
     this.scrolledwindow5.CanFocus = true;
     this.scrolledwindow5.Name = "scrolledwindow5";
     this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow5.Gtk.Container+ContainerChild
     this.MedicalInformationTextView = new Gtk.TextView();
     this.MedicalInformationTextView.CanFocus = true;
     this.MedicalInformationTextView.Name = "MedicalInformationTextView";
     this.scrolledwindow5.Add(this.MedicalInformationTextView);
     this.table6.Add(this.scrolledwindow5);
     Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow5]));
     w48.TopAttach = ((uint)(3));
     w48.BottomAttach = ((uint)(4));
     w48.LeftAttach = ((uint)(1));
     w48.RightAttach = ((uint)(5));
     // Container child table6.Gtk.Table+TableChild
     this.scrolledwindow6 = new Gtk.ScrolledWindow();
     this.scrolledwindow6.CanFocus = true;
     this.scrolledwindow6.Name = "scrolledwindow6";
     this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow6.Gtk.Container+ContainerChild
     this.CauseOfDeathTextView = new Gtk.TextView();
     this.CauseOfDeathTextView.CanFocus = true;
     this.CauseOfDeathTextView.Name = "CauseOfDeathTextView";
     this.scrolledwindow6.Add(this.CauseOfDeathTextView);
     this.table6.Add(this.scrolledwindow6);
     Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow6]));
     w50.TopAttach = ((uint)(2));
     w50.BottomAttach = ((uint)(3));
     w50.LeftAttach = ((uint)(1));
     w50.RightAttach = ((uint)(5));
     // Container child table6.Gtk.Table+TableChild
     this.WeightEntry = new Gtk.Entry();
     this.WeightEntry.CanFocus = true;
     this.WeightEntry.Name = "WeightEntry";
     this.WeightEntry.IsEditable = true;
     this.WeightEntry.InvisibleChar = '●';
     this.table6.Add(this.WeightEntry);
     Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table6[this.WeightEntry]));
     w51.TopAttach = ((uint)(1));
     w51.BottomAttach = ((uint)(2));
     w51.LeftAttach = ((uint)(1));
     w51.RightAttach = ((uint)(2));
     w51.XOptions = ((Gtk.AttachOptions)(4));
     w51.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table6);
     Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table6]));
     w52.Position = 3;
     // Notebook tab
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = "Medical";
     this.Notebook.SetTabLabel(this.table6, this.label4);
     this.label4.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = "label5";
     this.Notebook.Add(this.label5);
     Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.label5]));
     w53.Position = 4;
     // Notebook tab
     this.label40 = new Gtk.Label();
     this.label40.Name = "label40";
     this.label40.LabelProp = "Lineage";
     this.Notebook.SetTabLabel(this.label5, this.label40);
     this.label40.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w54 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w54.Position = 5;
     // Notebook tab
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label7);
     this.label7.ShowAll();
     this.vbox1.Add(this.Notebook);
     Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.vbox1[this.Notebook]));
     w55.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox5 = new Gtk.VBox();
     this.vbox5.Name = "vbox5";
     // Container child vbox5.Gtk.Box+BoxChild
     this.SwitchBox = new Gtk.VBox();
     this.SwitchBox.Name = "SwitchBox";
     this.SwitchBox.Spacing = 6;
     // Container child SwitchBox.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = "Switch to this individual's:";
     this.SwitchBox.Add(this.label1);
     Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.SwitchBox[this.label1]));
     w56.Position = 0;
     w56.Expand = false;
     w56.Fill = false;
     // Container child SwitchBox.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Homogeneous = true;
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.ParentsCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.ParentsCombo.Name = "ParentsCombo";
     this.ParentsCombo.Active = 0;
     this.ParentsCombo.NoIndividualText = "Parents";
     this.hbox3.Add(this.ParentsCombo);
     Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox3[this.ParentsCombo]));
     w57.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.ChildrenCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.ChildrenCombo.Name = "ChildrenCombo";
     this.ChildrenCombo.Active = 0;
     this.ChildrenCombo.NoIndividualText = "Children";
     this.hbox3.Add(this.ChildrenCombo);
     Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.hbox3[this.ChildrenCombo]));
     w58.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.SpousesCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.SpousesCombo.Name = "SpousesCombo";
     this.SpousesCombo.Active = 0;
     this.SpousesCombo.NoIndividualText = "Spouses";
     this.hbox3.Add(this.SpousesCombo);
     Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox3[this.SpousesCombo]));
     w59.Position = 2;
     // Container child hbox3.Gtk.Box+BoxChild
     this.SiblingsCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.SiblingsCombo.Name = "SiblingsCombo";
     this.SiblingsCombo.Active = 0;
     this.SiblingsCombo.NoIndividualText = "Siblings";
     this.hbox3.Add(this.SiblingsCombo);
     Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox3[this.SiblingsCombo]));
     w60.Position = 3;
     this.SwitchBox.Add(this.hbox3);
     Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.SwitchBox[this.hbox3]));
     w61.Position = 1;
     w61.Expand = false;
     w61.Fill = false;
     this.vbox5.Add(this.SwitchBox);
     Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox5[this.SwitchBox]));
     w62.Position = 0;
     w62.Expand = false;
     w62.Fill = false;
     this.vbox1.Add(this.vbox5);
     Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox5]));
     w63.Position = 1;
     w63.Expand = false;
     w63.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.NameSourceButton.Clicked += new System.EventHandler(this.OnNameSourceButton_Clicked);
     this.NameButton.Clicked += new System.EventHandler(this.OnNameButton_Clicked);
     this.IndiScrapbookButton.Clicked += new System.EventHandler(this.OnIndiScrapbookButton_Clicked);
     this.FactView.MoreInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnFactView_MoreInformation);
     this.DiedInEntry.Changed += new System.EventHandler(this.Died_Changed);
     this.DeleteButton.Clicked += new System.EventHandler(this.OnDeleteButton_Clicked);
     this.DateDiedSourceButton.Clicked += new System.EventHandler(this.OnDateDiedSourceButton_Clicked);
     this.DateDiedEntry.Changed += new System.EventHandler(this.Died_Changed);
     this.DateBornSourceButton.Clicked += new System.EventHandler(this.OnDateBornSourceButton_Clicked);
     this.DateBornEntry.Changed += new System.EventHandler(this.Born_Changed);
     this.BornInEntry.Changed += new System.EventHandler(this.Born_Changed);
     this.AddressView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnAddressView_ShowSourceCitation);
     this.AddressView.ShowScrapBook += new System.EventHandler<Gedcom.UI.Common.ScrapBookArgs>(this.OnAddressView_ShowScrapBook);
     this.AddressView.MoreFactInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnAddressView_MoreFactInformation);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
     this.ParentsCombo.Changed += new System.EventHandler(this.OnParentsCombo_Changed);
     this.ChildrenCombo.Changed += new System.EventHandler(this.OnChildrenCombo_Changed);
     this.SpousesCombo.Changed += new System.EventHandler(this.OnSpousesCombo_Changed);
     this.SiblingsCombo.Changed += new System.EventHandler(this.OnSiblingsCombo_Changed);
 }
Пример #46
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget JetonAdmin.UserScreen
     Stetic.BinContainer.Attach(this);
     this.Name = "JetonAdmin.UserScreen";
     // Container child JetonAdmin.UserScreen.Gtk.Container+ContainerChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 221;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Benutzer:");
     this.vbox2.Add(this.label2);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label2]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.cardListView          = new Gtk.NodeView();
     this.cardListView.CanFocus = true;
     this.cardListView.Name     = "cardListView";
     this.GtkScrolledWindow.Add(this.cardListView);
     this.vbox2.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
     w3.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbuttonbox1             = new Gtk.HButtonBox();
     this.hbuttonbox1.Homogeneous = true;
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.button1              = new Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseStock     = true;
     this.button1.UseUnderline = true;
     this.button1.Label        = "gtk-add";
     this.hbuttonbox1.Add(this.button1);
     Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button1]));
     w4.Expand = false;
     w4.Fill   = false;
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.cardDeleteBtn              = new Gtk.Button();
     this.cardDeleteBtn.CanFocus     = true;
     this.cardDeleteBtn.Name         = "cardDeleteBtn";
     this.cardDeleteBtn.UseStock     = true;
     this.cardDeleteBtn.UseUnderline = true;
     this.cardDeleteBtn.Label        = "gtk-remove";
     this.hbuttonbox1.Add(this.cardDeleteBtn);
     Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.cardDeleteBtn]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox2.Add(this.hbuttonbox1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox1]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     w6.Padding  = ((uint)(5));
     this.hpaned1.Add(this.vbox2);
     Gtk.Paned.PanedChild w7 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vbox2]));
     w7.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Details zur gewählten Karte:");
     this.vbox6.Add(this.label12);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox6[this.label12]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.table1               = new Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(9));
     // Container child table1.Gtk.Table+TableChild
     this.cardCreditEntry               = new Gtk.Entry();
     this.cardCreditEntry.CanFocus      = true;
     this.cardCreditEntry.Name          = "cardCreditEntry";
     this.cardCreditEntry.IsEditable    = true;
     this.cardCreditEntry.InvisibleChar = '●';
     this.table1.Add(this.cardCreditEntry);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.cardCreditEntry]));
     w9.TopAttach    = ((uint)(3));
     w9.BottomAttach = ((uint)(4));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((Gtk.AttachOptions)(4));
     w9.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cardEscrowEntry               = new Gtk.Entry();
     this.cardEscrowEntry.CanFocus      = true;
     this.cardEscrowEntry.Name          = "cardEscrowEntry";
     this.cardEscrowEntry.IsEditable    = true;
     this.cardEscrowEntry.InvisibleChar = '●';
     this.table1.Add(this.cardEscrowEntry);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.cardEscrowEntry]));
     w10.TopAttach    = ((uint)(4));
     w10.BottomAttach = ((uint)(5));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((Gtk.AttachOptions)(4));
     w10.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cardIdEntry               = new Gtk.Entry();
     this.cardIdEntry.CanFocus      = true;
     this.cardIdEntry.Name          = "cardIdEntry";
     this.cardIdEntry.IsEditable    = false;
     this.cardIdEntry.InvisibleChar = '●';
     this.table1.Add(this.cardIdEntry);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.cardIdEntry]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions    = ((Gtk.AttachOptions)(4));
     w11.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cardNameEntry               = new Gtk.Entry();
     this.cardNameEntry.CanFocus      = true;
     this.cardNameEntry.Name          = "cardNameEntry";
     this.cardNameEntry.IsEditable    = true;
     this.cardNameEntry.InvisibleChar = '●';
     this.table1.Add(this.cardNameEntry);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.cardNameEntry]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((Gtk.AttachOptions)(4));
     w12.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.nodeview3          = new Gtk.NodeView();
     this.nodeview3.CanFocus = true;
     this.nodeview3.Name     = "nodeview3";
     this.GtkScrolledWindow1.Add(this.nodeview3);
     this.table1.Add(this.GtkScrolledWindow1);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1]));
     w14.TopAttach    = ((uint)(5));
     w14.BottomAttach = ((uint)(6));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     // Container child table1.Gtk.Table+TableChild
     this.label10           = new Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Treuhand-Konto:");
     this.table1.Add(this.label10);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.label10]));
     w15.TopAttach    = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.XOptions     = ((Gtk.AttachOptions)(4));
     w15.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Transaktionen:");
     this.table1.Add(this.label11);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.label11]));
     w16.TopAttach    = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.XOptions     = ((Gtk.AttachOptions)(4));
     w16.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Karten ID:");
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w17.XOptions = ((Gtk.AttachOptions)(4));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Screen Name:");
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.XOptions     = ((Gtk.AttachOptions)(4));
     w18.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Rollen:");
     this.table1.Add(this.label6);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.XOptions     = ((Gtk.AttachOptions)(4));
     w19.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Guthaben:");
     this.table1.Add(this.label9);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.label9]));
     w20.TopAttach    = ((uint)(3));
     w20.BottomAttach = ((uint)(4));
     w20.XOptions     = ((Gtk.AttachOptions)(4));
     w20.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cardPermLaborant               = new Gtk.CheckButton();
     this.cardPermLaborant.CanFocus      = true;
     this.cardPermLaborant.Name          = "cardPermLaborant";
     this.cardPermLaborant.Label         = Mono.Unix.Catalog.GetString("Laborant");
     this.cardPermLaborant.DrawIndicator = true;
     this.cardPermLaborant.UseUnderline  = true;
     this.vbox3.Add(this.cardPermLaborant);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.cardPermLaborant]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cardRoleDoor               = new Gtk.CheckButton();
     this.cardRoleDoor.Sensitive     = false;
     this.cardRoleDoor.CanFocus      = true;
     this.cardRoleDoor.Name          = "cardRoleDoor";
     this.cardRoleDoor.Label         = Mono.Unix.Catalog.GetString("Türöffner");
     this.cardRoleDoor.DrawIndicator = true;
     this.cardRoleDoor.UseUnderline  = true;
     this.vbox3.Add(this.cardRoleDoor);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox3[this.cardRoleDoor]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cardPermEscrow               = new Gtk.CheckButton();
     this.cardPermEscrow.CanFocus      = true;
     this.cardPermEscrow.Name          = "cardPermEscrow";
     this.cardPermEscrow.Label         = Mono.Unix.Catalog.GetString("Treuhänder");
     this.cardPermEscrow.DrawIndicator = true;
     this.cardPermEscrow.UseUnderline  = true;
     this.vbox3.Add(this.cardPermEscrow);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.cardPermEscrow]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cardPermCreator               = new Gtk.CheckButton();
     this.cardPermCreator.CanFocus      = true;
     this.cardPermCreator.Name          = "cardPermCreator";
     this.cardPermCreator.Label         = Mono.Unix.Catalog.GetString("(Karten-) Erzeuger");
     this.cardPermCreator.DrawIndicator = true;
     this.cardPermCreator.UseUnderline  = true;
     this.vbox3.Add(this.cardPermCreator);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox3[this.cardPermCreator]));
     w24.Position = 3;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cardPermGod               = new Gtk.CheckButton();
     this.cardPermGod.CanFocus      = true;
     this.cardPermGod.Name          = "cardPermGod";
     this.cardPermGod.Label         = Mono.Unix.Catalog.GetString("Gott");
     this.cardPermGod.Active        = true;
     this.cardPermGod.DrawIndicator = true;
     this.cardPermGod.UseUnderline  = true;
     this.vbox3.Add(this.cardPermGod);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox3[this.cardPermGod]));
     w25.PackType = ((Gtk.PackType)(1));
     w25.Position = 4;
     w25.Expand   = false;
     w25.Fill     = false;
     this.table1.Add(this.vbox3);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.vbox3]));
     w26.TopAttach    = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.LeftAttach   = ((uint)(1));
     w26.RightAttach  = ((uint)(2));
     w26.XOptions     = ((Gtk.AttachOptions)(4));
     w26.YOptions     = ((Gtk.AttachOptions)(4));
     this.vbox6.Add(this.table1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox6[this.table1]));
     w27.Position = 1;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox2             = new Gtk.HButtonBox();
     this.hbuttonbox2.Name        = "hbuttonbox2";
     this.hbuttonbox2.BorderWidth = ((uint)(6));
     this.vbox6.Add(this.hbuttonbox2);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox2]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox3      = new Gtk.HButtonBox();
     this.hbuttonbox3.Name = "hbuttonbox3";
     this.vbox6.Add(this.hbuttonbox3);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox3]));
     w29.Position = 3;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox4      = new Gtk.HButtonBox();
     this.hbuttonbox4.Name = "hbuttonbox4";
     this.vbox6.Add(this.hbuttonbox4);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox4]));
     w30.Position = 4;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox5      = new Gtk.HButtonBox();
     this.hbuttonbox5.Name = "hbuttonbox5";
     this.vbox6.Add(this.hbuttonbox5);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox5]));
     w31.Position = 5;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox6      = new Gtk.HButtonBox();
     this.hbuttonbox6.Name = "hbuttonbox6";
     this.vbox6.Add(this.hbuttonbox6);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox6]));
     w32.Position = 6;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox7             = new Gtk.HButtonBox();
     this.hbuttonbox7.Name        = "hbuttonbox7";
     this.hbuttonbox7.Spacing     = 20;
     this.hbuttonbox7.BorderWidth = ((uint)(10));
     this.hbuttonbox7.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox7.Gtk.ButtonBox+ButtonBoxChild
     this.writeToCardBtn              = new Gtk.Button();
     this.writeToCardBtn.CanFocus     = true;
     this.writeToCardBtn.Name         = "writeToCardBtn";
     this.writeToCardBtn.UseUnderline = true;
     // Container child writeToCardBtn.Gtk.Container+ContainerChild
     Gtk.Alignment w33 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w34 = new Gtk.HBox();
     w34.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w35 = new Gtk.Image();
     w35.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-save", Gtk.IconSize.Menu, 16);
     w34.Add(w35);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w37 = new Gtk.Label();
     w37.LabelProp    = Mono.Unix.Catalog.GetString("Auf Karte schreiben");
     w37.UseUnderline = true;
     w34.Add(w37);
     w33.Add(w34);
     this.writeToCardBtn.Add(w33);
     this.hbuttonbox7.Add(this.writeToCardBtn);
     Gtk.ButtonBox.ButtonBoxChild w41 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox7[this.writeToCardBtn]));
     w41.Expand = false;
     w41.Fill   = false;
     // Container child hbuttonbox7.Gtk.ButtonBox+ButtonBoxChild
     this.undoBtn              = new Gtk.Button();
     this.undoBtn.CanFocus     = true;
     this.undoBtn.Name         = "undoBtn";
     this.undoBtn.UseStock     = true;
     this.undoBtn.UseUnderline = true;
     this.undoBtn.Label        = "gtk-undo";
     this.hbuttonbox7.Add(this.undoBtn);
     Gtk.ButtonBox.ButtonBoxChild w42 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox7[this.undoBtn]));
     w42.Position = 1;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child hbuttonbox7.Gtk.ButtonBox+ButtonBoxChild
     this.saveBtn              = new Gtk.Button();
     this.saveBtn.CanFocus     = true;
     this.saveBtn.Name         = "saveBtn";
     this.saveBtn.UseStock     = true;
     this.saveBtn.UseUnderline = true;
     this.saveBtn.Label        = "gtk-save";
     this.hbuttonbox7.Add(this.saveBtn);
     Gtk.ButtonBox.ButtonBoxChild w43 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox7[this.saveBtn]));
     w43.Position = 2;
     w43.Expand   = false;
     w43.Fill     = false;
     this.vbox6.Add(this.hbuttonbox7);
     Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox7]));
     w44.Position = 7;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbuttonbox8      = new Gtk.HButtonBox();
     this.hbuttonbox8.Name = "hbuttonbox8";
     this.vbox6.Add(this.hbuttonbox8);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbuttonbox8]));
     w45.Position = 8;
     w45.Expand   = false;
     w45.Fill     = false;
     this.hpaned1.Add(this.vbox6);
     this.Add(this.hpaned1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.button1.Clicked          += new System.EventHandler(this.OnCardAdd);
     this.cardDeleteBtn.Clicked    += new System.EventHandler(this.OnCardDelete);
     this.cardPermLaborant.Clicked += new System.EventHandler(this.OnRoleBtnClicked);
     this.cardRoleDoor.Clicked     += new System.EventHandler(this.OnRoleBtnClicked);
     this.cardPermEscrow.Clicked   += new System.EventHandler(this.OnRoleBtnClicked);
     this.cardPermCreator.Clicked  += new System.EventHandler(this.OnRoleBtnClicked);
     this.cardPermGod.Clicked      += new System.EventHandler(this.OnRoleBtnClicked);
     this.cardNameEntry.Changed    += new System.EventHandler(this.OnChanged);
     this.cardEscrowEntry.Changed  += new System.EventHandler(this.OnChanged);
     this.cardCreditEntry.Changed  += new System.EventHandler(this.OnChanged);
     this.undoBtn.Clicked          += new System.EventHandler(this.OnUndoClicked);
     this.saveBtn.Clicked          += new System.EventHandler(this.OnSaveClicked);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.SourceView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.SourceView";
     // Container child Gedcom.UI.GTK.Widgets.SourceView.Gtk.Container+ContainerChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 2;
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(12));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.FiledByEntry = new Gtk.Entry();
     this.FiledByEntry.CanFocus = true;
     this.FiledByEntry.Name = "FiledByEntry";
     this.FiledByEntry.IsEditable = true;
     this.FiledByEntry.InvisibleChar = '●';
     this.table1.Add(this.FiledByEntry);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.FiledByEntry]));
     w1.TopAttach = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.LeftAttach = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ScrapBookButton = new Gtk.Button();
     this.ScrapBookButton.CanFocus = true;
     this.ScrapBookButton.Name = "ScrapBookButton";
     // Container child ScrapBookButton.Gtk.Container+ContainerChild
     Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w3 = new Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w4 = new Gtk.Image();
     w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20);
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w6 = new Gtk.Label();
     w6.LabelProp = "Scrapbook";
     w3.Add(w6);
     w2.Add(w3);
     this.ScrapBookButton.Add(w2);
     this.hbox4.Add(this.ScrapBookButton);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.ScrapBookButton]));
     w10.PackType = ((Gtk.PackType)(1));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.table1.Add(this.hbox4);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.hbox4]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((Gtk.AttachOptions)(4));
     w11.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.Xalign = 0F;
     this.label10.LabelProp = "Publication Facts:";
     this.table1.Add(this.label10);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.label10]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label18 = new Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 0F;
     this.label18.LabelProp = "Author:";
     this.table1.Add(this.label18);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.label18]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions = ((Gtk.AttachOptions)(4));
     w13.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.Xalign = 0F;
     this.label4.LabelProp = "Title:";
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w14.XOptions = ((Gtk.AttachOptions)(4));
     w14.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8 = new Gtk.Label();
     this.label8.Name = "label8";
     this.label8.Xalign = 0F;
     this.label8.LabelProp = "Filed By:";
     this.table1.Add(this.label8);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.label8]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.XOptions = ((Gtk.AttachOptions)(4));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.OriginatorEntry = new Gtk.Entry();
     this.OriginatorEntry.CanFocus = true;
     this.OriginatorEntry.Name = "OriginatorEntry";
     this.OriginatorEntry.IsEditable = true;
     this.OriginatorEntry.InvisibleChar = '●';
     this.table1.Add(this.OriginatorEntry);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.OriginatorEntry]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.scrolledwindow5 = new Gtk.ScrolledWindow();
     this.scrolledwindow5.CanFocus = true;
     this.scrolledwindow5.Name = "scrolledwindow5";
     this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow5.Gtk.Container+ContainerChild
     this.PublicationFactsTextView = new Gtk.TextView();
     this.PublicationFactsTextView.CanFocus = true;
     this.PublicationFactsTextView.Name = "PublicationFactsTextView";
     this.scrolledwindow5.Add(this.PublicationFactsTextView);
     this.table1.Add(this.scrolledwindow5);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.scrolledwindow5]));
     w18.TopAttach = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.RightAttach = ((uint)(2));
     // Container child table1.Gtk.Table+TableChild
     this.TitleEntry = new Gtk.Entry();
     this.TitleEntry.CanFocus = true;
     this.TitleEntry.Name = "TitleEntry";
     this.TitleEntry.IsEditable = true;
     this.TitleEntry.InvisibleChar = '●';
     this.table1.Add(this.TitleEntry);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.TitleEntry]));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((Gtk.AttachOptions)(4));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table1);
     // Notebook tab
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = "Details";
     this.Notebook.SetTabLabel(this.table1, this.label5);
     this.label5.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table2 = new Gtk.Table(((uint)(6)), ((uint)(4)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(12));
     this.table2.BorderWidth = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.DateRecordedEntry = new Gtk.Entry();
     this.DateRecordedEntry.CanFocus = true;
     this.DateRecordedEntry.Name = "DateRecordedEntry";
     this.DateRecordedEntry.IsEditable = true;
     this.DateRecordedEntry.InvisibleChar = '●';
     this.table2.Add(this.DateRecordedEntry);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.DateRecordedEntry]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.scrolledwindow6 = new Gtk.ScrolledWindow();
     this.scrolledwindow6.CanFocus = true;
     this.scrolledwindow6.Name = "scrolledwindow6";
     this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow6.Gtk.Container+ContainerChild
     Gtk.Viewport w22 = new Gtk.Viewport();
     w22.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.EventGroupTreeView = new Gtk.TreeView();
     this.EventGroupTreeView.CanFocus = true;
     this.EventGroupTreeView.Name = "EventGroupTreeView";
     w22.Add(this.EventGroupTreeView);
     this.scrolledwindow6.Add(w22);
     this.hbox3.Add(this.scrolledwindow6);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.scrolledwindow6]));
     w25.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbuttonbox1 = new Gtk.VButtonBox();
     this.vbuttonbox1.Name = "vbuttonbox1";
     this.vbuttonbox1.Spacing = 6;
     this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.NewEventGroupButton = new Gtk.Button();
     this.NewEventGroupButton.CanFocus = true;
     this.NewEventGroupButton.Name = "NewEventGroupButton";
     this.NewEventGroupButton.UseStock = true;
     this.NewEventGroupButton.UseUnderline = true;
     this.NewEventGroupButton.Label = "gtk-new";
     this.vbuttonbox1.Add(this.NewEventGroupButton);
     Gtk.ButtonBox.ButtonBoxChild w26 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.NewEventGroupButton]));
     w26.Expand = false;
     w26.Fill = false;
     this.hbox3.Add(this.vbuttonbox1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox3[this.vbuttonbox1]));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     this.table2.Add(this.hbox3);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table2[this.hbox3]));
     w28.TopAttach = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.RightAttach = ((uint)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.table2.Add(this.hseparator1);
     Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.hseparator1]));
     w29.TopAttach = ((uint)(3));
     w29.BottomAttach = ((uint)(4));
     w29.RightAttach = ((uint)(4));
     w29.XOptions = ((Gtk.AttachOptions)(4));
     w29.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = "Event Groups:";
     this.table2.Add(this.label1);
     Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table2[this.label1]));
     w30.TopAttach = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.XOptions = ((Gtk.AttachOptions)(4));
     w30.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label16 = new Gtk.Label();
     this.label16.Name = "label16";
     this.label16.Xalign = 0F;
     this.label16.LabelProp = "Date Recorded:";
     this.table2.Add(this.label16);
     Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table2[this.label16]));
     w31.TopAttach = ((uint)(2));
     w31.BottomAttach = ((uint)(3));
     w31.XOptions = ((Gtk.AttachOptions)(4));
     w31.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label17 = new Gtk.Label();
     this.label17.Name = "label17";
     this.label17.Xalign = 0F;
     this.label17.LabelProp = "Events in selected group:";
     this.table2.Add(this.label17);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.label17]));
     w32.RightAttach = ((uint)(4));
     w32.XOptions = ((Gtk.AttachOptions)(4));
     w32.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "in";
     this.table2.Add(this.label2);
     Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table2[this.label2]));
     w33.TopAttach = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.LeftAttach = ((uint)(2));
     w33.RightAttach = ((uint)(3));
     w33.XOptions = ((Gtk.AttachOptions)(4));
     w33.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.PlaceRecordedEntry = new Gtk.Entry();
     this.PlaceRecordedEntry.CanFocus = true;
     this.PlaceRecordedEntry.Name = "PlaceRecordedEntry";
     this.PlaceRecordedEntry.IsEditable = true;
     this.PlaceRecordedEntry.InvisibleChar = '●';
     this.table2.Add(this.PlaceRecordedEntry);
     Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table2[this.PlaceRecordedEntry]));
     w34.TopAttach = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.LeftAttach = ((uint)(3));
     w34.RightAttach = ((uint)(4));
     w34.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.scrolledwindow9 = new Gtk.ScrolledWindow();
     this.scrolledwindow9.CanFocus = true;
     this.scrolledwindow9.Name = "scrolledwindow9";
     this.scrolledwindow9.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow9.Gtk.Container+ContainerChild
     Gtk.Viewport w35 = new Gtk.Viewport();
     w35.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.EventTypeTreeView = new Gtk.TreeView();
     this.EventTypeTreeView.CanFocus = true;
     this.EventTypeTreeView.Name = "EventTypeTreeView";
     this.EventTypeTreeView.RulesHint = true;
     w35.Add(this.EventTypeTreeView);
     this.scrolledwindow9.Add(w35);
     this.table2.Add(this.scrolledwindow9);
     Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow9]));
     w38.TopAttach = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.RightAttach = ((uint)(4));
     w38.XOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table2);
     Gtk.Notebook.NotebookChild w39 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table2]));
     w39.Position = 1;
     // Notebook tab
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = "Events Recorded";
     this.Notebook.SetTabLabel(this.table2, this.label6);
     this.label6.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table3 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(12));
     this.table3.BorderWidth = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.AgencyTextBox = new Gtk.Entry();
     this.AgencyTextBox.CanFocus = true;
     this.AgencyTextBox.Name = "AgencyTextBox";
     this.AgencyTextBox.IsEditable = true;
     this.AgencyTextBox.InvisibleChar = '●';
     this.table3.Add(this.AgencyTextBox);
     Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table3[this.AgencyTextBox]));
     w40.LeftAttach = ((uint)(1));
     w40.RightAttach = ((uint)(2));
     w40.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.DataNotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.DataNotesView.Events = ((Gdk.EventMask)(256));
     this.DataNotesView.Name = "DataNotesView";
     this.DataNotesView.DataNotes = true;
     this.DataNotesView.ListOnly = false;
     this.DataNotesView.NoteOnly = false;
     this.table3.Add(this.DataNotesView);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.DataNotesView]));
     w41.TopAttach = ((uint)(1));
     w41.BottomAttach = ((uint)(2));
     w41.RightAttach = ((uint)(2));
     // Container child table3.Gtk.Table+TableChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 0F;
     this.label3.LabelProp = "Agency:";
     this.table3.Add(this.label3);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table3[this.label3]));
     w42.XOptions = ((Gtk.AttachOptions)(4));
     w42.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table3);
     Gtk.Notebook.NotebookChild w43 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3]));
     w43.Position = 2;
     // Notebook tab
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = "Data Information";
     this.Notebook.SetTabLabel(this.table3, this.label7);
     this.label7.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.scrolledwindow2 = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
     this.scrolledwindow2.BorderWidth = ((uint)(6));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.TextTextView = new Gtk.TextView();
     this.TextTextView.CanFocus = true;
     this.TextTextView.Name = "TextTextView";
     this.scrolledwindow2.Add(this.TextTextView);
     this.Notebook.Add(this.scrolledwindow2);
     Gtk.Notebook.NotebookChild w45 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.scrolledwindow2]));
     w45.Position = 3;
     // Notebook tab
     this.label15 = new Gtk.Label();
     this.label15.Name = "label15";
     this.label15.LabelProp = "Text";
     this.Notebook.SetTabLabel(this.scrolledwindow2, this.label15);
     this.label15.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w46 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w46.Position = 4;
     // Notebook tab
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label9);
     this.label9.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table4 = new Gtk.Table(((uint)(4)), ((uint)(4)), false);
     this.table4.Name = "table4";
     this.table4.RowSpacing = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(12));
     this.table4.BorderWidth = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.CallNumberEntry = new Gtk.Entry();
     this.CallNumberEntry.CanFocus = true;
     this.CallNumberEntry.Name = "CallNumberEntry";
     this.CallNumberEntry.IsEditable = true;
     this.CallNumberEntry.InvisibleChar = '●';
     this.table4.Add(this.CallNumberEntry);
     Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table4[this.CallNumberEntry]));
     w47.LeftAttach = ((uint)(1));
     w47.RightAttach = ((uint)(2));
     w47.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label12 = new Gtk.Label();
     this.label12.Name = "label12";
     this.label12.Xalign = 0F;
     this.label12.LabelProp = "Call Number:";
     this.table4.Add(this.label12);
     Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table4[this.label12]));
     w48.XOptions = ((Gtk.AttachOptions)(4));
     w48.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label13 = new Gtk.Label();
     this.label13.Name = "label13";
     this.label13.Xalign = 0F;
     this.label13.LabelProp = "Media Type:";
     this.table4.Add(this.label13);
     Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table4[this.label13]));
     w49.LeftAttach = ((uint)(2));
     w49.RightAttach = ((uint)(3));
     w49.XOptions = ((Gtk.AttachOptions)(4));
     w49.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label14 = new Gtk.Label();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = "Notes:";
     this.table4.Add(this.label14);
     Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table4[this.label14]));
     w50.TopAttach = ((uint)(2));
     w50.BottomAttach = ((uint)(3));
     w50.XOptions = ((Gtk.AttachOptions)(4));
     w50.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.MediaTypeCombo = new Gtk.ComboBox();
     this.MediaTypeCombo.Name = "MediaTypeCombo";
     this.table4.Add(this.MediaTypeCombo);
     Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table4[this.MediaTypeCombo]));
     w51.LeftAttach = ((uint)(3));
     w51.RightAttach = ((uint)(4));
     w51.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.RepoNotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.RepoNotesView.Events = ((Gdk.EventMask)(256));
     this.RepoNotesView.Name = "RepoNotesView";
     this.RepoNotesView.DataNotes = false;
     this.RepoNotesView.ListOnly = false;
     this.RepoNotesView.NoteOnly = false;
     this.table4.Add(this.RepoNotesView);
     Gtk.Table.TableChild w52 = ((Gtk.Table.TableChild)(this.table4[this.RepoNotesView]));
     w52.TopAttach = ((uint)(3));
     w52.BottomAttach = ((uint)(4));
     w52.RightAttach = ((uint)(4));
     w52.XOptions = ((Gtk.AttachOptions)(4));
     w52.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.scrolledwindow4 = new Gtk.ScrolledWindow();
     this.scrolledwindow4.CanFocus = true;
     this.scrolledwindow4.Name = "scrolledwindow4";
     this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     this.CallNumberTreeView = new Gtk.TreeView();
     this.CallNumberTreeView.CanFocus = true;
     this.CallNumberTreeView.Name = "CallNumberTreeView";
     this.scrolledwindow4.Add(this.CallNumberTreeView);
     this.table4.Add(this.scrolledwindow4);
     Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow4]));
     w54.TopAttach = ((uint)(1));
     w54.BottomAttach = ((uint)(2));
     w54.RightAttach = ((uint)(4));
     this.Notebook.Add(this.table4);
     Gtk.Notebook.NotebookChild w55 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table4]));
     w55.Position = 5;
     // Notebook tab
     this.label11 = new Gtk.Label();
     this.label11.Name = "label11";
     this.label11.LabelProp = "Repositories";
     this.Notebook.SetTabLabel(this.table4, this.label11);
     this.label11.ShowAll();
     this.Add(this.Notebook);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.Notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnNotebook_SwitchPage);
     this.ScrapBookButton.Clicked += new System.EventHandler(this.OnScrapbookButton_Clicked);
     this.EventGroupTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnEventGroupTreeView_ButtonPressEvent);
     this.NewEventGroupButton.Clicked += new System.EventHandler(this.OnNewEventGroupButton_Clicked);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Pinta.Gui.Widgets.AnglePickerWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "Pinta.Gui.Widgets.AnglePickerWidget";
     // Container child Pinta.Gui.Widgets.AnglePickerWidget.Gtk.Container+ContainerChild
     this.vbox         = new Gtk.VBox();
     this.vbox.Name    = "vbox";
     this.vbox.Spacing = 6;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label           = new Gtk.Label();
     this.label.Name      = "label";
     this.label.LabelProp = Mono.Unix.Catalog.GetString("label1");
     this.hbox1.Add(this.label);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hseparator      = new Gtk.HSeparator();
     this.hseparator.Name = "hseparator";
     this.hbox1.Add(this.hseparator);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator]));
     w2.Position = 1;
     this.vbox.Add(this.hbox1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.anglepickergraphic1             = new Pinta.Gui.Widgets.AnglePickerGraphic();
     this.anglepickergraphic1.Name        = "anglepickergraphic1";
     this.anglepickergraphic1.Value       = 0;
     this.anglepickergraphic1.ValueDouble = 0;
     this.hbox2.Add(this.anglepickergraphic1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.anglepickergraphic1]));
     w4.Position = 0;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.alignment1      = new Gtk.Alignment(0.5F, 0F, 1F, 0F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.spin          = new Gtk.SpinButton(0, 360, 1);
     this.spin.CanFocus = true;
     this.spin.Name     = "spin";
     this.spin.Adjustment.PageIncrement = 10;
     this.spin.ClimbRate = 1;
     this.spin.Numeric   = true;
     this.alignment1.Add(this.spin);
     this.hbox2.Add(this.alignment1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.alignment2      = new Gtk.Alignment(0.5F, 0F, 1F, 0F);
     this.alignment2.Name = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.button = new Gtk.Button();
     this.button.WidthRequest  = 28;
     this.button.HeightRequest = 24;
     this.button.CanFocus      = true;
     this.button.Name          = "button";
     this.button.UseUnderline  = true;
     // Container child button.Gtk.Container+ContainerChild
     Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w8 = new Gtk.HBox();
     w8.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w9 = new Gtk.Image();
     w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w8.Add(w9);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w11 = new Gtk.Label();
     w8.Add(w11);
     w7.Add(w8);
     this.button.Add(w7);
     this.alignment2.Add(this.button);
     this.hbox2.Add(this.alignment2);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment2]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.vbox.Add(this.hbox2);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox2]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     this.Add(this.vbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #49
0
 public static void Build(object obj, string id)
 {
     System.Collections.Hashtable bindings = new System.Collections.Hashtable();
     if ((id == "Boxerp.Client.GtkSharp.Lib.QuestionDialog")) {
         Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
         // Widget Boxerp.Client.GtkSharp.Lib.QuestionDialog
         cobj.Title = "Question";
         cobj.WindowPosition = ((Gtk.WindowPosition)(4));
         cobj.Modal = true;
         cobj.HasSeparator = false;
         cobj.Events = ((Gdk.EventMask)(256));
         cobj.Name = "Boxerp.Client.GtkSharp.Lib.QuestionDialog";
         // Internal child Boxerp.Client.GtkSharp.Lib.QuestionDialog.VBox
         Gtk.VBox w1 = cobj.VBox;
         w1.BorderWidth = ((uint)(2));
         w1.Events = ((Gdk.EventMask)(256));
         w1.Name = "dialog_VBox";
         // Container child dialog_VBox.Gtk.Box+BoxChild
         Gtk.HBox w2 = new Gtk.HBox();
         w2.Events = ((Gdk.EventMask)(0));
         w2.Name = "hbox1";
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.Image w3 = new Gtk.Image();
         w3.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-dialog-info", 16, 0);
         w3.Events = ((Gdk.EventMask)(0));
         w3.Name = "image";
         bindings["image"] = w3;
         w2.Add(w3);
         Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3]));
         w4.Position = 0;
         w4.Expand = false;
         w4.Fill = false;
         w4.Padding = ((uint)(5));
         // Container child hbox1.Gtk.Box+BoxChild
         Gtk.Label w5 = new Gtk.Label();
         w5.LabelProp = "Info";
         w5.Events = ((Gdk.EventMask)(0));
         w5.Name = "label";
         bindings["label"] = w5;
         w2.Add(w5);
         Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5]));
         w6.Position = 1;
         bindings["hbox1"] = w2;
         w1.Add(w2);
         Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2]));
         w7.Position = 0;
         w7.Expand = false;
         w7.Fill = false;
         w7.Padding = ((uint)(5));
         bindings["dialog_VBox"] = w1;
         // Internal child Boxerp.Client.GtkSharp.Lib.QuestionDialog.ActionArea
         Gtk.HButtonBox w8 = cobj.ActionArea;
         w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
         w8.Spacing = 10;
         w8.BorderWidth = ((uint)(5));
         w8.Events = ((Gdk.EventMask)(256));
         w8.Name = "Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea";
         // Container child Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
         Gtk.Button w9 = new Gtk.Button();
         w9.CanFocus = true;
         w9.Events = ((Gdk.EventMask)(0));
         w9.Name = "button22";
         w9.CanDefault = true;
         // Container child button22.Gtk.Container+ContainerChild
         Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
         w10.Events = ((Gdk.EventMask)(0));
         w10.Name = "GtkAlignment";
         // Container child GtkAlignment.Gtk.Container+ContainerChild
         Gtk.HBox w11 = new Gtk.HBox();
         w11.Spacing = 2;
         w11.Events = ((Gdk.EventMask)(0));
         w11.Name = "GtkHBox";
         // Container child GtkHBox.Gtk.Container+ContainerChild
         Gtk.Image w12 = new Gtk.Image();
         w12.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-no", 16, 0);
         w12.Events = ((Gdk.EventMask)(0));
         w12.Name = "image2";
         bindings["image2"] = w12;
         w11.Add(w12);
         // Container child GtkHBox.Gtk.Container+ContainerChild
         Gtk.Label w14 = new Gtk.Label();
         w14.LabelProp = "No";
         w14.Events = ((Gdk.EventMask)(0));
         w14.Name = "GtkLabel";
         bindings["GtkLabel"] = w14;
         w11.Add(w14);
         bindings["GtkHBox"] = w11;
         w10.Add(w11);
         bindings["GtkAlignment"] = w10;
         w9.Add(w10);
         bindings["button22"] = w9;
         cobj.AddActionWidget(w9, -9);
         Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w9]));
         w18.Expand = false;
         w18.Fill = false;
         // Container child Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
         Gtk.Button w19 = new Gtk.Button();
         w19.CanFocus = true;
         w19.Events = ((Gdk.EventMask)(0));
         w19.Name = "button24";
         w19.CanDefault = true;
         // Container child button24.Gtk.Container+ContainerChild
         Gtk.Alignment w20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
         w20.Events = ((Gdk.EventMask)(0));
         w20.Name = "GtkAlignment1";
         // Container child GtkAlignment1.Gtk.Container+ContainerChild
         Gtk.HBox w21 = new Gtk.HBox();
         w21.Spacing = 2;
         w21.Events = ((Gdk.EventMask)(0));
         w21.Name = "GtkHBox1";
         // Container child GtkHBox1.Gtk.Container+ContainerChild
         Gtk.Image w22 = new Gtk.Image();
         w22.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-yes", 16, 0);
         w22.Events = ((Gdk.EventMask)(0));
         w22.Name = "image3";
         bindings["image3"] = w22;
         w21.Add(w22);
         // Container child GtkHBox1.Gtk.Container+ContainerChild
         Gtk.Label w24 = new Gtk.Label();
         w24.LabelProp = "Yes";
         w24.Events = ((Gdk.EventMask)(0));
         w24.Name = "GtkLabel1";
         bindings["GtkLabel1"] = w24;
         w21.Add(w24);
         bindings["GtkHBox1"] = w21;
         w20.Add(w21);
         bindings["GtkAlignment1"] = w20;
         w19.Add(w20);
         bindings["button24"] = w19;
         cobj.AddActionWidget(w19, -8);
         Gtk.ButtonBox.ButtonBoxChild w28 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w19]));
         w28.Position = 1;
         w28.Expand = false;
         w28.Fill = false;
         bindings["Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea"] = w8;
         cobj.DefaultWidth = 400;
         cobj.DefaultHeight = 99;
         bindings["Boxerp.Client.GtkSharp.Lib.QuestionDialog"] = cobj;
         w3.Show();
         w5.Show();
         w2.Show();
         w1.Show();
         w12.Show();
         w14.Show();
         w11.Show();
         w10.Show();
         w9.Show();
         w22.Show();
         w24.Show();
         w21.Show();
         w20.Show();
         w19.Show();
         w8.Show();
         cobj.Show();
         w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNo")));
         w19.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnYes")));
     }
     else {
         if ((id == "Boxerp.Client.GtkSharp.Lib.SimpleListView")) {
             Gtk.Bin cobj = ((Gtk.Bin)(obj));
             // Widget Boxerp.Client.GtkSharp.Lib.SimpleListView
             BinContainer.Attach(cobj);
             cobj.Events = ((Gdk.EventMask)(256));
             cobj.Name = "Boxerp.Client.GtkSharp.Lib.SimpleListView";
             // Container child Boxerp.Client.GtkSharp.Lib.SimpleListView.Gtk.Container+ContainerChild
             Gtk.TreeView w1 = new Gtk.TreeView();
             w1.CanFocus = true;
             w1.Events = ((Gdk.EventMask)(0));
             w1.Name = "treeview";
             bindings["treeview"] = w1;
             cobj.Add(w1);
             bindings["Boxerp.Client.GtkSharp.Lib.SimpleListView"] = cobj;
             w1.Show();
             cobj.Show();
         }
         else {
             if ((id == "Boxerp.Client.GtkSharp.Lib.WarningDialog")) {
                 Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
                 // Widget Boxerp.Client.GtkSharp.Lib.WarningDialog
                 cobj.Title = "Warning";
                 cobj.Icon = Gtk.IconTheme.Default.LoadIcon("gtk-dialog-warning", 16, 0);
                 cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                 cobj.HasSeparator = false;
                 cobj.Resizable = false;
                 cobj.AllowGrow = false;
                 cobj.DefaultWidth = 500;
                 cobj.Events = ((Gdk.EventMask)(256));
                 cobj.Name = "Boxerp.Client.GtkSharp.Lib.WarningDialog";
                 // Internal child Boxerp.Client.GtkSharp.Lib.WarningDialog.VBox
                 Gtk.VBox w1 = cobj.VBox;
                 w1.BorderWidth = ((uint)(2));
                 w1.Events = ((Gdk.EventMask)(256));
                 w1.Name = "dialog_VBox";
                 // Container child dialog_VBox.Gtk.Box+BoxChild
                 Gtk.HBox w2 = new Gtk.HBox();
                 w2.Spacing = 5;
                 w2.BorderWidth = ((uint)(5));
                 w2.Events = ((Gdk.EventMask)(0));
                 w2.Name = "hbox1";
                 // Container child hbox1.Gtk.Box+BoxChild
                 Gtk.Image w3 = new Gtk.Image();
                 w3.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_dialog-warning", 16, 0);
                 w3.Events = ((Gdk.EventMask)(0));
                 w3.Name = "image";
                 bindings["image"] = w3;
                 w2.Add(w3);
                 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3]));
                 w4.Position = 0;
                 w4.Expand = false;
                 w4.Fill = false;
                 // Container child hbox1.Gtk.Box+BoxChild
                 Gtk.Label w5 = new Gtk.Label();
                 w5.LabelProp = "Warning";
                 w5.Events = ((Gdk.EventMask)(0));
                 w5.Name = "label";
                 bindings["label"] = w5;
                 w2.Add(w5);
                 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5]));
                 w6.Position = 1;
                 bindings["hbox1"] = w2;
                 w1.Add(w2);
                 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2]));
                 w7.Position = 0;
                 w7.Expand = false;
                 w7.Fill = false;
                 bindings["dialog_VBox"] = w1;
                 // Internal child Boxerp.Client.GtkSharp.Lib.WarningDialog.ActionArea
                 Gtk.HButtonBox w8 = cobj.ActionArea;
                 w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                 w8.Spacing = 10;
                 w8.BorderWidth = ((uint)(5));
                 w8.Events = ((Gdk.EventMask)(256));
                 w8.Name = "Boxerp.Client.GtkSharp.Lib.WarningDialog_ActionArea";
                 // Container child Boxerp.Client.GtkSharp.Lib.WarningDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
                 Gtk.Button w9 = new Gtk.Button();
                 w9.CanFocus = true;
                 w9.Events = ((Gdk.EventMask)(0));
                 w9.Name = "buttonOk";
                 w9.CanDefault = true;
                 // Container child buttonOk.Gtk.Container+ContainerChild
                 Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                 w10.Events = ((Gdk.EventMask)(0));
                 w10.Name = "GtkAlignment";
                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                 Gtk.HBox w11 = new Gtk.HBox();
                 w11.Spacing = 2;
                 w11.Events = ((Gdk.EventMask)(0));
                 w11.Name = "GtkHBox";
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Image w12 = new Gtk.Image();
                 w12.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0);
                 w12.Events = ((Gdk.EventMask)(0));
                 w12.Name = "image7";
                 bindings["image7"] = w12;
                 w11.Add(w12);
                 // Container child GtkHBox.Gtk.Container+ContainerChild
                 Gtk.Label w14 = new Gtk.Label();
                 w14.LabelProp = "Ok";
                 w14.Events = ((Gdk.EventMask)(0));
                 w14.Name = "GtkLabel";
                 bindings["GtkLabel"] = w14;
                 w11.Add(w14);
                 bindings["GtkHBox"] = w11;
                 w10.Add(w11);
                 bindings["GtkAlignment"] = w10;
                 w9.Add(w10);
                 bindings["buttonOk"] = w9;
                 cobj.AddActionWidget(w9, 0);
                 Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w9]));
                 w18.Expand = false;
                 w18.Fill = false;
                 bindings["Boxerp.Client.GtkSharp.Lib.WarningDialog_ActionArea"] = w8;
                 cobj.DefaultHeight = 104;
                 bindings["Boxerp.Client.GtkSharp.Lib.WarningDialog"] = cobj;
                 w3.Show();
                 w5.Show();
                 w2.Show();
                 w1.Show();
                 w12.Show();
                 w14.Show();
                 w11.Show();
                 w10.Show();
                 w9.Show();
                 w8.Show();
                 cobj.Show();
                 w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOk")));
             }
             else {
                 if ((id == "Boxerp.Client.GtkSharp.Lib.WaitWindow")) {
                     Gtk.Window cobj = ((Gtk.Window)(obj));
                     // Widget Boxerp.Client.GtkSharp.Lib.WaitWindow
                     cobj.Title = "Operation in progress...";
                     cobj.WindowPosition = ((Gtk.WindowPosition)(1));
                     cobj.Events = ((Gdk.EventMask)(0));
                     cobj.Name = "Boxerp.Client.GtkSharp.Lib.WaitWindow";
                     // Container child Boxerp.Client.GtkSharp.Lib.WaitWindow.Gtk.Container+ContainerChild
                     Gtk.VBox w1 = new Gtk.VBox();
                     w1.Spacing = 2;
                     w1.BorderWidth = ((uint)(5));
                     w1.Events = ((Gdk.EventMask)(256));
                     w1.Name = "vbox";
                     // Container child vbox.Gtk.Box+BoxChild
                     Gtk.Label w2 = new Gtk.Label();
                     w2.LabelProp = "Please wait";
                     w2.Events = ((Gdk.EventMask)(0));
                     w2.Name = "labelMsg";
                     bindings["labelMsg"] = w2;
                     w1.Add(w2);
                     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2]));
                     w3.Position = 0;
                     // Container child vbox.Gtk.Box+BoxChild
                     Gtk.ProgressBar w4 = new Gtk.ProgressBar();
                     w4.Events = ((Gdk.EventMask)(0));
                     w4.Name = "progressbar";
                     bindings["progressbar"] = w4;
                     w1.Add(w4);
                     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4]));
                     w5.Position = 1;
                     w5.Expand = false;
                     w5.Fill = false;
                     // Container child vbox.Gtk.Box+BoxChild
                     Gtk.HButtonBox w6 = new Gtk.HButtonBox();
                     w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(2));
                     w6.Spacing = 10;
                     w6.BorderWidth = ((uint)(5));
                     w6.Events = ((Gdk.EventMask)(256));
                     w6.Name = "actionArea";
                     // Container child actionArea.Gtk.ButtonBox+ButtonBoxChild
                     Gtk.Button w7 = new Gtk.Button();
                     w7.CanFocus = true;
                     w7.Events = ((Gdk.EventMask)(0));
                     w7.Name = "button";
                     w7.CanDefault = true;
                     // Container child button.Gtk.Container+ContainerChild
                     Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                     w8.Events = ((Gdk.EventMask)(0));
                     w8.Name = "GtkAlignment";
                     // Container child GtkAlignment.Gtk.Container+ContainerChild
                     Gtk.HBox w9 = new Gtk.HBox();
                     w9.Spacing = 2;
                     w9.Events = ((Gdk.EventMask)(0));
                     w9.Name = "GtkHBox";
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Image w10 = new Gtk.Image();
                     w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
                     w10.Events = ((Gdk.EventMask)(0));
                     w10.Name = "image1";
                     bindings["image1"] = w10;
                     w9.Add(w10);
                     // Container child GtkHBox.Gtk.Container+ContainerChild
                     Gtk.Label w12 = new Gtk.Label();
                     w12.LabelProp = "Cancel";
                     w12.Events = ((Gdk.EventMask)(0));
                     w12.Name = "GtkLabel";
                     bindings["GtkLabel"] = w12;
                     w9.Add(w12);
                     bindings["GtkHBox"] = w9;
                     w8.Add(w9);
                     bindings["GtkAlignment"] = w8;
                     w7.Add(w8);
                     bindings["button"] = w7;
                     w6.Add(w7);
                     Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[w7]));
                     w16.Expand = false;
                     w16.Fill = false;
                     bindings["actionArea"] = w6;
                     w1.Add(w6);
                     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[w6]));
                     w17.Position = 2;
                     w17.Expand = false;
                     w17.Fill = false;
                     bindings["vbox"] = w1;
                     cobj.Add(w1);
                     cobj.DefaultWidth = 400;
                     cobj.DefaultHeight = 119;
                     bindings["Boxerp.Client.GtkSharp.Lib.WaitWindow"] = cobj;
                     w2.Show();
                     w4.Show();
                     w10.Show();
                     w12.Show();
                     w9.Show();
                     w8.Show();
                     w7.Show();
                     w6.Show();
                     w1.Show();
                     cobj.Show();
                     cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent")));
                     w7.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCancel")));
                 }
                 else {
                     if ((id == "Boxerp.Client.GtkSharp.Lib.WaitDialog")) {
                         Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
                         // Widget Boxerp.Client.GtkSharp.Lib.WaitDialog
                         cobj.Title = "Operation in progress...";
                         cobj.WindowPosition = ((Gtk.WindowPosition)(1));
                         cobj.HasSeparator = false;
                         cobj.Events = ((Gdk.EventMask)(256));
                         cobj.Name = "Boxerp.Client.GtkSharp.Lib.WaitDialog";
                         // Internal child Boxerp.Client.GtkSharp.Lib.WaitDialog.VBox
                         Gtk.VBox w1 = cobj.VBox;
                         w1.Spacing = 2;
                         w1.BorderWidth = ((uint)(2));
                         w1.Events = ((Gdk.EventMask)(256));
                         w1.Name = "dialog_VBox";
                         // Container child dialog_VBox.Gtk.Box+BoxChild
                         Gtk.Label w2 = new Gtk.Label();
                         w2.LabelProp = "Please wait";
                         w2.Events = ((Gdk.EventMask)(0));
                         w2.Name = "labelMsg";
                         bindings["labelMsg"] = w2;
                         w1.Add(w2);
                         Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2]));
                         w3.Position = 0;
                         // Container child dialog_VBox.Gtk.Box+BoxChild
                         Gtk.ProgressBar w4 = new Gtk.ProgressBar();
                         w4.Events = ((Gdk.EventMask)(0));
                         w4.Name = "progressbar";
                         bindings["progressbar"] = w4;
                         w1.Add(w4);
                         Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4]));
                         w5.Position = 1;
                         w5.Expand = false;
                         w5.Fill = false;
                         bindings["dialog_VBox"] = w1;
                         // Internal child Boxerp.Client.GtkSharp.Lib.WaitDialog.ActionArea
                         Gtk.HButtonBox w6 = cobj.ActionArea;
                         w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(2));
                         w6.Spacing = 10;
                         w6.BorderWidth = ((uint)(5));
                         w6.Events = ((Gdk.EventMask)(256));
                         w6.Name = "actionArea";
                         // Container child actionArea.Gtk.ButtonBox+ButtonBoxChild
                         Gtk.Button w7 = new Gtk.Button();
                         w7.CanFocus = true;
                         w7.Events = ((Gdk.EventMask)(0));
                         w7.Name = "button";
                         w7.CanDefault = true;
                         // Container child button.Gtk.Container+ContainerChild
                         Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                         w8.Events = ((Gdk.EventMask)(0));
                         w8.Name = "GtkAlignment";
                         // Container child GtkAlignment.Gtk.Container+ContainerChild
                         Gtk.HBox w9 = new Gtk.HBox();
                         w9.Spacing = 2;
                         w9.Events = ((Gdk.EventMask)(0));
                         w9.Name = "GtkHBox";
                         // Container child GtkHBox.Gtk.Container+ContainerChild
                         Gtk.Image w10 = new Gtk.Image();
                         w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
                         w10.Events = ((Gdk.EventMask)(0));
                         w10.Name = "image8";
                         bindings["image8"] = w10;
                         w9.Add(w10);
                         // Container child GtkHBox.Gtk.Container+ContainerChild
                         Gtk.Label w12 = new Gtk.Label();
                         w12.LabelProp = "Cancel";
                         w12.Events = ((Gdk.EventMask)(0));
                         w12.Name = "GtkLabel";
                         bindings["GtkLabel"] = w12;
                         w9.Add(w12);
                         bindings["GtkHBox"] = w9;
                         w8.Add(w9);
                         bindings["GtkAlignment"] = w8;
                         w7.Add(w8);
                         bindings["button"] = w7;
                         cobj.AddActionWidget(w7, -7);
                         Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[w7]));
                         w16.Expand = false;
                         w16.Fill = false;
                         bindings["actionArea"] = w6;
                         cobj.DefaultWidth = 400;
                         cobj.DefaultHeight = 113;
                         bindings["Boxerp.Client.GtkSharp.Lib.WaitDialog"] = cobj;
                         w2.Show();
                         w4.Show();
                         w1.Show();
                         w10.Show();
                         w12.Show();
                         w9.Show();
                         w8.Show();
                         w7.Show();
                         w6.Show();
                         cobj.Show();
                         cobj.Close += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose")));
                         cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent")));
                         w7.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCancel")));
                     }
                     else {
                         if ((id == "Boxerp.Client.GtkSharp.Lib.DoubleListView")) {
                             Gtk.Bin cobj = ((Gtk.Bin)(obj));
                             // Widget Boxerp.Client.GtkSharp.Lib.DoubleListView
                             BinContainer.Attach(cobj);
                             cobj.Events = ((Gdk.EventMask)(256));
                             cobj.Name = "Boxerp.Client.GtkSharp.Lib.DoubleListView";
                             // Container child Boxerp.Client.GtkSharp.Lib.DoubleListView.Gtk.Container+ContainerChild
                             Gtk.VBox w1 = new Gtk.VBox();
                             w1.Events = ((Gdk.EventMask)(0));
                             w1.Name = "vbox2";
                             // Container child vbox2.Gtk.Box+BoxChild
                             Gtk.HBox w2 = new Gtk.HBox();
                             w2.Events = ((Gdk.EventMask)(0));
                             w2.Name = "hbox2";
                             // Container child hbox2.Gtk.Box+BoxChild
                             Gtk.Label w3 = new Gtk.Label();
                             w3.LabelProp = "label1";
                             w3.Events = ((Gdk.EventMask)(0));
                             w3.Name = "labelLeft";
                             bindings["labelLeft"] = w3;
                             w2.Add(w3);
                             Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3]));
                             w4.Position = 0;
                             w4.Fill = false;
                             // Container child hbox2.Gtk.Box+BoxChild
                             Gtk.VSeparator w5 = new Gtk.VSeparator();
                             w5.Events = ((Gdk.EventMask)(0));
                             w5.Name = "vseparator1";
                             bindings["vseparator1"] = w5;
                             w2.Add(w5);
                             Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5]));
                             w6.Position = 1;
                             w6.Expand = false;
                             w6.Fill = false;
                             // Container child hbox2.Gtk.Box+BoxChild
                             Gtk.Label w7 = new Gtk.Label();
                             w7.LabelProp = "label2";
                             w7.Events = ((Gdk.EventMask)(0));
                             w7.Name = "labelRight";
                             bindings["labelRight"] = w7;
                             w2.Add(w7);
                             Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w2[w7]));
                             w8.Position = 2;
                             w8.Fill = false;
                             bindings["hbox2"] = w2;
                             w1.Add(w2);
                             Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[w2]));
                             w9.Position = 0;
                             w9.Expand = false;
                             // Container child vbox2.Gtk.Box+BoxChild
                             Gtk.HBox w10 = new Gtk.HBox();
                             w10.Spacing = 5;
                             w10.BorderWidth = ((uint)(5));
                             w10.Events = ((Gdk.EventMask)(0));
                             w10.Name = "hbox1";
                             // Container child hbox1.Gtk.Box+BoxChild
                             Gtk.ScrolledWindow w11 = new Gtk.ScrolledWindow();
                             w11.VscrollbarPolicy = ((Gtk.PolicyType)(1));
                             w11.HscrollbarPolicy = ((Gtk.PolicyType)(1));
                             w11.CanFocus = true;
                             w11.Events = ((Gdk.EventMask)(0));
                             w11.Name = "scrolledwindow1";
                             // Container child scrolledwindow1.Gtk.Container+ContainerChild
                             Gtk.Viewport w12 = new Gtk.Viewport();
                             w12.ShadowType = ((Gtk.ShadowType)(0));
                             w12.Events = ((Gdk.EventMask)(0));
                             w12.Name = "GtkViewport";
                             // Container child GtkViewport.Gtk.Container+ContainerChild
                             Boxerp.Client.GtkSharp.Lib.SimpleListView w13 = new Boxerp.Client.GtkSharp.Lib.SimpleListView();
                             w13.Events = ((Gdk.EventMask)(256));
                             w13.Name = "slistviewLeft";
                             bindings["slistviewLeft"] = w13;
                             w12.Add(w13);
                             bindings["GtkViewport"] = w12;
                             w11.Add(w12);
                             bindings["scrolledwindow1"] = w11;
                             w10.Add(w11);
                             Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w10[w11]));
                             w16.Position = 0;
                             // Container child hbox1.Gtk.Box+BoxChild
                             Gtk.VBox w17 = new Gtk.VBox();
                             w17.Homogeneous = true;
                             w17.Events = ((Gdk.EventMask)(0));
                             w17.Name = "vbox1";
                             // Container child vbox1.Gtk.Box+BoxChild
                             Gtk.Button w18 = new Gtk.Button();
                             w18.CanFocus = true;
                             w18.Events = ((Gdk.EventMask)(0));
                             w18.Name = "button5";
                             // Container child button5.Gtk.Container+ContainerChild
                             Gtk.Alignment w19 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                             w19.Events = ((Gdk.EventMask)(0));
                             w19.Name = "GtkAlignment";
                             // Container child GtkAlignment.Gtk.Container+ContainerChild
                             Gtk.HBox w20 = new Gtk.HBox();
                             w20.Spacing = 2;
                             w20.Events = ((Gdk.EventMask)(0));
                             w20.Name = "GtkHBox";
                             // Container child GtkHBox.Gtk.Container+ContainerChild
                             Gtk.Image w21 = new Gtk.Image();
                             w21.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_left", 16, 0);
                             w21.Events = ((Gdk.EventMask)(0));
                             w21.Name = "image5";
                             bindings["image5"] = w21;
                             w20.Add(w21);
                             // Container child GtkHBox.Gtk.Container+ContainerChild
                             Gtk.Label w23 = new Gtk.Label();
                             w23.LabelProp = "";
                             w23.Events = ((Gdk.EventMask)(0));
                             w23.Name = "GtkLabel";
                             bindings["GtkLabel"] = w23;
                             w20.Add(w23);
                             bindings["GtkHBox"] = w20;
                             w19.Add(w20);
                             bindings["GtkAlignment"] = w19;
                             w18.Add(w19);
                             bindings["button5"] = w18;
                             w17.Add(w18);
                             Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w17[w18]));
                             w27.Position = 1;
                             w27.Expand = false;
                             w27.Fill = false;
                             // Container child vbox1.Gtk.Box+BoxChild
                             Gtk.Button w28 = new Gtk.Button();
                             w28.CanFocus = true;
                             w28.Events = ((Gdk.EventMask)(0));
                             w28.Name = "button6";
                             // Container child button6.Gtk.Container+ContainerChild
                             Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                             w29.Events = ((Gdk.EventMask)(0));
                             w29.Name = "GtkAlignment";
                             // Container child GtkAlignment.Gtk.Container+ContainerChild
                             Gtk.HBox w30 = new Gtk.HBox();
                             w30.Spacing = 2;
                             w30.Events = ((Gdk.EventMask)(0));
                             w30.Name = "GtkHBox";
                             // Container child GtkHBox.Gtk.Container+ContainerChild
                             Gtk.Image w31 = new Gtk.Image();
                             w31.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_right", 16, 0);
                             w31.Events = ((Gdk.EventMask)(0));
                             w31.Name = "image6";
                             bindings["image6"] = w31;
                             w30.Add(w31);
                             // Container child GtkHBox.Gtk.Container+ContainerChild
                             Gtk.Label w33 = new Gtk.Label();
                             w33.LabelProp = "";
                             w33.Events = ((Gdk.EventMask)(0));
                             w33.Name = "GtkLabel";
                             bindings["GtkLabel"] = w33;
                             w30.Add(w33);
                             bindings["GtkHBox"] = w30;
                             w29.Add(w30);
                             bindings["GtkAlignment"] = w29;
                             w28.Add(w29);
                             bindings["button6"] = w28;
                             w17.Add(w28);
                             Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(w17[w28]));
                             w37.Position = 2;
                             w37.Expand = false;
                             w37.Fill = false;
                             bindings["vbox1"] = w17;
                             w10.Add(w17);
                             Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(w10[w17]));
                             w38.Position = 1;
                             w38.Expand = false;
                             w38.Fill = false;
                             // Container child hbox1.Gtk.Box+BoxChild
                             Gtk.ScrolledWindow w39 = new Gtk.ScrolledWindow();
                             w39.VscrollbarPolicy = ((Gtk.PolicyType)(1));
                             w39.HscrollbarPolicy = ((Gtk.PolicyType)(1));
                             w39.CanFocus = true;
                             w39.Events = ((Gdk.EventMask)(0));
                             w39.Name = "scrolledwindow2";
                             // Container child scrolledwindow2.Gtk.Container+ContainerChild
                             Gtk.Viewport w40 = new Gtk.Viewport();
                             w40.ShadowType = ((Gtk.ShadowType)(0));
                             w40.Events = ((Gdk.EventMask)(0));
                             w40.Name = "GtkViewport1";
                             // Container child GtkViewport1.Gtk.Container+ContainerChild
                             Boxerp.Client.GtkSharp.Lib.SimpleListView w41 = new Boxerp.Client.GtkSharp.Lib.SimpleListView();
                             w41.Events = ((Gdk.EventMask)(256));
                             w41.Name = "slistviewRight";
                             bindings["slistviewRight"] = w41;
                             w40.Add(w41);
                             bindings["GtkViewport1"] = w40;
                             w39.Add(w40);
                             bindings["scrolledwindow2"] = w39;
                             w10.Add(w39);
                             Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(w10[w39]));
                             w44.PackType = ((Gtk.PackType)(1));
                             w44.Position = 2;
                             bindings["hbox1"] = w10;
                             w1.Add(w10);
                             Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w1[w10]));
                             w45.Position = 1;
                             bindings["vbox2"] = w1;
                             cobj.Add(w1);
                             bindings["Boxerp.Client.GtkSharp.Lib.DoubleListView"] = cobj;
                             w3.Show();
                             w5.Show();
                             w7.Show();
                             w2.Show();
                             w13.Show();
                             w12.Show();
                             w11.Show();
                             w21.Show();
                             w23.Show();
                             w20.Show();
                             w19.Show();
                             w18.Show();
                             w31.Show();
                             w33.Show();
                             w30.Show();
                             w29.Show();
                             w28.Show();
                             w17.Show();
                             w41.Show();
                             w40.Show();
                             w39.Show();
                             w10.Show();
                             w1.Show();
                             cobj.Show();
                             w18.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnLeftClicked")));
                             w28.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnRightClicked")));
                         }
                         else {
                             if ((id == "Boxerp.Client.GtkSharp.Lib.InfoDialog")) {
                                 Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
                                 // Widget Boxerp.Client.GtkSharp.Lib.InfoDialog
                                 cobj.Title = "Info";
                                 cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                                 cobj.HasSeparator = false;
                                 cobj.Events = ((Gdk.EventMask)(256));
                                 cobj.Name = "Boxerp.Client.GtkSharp.Lib.InfoDialog";
                                 // Internal child Boxerp.Client.GtkSharp.Lib.InfoDialog.VBox
                                 Gtk.VBox w1 = cobj.VBox;
                                 w1.BorderWidth = ((uint)(2));
                                 w1.Events = ((Gdk.EventMask)(256));
                                 w1.Name = "dialog_VBox";
                                 // Container child dialog_VBox.Gtk.Box+BoxChild
                                 Gtk.HBox w2 = new Gtk.HBox();
                                 w2.Spacing = 5;
                                 w2.BorderWidth = ((uint)(5));
                                 w2.Events = ((Gdk.EventMask)(0));
                                 w2.Name = "hbox1";
                                 // Container child hbox1.Gtk.Box+BoxChild
                                 Gtk.Image w3 = new Gtk.Image();
                                 w3.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-dialog-info", 16, 0);
                                 w3.Events = ((Gdk.EventMask)(0));
                                 w3.Name = "image";
                                 bindings["image"] = w3;
                                 w2.Add(w3);
                                 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3]));
                                 w4.Position = 0;
                                 w4.Expand = false;
                                 w4.Fill = false;
                                 // Container child hbox1.Gtk.Box+BoxChild
                                 Gtk.Label w5 = new Gtk.Label();
                                 w5.LabelProp = "Info";
                                 w5.Events = ((Gdk.EventMask)(0));
                                 w5.Name = "label";
                                 bindings["label"] = w5;
                                 w2.Add(w5);
                                 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5]));
                                 w6.Position = 1;
                                 bindings["hbox1"] = w2;
                                 w1.Add(w2);
                                 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2]));
                                 w7.Position = 0;
                                 w7.Expand = false;
                                 w7.Fill = false;
                                 bindings["dialog_VBox"] = w1;
                                 // Internal child Boxerp.Client.GtkSharp.Lib.InfoDialog.ActionArea
                                 Gtk.HButtonBox w8 = cobj.ActionArea;
                                 w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                                 w8.Spacing = 10;
                                 w8.BorderWidth = ((uint)(5));
                                 w8.Events = ((Gdk.EventMask)(256));
                                 w8.Name = "Boxerp.Client.GtkSharp.Lib.InfoDialog_ActionArea";
                                 // Container child Boxerp.Client.GtkSharp.Lib.InfoDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
                                 Gtk.Button w9 = new Gtk.Button();
                                 w9.CanFocus = true;
                                 w9.Events = ((Gdk.EventMask)(0));
                                 w9.Name = "button35";
                                 w9.CanDefault = true;
                                 // Container child button35.Gtk.Container+ContainerChild
                                 Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
                                 w10.Events = ((Gdk.EventMask)(0));
                                 w10.Name = "GtkAlignment";
                                 // Container child GtkAlignment.Gtk.Container+ContainerChild
                                 Gtk.HBox w11 = new Gtk.HBox();
                                 w11.Spacing = 2;
                                 w11.Events = ((Gdk.EventMask)(0));
                                 w11.Name = "GtkHBox";
                                 // Container child GtkHBox.Gtk.Container+ContainerChild
                                 Gtk.Image w12 = new Gtk.Image();
                                 w12.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0);
                                 w12.Events = ((Gdk.EventMask)(0));
                                 w12.Name = "image4";
                                 bindings["image4"] = w12;
                                 w11.Add(w12);
                                 // Container child GtkHBox.Gtk.Container+ContainerChild
                                 Gtk.Label w14 = new Gtk.Label();
                                 w14.LabelProp = "Ok";
                                 w14.Events = ((Gdk.EventMask)(0));
                                 w14.Name = "GtkLabel";
                                 bindings["GtkLabel"] = w14;
                                 w11.Add(w14);
                                 bindings["GtkHBox"] = w11;
                                 w10.Add(w11);
                                 bindings["GtkAlignment"] = w10;
                                 w9.Add(w10);
                                 bindings["button35"] = w9;
                                 cobj.AddActionWidget(w9, 0);
                                 Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w9]));
                                 w18.Expand = false;
                                 w18.Fill = false;
                                 bindings["Boxerp.Client.GtkSharp.Lib.InfoDialog_ActionArea"] = w8;
                                 cobj.DefaultWidth = 400;
                                 cobj.DefaultHeight = 104;
                                 bindings["Boxerp.Client.GtkSharp.Lib.InfoDialog"] = cobj;
                                 w3.Show();
                                 w5.Show();
                                 w2.Show();
                                 w1.Show();
                                 w12.Show();
                                 w14.Show();
                                 w11.Show();
                                 w10.Show();
                                 w9.Show();
                                 w8.Show();
                                 cobj.Show();
                                 w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOkClicked")));
                             }
                             else {
                                 if ((id == "button7")) {
                                     Gtk.Button cobj = ((Gtk.Button)(obj));
                                     // Widget button7
                                     cobj.CanFocus = true;
                                     cobj.Events = ((Gdk.EventMask)(0));
                                     cobj.Name = "button7";
                                     cobj.CanDefault = true;
                                     cobj.Label = "button7";
                                     bindings["button7"] = cobj;
                                     cobj.Show();
                                 }
                                 else {
                                     if ((id == "Boxerp.Client.GtkSharp.Lib.FilteredListView")) {
                                         Gtk.Bin cobj = ((Gtk.Bin)(obj));
                                         // Widget Boxerp.Client.GtkSharp.Lib.FilteredListView
                                         BinContainer.Attach(cobj);
                                         cobj.Events = ((Gdk.EventMask)(256));
                                         cobj.Name = "Boxerp.Client.GtkSharp.Lib.FilteredListView";
                                         // Container child Boxerp.Client.GtkSharp.Lib.FilteredListView.Gtk.Container+ContainerChild
                                         Gtk.TreeView w1 = new Gtk.TreeView();
                                         w1.CanFocus = true;
                                         w1.Events = ((Gdk.EventMask)(0));
                                         w1.Name = "treeview";
                                         bindings["treeview"] = w1;
                                         cobj.Add(w1);
                                         bindings["Boxerp.Client.GtkSharp.Lib.FilteredListView"] = cobj;
                                         w1.Show();
                                         cobj.Show();
                                     }
                                     else {
                                         if ((id == "Boxerp.Client.GtkSharp.Lib.SimpleTreeView")) {
                                             Gtk.Bin cobj = ((Gtk.Bin)(obj));
                                             // Widget Boxerp.Client.GtkSharp.Lib.SimpleTreeView
                                             BinContainer.Attach(cobj);
                                             cobj.Events = ((Gdk.EventMask)(256));
                                             cobj.Name = "Boxerp.Client.GtkSharp.Lib.SimpleTreeView";
                                             // Container child Boxerp.Client.GtkSharp.Lib.SimpleTreeView.Gtk.Container+ContainerChild
                                             Gtk.TreeView w1 = new Gtk.TreeView();
                                             w1.CanFocus = true;
                                             w1.Events = ((Gdk.EventMask)(0));
                                             w1.Name = "treeview";
                                             bindings["treeview"] = w1;
                                             cobj.Add(w1);
                                             bindings["Boxerp.Client.GtkSharp.Lib.SimpleTreeView"] = cobj;
                                             w1.Show();
                                             cobj.Show();
                                         }
                                         else {
                                             if ((id == "Boxerp.Client.GtkSharp.Lib.LoginWindow")) {
                                                 Gtk.Window cobj = ((Gtk.Window)(obj));
                                                 // Widget Boxerp.Client.GtkSharp.Lib.LoginWindow
                                                 cobj.Title = "LoginWindow";
                                                 cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                                                 cobj.Events = ((Gdk.EventMask)(0));
                                                 cobj.Name = "Boxerp.Client.GtkSharp.Lib.LoginWindow";
                                                 cobj.DefaultWidth = 400;
                                                 cobj.DefaultHeight = 300;
                                                 bindings["Boxerp.Client.GtkSharp.Lib.LoginWindow"] = cobj;
                                                 cobj.Show();
                                             }
                                             else {
                                                 if ((id == "MainWindow")) {
                                                     Gtk.Window cobj = ((Gtk.Window)(obj));
                                                     // Widget MainWindow
                                                     cobj.Title = "MainWindow";
                                                     cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                                                     cobj.Events = ((Gdk.EventMask)(0));
                                                     cobj.Name = "MainWindow";
                                                     cobj.DefaultWidth = 400;
                                                     cobj.DefaultHeight = 300;
                                                     bindings["MainWindow"] = cobj;
                                                     cobj.Show();
                                                     cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent")));
                                                 }
                                                 else {
                                                     if ((id == "Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog")) {
                                                         Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
                                                         // Widget Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog
                                                         cobj.Title = "InfoExtendedDialog";
                                                         cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                                                         cobj.HasSeparator = false;
                                                         cobj.Events = ((Gdk.EventMask)(256));
                                                         cobj.Name = "Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog";
                                                         // Internal child Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog.VBox
                                                         Gtk.VBox w1 = cobj.VBox;
                                                         w1.BorderWidth = ((uint)(2));
                                                         w1.Events = ((Gdk.EventMask)(256));
                                                         w1.Name = "dialog_VBox";
                                                         bindings["dialog_VBox"] = w1;
                                                         // Internal child Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog.ActionArea
                                                         Gtk.HButtonBox w2 = cobj.ActionArea;
                                                         w2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                                                         w2.Events = ((Gdk.EventMask)(256));
                                                         w2.Name = "Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog_ActionArea";
                                                         // Container child Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
                                                         Gtk.Button w3 = new Gtk.Button();
                                                         w3.CanFocus = true;
                                                         w3.Events = ((Gdk.EventMask)(0));
                                                         w3.Name = "button6";
                                                         w3.CanDefault = true;
                                                         w3.Label = "button6";
                                                         bindings["button6"] = w3;
                                                         cobj.AddActionWidget(w3, 0);
                                                         Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[w3]));
                                                         w4.Expand = false;
                                                         w4.Fill = false;
                                                         bindings["Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog_ActionArea"] = w2;
                                                         cobj.DefaultWidth = 400;
                                                         cobj.DefaultHeight = 300;
                                                         bindings["Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog"] = cobj;
                                                         w1.Show();
                                                         w3.Show();
                                                         w2.Show();
                                                         cobj.Show();
                                                     }
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
     System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance));
     for (int n = 0; (n < fields.Length); n = (n + 1)) {
         System.Reflection.FieldInfo field = fields[n];
         object widget = bindings[field.Name];
         if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) {
             field.SetValue(obj, widget);
         }
     }
 }
Пример #50
0
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget PanelWindow
     this.Name = "PanelWindow";
     this.Title = Mono.Unix.Catalog.GetString("Moonlight Desklets Panel");
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     // Container child PanelWindow.Gtk.Container+ContainerChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.SearchLabel = new Gtk.Label();
     this.SearchLabel.Name = "SearchLabel";
     this.SearchLabel.LabelProp = Mono.Unix.Catalog.GetString("Search:");
     this.hbox2.Add(this.SearchLabel);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.SearchLabel]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.SearchEntry = new Gtk.ComboBoxEntry();
     this.SearchEntry.Name = "SearchEntry";
     this.hbox2.Add(this.SearchEntry);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.SearchEntry]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     this.vbox2.Add(this.hbox2);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.DeskletsScrolledWindow = new Gtk.ScrolledWindow();
     this.DeskletsScrolledWindow.CanFocus = true;
     this.DeskletsScrolledWindow.Name = "DeskletsScrolledWindow";
     this.DeskletsScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child DeskletsScrolledWindow.Gtk.Container+ContainerChild
     this.DeskletsView = new Gtk.TreeView();
     this.DeskletsView.CanFocus = true;
     this.DeskletsView.Name = "DeskletsView";
     this.DeskletsScrolledWindow.Add(this.DeskletsView);
     this.vbox2.Add(this.DeskletsScrolledWindow);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.DeskletsScrolledWindow]));
     w5.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.DetailsExpander = new Gtk.Expander(null);
     this.DetailsExpander.CanFocus = true;
     this.DetailsExpander.Name = "DetailsExpander";
     // Container child DetailsExpander.Gtk.Container+ContainerChild
     this.DetailsLabel = new Gtk.Label();
     this.DetailsLabel.Name = "DetailsLabel";
     this.DetailsLabel.LabelProp = "";
     this.DetailsExpander.Add(this.DetailsLabel);
     this.GtkLabel = new Gtk.Label();
     this.GtkLabel.Name = "GtkLabel";
     this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("Show details");
     this.GtkLabel.UseUnderline = true;
     this.DetailsExpander.LabelWidget = this.GtkLabel;
     this.vbox2.Add(this.DetailsExpander);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.DetailsExpander]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ActionButtonBox = new Gtk.HButtonBox();
     this.ActionButtonBox.Name = "ActionButtonBox";
     this.ActionButtonBox.Spacing = 6;
     this.ActionButtonBox.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild
     this.HelpButton = new Gtk.Button();
     this.HelpButton.CanFocus = true;
     this.HelpButton.Name = "HelpButton";
     this.HelpButton.UseStock = true;
     this.HelpButton.UseUnderline = true;
     this.HelpButton.Label = "gtk-help";
     this.ActionButtonBox.Add(this.HelpButton);
     Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.HelpButton]));
     w8.Secondary = true;
     w8.Expand = false;
     w8.Fill = false;
     // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild
     this.DeskletsButton = new Gtk.Button();
     this.DeskletsButton.CanFocus = true;
     this.DeskletsButton.Name = "DeskletsButton";
     this.DeskletsButton.UseUnderline = true;
     // Container child DeskletsButton.Gtk.Container+ContainerChild
     Gtk.Alignment w9 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w10 = new Gtk.HBox();
     w10.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w11 = new Gtk.Image();
     w11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-find", Gtk.IconSize.Menu, 16);
     w10.Add(w11);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w13 = new Gtk.Label();
     w13.LabelProp = Mono.Unix.Catalog.GetString("Get desklets");
     w13.UseUnderline = true;
     w10.Add(w13);
     w9.Add(w10);
     this.DeskletsButton.Add(w9);
     this.ActionButtonBox.Add(this.DeskletsButton);
     Gtk.ButtonBox.ButtonBoxChild w17 = ((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.DeskletsButton]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild
     this.CloseButton = new Gtk.Button();
     this.CloseButton.CanFocus = true;
     this.CloseButton.Name = "CloseButton";
     this.CloseButton.UseStock = true;
     this.CloseButton.UseUnderline = true;
     this.CloseButton.Label = "gtk-close";
     this.ActionButtonBox.Add(this.CloseButton);
     Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.CloseButton]));
     w18.Position = 2;
     w18.Expand = false;
     w18.Fill = false;
     this.vbox2.Add(this.ActionButtonBox);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox2[this.ActionButtonBox]));
     w19.Position = 3;
     w19.Expand = false;
     w19.Fill = false;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 447;
     this.DefaultHeight = 446;
     this.Show();
     this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.HelpButton.Clicked += new System.EventHandler(this.OnHelpButtonClicked);
     this.DeskletsButton.Clicked += new System.EventHandler(this.OnDeskletsButtonClicked);
     this.CloseButton.Clicked += new System.EventHandler(this.OnCloseButtonClicked);
 }
Пример #51
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget MainWindow
     Gtk.UIManager   w1 = new Gtk.UIManager();
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.Options            = new Gtk.Action("Options", Mono.Unix.Catalog.GetString("Options"), null, "gtk-preferences");
     this.Options.ShortLabel = Mono.Unix.Catalog.GetString("File");
     w2.Add(this.Options, null);
     this.AddFolder            = new Gtk.Action("AddFolder", Mono.Unix.Catalog.GetString("Add Folder"), null, "gtk-open");
     this.AddFolder.ShortLabel = Mono.Unix.Catalog.GetString("Add Folder");
     w2.Add(this.AddFolder, null);
     this.NewCollection            = new Gtk.Action("NewCollection", Mono.Unix.Catalog.GetString("New Collection"), null, "gtk-new");
     this.NewCollection.ShortLabel = Mono.Unix.Catalog.GetString("New Collection");
     w2.Add(this.NewCollection, null);
     this.Preferences            = new Gtk.Action("Preferences", Mono.Unix.Catalog.GetString("Preferences"), null, "gtk-preferences");
     this.Preferences.ShortLabel = Mono.Unix.Catalog.GetString("Options");
     w2.Add(this.Preferences, null);
     this.Exit1            = new Gtk.Action("Exit1", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
     this.Exit1.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
     w2.Add(this.Exit1, null);
     this.Update            = new Gtk.Action("Update", Mono.Unix.Catalog.GetString("Update"), null, "gtk-dialog-warning");
     this.Update.ShortLabel = Mono.Unix.Catalog.GetString("Update");
     w2.Add(this.Update, null);
     this.Exit2            = new Gtk.ToggleAction("Exit2", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
     this.Exit2.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
     w2.Add(this.Exit2, null);
     this.AddFile            = new Gtk.Action("AddFile", Mono.Unix.Catalog.GetString("Add File"), null, "gtk-add");
     this.AddFile.ShortLabel = Mono.Unix.Catalog.GetString("Add File");
     w2.Add(this.AddFile, null);
     this.About            = new Gtk.Action("About", Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.About.ShortLabel = Mono.Unix.Catalog.GetString("About");
     w2.Add(this.About, null);
     this.About3            = new Gtk.Action("About3", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.About3.ShortLabel = Mono.Unix.Catalog.GetString("_About");
     w2.Add(this.About3, null);
     w1.InsertActionGroup(w2, 0);
     this.AddAccelGroup(w1.AccelGroup);
     this.WidthRequest   = 360;
     this.Name           = "MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("Mp3 Player");
     this.Icon           = Stetic.IconLoader.LoadIcon("stock_headphones", 16);
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.MainFixedWindow = new Gtk.Fixed();
     this.MainFixedWindow.WidthRequest  = 0;
     this.MainFixedWindow.HeightRequest = 640;
     this.MainFixedWindow.Name          = "MainFixedWindow";
     this.MainFixedWindow.HasWindow     = false;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.bottomStatusBar = new Gtk.Statusbar();
     this.bottomStatusBar.WidthRequest  = 363;
     this.bottomStatusBar.HeightRequest = 17;
     this.bottomStatusBar.Name          = "bottomStatusBar";
     this.bottomStatusBar.Spacing       = 6;
     this.MainFixedWindow.Add(this.bottomStatusBar);
     Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.bottomStatusBar]));
     w3.X = 1;
     w3.Y = 624;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     w1.AddUiFromString("<ui><menubar name='menubar'><menu action='Options'><menuitem action='NewCollection'/><menuitem action='AddFolder'/><menuitem action='AddFile'/><menuitem action='Preferences'/><menuitem action='Exit1'/></menu><menu action='About'><menuitem action='About3'/></menu></menubar></ui>");
     this.menubar = ((Gtk.MenuBar)(w1.GetWidget("/menubar")));
     this.menubar.WidthRequest = 370;
     this.menubar.HasDefault   = true;
     this.menubar.CanFocus     = true;
     this.menubar.Name         = "menubar";
     this.MainFixedWindow.Add(this.menubar);
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.musicButtonBox         = new Gtk.HBox();
     this.musicButtonBox.Name    = "musicButtonBox";
     this.musicButtonBox.Spacing = 6;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.playButton              = new Gtk.Button();
     this.playButton.CanFocus     = true;
     this.playButton.Name         = "playButton";
     this.playButton.UseUnderline = true;
     // Container child playButton.Gtk.Container+ContainerChild
     Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w5.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w6 = new Gtk.HBox();
     w6.Name    = "GtkHBox";
     w6.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w7 = new Gtk.Image();
     w7.Name   = "image35";
     w7.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-play", 16);
     w6.Add(w7);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w9 = new Gtk.Label();
     w9.Name      = "GtkLabel";
     w9.LabelProp = "";
     w6.Add(w9);
     w5.Add(w6);
     this.playButton.Add(w5);
     this.musicButtonBox.Add(this.playButton);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.playButton]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.stopButton              = new Gtk.Button();
     this.stopButton.CanFocus     = true;
     this.stopButton.Name         = "stopButton";
     this.stopButton.UseUnderline = true;
     // Container child stopButton.Gtk.Container+ContainerChild
     Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w14.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w15 = new Gtk.HBox();
     w15.Name    = "GtkHBox";
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w16 = new Gtk.Image();
     w16.Name   = "image36";
     w16.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-stop", 16);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w18 = new Gtk.Label();
     w18.Name      = "GtkLabel";
     w18.LabelProp = "";
     w15.Add(w18);
     w14.Add(w15);
     this.stopButton.Add(w14);
     this.musicButtonBox.Add(this.stopButton);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.stopButton]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.previousButton              = new Gtk.Button();
     this.previousButton.CanFocus     = true;
     this.previousButton.Name         = "previousButton";
     this.previousButton.UseUnderline = true;
     // Container child previousButton.Gtk.Container+ContainerChild
     Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w23.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w24 = new Gtk.HBox();
     w24.Name    = "GtkHBox";
     w24.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w25 = new Gtk.Image();
     w25.Name   = "image37";
     w25.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-prev", 16);
     w24.Add(w25);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w27 = new Gtk.Label();
     w27.Name      = "GtkLabel";
     w27.LabelProp = "";
     w24.Add(w27);
     w23.Add(w24);
     this.previousButton.Add(w23);
     this.musicButtonBox.Add(this.previousButton);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.previousButton]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.nextButton              = new Gtk.Button();
     this.nextButton.CanFocus     = true;
     this.nextButton.Name         = "nextButton";
     this.nextButton.UseUnderline = true;
     // Container child nextButton.Gtk.Container+ContainerChild
     Gtk.Alignment w32 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w32.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w33 = new Gtk.HBox();
     w33.Name    = "GtkHBox";
     w33.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w34 = new Gtk.Image();
     w34.Name   = "image38";
     w34.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-next", 16);
     w33.Add(w34);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w36 = new Gtk.Label();
     w36.Name      = "GtkLabel";
     w36.LabelProp = "";
     w33.Add(w36);
     w32.Add(w33);
     this.nextButton.Add(w32);
     this.musicButtonBox.Add(this.nextButton);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.nextButton]));
     w40.Position = 3;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.rewindButton              = new Gtk.Button();
     this.rewindButton.CanFocus     = true;
     this.rewindButton.Name         = "rewindButton";
     this.rewindButton.UseUnderline = true;
     // Container child rewindButton.Gtk.Container+ContainerChild
     Gtk.Alignment w41 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w41.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w42 = new Gtk.HBox();
     w42.Name    = "GtkHBox";
     w42.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w43 = new Gtk.Image();
     w43.Name   = "image39";
     w43.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-rew", 16);
     w42.Add(w43);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w45 = new Gtk.Label();
     w45.Name      = "GtkLabel";
     w45.LabelProp = "";
     w42.Add(w45);
     w41.Add(w42);
     this.rewindButton.Add(w41);
     this.musicButtonBox.Add(this.rewindButton);
     Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.rewindButton]));
     w49.Position = 4;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.fastfoward              = new Gtk.Button();
     this.fastfoward.CanFocus     = true;
     this.fastfoward.Name         = "fastfoward";
     this.fastfoward.UseUnderline = true;
     // Container child fastfoward.Gtk.Container+ContainerChild
     Gtk.Alignment w50 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w50.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w51 = new Gtk.HBox();
     w51.Name    = "GtkHBox";
     w51.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w52 = new Gtk.Image();
     w52.Name   = "image40";
     w52.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-fwd", 16);
     w51.Add(w52);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w54 = new Gtk.Label();
     w54.Name      = "GtkLabel";
     w54.LabelProp = "";
     w51.Add(w54);
     w50.Add(w51);
     this.fastfoward.Add(w50);
     this.musicButtonBox.Add(this.fastfoward);
     Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.fastfoward]));
     w58.Position = 5;
     w58.Expand   = false;
     w58.Fill     = false;
     this.MainFixedWindow.Add(this.musicButtonBox);
     Gtk.Fixed.FixedChild w59 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.musicButtonBox]));
     w59.X = 127;
     w59.Y = 120;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.songProgressBar = new Gtk.ProgressBar();
     this.songProgressBar.WidthRequest = 199;
     this.songProgressBar.Name         = "songProgressBar";
     this.songProgressBar.Text         = Mono.Unix.Catalog.GetString("00:00 / 00:00");
     this.MainFixedWindow.Add(this.songProgressBar);
     Gtk.Fixed.FixedChild w60 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.songProgressBar]));
     w60.X = 132;
     w60.Y = 90;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.volumeScale = new Gtk.HScale(null);
     this.volumeScale.WidthRequest             = 80;
     this.volumeScale.CanFocus                 = true;
     this.volumeScale.Name                     = "volumeScale";
     this.volumeScale.Adjustment.Upper         = 1;
     this.volumeScale.Adjustment.PageIncrement = 0.5;
     this.volumeScale.Adjustment.StepIncrement = 0.1;
     this.volumeScale.Adjustment.Value         = 1;
     this.volumeScale.DrawValue                = false;
     this.volumeScale.Digits                   = 0;
     this.volumeScale.ValuePos                 = ((Gtk.PositionType)(2));
     this.MainFixedWindow.Add(this.volumeScale);
     Gtk.Fixed.FixedChild w61 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.volumeScale]));
     w61.X = 3;
     w61.Y = 126;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.muteButton              = new Gtk.Button();
     this.muteButton.CanFocus     = true;
     this.muteButton.Name         = "muteButton";
     this.muteButton.UseUnderline = true;
     // Container child muteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w62 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w62.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w63 = new Gtk.HBox();
     w63.Name    = "GtkHBox";
     w63.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w64 = new Gtk.Image();
     w64.Name   = "image41";
     w64.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cancel", 16);
     w63.Add(w64);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w66 = new Gtk.Label();
     w66.Name      = "GtkLabel";
     w66.LabelProp = "";
     w63.Add(w66);
     w62.Add(w63);
     this.muteButton.Add(w62);
     this.MainFixedWindow.Add(this.muteButton);
     Gtk.Fixed.FixedChild w70 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.muteButton]));
     w70.X = 90;
     w70.Y = 120;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.volumeButton              = new Gtk.Button();
     this.volumeButton.CanFocus     = true;
     this.volumeButton.Name         = "volumeButton";
     this.volumeButton.UseUnderline = true;
     // Container child volumeButton.Gtk.Container+ContainerChild
     Gtk.Alignment w71 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w71.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w72 = new Gtk.HBox();
     w72.Name    = "GtkHBox";
     w72.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w73 = new Gtk.Image();
     w73.Name   = "image42";
     w73.Pixbuf = Stetic.IconLoader.LoadIcon("stock_volume", 16);
     w72.Add(w73);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w75 = new Gtk.Label();
     w75.Name      = "GtkLabel";
     w75.LabelProp = "";
     w72.Add(w75);
     w71.Add(w72);
     this.volumeButton.Add(w71);
     this.MainFixedWindow.Add(this.volumeButton);
     Gtk.Fixed.FixedChild w79 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.volumeButton]));
     w79.X = 90;
     w79.Y = 120;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.npSong           = new Gtk.Label();
     this.npSong.Name      = "npSong";
     this.npSong.LabelProp = Mono.Unix.Catalog.GetString("Stopped");
     this.npSong.UseMarkup = true;
     this.MainFixedWindow.Add(this.npSong);
     Gtk.Fixed.FixedChild w80 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.npSong]));
     w80.X = 115;
     w80.Y = 35;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.npByFrom = new Gtk.Label();
     this.npByFrom.WidthRequest = 231;
     this.npByFrom.Name         = "npByFrom";
     this.npByFrom.LabelProp    = Mono.Unix.Catalog.GetString("       ");
     this.npByFrom.UseMarkup    = true;
     this.npByFrom.Wrap         = true;
     this.MainFixedWindow.Add(this.npByFrom);
     Gtk.Fixed.FixedChild w81 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.npByFrom]));
     w81.X = 121;
     w81.Y = 49;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.albumCoverImage        = new Gtk.Image();
     this.albumCoverImage.Name   = "albumCoverImage";
     this.albumCoverImage.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cdrom", 48);
     this.MainFixedWindow.Add(this.albumCoverImage);
     Gtk.Fixed.FixedChild w82 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.albumCoverImage]));
     w82.X = 24;
     w82.Y = 62;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.tabbedNotebook             = new Gtk.Notebook();
     this.tabbedNotebook.CanFocus    = true;
     this.tabbedNotebook.Name        = "tabbedNotebook";
     this.tabbedNotebook.CurrentPage = 1;
     this.tabbedNotebook.Scrollable  = true;
     // Container child tabbedNotebook.Gtk.Notebook+NotebookChild
     this.searchVertBox         = new Gtk.VBox();
     this.searchVertBox.Name    = "searchVertBox";
     this.searchVertBox.Spacing = 6;
     // Container child searchVertBox.Gtk.Box+BoxChild
     this.searchTopHorBox             = new Gtk.HBox();
     this.searchTopHorBox.Name        = "searchTopHorBox";
     this.searchTopHorBox.Spacing     = 6;
     this.searchTopHorBox.BorderWidth = ((uint)(4));
     // Container child searchTopHorBox.Gtk.Box+BoxChild
     this.searchSelectionType = Gtk.ComboBox.NewText();
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Song"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Artist"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Album"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Track #"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Year"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Genre"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Filename"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("All Fields"));
     this.searchSelectionType.WidthRequest = 75;
     this.searchSelectionType.Name         = "searchSelectionType";
     this.searchSelectionType.Active       = 7;
     this.searchTopHorBox.Add(this.searchSelectionType);
     Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.searchTopHorBox[this.searchSelectionType]));
     w83.Position = 0;
     w83.Expand   = false;
     w83.Fill     = false;
     // Container child searchTopHorBox.Gtk.Box+BoxChild
     this.searchEntry = new Gtk.Entry();
     this.searchEntry.WidthRequest  = 246;
     this.searchEntry.HeightRequest = 23;
     this.searchEntry.HasDefault    = true;
     this.searchEntry.CanFocus      = true;
     this.searchEntry.Name          = "searchEntry";
     this.searchEntry.IsEditable    = true;
     this.searchEntry.InvisibleChar = '●';
     this.searchTopHorBox.Add(this.searchEntry);
     Gtk.Box.BoxChild w84 = ((Gtk.Box.BoxChild)(this.searchTopHorBox[this.searchEntry]));
     w84.Position = 1;
     this.searchVertBox.Add(this.searchTopHorBox);
     Gtk.Box.BoxChild w85 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchTopHorBox]));
     w85.Position = 0;
     w85.Expand   = false;
     w85.Fill     = false;
     // Container child searchVertBox.Gtk.Box+BoxChild
     this.searchList = new Gtk.ScrolledWindow();
     this.searchList.WidthRequest     = 329;
     this.searchList.HeightRequest    = 358;
     this.searchList.CanFocus         = true;
     this.searchList.Name             = "searchList";
     this.searchList.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.searchList.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child searchList.Gtk.Container+ContainerChild
     this.songListTree             = new Gtk.TreeView();
     this.songListTree.CanFocus    = true;
     this.songListTree.Name        = "songListTree";
     this.songListTree.Reorderable = true;
     this.searchList.Add(this.songListTree);
     this.searchVertBox.Add(this.searchList);
     Gtk.Box.BoxChild w87 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchList]));
     w87.Position = 1;
     // Container child searchVertBox.Gtk.Box+BoxChild
     this.searchBottomHorizonalBox             = new Gtk.HBox();
     this.searchBottomHorizonalBox.Name        = "searchBottomHorizonalBox";
     this.searchBottomHorizonalBox.Spacing     = 6;
     this.searchBottomHorizonalBox.BorderWidth = ((uint)(2));
     // Container child searchBottomHorizonalBox.Gtk.Box+BoxChild
     this.searchAddButton              = new Gtk.Button();
     this.searchAddButton.CanFocus     = true;
     this.searchAddButton.Name         = "searchAddButton";
     this.searchAddButton.UseUnderline = true;
     // Container child searchAddButton.Gtk.Container+ContainerChild
     Gtk.Alignment w88 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w88.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w89 = new Gtk.HBox();
     w89.Name    = "GtkHBox";
     w89.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w90 = new Gtk.Image();
     w90.Name   = "image43";
     w90.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-add", 16);
     w89.Add(w90);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w92 = new Gtk.Label();
     w92.Name         = "GtkLabel";
     w92.LabelProp    = Mono.Unix.Catalog.GetString("Add");
     w92.UseUnderline = true;
     w89.Add(w92);
     w88.Add(w89);
     this.searchAddButton.Add(w88);
     this.searchBottomHorizonalBox.Add(this.searchAddButton);
     Gtk.Box.BoxChild w96 = ((Gtk.Box.BoxChild)(this.searchBottomHorizonalBox[this.searchAddButton]));
     w96.Position = 2;
     w96.Expand   = false;
     w96.Fill     = false;
     this.searchVertBox.Add(this.searchBottomHorizonalBox);
     Gtk.Box.BoxChild w97 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchBottomHorizonalBox]));
     w97.Position = 2;
     w97.Expand   = false;
     w97.Fill     = false;
     this.tabbedNotebook.Add(this.searchVertBox);
     Gtk.Notebook.NotebookChild w98 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.searchVertBox]));
     w98.TabExpand = false;
     // Notebook tab
     this.searchMainLabel = new Gtk.Label();
     this.searchMainLabel.WidthRequest = 100;
     this.searchMainLabel.Name         = "searchMainLabel";
     this.searchMainLabel.LabelProp    = Mono.Unix.Catalog.GetString("Collection");
     this.tabbedNotebook.SetTabLabel(this.searchVertBox, this.searchMainLabel);
     // Container child tabbedNotebook.Gtk.Notebook+NotebookChild
     this.queueVertBox             = new Gtk.VBox();
     this.queueVertBox.Name        = "queueVertBox";
     this.queueVertBox.Spacing     = 9;
     this.queueVertBox.BorderWidth = ((uint)(3));
     // Container child queueVertBox.Gtk.Box+BoxChild
     this.queueScrolledList                  = new Gtk.ScrolledWindow();
     this.queueScrolledList.CanFocus         = true;
     this.queueScrolledList.Name             = "queueScrolledList";
     this.queueScrolledList.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.queueScrolledList.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.queueScrolledList.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child queueScrolledList.Gtk.Container+ContainerChild
     this.queueTreeView          = new Gtk.TreeView();
     this.queueTreeView.CanFocus = true;
     this.queueTreeView.Name     = "queueTreeView";
     this.queueScrolledList.Add(this.queueTreeView);
     this.queueVertBox.Add(this.queueScrolledList);
     Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.queueVertBox[this.queueScrolledList]));
     w100.Position = 0;
     // Container child queueVertBox.Gtk.Box+BoxChild
     this.queueBottomHorBox         = new Gtk.HBox();
     this.queueBottomHorBox.Name    = "queueBottomHorBox";
     this.queueBottomHorBox.Spacing = 6;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueNewPlaylist          = new Gtk.Button();
     this.queueNewPlaylist.CanFocus = true;
     this.queueNewPlaylist.Name     = "queueNewPlaylist";
     // Container child queueNewPlaylist.Gtk.Container+ContainerChild
     Gtk.Alignment w101 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w101.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w102 = new Gtk.HBox();
     w102.Name    = "GtkHBox";
     w102.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w103 = new Gtk.Image();
     w103.Name   = "image44";
     w103.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-file", 16);
     w102.Add(w103);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w105 = new Gtk.Label();
     w105.Name      = "GtkLabel";
     w105.LabelProp = "";
     w102.Add(w105);
     w101.Add(w102);
     this.queueNewPlaylist.Add(w101);
     this.queueBottomHorBox.Add(this.queueNewPlaylist);
     Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueNewPlaylist]));
     w109.Position = 0;
     w109.Expand   = false;
     w109.Fill     = false;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueDeleteButton              = new Gtk.Button();
     this.queueDeleteButton.CanFocus     = true;
     this.queueDeleteButton.Name         = "queueDeleteButton";
     this.queueDeleteButton.UseUnderline = true;
     // Container child queueDeleteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w110 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w110.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w111 = new Gtk.HBox();
     w111.Name    = "GtkHBox";
     w111.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w112 = new Gtk.Image();
     w112.Name   = "image45";
     w112.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-delete", 16);
     w111.Add(w112);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w114 = new Gtk.Label();
     w114.Name      = "GtkLabel";
     w114.LabelProp = "";
     w111.Add(w114);
     w110.Add(w111);
     this.queueDeleteButton.Add(w110);
     this.queueBottomHorBox.Add(this.queueDeleteButton);
     Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueDeleteButton]));
     w118.Position = 1;
     w118.Expand   = false;
     w118.Fill     = false;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Playlist Name");
     this.queueBottomHorBox.Add(this.label4);
     Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.label4]));
     w119.Position = 2;
     w119.Expand   = false;
     w119.Fill     = false;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueEntryBox = new Gtk.Entry();
     this.queueEntryBox.WidthRequest  = 3;
     this.queueEntryBox.CanFocus      = true;
     this.queueEntryBox.Name          = "queueEntryBox";
     this.queueEntryBox.IsEditable    = true;
     this.queueEntryBox.InvisibleChar = '●';
     this.queueBottomHorBox.Add(this.queueEntryBox);
     Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueEntryBox]));
     w120.Position = 3;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueSaveButton              = new Gtk.Button();
     this.queueSaveButton.CanFocus     = true;
     this.queueSaveButton.Name         = "queueSaveButton";
     this.queueSaveButton.UseUnderline = true;
     this.queueSaveButton.Label        = Mono.Unix.Catalog.GetString("Save");
     this.queueBottomHorBox.Add(this.queueSaveButton);
     Gtk.Box.BoxChild w121 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueSaveButton]));
     w121.Position = 4;
     w121.Expand   = false;
     w121.Fill     = false;
     this.queueVertBox.Add(this.queueBottomHorBox);
     Gtk.Box.BoxChild w122 = ((Gtk.Box.BoxChild)(this.queueVertBox[this.queueBottomHorBox]));
     w122.Position = 1;
     w122.Expand   = false;
     w122.Fill     = false;
     this.tabbedNotebook.Add(this.queueVertBox);
     Gtk.Notebook.NotebookChild w123 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.queueVertBox]));
     w123.Position  = 1;
     w123.TabExpand = false;
     // Notebook tab
     this.queueMainLabel = new Gtk.Label();
     this.queueMainLabel.WidthRequest = 100;
     this.queueMainLabel.Name         = "queueMainLabel";
     this.queueMainLabel.LabelProp    = Mono.Unix.Catalog.GetString("Current Songs");
     this.tabbedNotebook.SetTabLabel(this.queueVertBox, this.queueMainLabel);
     // Container child tabbedNotebook.Gtk.Notebook+NotebookChild
     this.playlistVertBox             = new Gtk.VBox();
     this.playlistVertBox.Name        = "playlistVertBox";
     this.playlistVertBox.Spacing     = 6;
     this.playlistVertBox.BorderWidth = ((uint)(3));
     // Container child playlistVertBox.Gtk.Box+BoxChild
     this.playListScrolledWindow                  = new Gtk.ScrolledWindow();
     this.playListScrolledWindow.CanFocus         = true;
     this.playListScrolledWindow.Name             = "playListScrolledWindow";
     this.playListScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.playListScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.playListScrolledWindow.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child playListScrolledWindow.Gtk.Container+ContainerChild
     this.playListTreeView          = new Gtk.TreeView();
     this.playListTreeView.CanFocus = true;
     this.playListTreeView.Name     = "playListTreeView";
     this.playListScrolledWindow.Add(this.playListTreeView);
     this.playlistVertBox.Add(this.playListScrolledWindow);
     Gtk.Box.BoxChild w125 = ((Gtk.Box.BoxChild)(this.playlistVertBox[this.playListScrolledWindow]));
     w125.Position = 0;
     // Container child playlistVertBox.Gtk.Box+BoxChild
     this.playListBottomBox         = new Gtk.HBox();
     this.playListBottomBox.Name    = "playListBottomBox";
     this.playListBottomBox.Spacing = 6;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playListNewButton              = new Gtk.Button();
     this.playListNewButton.CanFocus     = true;
     this.playListNewButton.Name         = "playListNewButton";
     this.playListNewButton.UseUnderline = true;
     // Container child playListNewButton.Gtk.Container+ContainerChild
     Gtk.Alignment w126 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w126.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w127 = new Gtk.HBox();
     w127.Name    = "GtkHBox";
     w127.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w128 = new Gtk.Image();
     w128.Name   = "image46";
     w128.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-file", 16);
     w127.Add(w128);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w130 = new Gtk.Label();
     w130.Name         = "GtkLabel";
     w130.LabelProp    = Mono.Unix.Catalog.GetString("New");
     w130.UseUnderline = true;
     w127.Add(w130);
     w126.Add(w127);
     this.playListNewButton.Add(w126);
     this.playListBottomBox.Add(this.playListNewButton);
     Gtk.Box.BoxChild w134 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListNewButton]));
     w134.Position = 0;
     w134.Expand   = false;
     w134.Fill     = false;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playListLoadButton              = new Gtk.Button();
     this.playListLoadButton.CanFocus     = true;
     this.playListLoadButton.Name         = "playListLoadButton";
     this.playListLoadButton.UseUnderline = true;
     // Container child playListLoadButton.Gtk.Container+ContainerChild
     Gtk.Alignment w135 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w135.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w136 = new Gtk.HBox();
     w136.Name    = "GtkHBox";
     w136.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w137 = new Gtk.Image();
     w137.Name   = "image47";
     w137.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-directory", 16);
     w136.Add(w137);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w139 = new Gtk.Label();
     w139.Name         = "GtkLabel";
     w139.LabelProp    = Mono.Unix.Catalog.GetString("Load");
     w139.UseUnderline = true;
     w136.Add(w139);
     w135.Add(w136);
     this.playListLoadButton.Add(w135);
     this.playListBottomBox.Add(this.playListLoadButton);
     Gtk.Box.BoxChild w143 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListLoadButton]));
     w143.Position = 1;
     w143.Expand   = false;
     w143.Fill     = false;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playlistRenameButton              = new Gtk.Button();
     this.playlistRenameButton.CanFocus     = true;
     this.playlistRenameButton.Name         = "playlistRenameButton";
     this.playlistRenameButton.UseUnderline = true;
     // Container child playlistRenameButton.Gtk.Container+ContainerChild
     Gtk.Alignment w144 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w144.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w145 = new Gtk.HBox();
     w145.Name    = "GtkHBox";
     w145.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w146 = new Gtk.Image();
     w146.Name   = "image48";
     w146.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-edit", 16);
     w145.Add(w146);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w148 = new Gtk.Label();
     w148.Name         = "GtkLabel";
     w148.LabelProp    = Mono.Unix.Catalog.GetString("Edit");
     w148.UseUnderline = true;
     w145.Add(w148);
     w144.Add(w145);
     this.playlistRenameButton.Add(w144);
     this.playListBottomBox.Add(this.playlistRenameButton);
     Gtk.Box.BoxChild w152 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playlistRenameButton]));
     w152.Position = 2;
     w152.Expand   = false;
     w152.Fill     = false;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playListDeleteButton              = new Gtk.Button();
     this.playListDeleteButton.CanFocus     = true;
     this.playListDeleteButton.Name         = "playListDeleteButton";
     this.playListDeleteButton.UseUnderline = true;
     // Container child playListDeleteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w153 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w153.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w154 = new Gtk.HBox();
     w154.Name    = "GtkHBox";
     w154.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w155 = new Gtk.Image();
     w155.Name   = "image49";
     w155.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-delete", 16);
     w154.Add(w155);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w157 = new Gtk.Label();
     w157.Name         = "GtkLabel";
     w157.LabelProp    = Mono.Unix.Catalog.GetString("Delete");
     w157.UseUnderline = true;
     w154.Add(w157);
     w153.Add(w154);
     this.playListDeleteButton.Add(w153);
     this.playListBottomBox.Add(this.playListDeleteButton);
     Gtk.Box.BoxChild w161 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListDeleteButton]));
     w161.Position = 3;
     w161.Expand   = false;
     w161.Fill     = false;
     this.playlistVertBox.Add(this.playListBottomBox);
     Gtk.Box.BoxChild w162 = ((Gtk.Box.BoxChild)(this.playlistVertBox[this.playListBottomBox]));
     w162.PackType = ((Gtk.PackType)(1));
     w162.Position = 1;
     w162.Expand   = false;
     w162.Fill     = false;
     this.tabbedNotebook.Add(this.playlistVertBox);
     Gtk.Notebook.NotebookChild w163 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.playlistVertBox]));
     w163.Position  = 2;
     w163.TabExpand = false;
     // Notebook tab
     this.playListMainLabel = new Gtk.Label();
     this.playListMainLabel.WidthRequest = 100;
     this.playListMainLabel.Name         = "playListMainLabel";
     this.playListMainLabel.LabelProp    = Mono.Unix.Catalog.GetString("Playlists");
     this.tabbedNotebook.SetTabLabel(this.playlistVertBox, this.playListMainLabel);
     this.MainFixedWindow.Add(this.tabbedNotebook);
     Gtk.Fixed.FixedChild w164 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.tabbedNotebook]));
     w164.X = 10;
     w164.Y = 159;
     this.Add(this.MainFixedWindow);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 562;
     this.DefaultHeight = 662;
     this.muteButton.Hide();
     this.Show();
     this.DeleteEvent                  += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.AddFolder.Activated          += new System.EventHandler(this.OnAddFolderActivated);
     this.NewCollection.Activated      += new System.EventHandler(this.OnNewCollectionActivated);
     this.Preferences.Activated        += new System.EventHandler(this.OnPreferencesActivated);
     this.Exit1.Activated              += new System.EventHandler(this.OnExit1Activated);
     this.AddFile.Activated            += new System.EventHandler(this.OnAddFileActivated);
     this.About3.Activated             += new System.EventHandler(this.OnAbout3Activated);
     this.playButton.Clicked           += new System.EventHandler(this.OnPlayButtonClicked);
     this.stopButton.Clicked           += new System.EventHandler(this.OnStopButtonClicked);
     this.previousButton.Clicked       += new System.EventHandler(this.OnPreviousButtonClicked);
     this.nextButton.Clicked           += new System.EventHandler(this.OnNextButtonClicked);
     this.rewindButton.Clicked         += new System.EventHandler(this.OnRewindClicked);
     this.fastfoward.Clicked           += new System.EventHandler(this.OnFastfowardClicked);
     this.volumeScale.ValueChanged     += new System.EventHandler(this.OnVolumeScaleValueChanged);
     this.muteButton.Clicked           += new System.EventHandler(this.OnMuteButtonClicked);
     this.volumeButton.Clicked         += new System.EventHandler(this.OnVolumeButtonClicked);
     this.searchAddButton.Clicked      += new System.EventHandler(this.OnSearchAddButtonClicked);
     this.queueNewPlaylist.Clicked     += new System.EventHandler(this.OnQueueNewPlaylistClicked);
     this.queueDeleteButton.Clicked    += new System.EventHandler(this.OnQueueDeleteButtonClicked);
     this.queueSaveButton.Clicked      += new System.EventHandler(this.OnQueueSaveButtonClicked);
     this.playListNewButton.Clicked    += new System.EventHandler(this.OnPlayListNewButtonClicked);
     this.playListLoadButton.Clicked   += new System.EventHandler(this.OnPlayListLoadButtonClicked);
     this.playListDeleteButton.Clicked += new System.EventHandler(this.OnPlayListDeleteButtonClicked);
 }
Пример #52
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget RememberTheMilk.Configuration
     Stetic.BinContainer.Attach(this);
     this.Name = "RememberTheMilk.Configuration";
     // Container child RememberTheMilk.Configuration.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.account_frm             = new Gtk.Frame();
     this.account_frm.Name        = "account_frm";
     this.account_frm.ShadowType  = ((Gtk.ShadowType)(0));
     this.account_frm.BorderWidth = ((uint)(2));
     // Container child account_frm.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox5             = new Gtk.VBox();
     this.vbox5.Name        = "vbox5";
     this.vbox5.Spacing     = 6;
     this.vbox5.BorderWidth = ((uint)(5));
     // Container child vbox5.Gtk.Box+BoxChild
     this.authinfo_lbl           = new Gtk.Label();
     this.authinfo_lbl.Name      = "authinfo_lbl";
     this.authinfo_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Do needs your authorization in order to manage tasks in your Remember The Milk account. Press the \"Authorize\" button to open a web browser and give Do authorization.");
     this.authinfo_lbl.Wrap      = true;
     this.vbox5.Add(this.authinfo_lbl);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox5[this.authinfo_lbl]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixed5           = new Gtk.Fixed();
     this.fixed5.Name      = "fixed5";
     this.fixed5.HasWindow = false;
     this.hbox1.Add(this.fixed5);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed5]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.auth_btn              = new Gtk.Button();
     this.auth_btn.CanFocus     = true;
     this.auth_btn.Name         = "auth_btn";
     this.auth_btn.UseUnderline = true;
     // Container child auth_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.LabelProp    = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Authorize");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.auth_btn.Add(w3);
     this.hbox1.Add(this.auth_btn);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.auth_btn]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixed1           = new Gtk.Fixed();
     this.fixed1.Name      = "fixed1";
     this.fixed1.HasWindow = false;
     this.hbox1.Add(this.fixed1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed1]));
     w12.Position = 2;
     this.vbox5.Add(this.hbox1);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.fixed6           = new Gtk.Fixed();
     this.fixed6.Name      = "fixed6";
     this.fixed6.HasWindow = false;
     this.vbox5.Add(this.fixed6);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox5[this.fixed6]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     this.GtkAlignment.Add(this.vbox5);
     this.account_frm.Add(this.GtkAlignment);
     this.GtkLabel1               = new Gtk.Label();
     this.GtkLabel1.Name          = "GtkLabel1";
     this.GtkLabel1.LabelProp     = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Account</b>");
     this.GtkLabel1.UseMarkup     = true;
     this.account_frm.LabelWidget = this.GtkLabel1;
     this.vbox1.Add(this.account_frm);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox1[this.account_frm]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notification_frm             = new Gtk.Frame();
     this.notification_frm.Sensitive   = false;
     this.notification_frm.Name        = "notification_frm";
     this.notification_frm.ShadowType  = ((Gtk.ShadowType)(0));
     this.notification_frm.BorderWidth = ((uint)(2));
     // Container child notification_frm.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox3             = new Gtk.VBox();
     this.vbox3.Name        = "vbox3";
     this.vbox3.Spacing     = 6;
     this.vbox3.BorderWidth = ((uint)(5));
     // Container child vbox3.Gtk.Box+BoxChild
     this.table1               = new Gtk.Table(((uint)(1)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.minute_lbl           = new Gtk.Label();
     this.minute_lbl.Name      = "minute_lbl";
     this.minute_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("minute(s)");
     this.table1.Add(this.minute_lbl);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.minute_lbl]));
     w18.LeftAttach  = ((uint)(2));
     w18.RightAttach = ((uint)(3));
     w18.XOptions    = ((Gtk.AttachOptions)(4));
     w18.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.overdue_chkbtn               = new Gtk.CheckButton();
     this.overdue_chkbtn.CanFocus      = true;
     this.overdue_chkbtn.Name          = "overdue_chkbtn";
     this.overdue_chkbtn.Label         = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Notify overdue task(s) every");
     this.overdue_chkbtn.DrawIndicator = true;
     this.overdue_chkbtn.UseUnderline  = true;
     this.table1.Add(this.overdue_chkbtn);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.overdue_chkbtn]));
     w19.XOptions = ((Gtk.AttachOptions)(6));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.overdue_interval_spinbtn          = new Gtk.SpinButton(1, 9999, 1);
     this.overdue_interval_spinbtn.CanFocus = true;
     this.overdue_interval_spinbtn.Name     = "overdue_interval_spinbtn";
     this.overdue_interval_spinbtn.Adjustment.PageIncrement = 10;
     this.overdue_interval_spinbtn.ClimbRate = 1;
     this.overdue_interval_spinbtn.Numeric   = true;
     this.overdue_interval_spinbtn.Value     = 1;
     this.table1.Add(this.overdue_interval_spinbtn);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.overdue_interval_spinbtn]));
     w20.LeftAttach  = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.XPadding    = ((uint)(5));
     w20.XOptions    = ((Gtk.AttachOptions)(6));
     w20.YOptions    = ((Gtk.AttachOptions)(4));
     this.vbox3.Add(this.table1);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.confirm_chkbtn               = new Gtk.CheckButton();
     this.confirm_chkbtn.CanFocus      = true;
     this.confirm_chkbtn.Name          = "confirm_chkbtn";
     this.confirm_chkbtn.Label         = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show notification when actions are completed");
     this.confirm_chkbtn.DrawIndicator = true;
     this.confirm_chkbtn.UseUnderline  = true;
     this.vbox3.Add(this.confirm_chkbtn);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox3[this.confirm_chkbtn]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.returnnew_chkbtn               = new Gtk.CheckButton();
     this.returnnew_chkbtn.CanFocus      = true;
     this.returnnew_chkbtn.Name          = "returnnew_chkbtn";
     this.returnnew_chkbtn.Label         = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Return the newly created task");
     this.returnnew_chkbtn.DrawIndicator = true;
     this.returnnew_chkbtn.UseUnderline  = true;
     this.vbox3.Add(this.returnnew_chkbtn);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.returnnew_chkbtn]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.GtkAlignment2.Add(this.vbox3);
     this.notification_frm.Add(this.GtkAlignment2);
     this.GtkLabel5                    = new Gtk.Label();
     this.GtkLabel5.Name               = "GtkLabel5";
     this.GtkLabel5.LabelProp          = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Interactivity</b>");
     this.GtkLabel5.UseMarkup          = true;
     this.notification_frm.LabelWidget = this.GtkLabel5;
     this.vbox1.Add(this.notification_frm);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox1[this.notification_frm]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.filter_frm             = new Gtk.Frame();
     this.filter_frm.Sensitive   = false;
     this.filter_frm.Name        = "filter_frm";
     this.filter_frm.ShadowType  = ((Gtk.ShadowType)(0));
     this.filter_frm.BorderWidth = ((uint)(2));
     // Container child filter_frm.Gtk.Container+ContainerChild
     this.GtkAlignment3             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name        = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.vbox4             = new Gtk.VBox();
     this.vbox4.Name        = "vbox4";
     this.vbox4.Spacing     = 6;
     this.vbox4.BorderWidth = ((uint)(5));
     // Container child vbox4.Gtk.Box+BoxChild
     this.filter_entry               = new Gtk.Entry();
     this.filter_entry.CanFocus      = true;
     this.filter_entry.Name          = "filter_entry";
     this.filter_entry.IsEditable    = true;
     this.filter_entry.InvisibleChar = '●';
     this.vbox4.Add(this.filter_entry);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.filter_entry]));
     w27.Position = 0;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.filter_desc_lbl           = new Gtk.Label();
     this.filter_desc_lbl.Name      = "filter_desc_lbl";
     this.filter_desc_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("You can enter some advanced search operators here to limit the tasks Do indexes. E.g. \"priority:1 AND status:incomplete\" will force Do to only index all incomplete tasks with high priority.");
     this.filter_desc_lbl.Wrap      = true;
     this.vbox4.Add(this.filter_desc_lbl);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox4[this.filter_desc_lbl]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.info_hbox         = new Gtk.HBox();
     this.info_hbox.Name    = "info_hbox";
     this.info_hbox.Spacing = 6;
     // Container child info_hbox.Gtk.Box+BoxChild
     this.fixed3           = new Gtk.Fixed();
     this.fixed3.Name      = "fixed3";
     this.fixed3.HasWindow = false;
     this.info_hbox.Add(this.fixed3);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed3]));
     w29.Position = 0;
     // Container child info_hbox.Gtk.Box+BoxChild
     this.fixed4           = new Gtk.Fixed();
     this.fixed4.Name      = "fixed4";
     this.fixed4.HasWindow = false;
     this.info_hbox.Add(this.fixed4);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed4]));
     w30.Position = 2;
     this.vbox4.Add(this.info_hbox);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.info_hbox]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     this.GtkAlignment3.Add(this.vbox4);
     this.filter_frm.Add(this.GtkAlignment3);
     this.GtkLabel6              = new Gtk.Label();
     this.GtkLabel6.Name         = "GtkLabel6";
     this.GtkLabel6.LabelProp    = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Filter</b>");
     this.GtkLabel6.UseMarkup    = true;
     this.filter_frm.LabelWidget = this.GtkLabel6;
     this.vbox1.Add(this.filter_frm);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox1[this.filter_frm]));
     w34.Position = 2;
     w34.Expand   = false;
     w34.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.auth_btn.Clicked += new System.EventHandler(this.OnAuthBtnClicked);
     this.overdue_interval_spinbtn.ValueChanged += new System.EventHandler(this.OnOverdueIntervalChanged);
     this.overdue_chkbtn.Clicked   += new System.EventHandler(this.OnOverdueChkbtnClicked);
     this.confirm_chkbtn.Clicked   += new System.EventHandler(this.OnConfirmChkbtnClicked);
     this.returnnew_chkbtn.Clicked += new System.EventHandler(this.OnReturnNewChkBtnClicked);
     this.filter_entry.Changed     += new System.EventHandler(this.OnFilterEntryChanged);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Pinta.Gui.Widgets.PointPickerWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "Pinta.Gui.Widgets.PointPickerWidget";
     // Container child Pinta.Gui.Widgets.PointPickerWidget.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label = new Gtk.Label();
     this.label.Name = "label";
     this.label.LabelProp = Mono.Unix.Catalog.GetString("label");
     this.hbox1.Add(this.label);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.hbox1.Add(this.hseparator1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator1]));
     w2.Position = 1;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.pointpickergraphic1 = new Pinta.Gui.Widgets.PointPickerGraphic();
     this.pointpickergraphic1.Name = "pointpickergraphic1";
     this.hbox2.Add(this.pointpickergraphic1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.pointpickergraphic1]));
     w4.Position = 0;
     w4.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1 = new Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w6 = new Gtk.HBox();
     w6.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w7 = new Gtk.Image();
     w7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w6.Add(w7);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w9 = new Gtk.Label();
     w6.Add(w9);
     w5.Add(w6);
     this.button1.Add(w5);
     this.table1.Add(this.button1);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.button1]));
     w13.LeftAttach = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions = ((Gtk.AttachOptions)(4));
     w13.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.button2 = new Gtk.Button();
     this.button2.CanFocus = true;
     this.button2.Name = "button2";
     this.button2.UseUnderline = true;
     // Container child button2.Gtk.Container+ContainerChild
     Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w15 = new Gtk.HBox();
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w16 = new Gtk.Image();
     w16.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w18 = new Gtk.Label();
     w15.Add(w18);
     w14.Add(w15);
     this.button2.Add(w14);
     this.table1.Add(this.button2);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.button2]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(2));
     w22.RightAttach = ((uint)(3));
     w22.XOptions = ((Gtk.AttachOptions)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("X :");
     this.table1.Add(this.label2);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Y :");
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinX = new Gtk.SpinButton(0, 100, 1);
     this.spinX.CanFocus = true;
     this.spinX.Name = "spinX";
     this.spinX.Adjustment.PageIncrement = 10;
     this.spinX.ClimbRate = 1;
     this.spinX.Numeric = true;
     this.table1.Add(this.spinX);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.spinX]));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((Gtk.AttachOptions)(4));
     w25.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinY = new Gtk.SpinButton(0, 100, 1);
     this.spinY.CanFocus = true;
     this.spinY.Name = "spinY";
     this.spinY.Adjustment.PageIncrement = 10;
     this.spinY.ClimbRate = 1;
     this.spinY.Numeric = true;
     this.table1.Add(this.spinY);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.spinY]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox2[this.table1]));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #54
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Monsoon.EditColumnsDialog
     this.Name           = "Monsoon.EditColumnsDialog";
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Internal child Monsoon.EditColumnsDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.table               = new Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.table.Name          = "table";
     this.table.RowSpacing    = ((uint)(6));
     this.table.ColumnSpacing = ((uint)(6));
     this.GtkAlignment.Add(this.table);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel10           = new Gtk.Label();
     this.GtkLabel10.Name      = "GtkLabel10";
     this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>Visible columns</b>");
     this.GtkLabel10.UseMarkup = true;
     this.frame1.LabelWidget   = this.GtkLabel10;
     w1.Add(this.frame1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.frame1]));
     w4.Position = 0;
     // Internal child Monsoon.EditColumnsDialog.ActionArea
     Gtk.HButtonBox w5 = this.ActionArea;
     w5.Name        = "dialog1_ActionArea";
     w5.Spacing     = 6;
     w5.BorderWidth = ((uint)(5));
     w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button21              = new Gtk.Button();
     this.button21.CanDefault   = true;
     this.button21.CanFocus     = true;
     this.button21.Name         = "button21";
     this.button21.UseUnderline = true;
     // Container child button21.Gtk.Container+ContainerChild
     Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w7 = new Gtk.HBox();
     w7.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w8 = new Gtk.Image();
     w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-close", Gtk.IconSize.Menu, 16);
     w7.Add(w8);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w10.LabelProp    = Mono.Unix.Catalog.GetString("Close");
     w10.UseUnderline = true;
     w7.Add(w10);
     w6.Add(w7);
     this.button21.Add(w6);
     this.AddActionWidget(this.button21, 0);
     Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.button21]));
     w14.Expand = false;
     w14.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 207;
     this.DefaultHeight = 242;
     this.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Mono.Upnp.GtkClient.ActionInvocationWindow
     this.WidthRequest   = 0;
     this.HeightRequest  = 0;
     this.Name           = "Mono.Upnp.GtkClient.ActionInvocationWindow";
     this.Title          = "Invoke Action";
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     this.DefaultWidth   = 0;
     this.DefaultHeight  = 0;
     // Container child Mono.Upnp.GtkClient.ActionInvocationWindow.Gtk.Container+ContainerChild
     this.vbox             = new Gtk.VBox();
     this.vbox.Name        = "vbox";
     this.vbox.Spacing     = 6;
     this.vbox.BorderWidth = ((uint)(6));
     // Container child vbox.Gtk.Box+BoxChild
     this.name           = new Gtk.Label();
     this.name.Name      = "name";
     this.name.Xalign    = 0F;
     this.name.LabelProp = "<big><b>action</b></big>";
     this.name.UseMarkup = true;
     this.vbox.Add(this.name);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox[this.name]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.inputsBox         = new Gtk.VBox();
     this.inputsBox.Name    = "inputsBox";
     this.inputsBox.Spacing = 6;
     this.vbox.Add(this.inputsBox);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox[this.inputsBox]));
     w2.Position = 1;
     // Container child vbox.Gtk.Box+BoxChild
     this.invoke              = new Gtk.Button();
     this.invoke.CanFocus     = true;
     this.invoke.Name         = "invoke";
     this.invoke.UseUnderline = true;
     this.invoke.Relief       = ((Gtk.ReliefStyle)(2));
     // Container child invoke.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.LabelProp    = Mono.Unix.Catalog.GetString("_Invoke");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.invoke.Add(w3);
     this.vbox.Add(this.invoke);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox[this.invoke]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox.Gtk.Box+BoxChild
     this.outputsBox         = new Gtk.VBox();
     this.outputsBox.Name    = "outputsBox";
     this.outputsBox.Spacing = 6;
     this.vbox.Add(this.outputsBox);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox[this.outputsBox]));
     w12.Position = 3;
     this.Add(this.vbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.invoke.Clicked += new System.EventHandler(this.OnInvokeClicked);
 }
Пример #56
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Bot.MainWindow
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
     this.FileAction = new Gtk.Action("FileAction", Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.ConnectAction = new Gtk.Action("ConnectAction", Mono.Unix.Catalog.GetString("Connect"), null, "gtk-connect");
     this.ConnectAction.ShortLabel = Mono.Unix.Catalog.GetString("Connect");
     w1.Add(this.ConnectAction, null);
     this.ResetAction = new Gtk.Action("ResetAction", Mono.Unix.Catalog.GetString("Reset"), null, "gtk-refresh");
     this.ResetAction.ShortLabel = Mono.Unix.Catalog.GetString("Reset");
     w1.Add(this.ResetAction, null);
     this.CloseAction = new Gtk.Action("CloseAction", Mono.Unix.Catalog.GetString("Close"), null, "gtk-stop");
     this.CloseAction.ShortLabel = Mono.Unix.Catalog.GetString("Disconnect");
     w1.Add(this.CloseAction, null);
     this.QuitAction = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit");
     this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("Quit");
     w1.Add(this.QuitAction, null);
     this.EditAction = new Gtk.Action("EditAction", Mono.Unix.Catalog.GetString("Edit"), null, null);
     this.EditAction.ShortLabel = Mono.Unix.Catalog.GetString("Edit");
     w1.Add(this.EditAction, null);
     this.ViewAction = new Gtk.Action("ViewAction", Mono.Unix.Catalog.GetString("View"), null, null);
     this.ViewAction.ShortLabel = Mono.Unix.Catalog.GetString("View");
     w1.Add(this.ViewAction, null);
     this.ToolsAction = new Gtk.Action("ToolsAction", Mono.Unix.Catalog.GetString("Tools"), null, null);
     this.ToolsAction.ShortLabel = Mono.Unix.Catalog.GetString("Tools");
     w1.Add(this.ToolsAction, null);
     this.HelpAction = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.HelpAction1 = new Gtk.Action("HelpAction1", Mono.Unix.Catalog.GetString("Help"), null, "gtk-help");
     this.HelpAction1.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction1, null);
     this.AboutAction = new Gtk.Action("AboutAction", Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.AboutAction.ShortLabel = Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "Bot.MainWindow";
     this.Title = Mono.Unix.Catalog.GetString("Kakaroto's Bot");
     this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_smiley-10", Gtk.IconSize.Menu, 16);
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Gravity = ((Gdk.Gravity)(5));
     // Container child Bot.MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='ConnectAction' action='ConnectAction'/><menuitem name='ResetAction' action='ResetAction'/><menuitem name='CloseAction' action='CloseAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'/><menu name='ViewAction' action='ViewAction'/><menu name='ToolsAction' action='ToolsAction'/><menu name='HelpAction' action='HelpAction'><menuitem name='HelpAction1' action='HelpAction1'/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Homogeneous = true;
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Irc. Server");
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Channel");
     this.hbox1.Add(this.label2);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Port");
     this.hbox1.Add(this.label3);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.label3]));
     w5.Position = 2;
     w5.Expand = false;
     w5.Fill = false;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w6.Position = 1;
     w6.Expand = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entryServer = new Gtk.Entry();
     this.entryServer.CanFocus = true;
     this.entryServer.Name = "entryServer";
     this.entryServer.Text = Mono.Unix.Catalog.GetString("irc.freenode.net");
     this.entryServer.IsEditable = true;
     this.entryServer.InvisibleChar = '●';
     this.hbox3.Add(this.entryServer);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.entryServer]));
     w7.Position = 0;
     w7.Expand = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entryChannel = new Gtk.Entry();
     this.entryChannel.CanFocus = true;
     this.entryChannel.Name = "entryChannel";
     this.entryChannel.Text = Mono.Unix.Catalog.GetString("#gultij");
     this.entryChannel.IsEditable = true;
     this.entryChannel.InvisibleChar = '●';
     this.hbox3.Add(this.entryChannel);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.entryChannel]));
     w8.Position = 1;
     w8.Expand = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entryPort = new Gtk.Entry();
     this.entryPort.CanFocus = true;
     this.entryPort.Name = "entryPort";
     this.entryPort.Text = Mono.Unix.Catalog.GetString("6667");
     this.entryPort.IsEditable = true;
     this.entryPort.InvisibleChar = '●';
     this.hbox3.Add(this.entryPort);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.entryPort]));
     w9.Position = 2;
     w9.Expand = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button1 = new Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w11 = new Gtk.HBox();
     w11.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w12 = new Gtk.Image();
     w12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-connect", Gtk.IconSize.Menu, 16);
     w11.Add(w12);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w14 = new Gtk.Label();
     w14.LabelProp = Mono.Unix.Catalog.GetString("Connect");
     w14.UseUnderline = true;
     w11.Add(w14);
     w10.Add(w11);
     this.button1.Add(w10);
     this.hbox3.Add(this.button1);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.button1]));
     w18.Position = 3;
     w18.Expand = false;
     w18.Fill = false;
     this.vbox1.Add(this.hbox3);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w19.Position = 2;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator2 = new Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.vbox1.Add(this.hseparator2);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox1[this.hseparator2]));
     w20.Position = 3;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.lblTitle = new Gtk.Label();
     this.lblTitle.Name = "lblTitle";
     this.vbox1.Add(this.lblTitle);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox1[this.lblTitle]));
     w21.Position = 4;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textviewLog = new Gtk.TextView();
     this.textviewLog.CanFocus = true;
     this.textviewLog.Name = "textviewLog";
     this.GtkScrolledWindow1.Add(this.textviewLog);
     this.vbox1.Add(this.GtkScrolledWindow1);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1]));
     w23.Position = 5;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.vbox1.Add(this.label5);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox1[this.label5]));
     w24.Position = 6;
     w24.Expand = false;
     w24.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbarBot = new Gtk.Statusbar();
     this.statusbarBot.Name = "statusbarBot";
     this.statusbarBot.Spacing = 6;
     this.vbox1.Add(this.statusbarBot);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbarBot]));
     w25.Position = 7;
     w25.Expand = false;
     w25.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 601;
     this.DefaultHeight = 494;
     this.Show();
     this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.CloseAction.Activated += new System.EventHandler(this.OnCloseActionActivated);
     this.QuitAction.Activated += new System.EventHandler(this.OnQuitActionActivated);
     this.button1.Clicked += new System.EventHandler(this.OnButton1Clicked);
 }
Пример #57
0
 public Main(Controller.Main c)
     : base(Gtk.WindowType.Toplevel)
 {
     ctl = c;
     Name = "di";
     Title = "di";
     DefaultWidth = 800;
     DefaultHeight = 600;
     DeleteEvent += OnDeleteEvent;
     topLevelBox = new Gtk.HBox();
     topLevelBox.Homogeneous = false;
     topLevelBox.Spacing = 20;
     Add(topLevelBox);
     windowsBox = new Gtk.HBox();
     windowsBox.Homogeneous = true;
     windowsBox.Spacing = 10;
     foreach (var window in ctl.Windows)
     {
         var view = new WindowView(this, window);
         windowsBox.Add(view);
     }
     topLevelBox.PackStart(windowsBox, true, true, 0);
     ctl.Windows.Added.Add((index, window) =>
     {
         var view = new WindowView(this, window);
         windowsBox.Add(view);
         windowsBox.ShowAll();
     });
     ctl.Windows.Removed.Add((index, window) =>
     {
         var view = windowsBox.Children[index];
         bool hadFocus = view.ContainsFocus();
         windowsBox.Remove(view);
         if (hadFocus && windowsBox.Children.Length > 0)
         {
             windowsBox.Children[0].GiveFocus();
         }
     });
     ctl.Windows.Cleared.Add(() =>
     {
         foreach (var view in windowsBox.Children)
         {
             windowsBox.Remove(view);
         }
     });
     ctl.Windows.CurrentChanged.Add((idx, win) => ApplyControllerFocus(win));
     ctl.BeginTask.Add(task =>
     {
         var sidebar = Sidebar.Create(task);
         topLevelBox.PackEnd(sidebar, false, false, 20);
         task.End.Add(() =>
         {
             bool hadFocus = sidebar.ContainsFocus();
             topLevelBox.Remove(sidebar);
             if (hadFocus)
             {
                 ApplyControllerFocus(ctl.Windows.Current);
             }
         });
         sidebar.ShowAll();
     });
 }
Пример #58
0
        public ValueReferenceEditor(Project p, ValueReferenceGroup vrg, int rows, string frameText = null)
            : base(1.0F, 1.0F, 1.0F, 1.0F)
        {
            Project = p;

            valueReferenceGroup = vrg;
            maxBounds           = new int[valueReferenceGroup.GetNumValueReferences()];
            widgetGrids         = new List <Gtk.Grid>();
            widgetPositions     = new Tuple <int, int> [maxBounds.Count];
            widgetLists         = new List <IList <Gtk.Widget> >();

            Gtk.Box hbox = new Gtk.HBox();
            hbox.Spacing = 6;

            Func <Gtk.Grid> newGrid = () => {
                Gtk.Grid g = new Gtk.Grid();
                g.ColumnSpacing = 6;
                g.RowSpacing    = 2;
                hbox.Add(g);
                return(g);
            };

            Gtk.Grid grid = newGrid();
            int      x = 0, y = 0;


            // Do not use "foreach" here. The "valueReferenceGroup" may be changed. So, whenever we
            // access a ValueReference from within an event handler, we must do so though the
            // "valueReferenceGroup" class variable, and NOT though an alias (like with foreach).
            for (int tmpCounter = 0; tmpCounter < valueReferenceGroup.Count; tmpCounter++)
            {
                int i = tmpCounter; // Variable must be distinct within each closure

                if (y >= rows)
                {
                    y    = 0;
                    x    = 0;
                    grid = newGrid();
                }

                // Each ValueReference may use up to 3 widgets in the grid row
                Gtk.Widget[] widgetList = new Gtk.Widget[3];

                widgetPositions[i] = new Tuple <int, int>(x, y);

                Action <Gtk.SpinButton> setSpinButtonLimits = (spinButton) => {
                    if (valueReferenceGroup[i].MaxValue < 0x10)
                    {
                        spinButton.Digits = 1;
                    }
                    else if (valueReferenceGroup[i].MaxValue < 0x100)
                    {
                        spinButton.Digits = 2;
                    }
                    else if (valueReferenceGroup[i].MaxValue < 0x1000)
                    {
                        spinButton.Digits = 3;
                    }
                    else
                    {
                        spinButton.Digits = 4;
                    }
                    spinButton.Adjustment.Lower = valueReferenceGroup[i].MinValue;
                    spinButton.Adjustment.Upper = valueReferenceGroup[i].MaxValue;
                };

                int entryWidgetWidth = 1;

                // If it has a ConstantsMapping, use a combobox instead of anything else
                if (valueReferenceGroup[i].ConstantsMapping != null)
                {
                    ComboBoxFromConstants comboBox = new ComboBoxFromConstants(showHelp: true, vertical: true);
                    comboBox.SetConstantsMapping(valueReferenceGroup[i].ConstantsMapping);

                    // Must put this before the "Changed" handler below to avoid
                    // it being fired (for some reason?)
                    setSpinButtonLimits(comboBox.SpinButton);

                    comboBox.Changed += delegate(object sender, EventArgs e) {
                        valueReferenceGroup[i].SetValue(comboBox.ActiveValue);
                        OnDataModifiedInternal();
                    };

                    dataModifiedExternalEvent += delegate() {
                        comboBox.ActiveValue = valueReferenceGroup[i].GetIntValue();
                    };

                    /*
                     * comboBox.MarginTop = 4;
                     * comboBox.MarginBottom = 4;
                     */

                    widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name);
                    widgetList[1] = comboBox;

                    entryWidgetWidth = 2;

                    goto loopEnd;
                }
                // ConstantsMapping == null

                switch (valueReferenceGroup[i].ValueType)
                {
                case ValueReferenceType.String:
                {
                    widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name);

                    Gtk.Entry entry = new Gtk.Entry();
                    if (!valueReferenceGroup[i].Editable)
                    {
                        entry.Sensitive = false;
                    }
                    dataModifiedExternalEvent += delegate() {
                        entry.Text = valueReferenceGroup[i].GetStringValue();
                        OnDataModifiedInternal();
                    };

                    widgetList[1] = entry;
                    break;
                }

                case ValueReferenceType.Int:
                {
                    widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name);

                    SpinButtonHexadecimal spinButton =
                        new SpinButtonHexadecimal(valueReferenceGroup[i].MinValue, valueReferenceGroup[i].MaxValue);
                    if (!valueReferenceGroup[i].Editable)
                    {
                        spinButton.Sensitive = false;
                    }
                    setSpinButtonLimits(spinButton);
                    spinButton.ValueChanged += delegate(object sender, EventArgs e) {
                        Gtk.SpinButton button = sender as Gtk.SpinButton;
                        if (maxBounds[i] == 0 || button.ValueAsInt <= maxBounds[i])
                        {
                            valueReferenceGroup[i].SetValue(button.ValueAsInt);
                        }
                        else
                        {
                            button.Value = maxBounds[i];
                        }
                        OnDataModifiedInternal();
                    };
                    dataModifiedExternalEvent += delegate() {
                        spinButton.Value = valueReferenceGroup[i].GetIntValue();
                    };

                    widgetList[1] = spinButton;
                }
                break;

                case ValueReferenceType.Bool:
                {
                    widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name);

                    Gtk.CheckButton checkButton = new Gtk.CheckButton();
                    checkButton.FocusOnClick = false;
                    if (!valueReferenceGroup[i].Editable)
                    {
                        checkButton.Sensitive = false;
                    }
                    checkButton.Toggled += delegate(object sender, EventArgs e) {
                        Gtk.CheckButton button = sender as Gtk.CheckButton;
                        valueReferenceGroup[i].SetValue(button.Active ? 1 : 0);
                        OnDataModifiedInternal();
                    };
                    dataModifiedExternalEvent += delegate() {
                        checkButton.Active = valueReferenceGroup[i].GetIntValue() == 1;
                    };

                    widgetList[1] = checkButton;
                }
                break;
                }

loopEnd:
                grid.Attach(widgetList[0], x, y, 1, 1);
                grid.Attach(widgetList[1], x + 1, y, entryWidgetWidth, 1);

                widgetList[2]         = new Gtk.Alignment(0, 0.5f, 0, 0); // Container for help button
                widgetList[2].Hexpand = true;                             // Let this absorb any extra space
                grid.Attach(widgetList[2], x + 2, y, 1, 1);

                widgetGrids.Add(grid);
                widgetLists.Add(widgetList);

                if (valueReferenceGroup[i].Tooltip != null)
                {
                    SetTooltip(i, valueReferenceGroup[i].Tooltip);
                }
                y++;
            }

            if (frameText != null)
            {
                var frame = new Gtk.Frame(frameText);
                frame.Add(hbox);
                this.Add(frame);
            }
            else
            {
                this.Add(hbox);
            }

            this.ShowAll();

            // Initial values
            if (dataModifiedExternalEvent != null)
            {
                dataModifiedExternalEvent();
            }

            UpdateHelpButtons();

            AddModifiedHandlers();
            this.Destroyed += (sender, args) => RemoveModifiedHandlers();
        }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget omvviewerlight.GroupSearch
     Stetic.BinContainer.Attach(this);
     this.Name = "omvviewerlight.GroupSearch";
     // Container child omvviewerlight.GroupSearch.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Search for");
     this.hbox1.Add(this.label1);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entry_search = new Gtk.Entry();
     this.entry_search.CanFocus = true;
     this.entry_search.Name = "entry_search";
     this.entry_search.IsEditable = true;
     this.entry_search.InvisibleChar = '●';
     this.hbox1.Add(this.entry_search);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.entry_search]));
     w2.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1 = new Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = MainClass.GetResource("status_search_btn.png");
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.LabelProp = Mono.Unix.Catalog.GetString("Search");
     w7.UseUnderline = true;
     w4.Add(w7);
     w3.Add(w4);
     this.button1.Add(w3);
     this.hbox1.Add(this.button1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label_search_progress = new Gtk.Label();
     this.label_search_progress.Name = "label_search_progress";
     this.label_search_progress.Xalign = 0F;
     this.label_search_progress.LabelProp = Mono.Unix.Catalog.GetString("Type a name or partial group name to search for and press search");
     this.vbox1.Add(this.label_search_progress);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox1[this.label_search_progress]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1 = new Gtk.TreeView();
     this.treeview1.CanFocus = true;
     this.treeview1.Name = "treeview1";
     this.GtkScrolledWindow.Add(this.treeview1);
     this.vbox1.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w15.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.button_view_group_profile = new Gtk.Button();
     this.button_view_group_profile.CanFocus = true;
     this.button_view_group_profile.Name = "button_view_group_profile";
     this.button_view_group_profile.UseUnderline = true;
     this.button_view_group_profile.Label = Mono.Unix.Catalog.GetString("View full group profile");
     this.hbox2.Add(this.button_view_group_profile);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox2[this.button_view_group_profile]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w17.Position = 3;
     w17.Expand = false;
     w17.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.button1.Clicked += new System.EventHandler(this.OnButton1Clicked);
     this.button_view_group_profile.Clicked += new System.EventHandler(this.OnButtonViewGroupProfileClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.NotesWidget
     Stetic.BinContainer w1 = Stetic.BinContainer.Attach(this);
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.boldAction = new Gtk.ToggleAction("boldAction", null, null, "gtk-bold");
     w2.Add(this.boldAction, null);
     this.italicAction = new Gtk.Action("italicAction", null, null, "gtk-italic");
     w2.Add(this.italicAction, null);
     this.missingImageAction = new Gtk.Action("missingImageAction", null, null, "gtk-missing-image");
     w2.Add(this.missingImageAction, null);
     this.underlineAction = new Gtk.Action("underlineAction", null, null, "gtk-underline");
     w2.Add(this.underlineAction, null);
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "ocmgtk.NotesWidget";
     // Container child ocmgtk.NotesWidget.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.editorWidget = new ocmgtk.HTMLEditorWidget();
     this.editorWidget.Events = ((Gdk.EventMask)(256));
     this.editorWidget.Name = "editorWidget";
     this.vbox1.Add(this.editorWidget);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.editorWidget]));
     w3.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox1 = new Gtk.HButtonBox();
     this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.saveButton = new Gtk.Button();
     this.saveButton.Sensitive = false;
     this.saveButton.CanFocus = true;
     this.saveButton.Name = "saveButton";
     this.saveButton.UseUnderline = true;
     // Container child saveButton.Gtk.Container+ContainerChild
     Gtk.Alignment w4 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w5 = new Gtk.HBox();
     w5.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w6 = new Gtk.Image();
     w6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-save", Gtk.IconSize.Menu, 16);
     w5.Add(w6);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w8 = new Gtk.Label();
     w8.LabelProp = Mono.Unix.Catalog.GetString("_Save");
     w8.UseUnderline = true;
     w5.Add(w8);
     w4.Add(w5);
     this.saveButton.Add(w4);
     this.hbuttonbox1.Add(this.saveButton);
     Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.saveButton]));
     w12.Expand = false;
     w12.Fill = false;
     this.vbox1.Add(this.hbuttonbox1);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.Hide();
     this.saveButton.Clicked += new System.EventHandler(this.OnSaveNotes);
 }