protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LongoMatch.Gui.CapturerBin
     global::Stetic.BinContainer.Attach (this);
     this.Name = "LongoMatch.Gui.CapturerBin";
     // Container child LongoMatch.Gui.CapturerBin.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.videowindow = new global::LongoMatch.Gui.VideoWindow ();
     this.videowindow.Events = ((global::Gdk.EventMask)(256));
     this.videowindow.Name = "videowindow";
     this.videowindow.Ready = false;
     this.vbox1.Add (this.videowindow);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.videowindow]));
     w1.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.controllerbox = new global::Gtk.HBox ();
     this.controllerbox.Name = "controllerbox";
     this.controllerbox.Spacing = 6;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.hourseventbox = new global::Gtk.EventBox ();
     this.hourseventbox.Name = "hourseventbox";
     // Container child hourseventbox.Gtk.Container+ContainerChild
     this.hourlabel = new global::Gtk.Label ();
     this.hourlabel.Name = "hourlabel";
     this.hourlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>00</b>");
     this.hourlabel.UseMarkup = true;
     this.hourseventbox.Add (this.hourlabel);
     this.controllerbox.Add (this.hourseventbox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.hourseventbox]));
     w3.Position = 0;
     w3.Expand = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>:</b>");
     this.label1.UseMarkup = true;
     this.controllerbox.Add (this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.label1]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.minuteseventbox = new global::Gtk.EventBox ();
     this.minuteseventbox.Name = "minuteseventbox";
     // Container child minuteseventbox.Gtk.Container+ContainerChild
     this.minuteslabel = new global::Gtk.Label ();
     this.minuteslabel.Name = "minuteslabel";
     this.minuteslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>00</b>");
     this.minuteslabel.UseMarkup = true;
     this.minuteseventbox.Add (this.minuteslabel);
     this.controllerbox.Add (this.minuteseventbox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.minuteseventbox]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>:</b>");
     this.label2.UseMarkup = true;
     this.controllerbox.Add (this.label2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.label2]));
     w7.Position = 3;
     w7.Expand = false;
     w7.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.secondseventbox = new global::Gtk.EventBox ();
     this.secondseventbox.Name = "secondseventbox";
     // Container child secondseventbox.Gtk.Container+ContainerChild
     this.secondslabel = new global::Gtk.Label ();
     this.secondslabel.Name = "secondslabel";
     this.secondslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>00</b>");
     this.secondslabel.UseMarkup = true;
     this.secondseventbox.Add (this.secondslabel);
     this.controllerbox.Add (this.secondseventbox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.secondseventbox]));
     w9.Position = 4;
     w9.Expand = false;
     w9.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.periodlabel = new global::Gtk.Label ();
     this.periodlabel.Name = "periodlabel";
     this.periodlabel.Xpad = 10;
     this.controllerbox.Add (this.periodlabel);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.periodlabel]));
     w10.Position = 5;
     w10.Expand = false;
     w10.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.controllerbox.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.vseparator1]));
     w11.Position = 6;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.recbutton = new global::Gtk.Button ();
     this.recbutton.TooltipMarkup = "Start recording period";
     this.recbutton.CanFocus = true;
     this.recbutton.Name = "recbutton";
     this.recbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child recbutton.Gtk.Container+ContainerChild
     this.recimage = new global::Gtk.Image ();
     this.recimage.Name = "recimage";
     this.recimage.Xpad = 5;
     this.recimage.Ypad = 5;
     this.recbutton.Add (this.recimage);
     this.recbutton.Label = null;
     this.controllerbox.Add (this.recbutton);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.recbutton]));
     w13.Position = 7;
     w13.Expand = false;
     w13.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.stopbutton = new global::Gtk.Button ();
     this.stopbutton.TooltipMarkup = "Stop recording period";
     this.stopbutton.CanFocus = true;
     this.stopbutton.Name = "stopbutton";
     this.stopbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child stopbutton.Gtk.Container+ContainerChild
     this.stopimage = new global::Gtk.Image ();
     this.stopimage.Name = "stopimage";
     this.stopimage.Xpad = 5;
     this.stopimage.Ypad = 5;
     this.stopbutton.Add (this.stopimage);
     this.stopbutton.Label = null;
     this.controllerbox.Add (this.stopbutton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.stopbutton]));
     w15.Position = 8;
     w15.Expand = false;
     w15.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.pausebutton = new global::Gtk.Button ();
     this.pausebutton.TooltipMarkup = "Pause clock";
     this.pausebutton.CanFocus = true;
     this.pausebutton.Name = "pausebutton";
     this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child pausebutton.Gtk.Container+ContainerChild
     this.pauseimage = new global::Gtk.Image ();
     this.pauseimage.Name = "pauseimage";
     this.pauseimage.Xpad = 5;
     this.pauseimage.Ypad = 5;
     this.pausebutton.Add (this.pauseimage);
     this.pausebutton.Label = null;
     this.controllerbox.Add (this.pausebutton);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.pausebutton]));
     w17.Position = 9;
     w17.Expand = false;
     w17.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.resumebutton = new global::Gtk.Button ();
     this.resumebutton.TooltipMarkup = "Resume clock";
     this.resumebutton.CanFocus = true;
     this.resumebutton.Name = "resumebutton";
     this.resumebutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child resumebutton.Gtk.Container+ContainerChild
     this.resumeimage = new global::Gtk.Image ();
     this.resumeimage.Name = "resumeimage";
     this.resumeimage.Xpad = 5;
     this.resumeimage.Ypad = 5;
     this.resumebutton.Add (this.resumeimage);
     this.resumebutton.Label = null;
     this.controllerbox.Add (this.resumebutton);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.resumebutton]));
     w19.Position = 10;
     w19.Expand = false;
     w19.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.savebutton = new global::Gtk.Button ();
     this.savebutton.TooltipMarkup = "Save project";
     this.savebutton.CanFocus = true;
     this.savebutton.Name = "savebutton";
     this.savebutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child savebutton.Gtk.Container+ContainerChild
     this.saveimage = new global::Gtk.Image ();
     this.saveimage.Name = "saveimage";
     this.saveimage.Xpad = 5;
     this.saveimage.Ypad = 5;
     this.savebutton.Add (this.saveimage);
     this.savebutton.Label = null;
     this.controllerbox.Add (this.savebutton);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.savebutton]));
     w21.Position = 11;
     w21.Expand = false;
     w21.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.cancelbutton = new global::Gtk.Button ();
     this.cancelbutton.TooltipMarkup = "Cancel capture";
     this.cancelbutton.CanFocus = true;
     this.cancelbutton.Name = "cancelbutton";
     this.cancelbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child cancelbutton.Gtk.Container+ContainerChild
     this.cancelimage = new global::Gtk.Image ();
     this.cancelimage.Name = "cancelimage";
     this.cancelimage.Xpad = 5;
     this.cancelimage.Ypad = 5;
     this.cancelbutton.Add (this.cancelimage);
     this.cancelbutton.Label = null;
     this.controllerbox.Add (this.cancelbutton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.cancelbutton]));
     w23.Position = 12;
     w23.Expand = false;
     w23.Fill = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.vseparator2 = new global::Gtk.VSeparator ();
     this.vseparator2.Name = "vseparator2";
     this.controllerbox.Add (this.vseparator2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.vseparator2]));
     w24.Position = 13;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.lasteventbox = new global::Gtk.HBox ();
     this.lasteventbox.Name = "lasteventbox";
     this.lasteventbox.Spacing = 6;
     // Container child lasteventbox.Gtk.Box+BoxChild
     this.lastlabel = new global::Gtk.Label ();
     this.lastlabel.Name = "lastlabel";
     this.lastlabel.Ellipsize = ((global::Pango.EllipsizeMode)(3));
     this.lastlabel.MaxWidthChars = 15;
     this.lasteventbox.Add (this.lastlabel);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.lasteventbox [this.lastlabel]));
     w25.Position = 0;
     w25.Fill = false;
     // Container child lasteventbox.Gtk.Box+BoxChild
     this.deletelastbutton = new global::Gtk.Button ();
     this.deletelastbutton.TooltipMarkup = "Delete event";
     this.deletelastbutton.CanFocus = true;
     this.deletelastbutton.Name = "deletelastbutton";
     this.deletelastbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child deletelastbutton.Gtk.Container+ContainerChild
     this.deletelastimage = new global::Gtk.Image ();
     this.deletelastimage.Name = "deletelastimage";
     this.deletelastimage.Xpad = 5;
     this.deletelastimage.Ypad = 5;
     this.deletelastbutton.Add (this.deletelastimage);
     this.deletelastbutton.Label = null;
     this.lasteventbox.Add (this.deletelastbutton);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.lasteventbox [this.deletelastbutton]));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     // Container child lasteventbox.Gtk.Box+BoxChild
     this.playlastbutton = new global::Gtk.Button ();
     this.playlastbutton.TooltipMarkup = "Replay event";
     this.playlastbutton.CanFocus = true;
     this.playlastbutton.Name = "playlastbutton";
     this.playlastbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child playlastbutton.Gtk.Container+ContainerChild
     this.playlastimage = new global::Gtk.Image ();
     this.playlastimage.Name = "playlastimage";
     this.playlastimage.Xpad = 5;
     this.playlastimage.Ypad = 5;
     this.playlastbutton.Add (this.playlastimage);
     this.playlastbutton.Label = null;
     this.lasteventbox.Add (this.playlastbutton);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.lasteventbox [this.playlastbutton]));
     w29.Position = 2;
     w29.Expand = false;
     w29.Fill = false;
     this.controllerbox.Add (this.lasteventbox);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.lasteventbox]));
     w30.PackType = ((global::Gtk.PackType)(1));
     w30.Position = 14;
     w30.Expand = false;
     w30.Fill = false;
     this.alignment1.Add (this.controllerbox);
     this.vbox1.Add (this.alignment1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment1]));
     w32.Position = 1;
     w32.Expand = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.videowindow.Hide ();
     this.Show ();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.CapturerBin
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.CapturerBin";
     // Container child LongoMatch.Gui.CapturerBin.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.videowindow        = new global::LongoMatch.Gui.VideoWindow();
     this.videowindow.Events = ((global::Gdk.EventMask)(256));
     this.videowindow.Name   = "videowindow";
     this.videowindow.Ready  = false;
     this.vbox1.Add(this.videowindow);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.videowindow]));
     w1.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.controllerbox         = new global::Gtk.HBox();
     this.controllerbox.Name    = "controllerbox";
     this.controllerbox.Spacing = 6;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.hourseventbox      = new global::Gtk.EventBox();
     this.hourseventbox.Name = "hourseventbox";
     // Container child hourseventbox.Gtk.Container+ContainerChild
     this.hourlabel           = new global::Gtk.Label();
     this.hourlabel.Name      = "hourlabel";
     this.hourlabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>00</b>");
     this.hourlabel.UseMarkup = true;
     this.hourseventbox.Add(this.hourlabel);
     this.controllerbox.Add(this.hourseventbox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.hourseventbox]));
     w3.Position = 0;
     w3.Expand   = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>:</b>");
     this.label1.UseMarkup = true;
     this.controllerbox.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.label1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.minuteseventbox      = new global::Gtk.EventBox();
     this.minuteseventbox.Name = "minuteseventbox";
     // Container child minuteseventbox.Gtk.Container+ContainerChild
     this.minuteslabel           = new global::Gtk.Label();
     this.minuteslabel.Name      = "minuteslabel";
     this.minuteslabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>00</b>");
     this.minuteslabel.UseMarkup = true;
     this.minuteseventbox.Add(this.minuteslabel);
     this.controllerbox.Add(this.minuteseventbox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.minuteseventbox]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>:</b>");
     this.label2.UseMarkup = true;
     this.controllerbox.Add(this.label2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.label2]));
     w7.Position = 3;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.secondseventbox      = new global::Gtk.EventBox();
     this.secondseventbox.Name = "secondseventbox";
     // Container child secondseventbox.Gtk.Container+ContainerChild
     this.secondslabel           = new global::Gtk.Label();
     this.secondslabel.Name      = "secondslabel";
     this.secondslabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>00</b>");
     this.secondslabel.UseMarkup = true;
     this.secondseventbox.Add(this.secondslabel);
     this.controllerbox.Add(this.secondseventbox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.secondseventbox]));
     w9.Position = 4;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.periodlabel      = new global::Gtk.Label();
     this.periodlabel.Name = "periodlabel";
     this.periodlabel.Xpad = 10;
     this.controllerbox.Add(this.periodlabel);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.periodlabel]));
     w10.Position = 5;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.controllerbox.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.vseparator1]));
     w11.Position = 6;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.recbutton = new global::Gtk.Button();
     this.recbutton.TooltipMarkup = "Start recording period";
     this.recbutton.CanFocus      = true;
     this.recbutton.Name          = "recbutton";
     this.recbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child recbutton.Gtk.Container+ContainerChild
     this.recimage      = new global::Gtk.Image();
     this.recimage.Name = "recimage";
     this.recimage.Xpad = 5;
     this.recimage.Ypad = 5;
     this.recbutton.Add(this.recimage);
     this.recbutton.Label = null;
     this.controllerbox.Add(this.recbutton);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.recbutton]));
     w13.Position = 7;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.stopbutton = new global::Gtk.Button();
     this.stopbutton.TooltipMarkup = "Stop recording period";
     this.stopbutton.CanFocus      = true;
     this.stopbutton.Name          = "stopbutton";
     this.stopbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child stopbutton.Gtk.Container+ContainerChild
     this.stopimage      = new global::Gtk.Image();
     this.stopimage.Name = "stopimage";
     this.stopimage.Xpad = 5;
     this.stopimage.Ypad = 5;
     this.stopbutton.Add(this.stopimage);
     this.stopbutton.Label = null;
     this.controllerbox.Add(this.stopbutton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.stopbutton]));
     w15.Position = 8;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.pausebutton = new global::Gtk.Button();
     this.pausebutton.TooltipMarkup = "Pause clock";
     this.pausebutton.CanFocus      = true;
     this.pausebutton.Name          = "pausebutton";
     this.pausebutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child pausebutton.Gtk.Container+ContainerChild
     this.pauseimage      = new global::Gtk.Image();
     this.pauseimage.Name = "pauseimage";
     this.pauseimage.Xpad = 5;
     this.pauseimage.Ypad = 5;
     this.pausebutton.Add(this.pauseimage);
     this.pausebutton.Label = null;
     this.controllerbox.Add(this.pausebutton);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.pausebutton]));
     w17.Position = 9;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.resumebutton = new global::Gtk.Button();
     this.resumebutton.TooltipMarkup = "Resume clock";
     this.resumebutton.CanFocus      = true;
     this.resumebutton.Name          = "resumebutton";
     this.resumebutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child resumebutton.Gtk.Container+ContainerChild
     this.resumeimage      = new global::Gtk.Image();
     this.resumeimage.Name = "resumeimage";
     this.resumeimage.Xpad = 5;
     this.resumeimage.Ypad = 5;
     this.resumebutton.Add(this.resumeimage);
     this.resumebutton.Label = null;
     this.controllerbox.Add(this.resumebutton);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.resumebutton]));
     w19.Position = 10;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.savebutton = new global::Gtk.Button();
     this.savebutton.TooltipMarkup = "Save project";
     this.savebutton.CanFocus      = true;
     this.savebutton.Name          = "savebutton";
     this.savebutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child savebutton.Gtk.Container+ContainerChild
     this.saveimage      = new global::Gtk.Image();
     this.saveimage.Name = "saveimage";
     this.saveimage.Xpad = 5;
     this.saveimage.Ypad = 5;
     this.savebutton.Add(this.saveimage);
     this.savebutton.Label = null;
     this.controllerbox.Add(this.savebutton);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.savebutton]));
     w21.Position = 11;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.cancelbutton = new global::Gtk.Button();
     this.cancelbutton.TooltipMarkup = "Cancel capture";
     this.cancelbutton.CanFocus      = true;
     this.cancelbutton.Name          = "cancelbutton";
     this.cancelbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child cancelbutton.Gtk.Container+ContainerChild
     this.cancelimage      = new global::Gtk.Image();
     this.cancelimage.Name = "cancelimage";
     this.cancelimage.Xpad = 5;
     this.cancelimage.Ypad = 5;
     this.cancelbutton.Add(this.cancelimage);
     this.cancelbutton.Label = null;
     this.controllerbox.Add(this.cancelbutton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.cancelbutton]));
     w23.Position = 12;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.vseparator2      = new global::Gtk.VSeparator();
     this.vseparator2.Name = "vseparator2";
     this.controllerbox.Add(this.vseparator2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.vseparator2]));
     w24.Position = 13;
     // Container child controllerbox.Gtk.Box+BoxChild
     this.lasteventbox         = new global::Gtk.HBox();
     this.lasteventbox.Name    = "lasteventbox";
     this.lasteventbox.Spacing = 6;
     // Container child lasteventbox.Gtk.Box+BoxChild
     this.lastlabel               = new global::Gtk.Label();
     this.lastlabel.Name          = "lastlabel";
     this.lastlabel.Ellipsize     = ((global::Pango.EllipsizeMode)(3));
     this.lastlabel.MaxWidthChars = 15;
     this.lasteventbox.Add(this.lastlabel);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.lasteventbox [this.lastlabel]));
     w25.Position = 0;
     w25.Fill     = false;
     // Container child lasteventbox.Gtk.Box+BoxChild
     this.deletelastbutton = new global::Gtk.Button();
     this.deletelastbutton.TooltipMarkup = "Delete event";
     this.deletelastbutton.CanFocus      = true;
     this.deletelastbutton.Name          = "deletelastbutton";
     this.deletelastbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child deletelastbutton.Gtk.Container+ContainerChild
     this.deletelastimage      = new global::Gtk.Image();
     this.deletelastimage.Name = "deletelastimage";
     this.deletelastimage.Xpad = 5;
     this.deletelastimage.Ypad = 5;
     this.deletelastbutton.Add(this.deletelastimage);
     this.deletelastbutton.Label = null;
     this.lasteventbox.Add(this.deletelastbutton);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.lasteventbox [this.deletelastbutton]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child lasteventbox.Gtk.Box+BoxChild
     this.playlastbutton = new global::Gtk.Button();
     this.playlastbutton.TooltipMarkup = "Replay event";
     this.playlastbutton.CanFocus      = true;
     this.playlastbutton.Name          = "playlastbutton";
     this.playlastbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child playlastbutton.Gtk.Container+ContainerChild
     this.playlastimage      = new global::Gtk.Image();
     this.playlastimage.Name = "playlastimage";
     this.playlastimage.Xpad = 5;
     this.playlastimage.Ypad = 5;
     this.playlastbutton.Add(this.playlastimage);
     this.playlastbutton.Label = null;
     this.lasteventbox.Add(this.playlastbutton);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.lasteventbox [this.playlastbutton]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     this.controllerbox.Add(this.lasteventbox);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.controllerbox [this.lasteventbox]));
     w30.PackType = ((global::Gtk.PackType)(1));
     w30.Position = 14;
     w30.Expand   = false;
     w30.Fill     = false;
     this.alignment1.Add(this.controllerbox);
     this.vbox1.Add(this.alignment1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment1]));
     w32.Position = 1;
     w32.Expand   = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.videowindow.Hide();
     this.Show();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LongoMatch.Gui.PlayerView
     global::Stetic.BinContainer.Attach (this);
     this.Name = "LongoMatch.Gui.PlayerView";
     // Container child LongoMatch.Gui.PlayerView.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.mainbox = new global::Gtk.HBox ();
     this.mainbox.Name = "mainbox";
     this.mainbox.Spacing = 6;
     // Container child mainbox.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.videowindow = new global::LongoMatch.Gui.VideoWindow ();
     this.videowindow.Events = ((global::Gdk.EventMask)(256));
     this.videowindow.Name = "videowindow";
     this.videowindow.Ready = false;
     this.hbox3.Add (this.videowindow);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.videowindow]));
     w1.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.blackboarddrawingarea = new global::Gtk.DrawingArea ();
     this.blackboarddrawingarea.Name = "blackboarddrawingarea";
     this.hbox3.Add (this.blackboarddrawingarea);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.blackboarddrawingarea]));
     w2.Position = 1;
     this.mainbox.Add (this.hbox3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.hbox3]));
     w3.Position = 0;
     // Container child mainbox.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.ratescale = new global::Gtk.VScale (null);
     this.ratescale.TooltipMarkup = "Playback speed";
     this.ratescale.WidthRequest = 36;
     this.ratescale.Sensitive = false;
     this.ratescale.Name = "ratescale";
     this.ratescale.UpdatePolicy = ((global::Gtk.UpdateType)(1));
     this.ratescale.Inverted = true;
     this.ratescale.Adjustment.Lower = 1;
     this.ratescale.Adjustment.Upper = 30;
     this.ratescale.Adjustment.PageIncrement = 3;
     this.ratescale.Adjustment.PageSize = 1;
     this.ratescale.Adjustment.StepIncrement = 1;
     this.ratescale.Adjustment.Value = 25;
     this.ratescale.DrawValue = true;
     this.ratescale.Digits = 0;
     this.ratescale.ValuePos = ((global::Gtk.PositionType)(3));
     this.vbox5.Add (this.ratescale);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ratescale]));
     w4.Position = 0;
     this.mainbox.Add (this.vbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     this.vbox3.Add (this.mainbox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox]));
     w6.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lightbackgroundeventbox = new global::Gtk.EventBox ();
     this.lightbackgroundeventbox.Name = "lightbackgroundeventbox";
     // Container child lightbackgroundeventbox.Gtk.Container+ContainerChild
     this.controlsbox = new global::Gtk.HBox ();
     this.controlsbox.Name = "controlsbox";
     this.controlsbox.Spacing = 6;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.buttonsbox = new global::Gtk.HBox ();
     this.buttonsbox.Name = "buttonsbox";
     this.buttonsbox.Homogeneous = true;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.closebutton = new global::Gtk.Button ();
     this.closebutton.TooltipMarkup = "Close loaded event";
     this.closebutton.Name = "closebutton";
     this.closebutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child closebutton.Gtk.Container+ContainerChild
     this.closebuttonimage = new global::Gtk.Image ();
     this.closebuttonimage.Name = "closebuttonimage";
     this.closebutton.Add (this.closebuttonimage);
     this.buttonsbox.Add (this.closebutton);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.closebutton]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.drawbutton = new global::Gtk.Button ();
     this.drawbutton.TooltipMarkup = "Draw frame";
     this.drawbutton.Name = "drawbutton";
     this.drawbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child drawbutton.Gtk.Container+ContainerChild
     this.drawbuttonimage = new global::Gtk.Image ();
     this.drawbuttonimage.Name = "drawbuttonimage";
     this.drawbutton.Add (this.drawbuttonimage);
     this.buttonsbox.Add (this.drawbutton);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.drawbutton]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.playbutton = new global::Gtk.Button ();
     this.playbutton.TooltipMarkup = "Play";
     this.playbutton.Name = "playbutton";
     this.playbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child playbutton.Gtk.Container+ContainerChild
     this.playbuttonimage = new global::Gtk.Image ();
     this.playbuttonimage.Name = "playbuttonimage";
     this.playbutton.Add (this.playbuttonimage);
     this.buttonsbox.Add (this.playbutton);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.pausebutton = new global::Gtk.Button ();
     this.pausebutton.TooltipMarkup = "Pause";
     this.pausebutton.Name = "pausebutton";
     this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child pausebutton.Gtk.Container+ContainerChild
     this.pausebuttonimage = new global::Gtk.Image ();
     this.pausebuttonimage.Name = "pausebuttonimage";
     this.pausebutton.Add (this.pausebuttonimage);
     this.buttonsbox.Add (this.pausebutton);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton]));
     w14.Position = 3;
     w14.Expand = false;
     w14.Fill = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.prevbutton = new global::Gtk.Button ();
     this.prevbutton.TooltipMarkup = "Previous";
     this.prevbutton.Name = "prevbutton";
     this.prevbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child prevbutton.Gtk.Container+ContainerChild
     this.prevbuttonimage = new global::Gtk.Image ();
     this.prevbuttonimage.Name = "prevbuttonimage";
     this.prevbutton.Add (this.prevbuttonimage);
     this.buttonsbox.Add (this.prevbutton);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton]));
     w16.Position = 4;
     w16.Expand = false;
     w16.Fill = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.nextbutton = new global::Gtk.Button ();
     this.nextbutton.TooltipMarkup = "Next";
     this.nextbutton.Sensitive = false;
     this.nextbutton.Name = "nextbutton";
     this.nextbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child nextbutton.Gtk.Container+ContainerChild
     this.nextbuttonimage = new global::Gtk.Image ();
     this.nextbuttonimage.Name = "nextbuttonimage";
     this.nextbutton.Add (this.nextbuttonimage);
     this.buttonsbox.Add (this.nextbutton);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton]));
     w18.Position = 5;
     w18.Expand = false;
     w18.Fill = false;
     this.controlsbox.Add (this.buttonsbox);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.buttonsbox]));
     w19.Position = 0;
     w19.Expand = false;
     w19.Fill = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.jumplabel = new global::Gtk.Label ();
     this.jumplabel.Name = "jumplabel";
     this.jumplabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Jump (s):");
     this.hbox1.Add (this.jumplabel);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumplabel]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.jumpspinbutton = new global::Gtk.SpinButton (1, 100, 1);
     this.jumpspinbutton.TooltipMarkup = "Jump in seconds. Hold the Shift key with the direction keys to activate it.";
     this.jumpspinbutton.Name = "jumpspinbutton";
     this.jumpspinbutton.Adjustment.PageIncrement = 10;
     this.jumpspinbutton.ClimbRate = 1;
     this.jumpspinbutton.Numeric = true;
     this.jumpspinbutton.Value = 10;
     this.hbox1.Add (this.jumpspinbutton);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumpspinbutton]));
     w21.Position = 1;
     w21.Expand = false;
     w21.Fill = false;
     this.controlsbox.Add (this.hbox1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox1]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.tlabel = new global::Gtk.Label ();
     this.tlabel.Name = "tlabel";
     this.tlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Time:");
     this.controlsbox.Add (this.tlabel);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.tlabel]));
     w23.Position = 2;
     w23.Expand = false;
     w23.Fill = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.timescale = new global::Gtk.HScale (null);
     this.timescale.Name = "timescale";
     this.timescale.Adjustment.Upper = 1;
     this.timescale.Adjustment.PageIncrement = 1;
     this.timescale.Adjustment.StepIncrement = 1;
     this.timescale.DrawValue = false;
     this.timescale.Digits = 0;
     this.timescale.ValuePos = ((global::Gtk.PositionType)(2));
     this.controlsbox.Add (this.timescale);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timescale]));
     w24.Position = 3;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.timelabel = new global::Gtk.Label ();
     this.timelabel.Name = "timelabel";
     this.controlsbox.Add (this.timelabel);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timelabel]));
     w25.Position = 4;
     w25.Expand = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.volumebutton = new global::Gtk.Button ();
     this.volumebutton.TooltipMarkup = "Volume";
     this.volumebutton.Name = "volumebutton";
     this.volumebutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child volumebutton.Gtk.Container+ContainerChild
     this.volumebuttonimage = new global::Gtk.Image ();
     this.volumebuttonimage.Name = "volumebuttonimage";
     this.volumebutton.Add (this.volumebuttonimage);
     this.controlsbox.Add (this.volumebutton);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.volumebutton]));
     w27.Position = 5;
     w27.Expand = false;
     w27.Fill = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.detachbutton = new global::Gtk.Button ();
     this.detachbutton.TooltipMarkup = "Detach window";
     this.detachbutton.Name = "detachbutton";
     this.detachbutton.Relief = ((global::Gtk.ReliefStyle)(2));
     // Container child detachbutton.Gtk.Container+ContainerChild
     this.detachbuttonimage = new global::Gtk.Image ();
     this.detachbuttonimage.Name = "detachbuttonimage";
     this.detachbutton.Add (this.detachbuttonimage);
     this.controlsbox.Add (this.detachbutton);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.detachbutton]));
     w29.Position = 6;
     w29.Expand = false;
     w29.Fill = false;
     this.lightbackgroundeventbox.Add (this.controlsbox);
     this.vbox3.Add (this.lightbackgroundeventbox);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lightbackgroundeventbox]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     this.Add (this.vbox3);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.videowindow.Hide ();
     this.blackboarddrawingarea.Hide ();
     this.closebutton.Hide ();
     this.prevbutton.Hide ();
     this.nextbutton.Hide ();
     this.controlsbox.Hide ();
     this.Show ();
 }
Example #4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.PlayerView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.PlayerView";
     // Container child LongoMatch.Gui.PlayerView.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.mainbox         = new global::Gtk.HBox();
     this.mainbox.Name    = "mainbox";
     this.mainbox.Spacing = 6;
     // Container child mainbox.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.videowindow        = new global::LongoMatch.Gui.VideoWindow();
     this.videowindow.Events = ((global::Gdk.EventMask)(256));
     this.videowindow.Name   = "videowindow";
     this.videowindow.Ready  = false;
     this.hbox3.Add(this.videowindow);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.videowindow]));
     w1.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.blackboarddrawingarea      = new global::Gtk.DrawingArea();
     this.blackboarddrawingarea.Name = "blackboarddrawingarea";
     this.hbox3.Add(this.blackboarddrawingarea);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.blackboarddrawingarea]));
     w2.Position = 1;
     this.mainbox.Add(this.hbox3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.hbox3]));
     w3.Position = 0;
     // Container child mainbox.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.ratescale = new global::Gtk.VScale(null);
     this.ratescale.TooltipMarkup            = "Playback speed";
     this.ratescale.WidthRequest             = 36;
     this.ratescale.Sensitive                = false;
     this.ratescale.Name                     = "ratescale";
     this.ratescale.UpdatePolicy             = ((global::Gtk.UpdateType)(1));
     this.ratescale.Inverted                 = true;
     this.ratescale.Adjustment.Lower         = 1;
     this.ratescale.Adjustment.Upper         = 30;
     this.ratescale.Adjustment.PageIncrement = 3;
     this.ratescale.Adjustment.PageSize      = 1;
     this.ratescale.Adjustment.StepIncrement = 1;
     this.ratescale.Adjustment.Value         = 25;
     this.ratescale.DrawValue                = true;
     this.ratescale.Digits                   = 0;
     this.ratescale.ValuePos                 = ((global::Gtk.PositionType)(3));
     this.vbox5.Add(this.ratescale);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ratescale]));
     w4.Position = 0;
     this.mainbox.Add(this.vbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox3.Add(this.mainbox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox]));
     w6.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lightbackgroundeventbox      = new global::Gtk.EventBox();
     this.lightbackgroundeventbox.Name = "lightbackgroundeventbox";
     // Container child lightbackgroundeventbox.Gtk.Container+ContainerChild
     this.controlsbox         = new global::Gtk.HBox();
     this.controlsbox.Name    = "controlsbox";
     this.controlsbox.Spacing = 6;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.buttonsbox             = new global::Gtk.HBox();
     this.buttonsbox.Name        = "buttonsbox";
     this.buttonsbox.Homogeneous = true;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.closebutton = new global::Gtk.Button();
     this.closebutton.TooltipMarkup = "Close loaded event";
     this.closebutton.Name          = "closebutton";
     this.closebutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child closebutton.Gtk.Container+ContainerChild
     this.closebuttonimage      = new global::Gtk.Image();
     this.closebuttonimage.Name = "closebuttonimage";
     this.closebutton.Add(this.closebuttonimage);
     this.buttonsbox.Add(this.closebutton);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.closebutton]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.drawbutton = new global::Gtk.Button();
     this.drawbutton.TooltipMarkup = "Draw frame";
     this.drawbutton.Name          = "drawbutton";
     this.drawbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child drawbutton.Gtk.Container+ContainerChild
     this.drawbuttonimage      = new global::Gtk.Image();
     this.drawbuttonimage.Name = "drawbuttonimage";
     this.drawbutton.Add(this.drawbuttonimage);
     this.buttonsbox.Add(this.drawbutton);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.drawbutton]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.playbutton = new global::Gtk.Button();
     this.playbutton.TooltipMarkup = "Play";
     this.playbutton.Name          = "playbutton";
     this.playbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child playbutton.Gtk.Container+ContainerChild
     this.playbuttonimage      = new global::Gtk.Image();
     this.playbuttonimage.Name = "playbuttonimage";
     this.playbutton.Add(this.playbuttonimage);
     this.buttonsbox.Add(this.playbutton);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.pausebutton = new global::Gtk.Button();
     this.pausebutton.TooltipMarkup = "Pause";
     this.pausebutton.Name          = "pausebutton";
     this.pausebutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child pausebutton.Gtk.Container+ContainerChild
     this.pausebuttonimage      = new global::Gtk.Image();
     this.pausebuttonimage.Name = "pausebuttonimage";
     this.pausebutton.Add(this.pausebuttonimage);
     this.buttonsbox.Add(this.pausebutton);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.prevbutton = new global::Gtk.Button();
     this.prevbutton.TooltipMarkup = "Previous";
     this.prevbutton.Name          = "prevbutton";
     this.prevbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child prevbutton.Gtk.Container+ContainerChild
     this.prevbuttonimage      = new global::Gtk.Image();
     this.prevbuttonimage.Name = "prevbuttonimage";
     this.prevbutton.Add(this.prevbuttonimage);
     this.buttonsbox.Add(this.prevbutton);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton]));
     w16.Position = 4;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child buttonsbox.Gtk.Box+BoxChild
     this.nextbutton = new global::Gtk.Button();
     this.nextbutton.TooltipMarkup = "Next";
     this.nextbutton.Sensitive     = false;
     this.nextbutton.Name          = "nextbutton";
     this.nextbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child nextbutton.Gtk.Container+ContainerChild
     this.nextbuttonimage      = new global::Gtk.Image();
     this.nextbuttonimage.Name = "nextbuttonimage";
     this.nextbutton.Add(this.nextbuttonimage);
     this.buttonsbox.Add(this.nextbutton);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton]));
     w18.Position = 5;
     w18.Expand   = false;
     w18.Fill     = false;
     this.controlsbox.Add(this.buttonsbox);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.buttonsbox]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.jumplabel           = new global::Gtk.Label();
     this.jumplabel.Name      = "jumplabel";
     this.jumplabel.LabelProp = global::Mono.Unix.Catalog.GetString("Jump (s):");
     this.hbox1.Add(this.jumplabel);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumplabel]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.jumpspinbutton = new global::Gtk.SpinButton(1, 100, 1);
     this.jumpspinbutton.TooltipMarkup            = "Jump in seconds. Hold the Shift key with the direction keys to activate it.";
     this.jumpspinbutton.Name                     = "jumpspinbutton";
     this.jumpspinbutton.Adjustment.PageIncrement = 10;
     this.jumpspinbutton.ClimbRate                = 1;
     this.jumpspinbutton.Numeric                  = true;
     this.jumpspinbutton.Value                    = 10;
     this.hbox1.Add(this.jumpspinbutton);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumpspinbutton]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     this.controlsbox.Add(this.hbox1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.tlabel           = new global::Gtk.Label();
     this.tlabel.Name      = "tlabel";
     this.tlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Time:");
     this.controlsbox.Add(this.tlabel);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.tlabel]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.timescale                          = new global::Gtk.HScale(null);
     this.timescale.Name                     = "timescale";
     this.timescale.Adjustment.Upper         = 1;
     this.timescale.Adjustment.PageIncrement = 1;
     this.timescale.Adjustment.StepIncrement = 1;
     this.timescale.DrawValue                = false;
     this.timescale.Digits                   = 0;
     this.timescale.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.controlsbox.Add(this.timescale);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timescale]));
     w24.Position = 3;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.timelabel      = new global::Gtk.Label();
     this.timelabel.Name = "timelabel";
     this.controlsbox.Add(this.timelabel);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timelabel]));
     w25.Position = 4;
     w25.Expand   = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.volumebutton = new global::Gtk.Button();
     this.volumebutton.TooltipMarkup = "Volume";
     this.volumebutton.Name          = "volumebutton";
     this.volumebutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child volumebutton.Gtk.Container+ContainerChild
     this.volumebuttonimage      = new global::Gtk.Image();
     this.volumebuttonimage.Name = "volumebuttonimage";
     this.volumebutton.Add(this.volumebuttonimage);
     this.controlsbox.Add(this.volumebutton);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.volumebutton]));
     w27.Position = 5;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child controlsbox.Gtk.Box+BoxChild
     this.detachbutton = new global::Gtk.Button();
     this.detachbutton.TooltipMarkup = "Detach window";
     this.detachbutton.Name          = "detachbutton";
     this.detachbutton.Relief        = ((global::Gtk.ReliefStyle)(2));
     // Container child detachbutton.Gtk.Container+ContainerChild
     this.detachbuttonimage      = new global::Gtk.Image();
     this.detachbuttonimage.Name = "detachbuttonimage";
     this.detachbutton.Add(this.detachbuttonimage);
     this.controlsbox.Add(this.detachbutton);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.detachbutton]));
     w29.Position = 6;
     w29.Expand   = false;
     w29.Fill     = false;
     this.lightbackgroundeventbox.Add(this.controlsbox);
     this.vbox3.Add(this.lightbackgroundeventbox);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lightbackgroundeventbox]));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.videowindow.Hide();
     this.blackboarddrawingarea.Hide();
     this.closebutton.Hide();
     this.prevbutton.Hide();
     this.nextbutton.Hide();
     this.controlsbox.Hide();
     this.Show();
 }