Mono.Addins.Gui.ProgressDialog.Build C# (CSharp) Method

Build() protected method

protected Build ( ) : void
return void
        protected virtual void Build()
        {
            global::Stetic.Gui.Initialize (this);
            // Widget Mono.Addins.Gui.ProgressDialog
            this.Name = "Mono.Addins.Gui.ProgressDialog";
            this.Title = global::Mono.Unix.Catalog.GetString ("Progress");
            this.WindowPosition = ((global::Gtk.WindowPosition)(4));
            this.Modal = true;
            // Internal child Mono.Addins.Gui.ProgressDialog.VBox
            global::Gtk.VBox w1 = this.VBox;
            w1.Name = "dialog1_VBox";
            w1.BorderWidth = ((uint)(2));
            // Container child dialog1_VBox.Gtk.Box+BoxChild
            this.vbox2 = new global::Gtk.VBox ();
            this.vbox2.Name = "vbox2";
            this.vbox2.Spacing = 6;
            this.vbox2.BorderWidth = ((uint)(9));
            // Container child vbox2.Gtk.Box+BoxChild
            this.labelMessage = new global::Gtk.Label ();
            this.labelMessage.Name = "labelMessage";
            this.labelMessage.Xalign = 0f;
            this.vbox2.Add (this.labelMessage);
            global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelMessage]));
            w2.Position = 0;
            w2.Expand = false;
            w2.Fill = false;
            // Container child vbox2.Gtk.Box+BoxChild
            this.progressbar = new global::Gtk.ProgressBar ();
            this.progressbar.Name = "progressbar";
            this.vbox2.Add (this.progressbar);
            global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.progressbar]));
            w3.Position = 1;
            w3.Expand = false;
            w3.Fill = false;
            // Container child vbox2.Gtk.Box+BoxChild
            this.expander1 = new global::Gtk.Expander (null);
            this.expander1.CanFocus = true;
            this.expander1.Name = "expander1";
            // Container child expander1.Gtk.Container+ContainerChild
            this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
            this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
            this.textview = new global::Gtk.TextView ();
            this.textview.CanFocus = true;
            this.textview.Name = "textview";
            this.GtkScrolledWindow.Add (this.textview);
            this.expander1.Add (this.GtkScrolledWindow);
            this.GtkLabel1 = new global::Gtk.Label ();
            this.GtkLabel1.Name = "GtkLabel1";
            this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Details");
            this.GtkLabel1.UseUnderline = true;
            this.expander1.LabelWidget = this.GtkLabel1;
            this.vbox2.Add (this.expander1);
            global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expander1]));
            w6.Position = 2;
            w1.Add (this.vbox2);
            global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
            w7.Position = 0;
            // Internal child Mono.Addins.Gui.ProgressDialog.ActionArea
            global::Gtk.HButtonBox w8 = this.ActionArea;
            w8.Name = "dialog1_ActionArea";
            w8.Spacing = 6;
            w8.BorderWidth = ((uint)(5));
            w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
            this.buttonCancel = new global::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);
            global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
            w9.Expand = false;
            w9.Fill = false;
            if ((this.Child != null)) {
                this.Child.ShowAll ();
            }
            this.DefaultWidth = 513;
            this.DefaultHeight = 165;
            this.Show ();
            this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
        }