Pinta.ProgressDialog.Build C# (CSharp) Method

Build() protected method

protected Build ( ) : void
return void
        protected virtual void Build()
        {
            Stetic.Gui.Initialize(this);
            // Widget Pinta.ProgressDialog
            this.Name = "Pinta.ProgressDialog";
            this.WindowPosition = ((Gtk.WindowPosition)(4));
            // Internal child Pinta.ProgressDialog.VBox
            Gtk.VBox w1 = this.VBox;
            w1.Name = "dialog1_VBox";
            w1.BorderWidth = ((uint)(2));
            // Container child dialog1_VBox.Gtk.Box+BoxChild
            this.label = new Gtk.Label();
            this.label.Name = "label";
            this.label.LabelProp = Mono.Unix.Catalog.GetString("label2");
            w1.Add(this.label);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.label]));
            w2.Position = 0;
            w2.Expand = false;
            w2.Fill = false;
            // Container child dialog1_VBox.Gtk.Box+BoxChild
            this.progress_bar = new Gtk.ProgressBar();
            this.progress_bar.Name = "progress_bar";
            w1.Add(this.progress_bar);
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.progress_bar]));
            w3.Position = 1;
            w3.Expand = false;
            w3.Fill = false;
            // Internal child Pinta.ProgressDialog.ActionArea
            Gtk.HButtonBox w4 = this.ActionArea;
            w4.Name = "dialog1_ActionArea";
            w4.Spacing = 10;
            w4.BorderWidth = ((uint)(5));
            w4.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 w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
            w5.Expand = false;
            w5.Fill = false;
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.DefaultWidth = 400;
            this.DefaultHeight = 114;
            this.Hide();
        }