protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MonoDevelop.VersionControl.Git.PushDialog
			this.Name = "MonoDevelop.VersionControl.Git.PushDialog";
			this.Title = global::Mono.Unix.Catalog.GetString ("Push to Repository");
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Internal child MonoDevelop.VersionControl.Git.PushDialog.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)(6));
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Push to:");
			this.hbox1.Add (this.label1);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
			w2.Position = 0;
			w2.Expand = false;
			w2.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.remoteCombo = global::Gtk.ComboBox.NewText ();
			this.remoteCombo.Name = "remoteCombo";
			this.hbox1.Add (this.remoteCombo);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.remoteCombo]));
			w3.Position = 1;
			// Container child hbox1.Gtk.Box+BoxChild
			this.label2 = new global::Gtk.Label ();
			this.label2.Name = "label2";
			this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Branch:");
			this.hbox1.Add (this.label2);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2]));
			w4.Position = 2;
			w4.Expand = false;
			w4.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.branchCombo = global::Gtk.ComboBox.NewText ();
			this.branchCombo.Name = "branchCombo";
			this.hbox1.Add (this.branchCombo);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.branchCombo]));
			w5.Position = 3;
			this.vbox2.Add (this.hbox1);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
			w6.Position = 0;
			w6.Expand = false;
			w6.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.changeList = new global::MonoDevelop.VersionControl.Views.ChangeSetView ();
			this.changeList.CanFocus = true;
			this.changeList.Name = "changeList";
			this.changeList.ShadowType = ((global::Gtk.ShadowType)(1));
			this.vbox2.Add (this.changeList);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.changeList]));
			w7.Position = 1;
			w1.Add (this.vbox2);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
			w8.Position = 0;
			// Internal child MonoDevelop.VersionControl.Git.PushDialog.ActionArea
			global::Gtk.HButtonBox w9 = this.ActionArea;
			w9.Name = "dialog1_ActionArea";
			w9.Spacing = 10;
			w9.BorderWidth = ((uint)(5));
			w9.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 w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
			w10.Expand = false;
			w10.Fill = false;
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.buttonOk = new global::Gtk.Button ();
			this.buttonOk.CanDefault = true;
			this.buttonOk.CanFocus = true;
			this.buttonOk.Name = "buttonOk";
			this.buttonOk.UseUnderline = true;
			this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("Push Changes");
			this.AddActionWidget (this.buttonOk, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
			w11.Position = 1;
			w11.Expand = false;
			w11.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 730;
			this.DefaultHeight = 540;
			this.Show ();
			this.remoteCombo.Changed += new global::System.EventHandler (this.OnRemoteComboChanged);
			this.branchCombo.Changed += new global::System.EventHandler (this.OnBranchComboChanged);
		}
Exemplo n.º 2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.VersionControl.Mercurial.PushDialog
     this.Name           = "MonoDevelop.VersionControl.Mercurial.PushDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Push to Repository");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child MonoDevelop.VersionControl.Mercurial.PushDialog.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)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Push to:");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.remoteCombo      = global::Gtk.ComboBox.NewText();
     this.remoteCombo.Name = "remoteCombo";
     this.hbox1.Add(this.remoteCombo);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.remoteCombo]));
     w3.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Branch:");
     this.hbox1.Add(this.label2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.branchCombo      = global::Gtk.ComboBox.NewText();
     this.branchCombo.Name = "branchCombo";
     this.hbox1.Add(this.branchCombo);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.branchCombo]));
     w5.Position = 3;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.changeList            = new global::MonoDevelop.VersionControl.Views.ChangeSetView();
     this.changeList.CanFocus   = true;
     this.changeList.Name       = "changeList";
     this.changeList.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox2.Add(this.changeList);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.changeList]));
     w7.Position = 1;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w8.Position = 0;
     // Internal child MonoDevelop.VersionControl.Mercurial.PushDialog.ActionArea
     global::Gtk.HButtonBox w9 = this.ActionArea;
     w9.Name        = "dialog1_ActionArea";
     w9.Spacing     = 10;
     w9.BorderWidth = ((uint)(5));
     w9.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 w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonCancel]));
     w10.Expand = false;
     w10.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = global::Mono.Unix.Catalog.GetString("Push Changes");
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonOk]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 730;
     this.DefaultHeight = 540;
     this.Hide();
     this.remoteCombo.Changed += new global::System.EventHandler(this.OnRemoteComboChanged);
     this.branchCombo.Changed += new global::System.EventHandler(this.OnBranchComboChanged);
 }