DownloadProgressForm.Build C# (CSharp) Method

Build() protected method

protected Build ( ) : void
return void
    protected virtual void Build()
    {
        global::Stetic.Gui.Initialize (this);
        // Widget DownloadProgressForm
        this.Name = "DownloadProgressForm";
        this.Title = "WakaTime | Downloading..";
        this.TypeHint = ((global::Gdk.WindowTypeHint)(4));
        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
        this.BorderWidth = ((uint)(4));
        this.DefaultWidth = 480;
        this.Gravity = ((global::Gdk.Gravity)(5));
        // Container child DownloadProgressForm.Gtk.Container+ContainerChild
        this.vbox1 = new global::Gtk.VBox ();
        this.vbox1.Name = "vbox1";
        this.vbox1.Spacing = 6;
        // Container child vbox1.Gtk.Box+BoxChild
        this.progressbar1 = new global::Gtk.ProgressBar ();
        this.progressbar1.Name = "progressbar1";
        this.progressbar1.PulseStep = 1;
        this.vbox1.Add (this.progressbar1);
        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.progressbar1]));
        w1.PackType = ((global::Gtk.PackType)(1));
        w1.Position = 0;
        this.Add (this.vbox1);
        if ((this.Child != null)) {
            this.Child.ShowAll ();
        }
        this.DefaultHeight = 75;
        this.Show ();
        this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
    }