protected virtual void Build()
        {
            Gui.Initialize((Widget)this);
            this.Name           = "MonoDevelop.Ide.Gui.Dialogs.ProgressDialog";
            this.Title          = "";
            this.WindowPosition = WindowPosition.CenterOnParent;
            this.Modal          = true;
            VBox vbox = this.VBox;

            vbox.Name              = "dialog1_VBox";
            vbox.BorderWidth       = 2U;
            this.vbox2             = new VBox();
            this.vbox2.Name        = "vbox2";
            this.vbox2.Spacing     = 6;
            this.vbox2.BorderWidth = 12U;
            this.label             = new Label();
            this.label.Name        = "label";
            this.label.Xalign      = 0.0f;
            this.label.LabelProp   = "label";
            this.vbox2.Add((Widget)this.label);
            Box.BoxChild boxChild1 = (Box.BoxChild) this.vbox2[(Widget)this.label];
            boxChild1.Position    = 0;
            boxChild1.Expand      = false;
            boxChild1.Fill        = false;
            this.hbox1            = new HBox();
            this.hbox1.Name       = "hbox1";
            this.hbox1.Spacing    = 6;
            this.progressBar      = new ProgressBar();
            this.progressBar.Name = "progressBar";
            this.hbox1.Add((Widget)this.progressBar);
            ((Box.BoxChild) this.hbox1[(Widget)this.progressBar]).Position = 0;
            this.btnCancel              = new Button();
            this.btnCancel.CanDefault   = true;
            this.btnCancel.CanFocus     = true;
            this.btnCancel.Name         = "btnCancel";
            this.btnCancel.UseStock     = true;
            this.btnCancel.UseUnderline = true;
            this.btnCancel.Label        = "gtk-cancel";
            this.hbox1.Add((Widget)this.btnCancel);
            Box.BoxChild boxChild2 = (Box.BoxChild) this.hbox1[(Widget)this.btnCancel];
            boxChild2.Position         = 1;
            boxChild2.Expand           = false;
            boxChild2.Fill             = false;
            this.btnClose              = new 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.hbox1.Add((Widget)this.btnClose);
            Box.BoxChild boxChild3 = (Box.BoxChild) this.hbox1[(Widget)this.btnClose];
            boxChild3.Position = 2;
            boxChild3.Expand   = false;
            boxChild3.Fill     = false;
            this.vbox2.Add((Widget)this.hbox1);
            Box.BoxChild boxChild4 = (Box.BoxChild) this.vbox2[(Widget)this.hbox1];
            boxChild4.Position     = 1;
            boxChild4.Expand       = false;
            boxChild4.Fill         = false;
            this.expander          = new Expander((string)null);
            this.expander.CanFocus = true;
            this.expander.Name     = "expander";
            this.GtkScrolledWindow = new ScrolledWindow();
            this.GtkScrolledWindow.HeightRequest = 250;
            this.GtkScrolledWindow.Name          = "GtkScrolledWindow";
            this.GtkScrolledWindow.ShadowType    = ShadowType.In;
            this.detailsTextView          = new TextView();
            this.detailsTextView.CanFocus = true;
            this.detailsTextView.Name     = "detailsTextView";
            this.GtkScrolledWindow.Add((Widget)this.detailsTextView);
            this.expander.Add((Widget)this.GtkScrolledWindow);
            this.expanderLabel              = new Label();
            this.expanderLabel.Name         = "expanderLabel";
            this.expanderLabel.LabelProp    = Catalog.GetString("Details");
            this.expanderLabel.UseUnderline = true;
            this.expander.LabelWidget       = (Widget)this.expanderLabel;
            this.vbox2.Add((Widget)this.expander);
            ((Box.BoxChild) this.vbox2[(Widget)this.expander]).Position = 2;
            vbox.Add((Widget)this.vbox2);
            ((Box.BoxChild)vbox[(Widget)this.vbox2]).Position = 0;
            HButtonBox actionArea = this.ActionArea;

            actionArea.Name             = "dialog1_ActionArea";
            actionArea.Spacing          = 10;
            actionArea.BorderWidth      = 5U;
            actionArea.LayoutStyle      = ButtonBoxStyle.End;
            this.button103              = new Button();
            this.button103.CanFocus     = true;
            this.button103.Name         = "button103";
            this.button103.UseUnderline = true;
            this.button103.Label        = Catalog.GetString("GtkButton");
            this.AddActionWidget((Widget)this.button103, 0);
            ButtonBox.ButtonBoxChild buttonBoxChild = (ButtonBox.ButtonBoxChild)actionArea[(Widget)this.button103];
            buttonBoxChild.Expand = false;
            buttonBoxChild.Fill   = false;
            if (this.Child != null)
            {
                this.Child.ShowAll();
            }
            this.DefaultWidth  = 544;
            this.DefaultHeight = 170;
            this.btnClose.Hide();
            actionArea.Hide();
            this.Hide();
            this.btnCancel.Clicked  += new EventHandler(this.OnBtnCancelClicked);
            this.btnClose.Clicked   += new EventHandler(this.OnBtnCloseClicked);
            this.expander.Activated += new EventHandler(this.OnExpander1Activated);
        }